summaryrefslogtreecommitdiffstats
path: root/core/css/styles.scss
diff options
context:
space:
mode:
Diffstat (limited to 'core/css/styles.scss')
-rw-r--r--core/css/styles.scss161
1 files changed, 60 insertions, 101 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss
index aa97c91a55d..2bec3c8d3b1 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -54,7 +54,7 @@ table, td, th {
a {
border: 0;
- color: #000;
+ color: $color-main-text;
text-decoration: none;
cursor: pointer;
* {
@@ -78,18 +78,18 @@ ul {
}
body {
- background-color: #ffffff;
+ background-color: $color-main-background;
font-weight: 400;
font-size: .8em;
line-height: 1.6em;
font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
- color: #000;
+ color: $color-main-text;
height: auto;
}
#body-login {
text-align: center;
- background-color: #0082c9;
+ background-color: $color-primary;
background-image: url('../img/background.jpg?v=1');
background-position: 50% 50%;
background-repeat: no-repeat;
@@ -105,14 +105,14 @@ body {
width: 258px !important;
display: inline-block;
margin-bottom: 0 !important;
- background-color: rgba(0, 0, 0, 0.3) !important;
+ background-color: rgba($color-main-text, 0.3) !important;
border: none !important;
}
.two-factor-link {
display: inline-block;
padding: 12px;
- color: rgba(255, 255, 255, 0.75);
+ color: rgba($color-main-background, 0.75);
}
.float-spinner {
@@ -133,8 +133,8 @@ body {
width: 100%;
z-index: 9000;
text-align: center;
- background-color: rgba(0, 0, 0, 0.5);
- color: #fff;
+ background-color: rgba($color-main-text, 0.5);
+ color: $color-primary-text;
line-height: 125%;
font-size: 24px;
div {
@@ -145,10 +145,10 @@ body {
margin: 0px auto;
}
a {
- color: #fff;
- border-bottom: 2px dotted #fff;
+ color: $color-primary-text;
+ border-bottom: 2px dotted $color-main-background;
&:hover, &:focus {
- color: #ddd;
+ color: nc-lighten($color-main-text, 86%);
}
}
}
@@ -164,7 +164,7 @@ body {
}
::-webkit-scrollbar-thumb {
- background: #ddd;
+ background: nc-lighten($color-main-text, 86%);
border-radius: 3px;
}
@@ -178,7 +178,7 @@ body {
padding: 3px;
padding-left: 25px;
background: transparent url('../img/actions/search-white.svg?v=1') no-repeat 6px center;
- color: #fff;
+ color: $color-primary-text;
border: 0;
border-radius: 3px;
margin-top: 3px;
@@ -189,11 +189,11 @@ body {
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)';
opacity: .7;
&:focus, &:active, &:valid {
- color: #fff;
+ color: $color-primary-text;
width: 155px;
cursor: text;
- background-color: #0082c9 !important;
- border: 1px solid rgba(255, 255, 255, 0.5) !important;
+ background-color: $color-primary !important;
+ border: 1px solid rgba($color-primary-text, 0.5) !important;
}
& ~ .icon-close-white {
display: inline;
@@ -228,7 +228,7 @@ body {
width: 100%;
padding: 0;
margin: 0;
- background-color: rgba(255, 255, 255, 0.95);
+ background-color: rgba($color-main-background, 0.95);
z-index: 50;
-webkit-user-select: none;
-moz-user-select: none;
@@ -298,7 +298,7 @@ body {
}
#emptycontent, .emptycontent {
- color: #888;
+ color: nc-darken($color-main-background, 8%);
text-align: center;
margin-top: 30vh;
width: 100%;
@@ -336,16 +336,16 @@ body {
/* fix sticky footer */
p.info, form fieldset legend, #datadirContent label {
text-align: center;
- color: #fff;
+ color: $color-primary-text;
}
form {
fieldset .warning-info, input[type='checkbox'] + label {
text-align: center;
- color: #fff;
+ color: $color-primary-text;
}
.warning input[type='checkbox'] {
&:hover + label, &:focus + label, + label {
- color: #fff !important;
+ color: $color-primary-text !important;
}
}
}
@@ -354,8 +354,8 @@ body {
margin: 0 0 20px;
}
a {
- color: #fff;
- border-bottom: 1px solid #aaa;
+ color: $color-primary-text;
+ border-bottom: 1px solid nc-lighten($color-main-text, 73%);
}
}
.infogroup {
@@ -442,10 +442,6 @@ body {
top: -23px;
width: 250px;
}
- .tipsy-inner {
- font-weight: bold;
- color: #ccc;
- }
input {
&[type='text'], &[type='password'], &[type='email'] {
border: none;
@@ -456,8 +452,6 @@ body {
/* strengthify wrapper */
-/* tipsy for the strengthify wrapper looks better with following font settings */
-
/* General new input field look */
/* Nicely grouping input field sets */
@@ -483,7 +477,7 @@ body {
border-top: 0 !important;
border-bottom: 0 !important;
border-radius: 0 !important;
- box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1) inset !important;
+ box-shadow: 0 1px 0 rgba($color-main-text, 0.1) inset !important;
}
#body-login .groupbottom input, .groupbottom input {
@@ -491,7 +485,7 @@ body {
border-top: 0 !important;
border-top-right-radius: 0 !important;
border-top-left-radius: 0 !important;
- box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1) inset !important;
+ box-shadow: 0 1px 0 rgba($color-main-text, 0.1) inset !important;
}
#body-login .groupbottom input[type=submit] {
@@ -517,16 +511,16 @@ label.infield {
user-select: none;
}
.errors {
- background: #fed7d7;
- border: 1px solid #f00;
+ background: rgba($color-error, .35);
+ border: 1px solid $color-error;
list-style-indent: inside;
margin: 0 0 2em;
padding: 1em;
}
}
.success {
- background: #d7fed7;
- border: 1px solid #0f0;
+ background: rgba($color-success, .35);
+ border: 1px solid $color-success;
width: 35%;
margin: 30px auto;
padding: 1em;
@@ -537,7 +531,7 @@ label.infield {
box-sizing: border-box;
}
p.info a, #showAdvanced {
- color: #fff;
+ color: $color-primary-text;
}
#remember_login {
&:hover + label, &:focus + label {
@@ -626,25 +620,25 @@ label.infield {
position: static;
margin: 0 -3px 5px;
font-size: 12px;
- background: #f8f8f8;
- color: #888;
+ background: nc-darken($color-main-background, 3%);
+ color: nc-lighten($color-main-text, 53%);
cursor: pointer;
- border: 1px solid #ddd;
+ border: 1px solid nc-lighten($color-main-text, 86%);
span {
cursor: pointer;
padding: 10px 20px;
}
&.ui-state-hover, &.ui-state-active {
- color: #000;
- background-color: #e8e8e8;
+ color: $color-main-text;
+ background-color: nc-darken($color-main-background, 8%);
}
}
}
.warning, .update, .error {
display: block;
padding: 10px;
- background-color: rgba(0, 0, 0, 0.3);
- color: #fff;
+ background-color: rgba($color-main-text, 0.3);
+ color: $color-primary-text;
text-align: left;
border-radius: 3px;
cursor: default;
@@ -672,23 +666,23 @@ label.infield {
#body-user .warning, #body-settings .warning {
margin-top: 8px;
padding: 5px;
- background: #fdd;
+ background: rgba($color-error, .15);
border-radius: 3px;
}
.warning {
legend, a {
- color: #fff !important;
+ color: $color-primary-text !important;
font-weight: 600 !important;
}
}
.error {
a {
- color: #fff !important;
+ color: $color-primary-text !important;
font-weight: 600 !important;
&.button {
- color: #555 !important;
+ color: nc-lighten($color-main-text, 33%) !important;
display: inline-block;
text-align: center;
}
@@ -708,7 +702,7 @@ label.infield {
}
.warning-input {
- border-color: #ce3702 !important;
+ border-color: $color-error !important;
}
/* Fixes for log in page, TODO should be removed some time */
@@ -782,7 +776,7 @@ label.infield {
#forgot-password {
padding: 11px;
float: right;
- color: #fff;
+ color: $color-primary-text;
}
.wrapper {
min-height: 100%;
@@ -822,7 +816,7 @@ td.avatar {
margin: 0 auto;
max-width: 60%;
z-index: 8000;
- background-color: #fff;
+ background-color: $color-main-background;
border: 0;
padding: 1px 8px;
display: none;
@@ -905,7 +899,7 @@ tr {
tbody tr {
&:hover, &:focus, &:active {
- background-color: #f8f8f8;
+ background-color: nc-darken($color-main-background, 3%);
}
}
@@ -920,7 +914,7 @@ code {
padding: 0 !important;
div {
padding: 0;
- background-color: rgb(220, 220, 220);
+ background-color: nc-darken($color-main-background, 10%);
font-weight: normal;
white-space: nowrap;
border-bottom-left-radius: 3px;
@@ -935,7 +929,7 @@ code {
}
#quota div.quota-warning {
- background-color: #fc4;
+ background-color: $color-warning;
}
.pager {
@@ -953,35 +947,6 @@ code {
text-overflow: ellipsis;
}
-.separator {
- display: inline;
- border-left: 1px solid #d3d3d3;
- border-right: 1px solid #fff;
- height: 10px;
- width: 0px;
- margin: 4px;
-}
-
-a.bookmarklet {
- background-color: #ddd;
- border: 1px solid #ccc;
- padding: 5px;
- padding-top: 0px;
- padding-bottom: 2px;
- text-decoration: none;
- margin-top: 5px;
-}
-
-.exception {
- color: #000;
- textarea {
- width: 95%;
- height: 200px;
- background: #ffe;
- border: 0;
- }
-}
-
.ui-icon-circle-triangle-e {
background-image: url('../img/actions/play-next.svg?v=1');
}
@@ -991,8 +956,8 @@ a.bookmarklet {
}
.ui-datepicker-prev, .ui-datepicker-next {
- border: 1px solid #ddd;
- background: #fff;
+ border: nc-lighten($color-main-text, 86%);
+ background: $color-main-background;
}
/* ---- DIALOGS ---- */
@@ -1030,7 +995,7 @@ a.bookmarklet {
width: 100%;
}
.emptycontent {
- color: #888;
+ color: nc-lighten($color-main-text, 53%);
text-align: center;
margin-top: 80px;
width: 100%;
@@ -1048,7 +1013,7 @@ a.bookmarklet {
.filelist {
td {
padding: 14px;
- border-bottom: 1px solid #eee;
+ border-bottom: 1px solid nc-darken($color-main-background, 8%);
}
tr:last-child td {
border-bottom: none;
@@ -1096,12 +1061,6 @@ span.ui-icon {
padding-right: 5px !important;
}
-.tipsy-inner {
- max-width: 400px !important;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-
/* ---- TAGS ---- */
#tagsdialog {
@@ -1111,7 +1070,7 @@ span.ui-icon {
}
.scrollarea {
overflow: auto;
- border: 1px solid #ddd;
+ border: 1px solid nc-lighten($color-main-text, 86%);
width: 100%;
height: 240px;
}
@@ -1123,7 +1082,7 @@ span.ui-icon {
}
}
.taglist li {
- background: #f8f8f8;
+ background: nc-darken($color-main-background, 3%);
padding: .3em .8em;
white-space: nowrap;
overflow: hidden;
@@ -1131,7 +1090,7 @@ span.ui-icon {
-webkit-transition: background-color 500ms;
transition: background-color 500ms;
&:hover, &:active {
- background: #eee;
+ background: nc-darken($color-main-background, 8%);
}
}
.addinput {
@@ -1143,10 +1102,10 @@ span.ui-icon {
/* ---- APP SETTINGS - LEGACY, DO NOT USE THE POPUP! ---- */
.popup {
- background-color: #fff;
+ background-color: $color-main-background;
border-radius: 3px;
- box-shadow: 0 0 10px #aaa;
- color: #333;
+ box-shadow: 0 0 10px $color-box-shadow;
+ color: nc-lighten($color-main-text, 20%);
padding: 10px;
position: fixed !important;
z-index: 100;
@@ -1215,7 +1174,7 @@ div.crumb {
position: relative;
top: 12px;
padding: 14px 24px 14px 17px;
- color: #555;
+ color: nc-lighten($color-main-text, 33%);
}
&.last a {
padding-right: 0;
@@ -1263,12 +1222,12 @@ div.crumb {
position: relative;
text-align: center;
.info {
- color: #777;
+ color: nc-lighten($color-main-text, 33%);
text-align: center;
margin: 0 auto;
padding: 20px 0;
a {
- color: #777;
+ color: nc-lighten($color-main-text, 33%);
font-weight: 600;
padding: 13px;
margin: -13px;