diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-08-24 23:21:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-24 23:21:55 +0300 |
commit | 8761856a7156474257f0f17949f1379804b2c627 (patch) | |
tree | a93dd9c84e6c5c0592c54aafc4dd28ff5aa7e95a /core/css/header.scss | |
parent | ac932309a232afc2e08fe167aa1611e98951e86c (diff) | |
parent | 13230f180a897cd56489102c6e91d39fb8e1e2f3 (diff) |
Merge pull request #10838 from nextcloud/header-fixes-and-public-note
Header fixes and public note
Diffstat (limited to 'core/css/header.scss')
-rw-r--r-- | core/css/header.scss | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/core/css/header.scss b/core/css/header.scss index 52a179cc5cb..3b3a87ec714 100644 --- a/core/css/header.scss +++ b/core/css/header.scss @@ -56,10 +56,15 @@ /* LOGO and APP NAME -------------------------------------------------------- */ #nextcloud { - padding: 8px 12px; + padding: 7px 0; + padding-left: 86px; // logo width + 2* pa + position: relative; height: 100%; box-sizing: border-box; opacity: 1; + display: flex; + align-items: center; + flex-wrap: wrap; &:focus { opacity: .75; } @@ -107,12 +112,10 @@ background-repeat: no-repeat; background-size: contain; background-position: center; - width: 256px; - height: 128px; - margin: 0 auto; - &.logo-icon { - width: 62px; - height: 34px; + width: 62px; + height: 100%; + position: absolute; + left: 12px; img { opacity: 0; @@ -121,10 +124,8 @@ } } - } .header-appname-container { display: none; - padding-top: 22px; padding-right: 10px; flex-shrink: 0; } @@ -153,7 +154,6 @@ #header-right, .header-right { justify-content: flex-end; - flex-basis: 210px; flex-shrink: 1; } @@ -207,15 +207,12 @@ /* show appname next to logo */ .header-appname { - display: inline-block; - position: relative; color: var(--color-primary-text); font-size: 16px; font-weight: 300; margin: 0; - margin-top: -26px; - padding: 7px 0 7px 5px; - vertical-align: middle; + padding: 0; + padding-right: 5px; } /* do not show menu toggle on public share links as there is no menu */ @@ -577,7 +574,8 @@ nav[role='navigation'] { background: var(--color-primary) !important; &.skip-content { - left: 253px; + left: $navigation-width; + margin-left: 3px; } &:focus, |