aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-11-01 12:42:03 +0100
committerGitHub <noreply@github.com>2018-11-01 12:42:03 +0100
commitbfab6ccf1bcce9e778721e7e9e63cc8b315db298 (patch)
treefe2415ecf32ebe519db8b29b1d74638a0d88552e /core
parent0a61242c8520a5261a8f239be90998b7682a7214 (diff)
parentc0aee3f1a11188e862e8715b8a3a1a51259b333f (diff)
downloadnextcloud-server-bfab6ccf1bcce9e778721e7e9e63cc8b315db298.tar.gz
nextcloud-server-bfab6ccf1bcce9e778721e7e9e63cc8b315db298.zip
Merge pull request #12180 from nextcloud/sidebar-fixes
Sidebar fixes, mostly fixing design of tabs
Diffstat (limited to 'core')
-rw-r--r--core/css/apps.scss30
1 files changed, 25 insertions, 5 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss
index 8b94d08ce2e..54372afa45a 100644
--- a/core/css/apps.scss
+++ b/core/css/apps.scss
@@ -781,27 +781,47 @@ kbd {
/* TABS ------------------------------------------------------------ */
.tabHeaders {
- display: inline-block;
- margin: 15px;
+ display: flex;
+ margin-bottom: 16px;
+
.tabHeader {
- float: left;
- padding: 12px;
+ display: flex;
+ flex-direction: column;
+ flex-grow: 1;
+ text-align: center;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
cursor: pointer;
color: var(--color-text-lighter);
margin-bottom: 1px;
+ padding: 5px;
+
+ /* Use same amount as sidebar padding */
+ &:first-child {
+ padding-left: 15px;
+ }
+ &:last-child {
+ padding-right: 15px;
+ }
+
.icon {
display: inline-block;
- width: 16px;
+ width: 100%;
height: 16px;
background-size: 16px;
vertical-align: middle;
margin-top: -2px;
margin-right: 3px;
opacity: .7;
+ cursor: pointer;
}
+
a {
color: var(--color-text-lighter);
margin-bottom: 1px;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
&.selected {
font-weight: bold;