1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Implement new refactored color scheme

This commit is contained in:
Harvey Kandola 2018-12-04 17:26:57 +00:00
parent da0861b3fd
commit d7a46ceee6
70 changed files with 934 additions and 521 deletions

View file

@ -1,6 +1,6 @@
.avatar {
color: $color-white;
background-color: $color-gray;
background-color: map-get($gray-shades, 600);
@include border-radius(20px);
@include ease-in();
padding: 10px 0 0 0;
@ -12,7 +12,7 @@
.avatar-large {
color: $color-white;
background-color: $color-gray;
background-color: map-get($gray-shades, 600);
@include border-radius(100px);
@include ease-in();
height: 100px;

View file

@ -31,14 +31,14 @@
@include ease-in();
> i {
color: $color-gray-light;
color: map-get($gray-shades, 300);
font-size: 2rem;
@include ease-in();
}
&:hover {
> i {
color: darken($color-gray-light, 15%);
color: darken(map-get($gray-shades, 300), 15%);
}
}
}
@ -49,14 +49,14 @@
@include ease-in();
> i {
color: $color-goldy;
color: map-get($yellow-shades, 700);
font-size: 2rem;
@include ease-in();
}
&:hover {
> i {
color: darken($color-goldy, 5%);
color: darken(map-get($yellow-shades, 700), 5%);
}
}
}
@ -67,14 +67,14 @@
@include ease-in();
> i {
color: $color-gray-light;
color: map-get($gray-shades, 300);
font-size: 2rem;
@include ease-in();
}
&:hover {
> i {
color: $color-red;
color: map-get($red-shades, 700);
}
}
}
@ -85,14 +85,14 @@
@include ease-in();
> i {
color: $color-blue;
color: map-get($gray-shades, 800);
font-size: 2rem;
@include ease-in();
}
&:hover {
> i {
color: darken($color-blue, 5%);
color: map-get($gray-shades, 600);
}
}
}
@ -103,14 +103,14 @@
@include ease-in();
> i {
color: $color-red;
color: map-get($red-shades, 700);
font-size: 2rem;
@include ease-in();
}
&:hover {
> i {
color: darken($color-red, 5%);
color: map-get($red-shades, 400);
}
}
}
@ -121,14 +121,14 @@
@include ease-in();
> i {
color: $color-green;
color: map-get($green-shades, 600);
font-size: 2rem;
@include ease-in();
}
&:hover {
> i {
color: darken($color-green, 5%);
color: map-get($green-shades, 700);
}
}
}
@ -139,14 +139,14 @@
@include ease-in();
> i {
color: $color-off-black;
color: $color-black-light-1;
font-size: 2rem;
@include ease-in();
}
&:hover {
> i {
color: darken($color-off-black, 5%);
color: darken($color-black-light-1, 5%);
}
}
}
@ -157,14 +157,14 @@
@include ease-in();
> i {
color: $color-primary;
color: $theme-500;
font-size: 2rem;
@include ease-in();
}
&:hover {
> i {
color: darken($color-primary, 5%);
color: darken($theme-500, 5%);
}
}
}
@ -175,14 +175,14 @@
@include ease-in();
> i {
color: $color-primary-light;
color: $theme-100;
font-size: 2rem;
@include ease-in();
}
&:hover {
> i {
color: darken($color-primary-light, 5%);
color: darken($theme-100, 5%);
}
}
}

View file

@ -8,35 +8,35 @@
> .material-icons {
font-size: 1.5rem;
color: $color-gray;
color: map-get($gray-shades, 600);
vertical-align: top;
}
> .selected {
color: $color-blue;
color: map-get($gray-shades, 800);
}
&:hover {
color: $color-blue;
color: map-get($gray-shades, 800);
}
> .text {
display: inline-block;
font-size: 1.1rem;
vertical-align: sub;
color: $color-off-black;
color: $color-black-light-1;
}
}
.ui-checkbox-selected {
color: $color-blue;
color: map-get($gray-shades, 800);
}
.widget-checkbox {
color: $color-blue;
color: map-get($gray-shades, 800);
cursor: pointer;
}
.checkbox-gray {
color: $color-gray !important;
color: map-get($gray-shades, 600) !important;
}

View file

