diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-06-04 17:49:04 +0400 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-06-04 17:49:04 +0400 |
commit | 8f4221edde2c5cd515a35e8d98fc7f1e9c343003 (patch) | |
tree | 7499f8768a9670181fbe65352815fbde7dbd4e1b /core/css/header.css | |
parent | f1ce58de3e194552c7827bfdfc6d354d8d8e7bbb (diff) |
more CSS rearranging, removing duplicate code
Diffstat (limited to 'core/css/header.css')
-rw-r--r-- | core/css/header.css | 53 |
1 files changed, 52 insertions, 1 deletions
diff --git a/core/css/header.css b/core/css/header.css index d48b6eab06b..f6de0e56690 100644 --- a/core/css/header.css +++ b/core/css/header.css @@ -9,9 +9,38 @@ +/* HEADERS ------------------------------------------------------------------ */ + +#body-user #header, +#body-settings #header, +#body-public #header { + position: fixed; + top: 0; + left: 0; + right: 0; + z-index: 100; + height: 45px; + line-height: 2.5em; + background-color: #1d2d44; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + + /* LOGO and APP NAME -------------------------------------------------------- */ +#owncloud { + position: absolute; + top: 0; + left: 0; + padding: 6px; + padding-bottom: 0; + height: 45px; /* header height */ + -moz-box-sizing: border-box; + box-sizing: border-box; +} + #header .logo { background-image: url(../img/logo.svg); background-repeat: no-repeat; @@ -185,7 +214,29 @@ -/* USER MENU */ +/* USER MENU -----------------------------------------------------------------*/ + +/* info part on the right, used e.g. for info on who shared something */ +.header-right { + position: absolute; + right: 0; + padding: 7px 5px; + color: #fff; + height: 100%; + max-width: 40%; + white-space: nowrap; +} + +/* Profile picture in header */ +#header .avatardiv { + float: left; + display: inline-block; + margin-right: 5px; +} +#header .avatardiv img { + opacity: 1; +} + #settings { float: right; color: #bbb; |