summaryrefslogtreecommitdiffstats
path: root/core/css/inputs.scss
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-09-28 16:32:54 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2017-11-03 14:08:21 +0100
commitbd7d0de86f93bcdf0a521544a92795d5725f57f4 (patch)
treec5e56ef23544d4d130d6fcc4d3d1ee79408a8266 /core/css/inputs.scss
parent576d31d48d1e368c0ca54a95f28dc3bc0e553d83 (diff)
downloadnextcloud-server-bd7d0de86f93bcdf0a521544a92795d5725f57f4.tar.gz
nextcloud-server-bd7d0de86f93bcdf0a521544a92795d5725f57f4.zip
Add variable for border-radius
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core/css/inputs.scss')
-rw-r--r--core/css/inputs.scss12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/css/inputs.scss b/core/css/inputs.scss
index 5143ec518ed..20e8cbf08e0 100644
--- a/core/css/inputs.scss
+++ b/core/css/inputs.scss
@@ -45,7 +45,7 @@ div[contenteditable=true],
color: nc-lighten($color-main-text, 33%);
border: 1px solid nc-darken($color-main-background, 14%);
outline: none;
- border-radius: 3px;
+ border-radius: $border-radius;
cursor: text;
&:not(:disabled):not(.primary) {
&:hover,
@@ -372,7 +372,7 @@ input {
background: $color-main-background;
color: nc-lighten($color-main-text, 33%);
box-sizing: content-box;
- border-radius: 3px;
+ border-radius: $border-radius;
border: 1px solid nc-darken($color-main-background, 14%);
margin: 0;
padding: 2px 0;
@@ -417,7 +417,7 @@ input {
background: $color-main-background;
color: nc-lighten($color-main-text, 33%);
box-sizing: content-box;
- border-radius: 3px;
+ border-radius: $border-radius;
border: 1px solid nc-darken($color-main-background, 14%);
margin: 0;
padding: 2px 0;
@@ -465,7 +465,7 @@ progress {
padding: 0;
border: 0 none;
background-color: nc-darken($color-main-background, 10%);
- border-radius: 3px;
+ border-radius: $border-radius;
flex-basis: 100%;
height: 5px;
overflow: hidden;
@@ -481,12 +481,12 @@ progress {
background: transparent;
}
&::-moz-progress-bar {
- border-radius: 3px;
+ border-radius: $border-radius;
background: $color-primary;
transition: 250ms all ease-in-out;
}
&::-webkit-progress-value {
- border-radius: 3px;
+ border-radius: $border-radius;
background: $color-primary;
transition: 250ms all ease-in-out;
}