summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-28 18:14:31 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-10-04 15:42:29 +0200
commit345b9d151fb41f8608b06da0221a8244f6b0235e (patch)
tree81c36a2ca2d80bbb4b736f5f5ae91af6013e6b50 /core
parent42bd94261904574d807d9cf1917f6283b08287ac (diff)
downloadnextcloud-server-345b9d151fb41f8608b06da0221a8244f6b0235e.tar.gz
nextcloud-server-345b9d151fb41f8608b06da0221a8244f6b0235e.zip
Initial commit
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/css/inputs.scss34
-rw-r--r--core/css/share.scss2
-rw-r--r--core/css/styles.scss8
3 files changed, 22 insertions, 22 deletions
diff --git a/core/css/inputs.scss b/core/css/inputs.scss
index 42de33b0be8..418ec398a23 100644
--- a/core/css/inputs.scss
+++ b/core/css/inputs.scss
@@ -41,7 +41,7 @@ textarea,
font-size: 13px;
background-color: $color-main-background;
color: nc-lighten($color-main-text, 33%);
- border: 1px solid nc-lighten($color-main-text, 86%);
+ border: 1px solid nc-darken($color-main-background, 14%);
outline: none;
border-radius: 3px;
cursor: text;
@@ -163,7 +163,7 @@ textarea {
&:active,
&:hover,
&:focus {
- border-color: nc-lighten($color-main-text, 86%) !important;
+ border-color: nc-darken($color-main-background, 14%) !important;
background-color: $color-main-background !important;
}
}
@@ -218,7 +218,7 @@ input {
border-radius: 50%;
margin: 3px;
margin-top: 1px;
- border: 1px solid nc-lighten($color-main-text, 53%);
+ border: 1px solid nc-darken($color-main-background, 47%);
}
&:not(:disabled):not(:checked) + label:hover:before,
&:focus + label:before {
@@ -233,11 +233,11 @@ input {
border-color: $color-primary-element;
}
&:disabled + label:before {
- border: 1px solid nc-lighten($color-main-text, 53%);
- background-color: nc-lighten($color-main-text, 73%) !important; /* override other status */
+ border: 1px solid nc-darken($color-main-background, 47%);
+ background-color: nc-darken($color-main-background, 27%) !important; /* override other status */
}
&:checked:disabled + label:before {
- background-color: nc-lighten($color-main-text, 73%);
+ background-color: nc-darken($color-main-background, 27%);
}
}
&.checkbox {
@@ -258,7 +258,7 @@ input {
&.radio--white,
&.checkbox--white {
+ label:before {
- border-color: nc-lighten($color-main-text, 86%);
+ border-color: nc-darken($color-main-background, 14%);
}
&:not(:disabled):not(:checked) + label:hover:before,
&:focus + label:before {
@@ -270,13 +270,13 @@ input {
border-color: $color-border
}
&:disabled + label:before {
- background-color: nc-lighten($color-main-text, 33%) !important; /* override other status */
- border-color: rgba($color-main-text, 0.4) !important; /* override other status */
+ background-color: nc-darken($color-main-background, 23%) !important; /* override other status */
+ border-color: rgba($color-main-background, 0.4) !important; /* override other status */
}
&:checked:disabled + label:before {
box-shadow: inset 0px 0px 0px 2px $color-main-text;
- border-color: nc-lighten($color-main-text, 33%);
- background-color: nc-lighten($color-main-text, 33%);
+ border-color: nc-darken($color-main-background, 27%);
+ background-color: nc-darken($color-main-background, 27%);
}
}
&.checkbox--white {
@@ -290,10 +290,10 @@ input {
background-image: url('../img/actions/checkbox-mixed-white.svg');
}
&:checked:disabled + label:after {
- border-color: nc-lighten($color-main-text, 73%);
+ border-color: nc-darken($color-main-background, 27%);
}
&:indeterminate:disabled + label:after {
- background-color: nc-lighten($color-main-text, 73%);
+ background-color: nc-darken($color-main-background, 27%);
}
}
}
@@ -304,7 +304,7 @@ input {
margin-top: -2px;
background-color: $color-main-background;
&.select2-drop-active {
- border-color: nc-lighten($color-main-text, 86%);
+ border-color: nc-darken($color-main-background, 14%);
}
.avatar {
display: inline-block;
@@ -369,7 +369,7 @@ input {
color: nc-lighten($color-main-text, 33%);
box-sizing: content-box;
border-radius: 3px;
- border: 1px solid nc-lighten($color-main-text, 86%);
+ border: 1px solid nc-darken($color-main-background, 14%);
margin: 0;
padding: 2px 0;
min-height: auto;
@@ -383,7 +383,7 @@ input {
background-image: none;
background-color: $color-main-background;
color: nc-lighten($color-main-text, 33%);
- border: 1px solid nc-lighten($color-main-text, 86%);
+ border: 1px solid nc-darken($color-main-background, 14%);
}
.select2-search-choice-close {
display: none;
@@ -414,7 +414,7 @@ input {
color: nc-lighten($color-main-text, 33%);
box-sizing: content-box;
border-radius: 3px;
- border: 1px solid nc-lighten($color-main-text, 86%);
+ border: 1px solid nc-darken($color-main-background, 14%);
margin: 0;
padding: 2px 0;
padding-left: 6px;
diff --git a/core/css/share.scss b/core/css/share.scss
index 35d90fb4b88..2a9f357bc38 100644
--- a/core/css/share.scss
+++ b/core/css/share.scss
@@ -149,7 +149,7 @@ a {
}
#link {
- border-top: 1px solid nc-lighten($color-main-text, 86%);
+ border-top: 1px solid nc-darken($color-main-background, 14%);
padding-top: 8px;
#showPassword img {
padding-left: 5px;
diff --git a/core/css/styles.scss b/core/css/styles.scss
index 33618d34117..c23c5cd86a2 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -361,7 +361,7 @@ body {
}
a {
color: $color-primary-text;
- border-bottom: 1px solid nc-lighten($color-main-text, 73%);
+ border-bottom: 1px solid nc-darken($color-main-background, 27%);
}
}
.infogroup {
@@ -627,7 +627,7 @@ label.infield {
background: nc-darken($color-main-background, 3%);
color: nc-lighten($color-main-text, 53%);
cursor: pointer;
- border: 1px solid nc-lighten($color-main-text, 86%);
+ border: 1px solid nc-darken($color-main-background, 14%);
span {
cursor: pointer;
padding: 10px 20px;
@@ -1064,7 +1064,7 @@ code {
}
.ui-datepicker-prev, .ui-datepicker-next {
- border: nc-lighten($color-main-text, 86%);
+ border: nc-darken($color-main-background, 14%);
background: $color-main-background;
}
@@ -1287,7 +1287,7 @@ span.ui-icon {
}
.scrollarea {
overflow: auto;
- border: 1px solid nc-lighten($color-main-text, 86%);
+ border: 1px solid nc-darken($color-main-background, 14%);
width: 100%;
height: 240px;
}