You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2015/03/23 12:12:18 UTC
fauxton commit: updated refs/heads/master to cfd9ec8
Repository: couchdb-fauxton
Updated Branches:
refs/heads/master f199df6d9 -> cfd9ec859
all-dbs, all-docs: more responsiveness
don't display search-label if screensize is too small.
before this patch the searchlabel jumped out of the headerbar
PR: #253
PR-URL: https://github.com/apache/couchdb-fauxton/pull/253
Reviewed-By: Michelle Phung <mi...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/cfd9ec85
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/cfd9ec85
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/cfd9ec85
Branch: refs/heads/master
Commit: cfd9ec85913879069d0294779a1eb6b700026b2a
Parents: f199df6
Author: Robert Kowalski <ro...@apache.org>
Authored: Fri Jan 30 13:43:05 2015 +0100
Committer: Robert Kowalski <ro...@apache.org>
Committed: Mon Mar 23 12:12:19 2015 +0100
----------------------------------------------------------------------
assets/less/fauxton.less | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/cfd9ec85/assets/less/fauxton.less
----------------------------------------------------------------------
diff --git a/assets/less/fauxton.less b/assets/less/fauxton.less
index 2fece08..1219668 100644
--- a/assets/less/fauxton.less
+++ b/assets/less/fauxton.less
@@ -771,3 +771,44 @@ footer.pagination-footer {
z-index: 6;
}
+// left navigationbar is opened
+@media (max-width: 780px) {
+ .closeMenu {
+ .one-pane {
+ .searchbox-wrapper {
+ display: none;
+ }
+ }
+ }
+}
+
+@media (max-width: 1050px) {
+ .closeMenu {
+ .with-sidebar {
+ .searchbox-wrapper {
+ display: none;
+ }
+ }
+ }
+}
+
+// left navigationbar is closed
+@media (max-width: 925px) {
+ body:not(.closeMenu) {
+ .one-pane {
+ .searchbox-wrapper {
+ display: none;
+ }
+ }
+ }
+}
+
+@media (max-width: 1225px) {
+ body:not(.closeMenu) {
+ .with-sidebar {
+ .searchbox-wrapper {
+ display: none;
+ }
+ }
+ }
+}