diff options
author | Raghu Nayyar <hey@raghunayyar.com> | 2015-09-05 14:41:54 +0530 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-09-16 09:06:05 +0200 |
commit | 7be8984fd9a6c6c3292f01d4bdbf24d80e4c0079 (patch) | |
tree | 2a40985fcbcbb067613990c1c18f97961e2a5be0 /core/css | |
parent | 99238a5a42b0745876ed3917c420f85bc5bfc5a6 (diff) | |
download | nextcloud-server-7be8984fd9a6c6c3292f01d4bdbf24d80e4c0079.tar.gz nextcloud-server-7be8984fd9a6c6c3292f01d4bdbf24d80e4c0079.zip |
Adds background image for checkboxes
Diffstat (limited to 'core/css')
-rw-r--r-- | core/css/styles.css | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/core/css/styles.css b/core/css/styles.css index 9219068dc38..570e5019dc7 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -158,7 +158,24 @@ textarea:hover, textarea:focus, textarea:active { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; opacity: 1; } -input[type="checkbox"] { margin:0; padding:0; height:auto; width:auto; } +input[type="checkbox"] { + margin:0; + padding:0; + height:auto; + width:auto; + display: none; +} + +input[type="checkbox"] + label { + background: url('../img/actions/checkbox.svg') bottom right no-repeat; + opacity: 0.5; +} + +input[type="checkbox"]:checked + label { + background: url('../img/actions/checkbox-checked.svg') bottom right no-repeat; + opacity: 0.5; +} + input[type="checkbox"]:hover+label, input[type="checkbox"]:focus+label { color:#111 !important; } input[type="time"] { width: initial; |