diff options
author | Raghu Nayyar <hey@raghunayyar.com> | 2015-09-12 20:01:00 +0530 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-09-16 09:06:05 +0200 |
commit | 7ccd02ec952193fe61505e9ceafe5b96649e26fb (patch) | |
tree | 8e59e7d4e7378aa851d3601d48165ae0fa62806d /core/css | |
parent | a7b27433ef5d10309ee88dcd0634e6f76b980faa (diff) | |
download | nextcloud-server-7ccd02ec952193fe61505e9ceafe5b96649e26fb.tar.gz nextcloud-server-7ccd02ec952193fe61505e9ceafe5b96649e26fb.zip |
Fixes white and black checkboxes in core, files will be next.
Diffstat (limited to 'core/css')
-rw-r--r-- | core/css/styles.css | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/core/css/styles.css b/core/css/styles.css index 570e5019dc7..2d1a4517f07 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -167,13 +167,29 @@ input[type="checkbox"] { } input[type="checkbox"] + label { - background: url('../img/actions/checkbox.svg') bottom right no-repeat; - opacity: 0.5; + background: url('../img/actions/checkbox.svg') no-repeat; + opacity: 0.7; +} + +input[type="checkbox"] + label.white { + background: url('../img/actions/checkbox-white.svg') no-repeat; } input[type="checkbox"]:checked + label { - background: url('../img/actions/checkbox-checked.svg') bottom right no-repeat; - opacity: 0.5; + background: url('../img/actions/checkbox-checked.svg') no-repeat; + opacity: 0.7; +} + +input[type="checkbox"]:checked + label.white { + background: url('../img/actions/checkbox-checked-white.svg') no-repeat; +} + +input[type="checkbox"] + label, +input[type="checkbox"] + label.white, +input[type="checkbox"]:checked + label, +input[type="checkbox"]:checked + label.white { + background-position: left; + padding-left: 20px; } input[type="checkbox"]:hover+label, input[type="checkbox"]:focus+label { color:#111 !important; } @@ -631,7 +647,6 @@ label.infield { margin: 0; padding: 14px; padding-left: 28px; - margin-left: -28px; vertical-align: middle; } #body-login form .errors { background:#fed7d7; border:1px solid #f00; list-style-indent:inside; margin:0 0 2em; padding:1em; } @@ -831,6 +846,7 @@ label.infield { opacity: .7; } #body-login .remember-login-container { + margin-top: 10px; text-align: center; } |