diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2017-09-28 17:48:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-28 17:48:40 +0200 |
commit | d58c0e68343185fe37293fa3901ced348e23bb9b (patch) | |
tree | bdc7805bd944f97429a2973f940337b32c9f8a05 /core/css/inputs.scss | |
parent | b17ca81df07166fed99afd224cf301b7746df5bb (diff) | |
parent | b9a8ba7a2361d6a1d1bbf6acf20abac58ac2ed91 (diff) | |
download | nextcloud-server-d58c0e68343185fe37293fa3901ced348e23bb9b.tar.gz nextcloud-server-d58c0e68343185fe37293fa3901ced348e23bb9b.zip |
Merge pull request #6669 from nextcloud/various-css-fixes
Various css fixes
Diffstat (limited to 'core/css/inputs.scss')
-rw-r--r-- | core/css/inputs.scss | 42 |
1 files changed, 36 insertions, 6 deletions
diff --git a/core/css/inputs.scss b/core/css/inputs.scss index 5fe65935ec5..832ccdebaa6 100644 --- a/core/css/inputs.scss +++ b/core/css/inputs.scss @@ -35,7 +35,7 @@ select, button, .button, input:not([type='range']), textarea, -#quota, .pager li a { +.pager li a { margin: 3px 3px 3px 0; padding: 7px 6px; font-size: 13px; @@ -45,8 +45,7 @@ textarea, outline: none; border-radius: 3px; &:not(:disabled):not(.primary) { - /* no border on quota */ - &:not(#quota):hover, + &:hover, &:focus, &.active { /* active class used for multiselect */ @@ -185,9 +184,6 @@ button img, .button img { cursor: pointer; } -#quota { - color: nc-lighten($color-main-text, 33%); -} select, .button.multiselect { font-weight: 400; @@ -472,6 +468,40 @@ input { } } +/* Progressbar */ +progress { + display: block; + width: 100%; + padding: 0; + border: 0 none; + background-color: nc-darken($color-main-background, 10%); + border-radius: 3px; + flex-basis: 100%; + height: 5px; + overflow: hidden; + &.warn { + &::-moz-progress-bar { + background: $color-error; + } + &::-webkit-progress-value { + background: $color-error; + } + } + &::-webkit-progress-bar { + background: transparent; + } + &::-moz-progress-bar { + border-radius: 3px; + background: $color-primary; + transition: 250ms all ease-in-out; + } + &::-webkit-progress-value { + border-radius: 3px; + background: $color-primary; + transition: 250ms all ease-in-out; + } +} + /* Animation */ @keyframes shake { 10%, |