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, Volker E <volker.e@temporaer.net>
|
2017-03-26 18:57:05 +03:00
|
|
|
* @copyright Copyright (c) 2014-2017, Jan-Christoph Borchardt <hey@jancborchardt.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-24 09:47:14 +03:00
|
|
|
}
|
2017-01-26 17:50:18 +03:00
|
|
|
|
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;
|
|
|
|
opacity: 1;
|
|
|
|
&:focus {
|
|
|
|
opacity: .75;
|
|
|
|
}
|
|
|
|
&:hover, &:active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#header {
|
2017-11-07 18:25:41 +03:00
|
|
|
/* Header menu */
|
|
|
|
.menu {
|
|
|
|
background-color: $color-main-background;
|
2017-12-19 14:11:12 +03:00
|
|
|
filter: drop-shadow(0 1px 10px $color-box-shadow);
|
2017-11-07 18:25:41 +03:00
|
|
|
border-radius: 0 0 3px 3px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
z-index: 2000;
|
2017-11-09 12:58:51 +03:00
|
|
|
position: absolute;
|
2018-02-15 13:38:24 +03:00
|
|
|
max-width: 350px;
|
|
|
|
max-height: 280px;
|
|
|
|
right: 0;
|
|
|
|
top: 44px;
|
2018-03-07 13:05:23 +03:00
|
|
|
margin: 0;
|
2017-11-07 18:25:41 +03:00
|
|
|
|
2017-12-19 08:58:58 +03:00
|
|
|
&:not(.popovermenu) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-11-07 18:25:41 +03:00
|
|
|
/* Dropdown arrow */
|
|
|
|
&:after {
|
|
|
|
border: 10px solid transparent;
|
|
|
|
border-bottom-color: $color-main-background;
|
|
|
|
bottom: 100%;
|
|
|
|
content: ' ';
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
2018-02-21 11:48:07 +03:00
|
|
|
right: 12px;
|
2017-11-07 18:25:41 +03:00
|
|
|
}
|
|
|
|
}
|
2016-12-22 13:16:48 +03:00
|
|
|
.logo {
|
2017-06-07 17:06:19 +03:00
|
|
|
display: inline-flex;
|
|
|
|
background-image: url($image-logo);
|
2016-12-22 13:16:48 +03:00
|
|
|
background-repeat: no-repeat;
|
2017-06-07 17:06:19 +03:00
|
|
|
background-size: contain;
|
2016-12-22 13:16:48 +03:00
|
|
|
background-position: center;
|
2017-06-07 17:06:19 +03:00
|
|
|
width: 256px;
|
|
|
|
height: 128px;
|
2016-12-22 13:16:48 +03:00
|
|
|
margin: 0 auto;
|
2017-06-07 17:06:19 +03:00
|
|
|
&.logo-icon {
|
|
|
|
width: 62px;
|
|
|
|
height: 34px;
|
2017-05-09 19:14:33 +03:00
|
|
|
|
|
|
|
img {
|
|
|
|
opacity: 0;
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 200px;
|
|
|
|
}
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
2017-06-07 17:06:19 +03:00
|
|
|
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
|
|
|
.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-08-02 16:57:53 +03:00
|
|
|
#header-left, .header-left,
|
|
|
|
#header-right, .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-08-02 16:57:53 +03:00
|
|
|
#header-left, .header-left {
|
2017-01-09 16:03:13 +03:00
|
|
|
flex: 0 0;
|
|
|
|
flex-grow: 1;
|
2017-09-26 14:07:32 +03:00
|
|
|
white-space: nowrap;
|
2017-01-03 18:06:53 +03:00
|
|
|
}
|
|
|
|
|
2017-08-02 16:57:53 +03:00
|
|
|
#header-right, .header-right {
|
2017-01-03 18:06:53 +03:00
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
2018-02-15 13:38:24 +03:00
|
|
|
|
|
|
|
/* Right header standard */
|
|
|
|
.header-right {
|
|
|
|
> div,
|
|
|
|
> form {
|
|
|
|
position: relative;
|
|
|
|
> .menutoggle {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
width: 44px;
|
|
|
|
height: 44px;
|
|
|
|
cursor: pointer;
|
|
|
|
opacity: 0.6;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* hover effect for app switcher label */
|
|
|
|
|
|
|
|
.header-appname-container .header-appname {
|
|
|
|
opacity: .75;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menutoggle {
|
|
|
|
.icon-caret {
|
|
|
|
opacity: .75;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
.header-appname, .icon-caret {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:focus {
|
|
|
|
.header-appname, .icon-caret {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.active {
|
|
|
|
.header-appname, .icon-caret {
|
|
|
|
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 --------------------------------------------------------------- */
|
2018-03-04 17:22:49 +03:00
|
|
|
nav[role='navigation'] {
|
2017-03-28 16:04:56 +03:00
|
|
|
display: inline-block;
|
|
|
|
width: 44px;
|
|
|
|
height: 44px;
|
2018-02-27 14:53:46 +03:00
|
|
|
margin-left: -44px;
|
2017-03-03 15:00:10 +03:00
|
|
|
}
|
|
|
|
|
2017-12-13 13:10:52 +03:00
|
|
|
.header-left #navigation {
|
2017-03-02 01:21:38 +03:00
|
|
|
position: relative;
|
2018-03-04 17:22:49 +03:00
|
|
|
left: 22px; /* half the togglemenu */
|
|
|
|
transform: translateX(-50%);
|
2017-03-28 16:04:56 +03:00
|
|
|
width: 160px;
|
2017-12-13 13:10:52 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.header-left #navigation,
|
|
|
|
.ui-datepicker,
|
|
|
|
.ui-timepicker.ui-widget {
|
2017-02-17 19:15:24 +03:00
|
|
|
background-color: $color-main-background;
|
2017-12-19 14:11:12 +03:00
|
|
|
filter: drop-shadow(0 1px 10px $color-box-shadow);
|
2016-12-22 13:16:48 +03:00
|
|
|
&:after {
|
2017-01-24 09:47:14 +03:00
|
|
|
/* position of dropdown arrow */
|
2018-03-04 17:22:49 +03:00
|
|
|
left: 50%;
|
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-11-06 07:41:26 +03:00
|
|
|
border-bottom-color: $color-main-background;
|
2018-03-04 17:22:49 +03:00
|
|
|
border-width: 10px;
|
|
|
|
margin-left: -10px; /* border width */
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
2016-12-18 17:05:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#navigation {
|
|
|
|
box-sizing: border-box;
|
2016-12-22 13:16:48 +03:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
position: relative;
|
2018-03-04 18:24:14 +03:00
|
|
|
display: inline-flex;
|
2017-03-28 16:04:56 +03:00
|
|
|
padding: 10px 12px;
|
2018-03-04 18:24:14 +03:00
|
|
|
height: 40px;
|
|
|
|
align-items: center;
|
2016-12-22 13:16:48 +03:00
|
|
|
span {
|
|
|
|
display: inline-block;
|
|
|
|
padding-bottom: 0;
|
2017-03-28 16:04:56 +03:00
|
|
|
padding-left: 10px;
|
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-07-14 14:23:07 +03:00
|
|
|
max-width: 110px;
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
2017-01-12 21:49:09 +03:00
|
|
|
svg,
|
|
|
|
span {
|
2017-08-21 13:06:19 +03:00
|
|
|
opacity: .7;
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
2017-01-12 17:18:21 +03:00
|
|
|
&:hover svg,
|
|
|
|
&:focus svg,
|
|
|
|
&:hover span,
|
|
|
|
&:focus span {
|
2016-12-22 13:16:48 +03:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
&.active {
|
|
|
|
svg, span {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-01-12 17:18:21 +03:00
|
|
|
.app-icon {
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 0;
|
|
|
|
max-height: 32px;
|
|
|
|
max-width: 32px;
|
|
|
|
}
|
2017-04-25 18:31:04 +03:00
|
|
|
|
2018-03-04 18:24:14 +03:00
|
|
|
/* loading feedback for apps */
|
|
|
|
.app-loading {
|
|
|
|
.icon-loading-small {
|
|
|
|
display: inline !important;
|
|
|
|
position: absolute;
|
|
|
|
left: 12px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
.app-icon {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
2018-03-04 18:24:14 +03:00
|
|
|
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Apps management */
|
|
|
|
|
|
|
|
#apps {
|
|
|
|
max-height: calc(100vh - 100px);
|
|
|
|
overflow: auto;
|
2017-03-02 01:04:27 +03:00
|
|
|
.in-header {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-11-04 17:20:03 +03:00
|
|
|
ul {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
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;
|
2018-02-15 13:38:24 +03:00
|
|
|
margin-right: 13px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
|
|
|
/* User menu on the right */
|
|
|
|
#expand {
|
|
|
|
opacity: 1; /* override icon opacity */
|
2018-02-21 11:48:07 +03:00
|
|
|
|
2018-02-15 13:38:24 +03:00
|
|
|
img {
|
|
|
|
opacity: .7;
|
|
|
|
margin-bottom: -2px;
|
|
|
|
}
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
color: $color-primary-text;
|
2018-02-21 11:48:07 +03:00
|
|
|
|
|
|
|
img, #expandDisplayName {
|
2018-02-15 13:38:24 +03:00
|
|
|
opacity: 1;
|
|
|
|
}
|
2017-01-12 21:49:09 +03:00
|
|
|
}
|
2017-01-12 17:18:21 +03:00
|
|
|
|
2018-02-15 13:38:24 +03:00
|
|
|
/* Profile picture in header */
|
|
|
|
.avatardiv {
|
2017-01-12 17:18:21 +03:00
|
|
|
cursor: pointer;
|
2018-02-15 13:38:24 +03:00
|
|
|
height: 32px;
|
|
|
|
width: 32px;
|
2018-02-21 11:48:07 +03:00
|
|
|
|
2018-02-15 13:38:24 +03:00
|
|
|
img {
|
|
|
|
opacity: 1;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
/* do not show display name when profile picture is present */
|
|
|
|
&.avatardiv-shown + #expandDisplayName {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-01-12 17:18:21 +03:00
|
|
|
}
|
2017-03-26 18:57:05 +03:00
|
|
|
|
2018-02-15 13:38:24 +03:00
|
|
|
#expandDisplayName {
|
|
|
|
padding: 8px;
|
|
|
|
opacity: .6;
|
2016-12-22 13:16:48 +03:00
|
|
|
|
2018-02-21 11:48:07 +03:00
|
|
|
/* full opacity for gear icon if active */
|
|
|
|
#body-settings & {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2017-03-28 00:30:09 +03:00
|
|
|
|
2018-02-21 11:48:07 +03:00
|
|
|
/* show triangle below user menu if active */
|
|
|
|
#body-settings &:before {
|
|
|
|
content: ' ';
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
border: 0 solid transparent;
|
|
|
|
border-bottom-color: $color-main-background;
|
|
|
|
border-width: 10px;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 100;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2017-03-27 20:53:44 +03:00
|
|
|
}
|
|
|
|
|
2016-12-22 13:16:48 +03:00
|
|
|
#expanddiv {
|
|
|
|
a {
|
2018-02-15 13:38:24 +03:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
2016-12-22 13:16:48 +03:00
|
|
|
height: 40px;
|
2017-02-17 19:15:24 +03:00
|
|
|
color: $color-main-text;
|
2018-02-15 13:38:24 +03:00
|
|
|
padding: 12px;
|
2016-12-22 13:16:48 +03:00
|
|
|
box-sizing: border-box;
|
2017-08-21 13:06:19 +03:00
|
|
|
opacity: .7;
|
2018-02-21 11:48:07 +03:00
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
.icon-loading-small {
|
|
|
|
margin-right: 9px;
|
|
|
|
background-size: 16px 16px;
|
|
|
|
}
|
2016-12-22 13:16:48 +03:00
|
|
|
img {
|
2018-02-15 13:38:24 +03:00
|
|
|
margin-right: 9px;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
2017-01-12 21:49:09 +03:00
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active,
|
|
|
|
&.active {
|
2016-12-22 13:16:48 +03:00
|
|
|
opacity: 1;
|
2017-10-19 23:14:17 +03:00
|
|
|
box-shadow: inset 2px 0 $color-primary;
|
2016-12-22 13:16:48 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-12-18 17:05:39 +03:00
|
|
|
|
|
|
|
#appmenu {
|
|
|
|
display: inline-block;
|
|
|
|
width: auto;
|
|
|
|
clear: both;
|
|
|
|
|
2017-03-03 04:09:24 +03:00
|
|
|
li {
|
|
|
|
float: left;
|
2017-03-28 16:04:56 +03:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
vertical-align: top !important;
|
|
|
|
height: 45px;
|
2017-03-27 21:24:28 +03:00
|
|
|
cursor: pointer;
|
2016-12-18 17:05:39 +03:00
|
|
|
|
2017-03-03 04:09:24 +03:00
|
|
|
a {
|
2017-04-07 21:58:53 +03:00
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
2017-03-03 04:09:24 +03:00
|
|
|
margin: 0;
|
2017-04-07 21:58:53 +03:00
|
|
|
padding: 12px;
|
|
|
|
height: 21px;
|
2017-03-03 04:09:24 +03:00
|
|
|
text-align: center;
|
|
|
|
vertical-align: top !important;
|
2017-04-07 21:58:53 +03:00
|
|
|
opacity: .6;
|
2017-03-03 04:09:24 +03:00
|
|
|
}
|
|
|
|
}
|
2018-03-04 18:24:14 +03:00
|
|
|
.app-loading {
|
|
|
|
> svg {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.icon-loading-small-dark {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
display: block !important;
|
|
|
|
}
|
2017-04-25 18:31:04 +03:00
|
|
|
}
|
2016-12-18 17:05:39 +03:00
|
|
|
|
2017-03-28 16:04:56 +03:00
|
|
|
|
2017-03-03 04:09:24 +03:00
|
|
|
li:hover a,
|
2017-09-29 21:01:15 +03:00
|
|
|
li a:focus,
|
2017-03-03 04:09:24 +03:00
|
|
|
li a.active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
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;
|
2017-12-19 14:11:12 +03:00
|
|
|
background-color: $color-main-background;
|
2017-03-03 04:09:24 +03:00
|
|
|
white-space: nowrap;
|
|
|
|
border: none;
|
2017-09-28 17:32:54 +03:00
|
|
|
border-radius: $border-radius;
|
2017-03-03 04:09:24 +03:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
margin-top: 0;
|
2017-09-05 19:50:33 +03:00
|
|
|
color: rgba($color-main-text, .7);
|
2017-03-03 04:09:24 +03:00
|
|
|
width: auto;
|
|
|
|
left: 50%;
|
2018-01-04 14:23:04 +03:00
|
|
|
top: 100%;
|
2017-03-03 04:09:24 +03:00
|
|
|
transform: translateX(-50%);
|
|
|
|
padding: 4px 10px;
|
2017-12-19 14:11:12 +03:00
|
|
|
filter: drop-shadow(0 1px 10px $color-box-shadow);
|
2018-01-04 14:33:10 +03:00
|
|
|
z-index: 100;
|
2017-03-03 04:09:24 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
li:hover span {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2016-12-18 17:05:39 +03:00
|
|
|
|
2017-03-27 20:36:11 +03:00
|
|
|
/* show triangle below active app */
|
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;
|
2017-09-05 19:50:33 +03:00
|
|
|
border-bottom-color: $color-main-background;
|
2017-03-03 04:09:24 +03:00
|
|
|
border-width: 10px;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
left: 50%;
|
2017-04-07 21:58:53 +03:00
|
|
|
bottom: 0;
|
2017-08-11 12:04:22 +03:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
li a.active:before,
|
|
|
|
li:hover a:before,
|
|
|
|
li:hover a.active:before {
|
2017-03-03 04:09:24 +03:00
|
|
|
display: block;
|
|
|
|
}
|
2018-01-04 14:33:10 +03:00
|
|
|
li a.active:before {
|
|
|
|
z-index: 99;
|
|
|
|
}
|
|
|
|
li:hover a:before,
|
|
|
|
li a.active:hover:before {
|
|
|
|
z-index: 101;
|
|
|
|
}
|
2017-03-03 04:09:24 +03:00
|
|
|
&.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 15:00:37 +03:00
|
|
|
li.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-05-08 16:08:30 +03:00
|
|
|
}
|