diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2013-02-04 18:30:49 +0100 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2013-02-04 18:30:49 +0100 |
commit | b06ac67e07512fbf1b12e586bc73d7569aec9e24 (patch) | |
tree | a27893340e757803ea5117b2c6a48c2be9128889 /core/css | |
parent | 46e10407f7aef7850e56da51fc81311c6b77acaa (diff) | |
download | nextcloud-server-b06ac67e07512fbf1b12e586bc73d7569aec9e24.tar.gz nextcloud-server-b06ac67e07512fbf1b12e586bc73d7569aec9e24.zip |
Add 'hascontrols' class for content with fixed topbar.
Diffstat (limited to 'core/css')
-rw-r--r-- | core/css/styles.css | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/core/css/styles.css b/core/css/styles.css index 80485fd063d..02300ff4cd3 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -119,10 +119,18 @@ input[type="submit"].enabled { background:#66f866; border:1px solid #5e5; -moz-b #select_all{ margin-top:.4em !important;} /* CONTENT ------------------------------------------------------------------ */ -#controls { padding:0 0.5em; width:100%; top:0; height:2.8em; margin:0; background:#f7f7f7; border-bottom:1px solid #eee; position:relative; -moz-box-sizing:border-box; box-sizing:border-box; z-index:50; -moz-box-shadow:0 -3px 7px #000; -webkit-box-shadow:0 -3px 7px #000; box-shadow:0 -3px 7px #000; } +#controls { + position:fixed; + height:2.8em; width:100%; + padding:0 70px 0 0.5em; margin:0; + -moz-box-sizing:border-box; box-sizing:border-box; + -moz-box-shadow:0 -3px 7px #000; -webkit-box-shadow:0 -3px 7px #000; box-shadow:0 -3px 7px #000; + background:#f7f7f7; border-bottom:1px solid #eee; z-index:50; +} #controls .button { display:inline-block; } #content { position:relative; height:100%; width:100%; } +#content .hascontrols { position: relative; top: 3em; } #content-wrapper { position:absolute; height:100%; width:100%; padding-top:3.5em; padding-left:64px; -moz-box-sizing:border-box; box-sizing:border-box; |