From 926edc6ea2878f826d4b3e5f4c05682b2ddb55ce Mon Sep 17 00:00:00 2001 From: benweet Date: Mon, 20 May 2013 00:26:05 +0100 Subject: [PATCH] Added filter in file selector --- css/main.css | 21 ++++++++++++++++----- index.html | 24 ++++++++++++++++-------- js/file-manager.js | 31 +++++++++++++++++++++++++++++-- viewer.html | 10 ++++++++-- 4 files changed, 69 insertions(+), 17 deletions(-) diff --git a/css/main.css b/css/main.css index 9b6c3489..9b57d321 100644 --- a/css/main.css +++ b/css/main.css @@ -123,10 +123,10 @@ input[type="color"]:focus, .navbar-inner .btn.disabled, .navbar-inner .btn[disabled] { - color: #333333; - background-color: #ddd; + color: #333333; + background-color: #ddd; opacity: 0.3; - filter: alpha(opacity=30); + filter: alpha(opacity=30); } .dropdown-menu > li > a:hover, @@ -136,7 +136,13 @@ input[type="color"]:focus, .dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus { - background-color: #888; + background-color: #888; +} + +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #bbb; } .btn-primary { @@ -195,7 +201,12 @@ hr { #file-selector { max-height: 500px; - overflow-y: auto; + overflow-y: auto; + overflow-x: hidden; +} + +#file-selector .stick { + padding: 10px 20px 0; } #file-title { diff --git a/index.html b/index.html index a708ec85..b45d7714 100644 --- a/index.html +++ b/index.html @@ -33,10 +33,12 @@