@ -10,9 +10,9 @@
@include border-radius(3px);
margin: 0 0 15px 0;
padding: 10px 15px;
color: $color-gray;
background-color: $color-off-white;
border: 1px solid $color-gray;
color: map-get($gray-shades, 600);
background-color: map-get($gray-shades, 100);
border: 1px solid map-get($gray-shades, 600);
cursor: pointer;
position: relative;
list-style-type: none;
@ -20,13 +20,13 @@
&:hover {
> .text-header, > .text {
color: $color-off-black;
color: $color-black-light-1;
}
}
> .text-header {
@include ease-in();
color: $color-gray;
color: map-get($gray-shades, 600);
font-size: 1.3rem;
font-weight: 600;
margin-bottom: 5px;
@ -38,7 +38,7 @@
> .text {
@include ease-in();
color: $color-gray;
color: map-get($gray-shades, 600);
font-size: 1rem;
font-weight: 500;
overflow: hidden;
@ -51,7 +51,7 @@
position: absolute;
top: 10px;
right: 10px;
color: $color-green;
color: map-get($green-shades, 600);
font-weight: 700;
font-size: 1.3rem;
}
@ -59,11 +59,11 @@
> .selected {
> .text-header, > .text {
color: $color-off-black;
color: $color-black-light-1;
}
background-color: $color-yellow !important;
border: 1px solid $color-goldy !important;
background-color: map-get($yellow-shades, 700) !important;
border: 1px solid map-get($yellow-shades, 700) !important;
}
}
}
@ -96,12 +96,12 @@
display: inline-block;
font-size: 1.3rem;
font-weight: 700;
color: $color-gray;
color: map-get($gray-shades, 600);
cursor: pointer;
}
> .selected {
color: $color-green;
border-bottom: 1px solid $color-green;
color: map-get($green-shades, 600);
border-bottom: 1px solid map-get($green-shades, 600);
}
}

View file

@ -3,7 +3,7 @@
display: none;
top: 20px;
right: 20px;
background-color: $color-off-black;
background-color: $color-black-light-1;
color: $color-white;
padding: 10px 15px;
text-align: left;

View file

@ -8,28 +8,28 @@
> .material-icons {
font-size: 1.5rem;
color: $color-gray;
color: map-get($gray-shades, 600);
vertical-align: top;
margin-right: 5px;
}
> .selected {
color: $color-blue;
color: map-get($gray-shades, 800);
}
&:hover {
color: $color-blue;
color: map-get($gray-shades, 800);
}
> .text {
display: inline-block;
font-size: 1.1rem;
vertical-align: sub;
color: $color-off-black;
color: $color-black-light-1;
}
}
.ui-radio-selected {
color: $color-blue;
color: map-get($gray-shades, 800);
}

View file

@ -7,11 +7,11 @@
line-height: 0;
margin: 0;
text-align: center;
background-color: $color-symbol-box;
background-color: map-get($gray-shades, 300);
> .material-icons {
font-size: 22px;
margin-top: 20px;
color: $color-symbol-icon;
color: map-get($gray-shades, 600);
}
}

View file

@ -3,7 +3,7 @@
margin: 0 0 25px 0;
width: 100%;
font-size: 1rem;
border: 1px solid $color-border;
border: 1px solid map-get($gray-shades, 300);
border-radius: 2px;
border-collapse: collapse;
@ -19,35 +19,35 @@
> thead {
> tr {
background-color: $color-off-white;
background-color: map-get($gray-shades, 100);
> th {
vertical-align: top;
text-align: left;
font-weight: bold;
padding: 10px;
border-bottom: 1px solid $color-border;
border-bottom: 1px solid map-get($gray-shades, 300);
}
}
}
.bordered {
border: 1px solid $color-border;
border: 1px solid map-get($gray-shades, 300);
}
.border-top {
border-top: 1px solid $color-border;
border-top: 1px solid map-get($gray-shades, 300);
}
.border-bottom {
border-bottom: 1px solid $color-border;
border-bottom: 1px solid map-get($gray-shades, 300);
}
.action-link {
font-size: 0.8rem;
margin-left: 5px;
}
.no-width {
white-space: nowrap;
width: 1%;

View file

@ -10,8 +10,8 @@
margin: 0;
padding: 5px 15px;
background-color: $color-white;
color: $color-primary;
border: 1px solid $color-border;
color: $theme-500;
border: 1px solid map-get($gray-shades, 300);
font-weight: 500;
font-size: 1.1rem;
text-align: center;
@ -30,7 +30,7 @@
}
&:hover {
background-color: $color-primary-light;
background-color: $theme-100;
}
}
@ -48,7 +48,7 @@
}
> .selected {
background-color: $color-primary-light;
background-color: $theme-100;
font-weight: 700;
}
}

View file

@ -63,18 +63,18 @@
.drag-handle {
font-size: 1.5rem;
color: $color-gray-light;
color: map-get($gray-shades, 300);
cursor: pointer;
}
.drag-indicator-dropzone {
opacity: 1 !important;
border: 2px dotted $color-border;
border: 2px dotted map-get($gray-shades, 300);
}
.drag-indicator-chosen {
opacity: 1 !important;
background: $color-off-white;
background: map-get($gray-shades, 100);
}
.drag-indicator-dragged {