mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
Provide in-app What's New & new release notifications
This commit is contained in:
parent
97cc5374f0
commit
eaf46f06c1
25 changed files with 1166 additions and 772 deletions
|
@ -31,6 +31,7 @@
|
|||
@import "section/plantuml.scss";
|
||||
@import "section/papertrail.scss";
|
||||
@import "section/wysiwyg.scss";
|
||||
@import "news.scss";
|
||||
@import "enterprise/all.scss";
|
||||
|
||||
// Bootstrap override that removes gutter space on smaller screens
|
||||
|
@ -39,4 +40,4 @@
|
|||
// width: 100%;
|
||||
// max-width: none;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
|
18
gui/app/styles/bootstrap.scss
vendored
18
gui/app/styles/bootstrap.scss
vendored
|
@ -101,8 +101,7 @@ $link-hover-decoration: none;
|
|||
@import "node_modules/bootstrap/scss/tooltip";
|
||||
@import "node_modules/bootstrap/scss/tables";
|
||||
@import "node_modules/bootstrap/scss/badge";
|
||||
// @import "node_modules/bootstrap/scss/navbar";
|
||||
// @import "node_modules/bootstrap/scss/images";
|
||||
|
||||
|
||||
.modal-80 {
|
||||
max-width: 80% !important;
|
||||
|
@ -111,3 +110,18 @@ $link-hover-decoration: none;
|
|||
body.modal-open {
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.modal-header-white {
|
||||
background-color: $color-white !important;
|
||||
border: none !important;
|
||||
|
||||
> .close {
|
||||
background-color: $color-white !important;
|
||||
border: none !important;
|
||||
|
||||
> span {
|
||||
color: $color-gray;
|
||||
font-size: 2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ $color-red: #9E0D1F;
|
|||
$color-green: #348A37;
|
||||
$color-blue: #2667af;
|
||||
$color-goldy: #FFD700;
|
||||
$color-orange: #FFAD15;
|
||||
|
||||
// widgets
|
||||
$color-checkbox: #2667af;
|
||||
|
@ -40,6 +41,7 @@ $color-symbol-box: #dce5e8;
|
|||
$color-symbol-icon: #a4b8be;
|
||||
$color-card: #F9F9F9;
|
||||
$color-stroke: #e1e1e1;
|
||||
$color-whats-new: #fc1530;
|
||||
|
||||
// Color utility classes for direct usage in HTML
|
||||
.color-white {
|
||||
|
@ -75,6 +77,12 @@ $color-stroke: #e1e1e1;
|
|||
.color-gold {
|
||||
color: $color-goldy !important;
|
||||
}
|
||||
.color-orange {
|
||||
color: $color-orange !important;
|
||||
}
|
||||
.color-whats-new {
|
||||
color: $color-whats-new !important;
|
||||
}
|
||||
|
||||
.background-color-white {
|
||||
background-color: $color-white !important;
|
||||
|
|
175
gui/app/styles/news.scss
Normal file
175
gui/app/styles/news.scss
Normal file
|
@ -0,0 +1,175 @@
|
|||
.product-update {
|
||||
text-align: left;
|
||||
margin: 50px 0;
|
||||
|
||||
> .update-summary {
|
||||
padding: 25px;
|
||||
border: 1px solid $color-orange;
|
||||
background-color: $color-off-white;
|
||||
@include border-radius(2px);
|
||||
|
||||
> .caption {
|
||||
font-weight: bold;
|
||||
font-size: 1.5rem;
|
||||
color: $color-orange;
|
||||
margin-bottom: 15px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
> .instructions {
|
||||
font-weight: normal;
|
||||
font-size: 1.3rem;
|
||||
color: $color-gray;
|
||||
}
|
||||
|
||||
> .version {
|
||||
margin: 30px 0 0 20px;
|
||||
font-size: 1.3rem;
|
||||
color: $color-gray;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
> .changes {
|
||||
margin: 10px 0 0 40px;
|
||||
|
||||
> li {
|
||||
list-style-type: disc;
|
||||
padding: 5px 0;
|
||||
font-size: 1.2rem;
|
||||
color: $color-black;
|
||||
|
||||
> .tag-edition {
|
||||
margin: 10px 10px 10px 10px;
|
||||
padding: 5px 10px;
|
||||
background-color: $color-gray-light;
|
||||
color: $color-primary;
|
||||
font-weight: bold;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.product-about {
|
||||
text-align: center;
|
||||
margin: 30px 30px;
|
||||
|
||||
> .edition {
|
||||
font-weight: normal;
|
||||
font-size: 1.5rem;
|
||||
color: $color-black;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
> .version {
|
||||
font-weight: bold;
|
||||
font-size: 1.1rem;
|
||||
color: $color-gray;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
> .dotcom {
|
||||
font-weight: bold;
|
||||
font-size: 1.2rem;
|
||||
color: $color-link;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
> .copyright {
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
font-size: 1rem;
|
||||
color: $color-off-black;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
> .license {
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
font-size: 1rem;
|
||||
color: $color-gray;
|
||||
}
|
||||
}
|
||||
|
||||
.update-available-dot {
|
||||
border-radius: 10px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
background-color: $color-orange;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.whats-new-dot {
|
||||
border-radius: 10px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
background-color: $color-whats-new;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.product-news {
|
||||
text-align: left;
|
||||
margin: 0 30px;
|
||||
|
||||
> h2 {
|
||||
margin: 0 0 10px 0;
|
||||
text-align: center;
|
||||
font-size: 2rem;
|
||||
color: $color-off-black;
|
||||
}
|
||||
|
||||
> .news-item {
|
||||
padding: 30px 0;
|
||||
border-bottom: 1px solid $color-border;
|
||||
text-align: center;
|
||||
|
||||
> .title {
|
||||
color: $color-primary;
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
> .date {
|
||||
color: $color-gray;
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
> .info {
|
||||
color: $color-black;
|
||||
font-size: 1.1rem;
|
||||
font-weight: normal;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
> .tag-edition {
|
||||
margin: 10px 10px 10px 10px;
|
||||
padding: 5px 10px;
|
||||
background-color: $color-off-white;
|
||||
color: $color-gray;
|
||||
font-weight: 700;
|
||||
font-size: 0.9rem;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
> img {
|
||||
max-width: 450px;
|
||||
max-height: 350px;
|
||||
}
|
||||
}
|
||||
|
||||
> .action {
|
||||
margin: 20px 0;
|
||||
text-align: center;
|
||||
color: $color-gray;
|
||||
font-weight: 800;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
}
|
|
@ -201,7 +201,7 @@
|
|||
display: inline-block;
|
||||
cursor: default;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
// overflow: hidden; // kills update dots
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
line-height: 34px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue