summaryrefslogtreecommitdiffstats
path: root/settings/css
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-14 09:25:19 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-20 19:20:51 +0200
commit1dc76f2f6bb4a14ac4c33e03aec7ec99270246f4 (patch)
tree849cdfba7fb3c0994044427ca659975210625863 /settings/css
parent26918e41033d08a5155b755dcf5319e98d9a17d0 (diff)
downloadnextcloud-server-1dc76f2f6bb4a14ac4c33e03aec7ec99270246f4.tar.gz
nextcloud-server-1dc76f2f6bb4a14ac4c33e03aec7ec99270246f4.zip
More vars fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/css')
-rw-r--r--settings/css/settings.scss53
1 files changed, 26 insertions, 27 deletions
diff --git a/settings/css/settings.scss b/settings/css/settings.scss
index a6f93a3e95d..97a5acde093 100644
--- a/settings/css/settings.scss
+++ b/settings/css/settings.scss
@@ -78,7 +78,7 @@ input {
transform: translate(-50%, -50%);
background: #fff;
color: #333;
- border-radius: $border-radius;
+ border-radius: var(--border-radius);
box-shadow: 0 0 7px #888;
padding: 15px;
.jcrop-holder {
@@ -328,7 +328,7 @@ input {
opacity: .75;
}
&.active {
- box-shadow: inset 2px 0 $color-primary;
+ box-shadow: inset 2px 0 var(--color-primary);
.menuitem-text {
font-weight: 600;
}
@@ -426,7 +426,7 @@ table.nostyle {
padding-top: 5px;
}
}
- border-top: 1px solid #DDD;
+ border-top: 1px solid var(--color-border);
text-overflow: ellipsis;
max-width: 200px;
white-space: nowrap;
@@ -482,7 +482,6 @@ table.nostyle {
#new-app-password {
width: 245px;
font-family: monospace;
- background-color: lightyellow;
}
.app-password-row {
@@ -556,14 +555,14 @@ table.grid {
th {
height: 2em;
color: #999;
- border-bottom: 1px solid $color-border;
+ border-bottom: 1px solid var(--color-border);
padding: 0 .5em;
padding-left: .8em;
text-align: left;
font-weight: normal;
}
td {
- border-bottom: 1px solid $color-border;
+ border-bottom: 1px solid var(--color-border);
padding: 0 .5em;
padding-left: .8em;
text-align: left;
@@ -639,7 +638,7 @@ span.usersLastLoginTooltip {
thead th,
thead tr {
z-index: 100;
- background-color: $color-main-background;
+ background-color: var(--color-main-background);
position: sticky;
// positional attribute is required for position to take affect.
top: 0;
@@ -734,7 +733,7 @@ span.version {
color: #555;
background-color: transparent;
border: 1px solid #555;
- border-radius: $border-radius;
+ border-radius: var(--border-radius);
padding: 3px 6px;
}
a {
@@ -804,7 +803,7 @@ span.version {
margin-bottom: 10px;
}
.app-author, .app-licence {
- color: $color-text-details;
+ color: var(--color-text-maxcontrast);
}
.app-dependencies {
margin: 10px 0;
@@ -885,7 +884,7 @@ span.version {
margin-bottom: 0;
/* use 2nd child since app-navigation-toggle is the first */
&:not(:nth-child(2)) {
- border-top: 1px solid $color-border;
+ border-top: 1px solid var(--color-border);
}
/* correctly display help icons next to headings */
@@ -980,12 +979,12 @@ span.version {
height: initial;
vertical-align: middle;
float: none;
- border-bottom: 1px solid $color-border;
+ border-bottom: 1px solid var(--color-border);
padding: 6px;
box-sizing: border-box;
}
&.selected {
- background-color: nc-darken($color-main-background, 3%);
+ background-color: var(--color-background-dark);
}
}
.groups-enable {
@@ -1126,13 +1125,13 @@ table.grid td.date {
border-radius: 50%;
}
&.icon-checkmark-white {
- background-color: $color-success;
+ background-color: var(--color-success);
}
&.icon-error-white {
- background-color: $color-warning;
+ background-color: var(--color-warning);
}
&.icon-close-white {
- background-color: $color-error;
+ background-color: var(--color-error);
}
}
}
@@ -1233,14 +1232,14 @@ table.grid td.date {
span {
&.success {
- background-color: $color-success;
- border-radius: $border-radius;
+ background-color: var(--color-success);
+ border-radius: var(--border-radius);
}
&.error {
- background-color: $color-error;
+ background-color: var(--color-error);
}
&.indeterminate {
- background-color: $color-warning;
+ background-color: var(--color-warning);
border-radius: 40% 0;
}
}
@@ -1303,10 +1302,10 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
background-position: left center;
}
.errors, .errors a {
- color: $color-error;
+ color: var(--color-error);
}
.warnings, .warnings a {
- color: $color-warning;
+ color: var(--color-warning);
}
.hint {
@@ -1402,7 +1401,7 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
what follows will be manually defined */
grid-template-columns: 44px;
grid-auto-columns: min-content;
- border-top: $color-border 1px solid;
+ border-top: var(--color-border) 1px solid;
&.disabled {
opacity: .5;
}
@@ -1438,11 +1437,11 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
&#new-user {
position: sticky;
align-self: normal;
- background-color: $color-main-background;
+ background-color: var(--color-main-background);
z-index: 55; /* above multiselect */
top: 0;
&.sticky {
- box-shadow: 0 -2px 10px 1px $color-box-shadow;
+ box-shadow: 0 -2px 10px 1px var(--color-box-shadow);
}
/* fake input for groups validation */
input#newgroups {
@@ -1458,12 +1457,12 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
top: $grid-row-height;
}
&#grid-header {
- color: nc-lighten($color-main-text, 60%);
+ color: var(--color-background-darker);
z-index: 60; /* above new-user */
}
&:hover {
input:not([type='submit']):not(:focus):not(:active) {
- border-color: nc-darken($color-main-background, 14%) !important;
+ border-color: var(--color-border) !important;
}
}
> div,
@@ -1471,7 +1470,7 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
grid-row: 1;
display: inline-flex;
align-items: center;
- color: nc-lighten($color-main-text, 33%);
+ color: var(--color-text-lighter);
position: relative;
> input:not(:focus):not(:active) {
border-color: transparent;