diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2017-11-03 12:53:21 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-11-08 13:04:38 +0100 |
commit | 9bb28bab300192b38d29d4fa2809c719af7d0429 (patch) | |
tree | 516d1443a8115199661a62710a1d8abeb412de2d /core | |
parent | 9422e98151d24e69be06ea3835d96bd409bced6d (diff) | |
download | nextcloud-server-9bb28bab300192b38d29d4fa2809c719af7d0429.tar.gz nextcloud-server-9bb28bab300192b38d29d4fa2809c719af7d0429.zip |
Flex to controls
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/css/styles.scss | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss index e5e0145cddb..ba3437a4e47 100644 --- a/core/css/styles.scss +++ b/core/css/styles.scss @@ -237,6 +237,7 @@ body { -moz-user-select: none; -ms-user-select: none; user-select: none; + display: inline-flex; } /* position controls for apps with app-navigation */ @@ -1388,32 +1389,33 @@ span.ui-icon { } /* ---- BREADCRUMB ---- */ - +div.breadcrumb { + display: inline-flex; + overflow: hidden; +} div.crumb { - float: left; - display: block; + display: inline-flex; background-image: url('../img/breadcrumb.svg?v=1'); background-repeat: no-repeat; background-position: right center; height: 44px; background-size: auto 24px; + flex: 1 2 50px; + max-width: 200px; &.hidden { display: none; } a, > span { position: relative; - top: 12px; padding: 14px 24px 14px 17px; color: nc-lighten($color-main-text, 33%); + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; } &.last a { padding-right: 0; } - &:first-child a { - position: relative; - top: 13px; - padding-right: 14px; - } &.last { font-weight: 600; margin-right: 10px; |