diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-02-24 22:56:13 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-02-24 23:54:38 +0100 |
commit | 11cb45bd432b6b7521f43f53e91dbec1537193cd (patch) | |
tree | 60b962b3dec75bcf3731a71ab38a486cf764f1e1 /settings | |
parent | 9dcf29ff514222b652e642d358b10d375c30dbb5 (diff) | |
download | nextcloud-server-11cb45bd432b6b7521f43f53e91dbec1537193cd.tar.gz nextcloud-server-11cb45bd432b6b7521f43f53e91dbec1537193cd.zip |
slight change to select style
Diffstat (limited to 'settings')
-rw-r--r-- | settings/css/settings.css | 1 | ||||
-rw-r--r-- | settings/js/users.js | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css index 39d811ae10c..7a5873bb4d2 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -34,6 +34,7 @@ div.quota { float:right; display:block; position:absolute; right:25em; top:0; } select.quota { position:absolute; left:0; top:0; width:10em; } input.quota-other { display:none; position:absolute; left:0.1em; top:0.1em; width:7em; border:none; -webkit-box-shadow: none -mox-box-shadow:none ; box-shadow:none; } div.quota>span { position:absolute; right:0em; white-space:nowrap; top: 0.7em } +select.quota.active { background: #fff; } /* APPS */ li { color:#888; } diff --git a/settings/js/users.js b/settings/js/users.js index 26e7ff24452..eed93d3b303 100644 --- a/settings/js/users.js +++ b/settings/js/users.js @@ -106,6 +106,7 @@ $(document).ready(function(){ setQuota(uid,quota); }else{ other.show(); + select.addClass('active'); other.focus(); } }); @@ -132,6 +133,7 @@ $(document).ready(function(){ select.children().last().before(option); } select.val(quota); + select.removeClass('active'); other.val(null); other.hide(); }); @@ -143,6 +145,7 @@ $(document).ready(function(){ $(option).attr('selected','selected'); } }); + select.removeClass('active'); other.hide(); } }); |