2017-01-12 17:18:21 +03:00
|
|
|
/**
|
2017-01-25 16:13:28 +03:00
|
|
|
* @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>
|
|
|
|
* @copyright Copyright (c) 2016, Julius Haertl <jus@bitgrid.net>
|
|
|
|
* @copyright Copyright (c) 2016, Lukas Reschke <lukas@statuscode.ch>
|
|
|
|
* @copyright Copyright (c) 2016, Jos Poortvliet <jos@opensuse.org>
|
|
|
|
* @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>
|
|
|
|
* @copyright Copyright (c) 2016, jowi <sjw@gmx.ch>
|
|
|
|
* @copyright Copyright (c) 2015, Hendrik Leppelsack <hendrik@leppelsack.de>
|
|
|
|
* @copyright Copyright (c) 2015, Jan-Christoph Borchardt <hey@jancborchardt.net>
|
|
|
|
* @copyright Copyright (c) 2015, Volker E <volker.e@temporaer.net>
|
2017-01-12 17:18:21 +03:00
|
|
|
*
|
|
|
|
* @license GNU AGPL version 3 or any later version
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2016-12-22 13:16:48 +03:00
|
|
|
/* prevent ugly selection effect on accidental selection */
|
2017-01-12 21:49:09 +03:00
|
|
|
#header,
|
|
|
|
#navigation,
|
|
|
|
#expanddiv {
|
2016-12-22 13:16:48 +03:00
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
2017-01-26 17:50:18 +03:00
|
|
|
|
|
|
|
/* Dropdown menu arrow */
|
|
|
|
&.menu:after,
|
|
|
|
.menu:after {
|
|
|
|
border: 10px solid transparent;
|
2017-02-17 19:15:24 +03:00
|
|
|
border-bottom-color: $color-main-background;
|
2017-01-26 17:50:18 +03:00
|
|
|
bottom: 100%;
|
|
|
|
content: ' ';
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
margin-left: -10px;
|
|
|
|
}
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* removed until content-focusing issue is fixed */
|
|
|
|
#skip-to-content a {
|
|
|
|
position: absolute;
|
|
|
|
left: -10000px;
|
|
|
|
top: auto;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
overflow: hidden;
|
|
|
|
&:focus {
|
|
|
|
left: 76px;
|
|
|
|
top: -9px;
|
2017-02-17 19:15:24 +03:00
|
|
|
color: $color-primary-text;
|
2016-12-22 13:16:48 +03:00
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* HEADERS ------------------------------------------------------------------ */
|
2017-01-12 21:49:09 +03:00
|
|
|
#body-user #header,
|
|
|
|
#body-settings #header,
|
|
|
|
#body-public #header {
|
2017-01-03 18:06:53 +03:00
|
|
|
display: inline-flex;
|
2016-12-22 13:16:48 +03:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 2000;
|
|
|
|
height: 45px;
|
2017-02-17 19:15:24 +03:00
|
|
|
background-color: $color-primary;
|
2016-12-22 13:16:48 +03:00
|
|
|
box-sizing: border-box;
|
2017-01-03 18:06:53 +03:00
|
|
|
justify-content: space-between;
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* LOGO and APP NAME -------------------------------------------------------- */
|
|
|
|
#nextcloud {
|
|
|
|
padding: 5px;
|
|
|
|
padding-bottom: 0;
|
|
|
|
height: 45px;
|
|
|
|
/* header height */
|
|
|
|
box-sizing: border-box;
|
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
|
|
|
|
opacity: 1;
|
|
|
|
&:focus {
|
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=75)';
|
|
|
|
opacity: .75;
|
|
|
|
}
|
|
|
|
&:hover, &:active {
|
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#header {
|
|
|
|
.logo {
|
2017-02-17 19:15:24 +03:00
|
|
|
background-image: url('#{$image-logo}');
|
2016-12-22 13:16:48 +03:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 175px;
|
|
|
|
background-position: center;
|
|
|
|
width: 252px;
|
|
|
|
height: 120px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
.logo-icon {
|
|
|
|
/* display logo so appname can be shown next to it */
|
|
|
|
display: inline-block;
|
2017-02-17 19:15:24 +03:00
|
|
|
background-image: url($image-logo);
|
2016-12-22 13:16:48 +03:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
width: 62px;
|
|
|
|
height: 34px;
|
|
|
|
}
|
|
|
|
.header-appname-container {
|
2017-03-02 01:21:38 +03:00
|
|
|
display: none;
|
2017-01-17 11:10:09 +03:00
|
|
|
padding-top: 22px;
|
2016-12-22 13:16:48 +03:00
|
|
|
padding-right: 10px;
|
2017-01-24 02:03:45 +03:00
|
|
|
flex-shrink: 0;
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
2017-01-12 17:18:21 +03:00
|
|
|
/* show caret indicator next to logo to make clear it is tappable */
|
|
|
|
.icon-caret {
|
|
|
|
display: inline-block;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
margin: 0;
|
|
|
|
margin-top: -21px;
|
|
|
|
padding: 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2017-01-03 18:06:53 +03:00
|
|
|
|
2017-01-16 16:29:41 +03:00
|
|
|
#header-left,
|
|
|
|
#header-right {
|
2017-01-16 22:30:38 +03:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
2017-01-03 18:06:53 +03:00
|
|
|
}
|
|
|
|
|
2017-01-16 16:29:41 +03:00
|
|
|
#header-left {
|
2017-01-09 16:03:13 +03:00
|
|
|
flex: 0 0;
|
|
|
|
flex-grow: 1;
|
2017-01-03 18:06:53 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#header-right {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* hover effect for app switcher label */
|
|
|
|
|
|
|
|
.header-appname-container .header-appname {
|
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=75)';
|
|
|
|
opacity: .75;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menutoggle {
|
|
|
|
.icon-caret {
|
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=75)';
|
|
|
|
opacity: .75;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
.header-appname, .icon-caret {
|
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:focus {
|
|
|
|
.header-appname, .icon-caret {
|
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.active {
|
|
|
|
.header-appname, .icon-caret {
|
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* show appname next to logo */
|
|
|
|
.header-appname {
|
2017-03-03 04:09:24 +03:00
|
|
|
display: inline-block;
|
2016-12-22 13:16:48 +03:00
|
|
|
position: relative;
|
2017-02-17 19:15:24 +03:00
|
|
|
color: $color-primary-text;
|
2016-12-22 13:16:48 +03:00
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 300;
|
|
|
|
margin: 0;
|
2016-12-18 17:05:39 +03:00
|
|
|
margin-top: -26px;
|
2016-12-22 13:16:48 +03:00
|
|
|
padding: 7px 0 7px 5px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* do not show menu toggle on public share links as there is no menu */
|
|
|
|
#body-public #header .icon-caret {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* NAVIGATION --------------------------------------------------------------- */
|
2017-03-03 15:00:10 +03:00
|
|
|
nav {
|
|
|
|
margin-top: auto;
|
|
|
|
}
|
|
|
|
|
2016-12-22 13:16:48 +03:00
|
|
|
#navigation {
|
2017-03-02 01:21:38 +03:00
|
|
|
position: relative;
|
2017-03-03 15:00:10 +03:00
|
|
|
top: 45px;
|
2017-03-02 01:21:38 +03:00
|
|
|
left: -100%;
|
2016-12-22 13:16:48 +03:00
|
|
|
width: 265px;
|
|
|
|
max-height: 85%;
|
|
|
|
margin-top: 0;
|
|
|
|
padding-bottom: 10px;
|
2017-02-17 19:15:24 +03:00
|
|
|
background-color: $color-main-background;
|
|
|
|
box-shadow: 0 1px 10px rgba(lighten($color-main-text, 25%), 0.75);
|
2016-12-22 13:16:48 +03:00
|
|
|
border-radius: 3px;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
display: none;
|
2017-01-12 17:18:21 +03:00
|
|
|
box-sizing: border-box;
|
2016-12-22 13:16:48 +03:00
|
|
|
z-index: 2000;
|
|
|
|
&:after {
|
2017-01-12 17:18:21 +03:00
|
|
|
left: 47%;
|
2016-12-18 17:05:39 +03:00
|
|
|
bottom: 100%;
|
|
|
|
border: solid transparent;
|
|
|
|
content: ' ';
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
border-color: rgba(0, 0, 0, 0);
|
2017-03-03 04:09:24 +03:00
|
|
|
border-bottom-color: rgba(255, 255, 255, .97);
|
2016-12-18 17:05:39 +03:00
|
|
|
border-width: 9px;
|
|
|
|
margin-left: -9px;
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
2016-12-18 17:05:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* arrow look */
|
|
|
|
|
|
|
|
#expanddiv:after {
|
|
|
|
bottom: 100%;
|
|
|
|
border: solid transparent;
|
|
|
|
content: ' ';
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
border-color: rgba(0, 0, 0, 0);
|
2017-03-03 04:09:24 +03:00
|
|
|
border-bottom-color: rgba(255, 255, 255, .97);
|
2016-12-18 17:05:39 +03:00
|
|
|
border-width: 10px;
|
|
|
|
margin-left: -10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* position of dropdown arrow */
|
|
|
|
|
|
|
|
#navigation:after {
|
2017-03-02 01:21:38 +03:00
|
|
|
left: 242px;
|
2016-12-18 17:05:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#expanddiv:after {
|
|
|
|
right: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#navigation {
|
|
|
|
box-sizing: border-box;
|
2016-12-22 13:16:48 +03:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
position: relative;
|
|
|
|
width: 80px;
|
|
|
|
height: 80px;
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
padding: 20px 0;
|
|
|
|
span {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 13px;
|
|
|
|
padding-bottom: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
width: 80px;
|
|
|
|
text-align: center;
|
2017-02-17 19:15:24 +03:00
|
|
|
color: $color-main-text;
|
2016-12-22 13:16:48 +03:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2017-01-12 21:49:09 +03:00
|
|
|
svg,
|
|
|
|
span {
|
2016-12-22 13:16:48 +03:00
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)';
|
|
|
|
opacity: .5;
|
|
|
|
}
|
2017-01-12 17:18:21 +03:00
|
|
|
&:hover svg,
|
|
|
|
&:focus svg,
|
|
|
|
&:hover span,
|
|
|
|
&:focus span {
|
2016-12-22 13:16:48 +03:00
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
&.active {
|
|
|
|
svg, span {
|
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-01-12 17:18:21 +03:00
|
|
|
.app-icon {
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 0;
|
|
|
|
max-height: 32px;
|
|
|
|
max-width: 32px;
|
|
|
|
}
|
|
|
|
/* loading feedback for apps */
|
|
|
|
.app-loading {
|
|
|
|
.icon-loading-dark {
|
|
|
|
display: inline !important;
|
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
|
|
|
left: 24px;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
.app-icon {
|
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)';
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Apps management */
|
2017-03-19 18:17:26 +03:00
|
|
|
.apps-management {
|
2016-12-22 13:16:48 +03:00
|
|
|
min-height: initial;
|
|
|
|
height: initial;
|
|
|
|
margin: 0;
|
|
|
|
a {
|
2017-01-12 21:49:09 +03:00
|
|
|
svg,
|
|
|
|
span {
|
2016-12-22 13:16:48 +03:00
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=30)';
|
|
|
|
opacity: .3;
|
|
|
|
}
|
2017-01-12 17:18:21 +03:00
|
|
|
/* icon opacity and hover effect */
|
|
|
|
&:hover svg,
|
|
|
|
&:focus svg,
|
|
|
|
&.active svg,
|
|
|
|
&:hover span,
|
|
|
|
&:focus span,
|
|
|
|
&.active span {
|
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#apps {
|
|
|
|
max-height: calc(100vh - 100px);
|
|
|
|
overflow: auto;
|
2017-03-02 01:04:27 +03:00
|
|
|
.in-header {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* USER MENU -----------------------------------------------------------------*/
|
|
|
|
|
|
|
|
#settings {
|
2017-01-03 18:06:53 +03:00
|
|
|
display: inline-block;
|
2017-02-17 19:15:24 +03:00
|
|
|
color: rgba($color-primary-text, 0.7);
|
2016-12-22 13:16:48 +03:00
|
|
|
cursor: pointer;
|
|
|
|
.icon-loading-small-dark {
|
|
|
|
display: inline-block;
|
|
|
|
margin-bottom: -3px;
|
|
|
|
margin-right: 6px;
|
|
|
|
background-size: 16px 16px;
|
|
|
|
}
|
2017-01-03 18:06:53 +03:00
|
|
|
flex: 0 0 auto;
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
|
|
|
|
2017-01-12 17:18:21 +03:00
|
|
|
/* User menu on the right */
|
2016-12-22 13:16:48 +03:00
|
|
|
#expand {
|
2017-01-24 02:25:09 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2016-12-22 13:16:48 +03:00
|
|
|
padding: 7px 30px 6px 10px;
|
|
|
|
cursor: pointer;
|
|
|
|
* {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
img {
|
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)';
|
|
|
|
opacity: .7;
|
|
|
|
margin-bottom: -2px;
|
|
|
|
}
|
2017-01-12 21:49:09 +03:00
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
2017-02-17 19:15:24 +03:00
|
|
|
color: $color-primary-text;
|
2017-01-12 21:49:09 +03:00
|
|
|
img {
|
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
|
|
|
.icon-caret {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2017-01-12 17:18:21 +03:00
|
|
|
|
|
|
|
/* Profile picture in header */
|
|
|
|
.avatardiv {
|
|
|
|
cursor: pointer;
|
|
|
|
height: 32px;
|
|
|
|
width: 32px;
|
|
|
|
img {
|
|
|
|
opacity: 1;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
/* do not show display name when profile picture is present */
|
|
|
|
&.avatardiv-shown + #expandDisplayName {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#expanddiv {
|
|
|
|
position: absolute;
|
|
|
|
right: 13px;
|
|
|
|
top: 45px;
|
|
|
|
z-index: 2000;
|
|
|
|
display: none;
|
2017-02-17 19:15:24 +03:00
|
|
|
background: $color-main-background;
|
|
|
|
box-shadow: 0 1px 10px rgba(lighten($color-main-text-dimmed, 25%), 0.75);
|
2016-12-22 13:16:48 +03:00
|
|
|
border-radius: 3px;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
&:after {
|
2017-01-12 17:18:21 +03:00
|
|
|
/* position of dropdown arrow */
|
|
|
|
right: 15px;
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
height: 40px;
|
2017-02-17 19:15:24 +03:00
|
|
|
color: $color-main-text;
|
|
|
|
opacity: .5;
|
2017-01-24 02:25:09 +03:00
|
|
|
padding: 10px 12px 0;
|
2016-12-22 13:16:48 +03:00
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)';
|
|
|
|
box-sizing: border-box;
|
|
|
|
img {
|
|
|
|
margin-bottom: -3px;
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
2017-01-12 21:49:09 +03:00
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active,
|
|
|
|
&.active {
|
2016-12-22 13:16:48 +03:00
|
|
|
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-12-18 17:05:39 +03:00
|
|
|
|
|
|
|
/* do not show display name when profile picture is present */
|
|
|
|
|
|
|
|
#header {
|
|
|
|
.avatardiv.avatardiv-shown + #expandDisplayName {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#appmenu {
|
|
|
|
display: inline-block;
|
|
|
|
width: auto;
|
|
|
|
clear: both;
|
|
|
|
height: 44px;
|
|
|
|
|
2017-03-03 04:09:24 +03:00
|
|
|
li {
|
|
|
|
float: left;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top !important;
|
|
|
|
height: 20px;
|
|
|
|
padding: 12px;
|
2016-12-18 17:05:39 +03:00
|
|
|
|
2017-03-03 04:09:24 +03:00
|
|
|
a {
|
|
|
|
opacity: 0.6;
|
|
|
|
margin: 0;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: top !important;
|
|
|
|
position: relative;
|
|
|
|
height: 44px;
|
|
|
|
}
|
|
|
|
}
|
2016-12-18 17:05:39 +03:00
|
|
|
|
2017-03-03 04:09:24 +03:00
|
|
|
li:hover a,
|
|
|
|
li a.active {
|
|
|
|
opacity: 1;
|
2016-12-18 17:05:39 +03:00
|
|
|
|
2017-03-03 04:09:24 +03:00
|
|
|
}
|
2016-12-18 17:05:39 +03:00
|
|
|
|
2017-03-03 04:09:24 +03:00
|
|
|
li img,
|
|
|
|
.icon-more-white {
|
|
|
|
display: inline-block;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
2016-12-18 17:05:39 +03:00
|
|
|
|
2017-03-03 04:09:24 +03:00
|
|
|
li span {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
overflow: visible;
|
|
|
|
background-color: rgba(255, 255, 255, .97);
|
|
|
|
white-space: nowrap;
|
|
|
|
border: none;
|
|
|
|
-webkit-border-radius: 3px;
|
|
|
|
-moz-border-radius: 3px;
|
|
|
|
border-radius: 3px;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
margin-top: 0;
|
|
|
|
color: rgba(0, 0, 0, .6);
|
|
|
|
width: auto;
|
|
|
|
left: 50%;
|
|
|
|
top: 31px;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
padding: 4px 10px;
|
|
|
|
-webkit-filter: drop-shadow(0 0 5px rgba(150, 150, 150, .75));
|
|
|
|
-moz-filter: drop-shadow(0 0 5px rgba(150, 150, 150, .75));
|
|
|
|
-ms-filter: drop-shadow(0 0 5px rgba(150, 150, 150, .75));
|
|
|
|
-o-filter: drop-shadow(0 0 5px rgba(150, 150, 150, .75));
|
|
|
|
filter: drop-shadow(0 0 5px rgba(150, 150, 150, .75));
|
|
|
|
}
|
|
|
|
|
|
|
|
li:hover span {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2016-12-18 17:05:39 +03:00
|
|
|
|
|
|
|
|
2017-03-03 04:09:24 +03:00
|
|
|
li:hover a:before,
|
|
|
|
li a.active:before {
|
|
|
|
content: ' ';
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
border: 0 solid transparent;
|
|
|
|
border-bottom-color: white;
|
|
|
|
border-width: 10px;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
left: 50%;
|
2017-03-03 15:00:10 +03:00
|
|
|
top: 12px;
|
2017-03-03 04:09:24 +03:00
|
|
|
z-index: 100;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
&.menu-open li:hover a:before,
|
2017-03-03 15:16:30 +03:00
|
|
|
&.menu-open li a.active:before,
|
|
|
|
&.menu-open li:hover span {
|
2017-03-03 04:09:24 +03:00
|
|
|
display: none !important;
|
|
|
|
}
|
2016-12-18 17:05:39 +03:00
|
|
|
|
2017-03-03 04:09:24 +03:00
|
|
|
/* do not show active indicator when hovering other icons */
|
|
|
|
&:hover li:not(:hover) a:before {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-12-18 17:05:39 +03:00
|
|
|
|
2017-03-03 15:00:37 +03:00
|
|
|
li.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-03-02 01:04:27 +03:00
|
|
|
}
|
|
|
|
|
2017-03-03 04:09:24 +03:00
|
|
|
/* use popover menu on mobile and small screens */
|
2017-03-03 15:16:30 +03:00
|
|
|
@media only screen and (max-width: 600px) {
|
2017-03-02 01:21:38 +03:00
|
|
|
|
|
|
|
#header .header-appname-container {
|
|
|
|
display: inline-block !important;
|
|
|
|
}
|
2017-03-03 04:09:24 +03:00
|
|
|
|
2017-03-02 01:21:38 +03:00
|
|
|
#appmenu {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-03-03 04:09:24 +03:00
|
|
|
#apps .in-header {
|
|
|
|
display: inline-block;
|
2017-03-02 01:21:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#navigation {
|
|
|
|
position: fixed;
|
|
|
|
top: 45px;
|
|
|
|
left: 10px;
|
2017-03-03 04:09:24 +03:00
|
|
|
&:after {
|
|
|
|
left: 214px;
|
|
|
|
}
|
2017-03-02 01:21:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|