2017-01-12 14:18:21 +00:00
|
|
|
|
/**
|
2017-01-25 13:13:28 +00: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 15:57:05 +00:00
|
|
|
|
* @copyright Copyright (c) 2014-2017, Jan-Christoph Borchardt <hey@jancborchardt.net>
|
2017-01-12 14:18:21 +00:00
|
|
|
|
*
|
|
|
|
|
* @license GNU AGPL version 3 or any later version
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
2016-12-22 10:16:48 +00:00
|
|
|
|
/* prevent ugly selection effect on accidental selection */
|
2017-01-12 18:49:09 +00:00
|
|
|
|
#header,
|
|
|
|
|
#navigation,
|
|
|
|
|
#expanddiv {
|
2016-12-22 10:16:48 +00:00
|
|
|
|
-webkit-user-select: none;
|
|
|
|
|
-moz-user-select: none;
|
|
|
|
|
-ms-user-select: none;
|
2017-01-24 06:47:14 +00:00
|
|
|
|
}
|
2017-01-26 14:50:18 +00:00
|
|
|
|
|
2016-12-22 10:16:48 +00: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;
|
2018-06-03 09:23:33 +00:00
|
|
|
|
color: var(--color-primary-text);
|
2016-12-22 10:16:48 +00:00
|
|
|
|
width: auto;
|
|
|
|
|
height: auto;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* HEADERS ------------------------------------------------------------------ */
|
2017-01-12 18:49:09 +00:00
|
|
|
|
#body-user #header,
|
|
|
|
|
#body-settings #header,
|
|
|
|
|
#body-public #header {
|
2017-01-03 15:06:53 +00:00
|
|
|
|
display: inline-flex;
|
2016-12-22 10:16:48 +00:00
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
2018-07-23 18:14:19 +00:00
|
|
|
|
width: 100%;
|
2016-12-22 10:16:48 +00:00
|
|
|
|
z-index: 2000;
|
2018-06-26 14:47:16 +00:00
|
|
|
|
height: $header-height;
|
2018-06-03 09:23:33 +00:00
|
|
|
|
background-color: var(--color-primary);
|
2016-12-22 10:16:48 +00:00
|
|
|
|
box-sizing: border-box;
|
2017-01-03 15:06:53 +00:00
|
|
|
|
justify-content: space-between;
|
2016-12-22 10:16:48 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* LOGO and APP NAME -------------------------------------------------------- */
|
|
|
|
|
#nextcloud {
|
2018-08-24 15:32:31 +00:00
|
|
|
|
padding: 7px 0;
|
2018-08-24 13:45:39 +00:00
|
|
|
|
padding-left: 86px; // logo width + 2* pa
|
|
|
|
|
position: relative;
|
2018-03-27 13:47:10 +00:00
|
|
|
|
height: 100%;
|
2016-12-22 10:16:48 +00:00
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
opacity: 1;
|
2018-08-24 13:45:39 +00:00
|
|
|
|
align-items: center;
|
|
|
|
|
flex-wrap: wrap;
|
2018-10-01 09:49:16 +00:00
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
2016-12-22 10:16:48 +00:00
|
|
|
|
&:focus {
|
|
|
|
|
opacity: .75;
|
|
|
|
|
}
|
|
|
|
|
&:hover, &:active {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#header {
|
2017-11-07 15:25:41 +00:00
|
|
|
|
/* Header menu */
|
2018-12-03 07:35:31 +00:00
|
|
|
|
$header-menu-entry-height: 44px;
|
|
|
|
|
|
2018-09-26 09:10:13 +00:00
|
|
|
|
.header-left > nav > .menu,
|
2018-08-09 10:42:59 +00:00
|
|
|
|
.header-right > div > .menu {
|
2018-06-03 09:23:33 +00:00
|
|
|
|
background-color: var(--color-main-background);
|
2018-06-14 13:38:43 +00:00
|
|
|
|
filter: drop-shadow(0 1px 5px var(--color-box-shadow));
|
2018-10-19 14:19:37 +00:00
|
|
|
|
border-radius: 0 0 var(--border-radius) var(--border-radius);
|
2017-11-07 15:25:41 +00:00
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
z-index: 2000;
|
2017-11-09 09:58:51 +00:00
|
|
|
|
position: absolute;
|
2018-02-15 10:38:24 +00:00
|
|
|
|
max-width: 350px;
|
2018-12-03 07:35:31 +00:00
|
|
|
|
max-height: $header-menu-entry-height * 7.5; // half entry
|
|
|
|
|
right: 5px; // relative to parent
|
2018-06-26 14:47:16 +00:00
|
|
|
|
top: $header-height;
|
2018-03-07 10:05:23 +00:00
|
|
|
|
margin: 0;
|
2018-12-03 07:35:31 +00:00
|
|
|
|
-webkit-overflow-scrolling: touch;
|
2017-11-07 15:25:41 +00:00
|
|
|
|
|
2017-12-19 05:58:58 +00:00
|
|
|
|
&:not(.popovermenu) {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2017-11-07 15:25:41 +00:00
|
|
|
|
/* Dropdown arrow */
|
|
|
|
|
&:after {
|
|
|
|
|
border: 10px solid transparent;
|
2018-06-03 09:23:33 +00:00
|
|
|
|
border-bottom-color: var(--color-main-background);
|
2017-11-07 15:25:41 +00:00
|
|
|
|
bottom: 100%;
|
|
|
|
|
content: ' ';
|
|
|
|
|
height: 0;
|
|
|
|
|
width: 0;
|
|
|
|
|
position: absolute;
|
|
|
|
|
pointer-events: none;
|
2018-08-17 16:26:58 +00:00
|
|
|
|
right: 10px;
|
2017-11-07 15:25:41 +00:00
|
|
|
|
}
|
2018-12-03 07:35:31 +00:00
|
|
|
|
|
|
|
|
|
/* Use by the apps menu and the settings right menu */
|
2019-03-19 08:40:39 +00:00
|
|
|
|
#apps > ul,
|
2019-03-18 15:17:22 +00:00
|
|
|
|
&.settings-menu > ul {
|
2018-12-03 07:35:31 +00:00
|
|
|
|
li {
|
|
|
|
|
a {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
height: $header-menu-entry-height;
|
|
|
|
|
color: var(--color-main-text);
|
|
|
|
|
padding: 10px 12px;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
opacity: .7;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
&:hover,
|
|
|
|
|
&:focus,
|
|
|
|
|
&:active,
|
|
|
|
|
&.active {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
box-shadow: inset 4px 0 var(--color-primary);
|
|
|
|
|
}
|
|
|
|
|
span {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
color: var(--color-main-text);
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
max-width: 110px;
|
|
|
|
|
}
|
|
|
|
|
.icon-loading-small {
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
background-size: 16px 16px;
|
|
|
|
|
}
|
|
|
|
|
img,
|
|
|
|
|
svg {
|
|
|
|
|
opacity: .7;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
height: 16px;
|
|
|
|
|
width: 16px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-11-07 15:25:41 +00:00
|
|
|
|
}
|
2016-12-22 10:16:48 +00:00
|
|
|
|
.logo {
|
2017-06-07 14:06:19 +00:00
|
|
|
|
display: inline-flex;
|
2018-06-03 09:23:33 +00:00
|
|
|
|
background-image: var(--image-logo);
|
2016-12-22 10:16:48 +00:00
|
|
|
|
background-repeat: no-repeat;
|
2017-06-07 14:06:19 +00:00
|
|
|
|
background-size: contain;
|
2016-12-22 10:16:48 +00:00
|
|
|
|
background-position: center;
|
2018-08-24 13:45:39 +00:00
|
|
|
|
width: 62px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 12px;
|
2018-08-28 11:48:06 +00:00
|
|
|
|
top: 1px;
|
2018-09-26 09:10:13 +00:00
|
|
|
|
bottom: 1px;
|
2017-05-09 16:14:33 +00:00
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
max-height: 200px;
|
|
|
|
|
}
|
2016-12-22 10:16:48 +00:00
|
|
|
|
}
|
2017-06-07 14:06:19 +00:00
|
|
|
|
|
2016-12-22 10:16:48 +00:00
|
|
|
|
.header-appname-container {
|
2017-03-01 22:21:38 +00:00
|
|
|
|
display: none;
|
2016-12-22 10:16:48 +00:00
|
|
|
|
padding-right: 10px;
|
2017-01-23 23:03:45 +00:00
|
|
|
|
flex-shrink: 0;
|
2016-12-22 10:16:48 +00:00
|
|
|
|
}
|
2017-01-12 14:18:21 +00: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 15:06:53 +00:00
|
|
|
|
|
2017-08-02 13:57:53 +00:00
|
|
|
|
#header-left, .header-left,
|
|
|
|
|
#header-right, .header-right {
|
2017-01-16 19:30:38 +00:00
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
2017-01-03 15:06:53 +00:00
|
|
|
|
}
|
|
|
|
|
|
2017-08-02 13:57:53 +00:00
|
|
|
|
#header-left, .header-left {
|
2017-01-09 13:03:13 +00:00
|
|
|
|
flex: 0 0;
|
|
|
|
|
flex-grow: 1;
|
2017-09-26 11:07:32 +00:00
|
|
|
|
white-space: nowrap;
|
2017-01-03 15:06:53 +00:00
|
|
|
|
}
|
|
|
|
|
|
2017-08-02 13:57:53 +00:00
|
|
|
|
#header-right, .header-right {
|
2017-01-03 15:06:53 +00:00
|
|
|
|
justify-content: flex-end;
|
2018-08-09 14:46:43 +00:00
|
|
|
|
flex-shrink: 1;
|
2017-01-03 15:06:53 +00:00
|
|
|
|
}
|
2018-02-15 10:38:24 +00:00
|
|
|
|
|
|
|
|
|
/* Right header standard */
|
|
|
|
|
.header-right {
|
|
|
|
|
> div,
|
|
|
|
|
> form {
|
2018-03-28 08:41:00 +00:00
|
|
|
|
height: 100%;
|
2018-02-15 10:38:24 +00:00
|
|
|
|
position: relative;
|
|
|
|
|
> .menutoggle {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
2018-06-26 14:47:16 +00:00
|
|
|
|
width: $header-height;
|
2018-03-27 13:47:10 +00:00
|
|
|
|
height: 100%;
|
2018-02-15 10:38:24 +00:00
|
|
|
|
cursor: pointer;
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-12-22 10:16:48 +00: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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2018-10-01 09:49:16 +00:00
|
|
|
|
/* only used for public share pages now as we have the app icons when logged in */
|
2016-12-22 10:16:48 +00:00
|
|
|
|
.header-appname {
|
2018-06-03 09:23:33 +00:00
|
|
|
|
color: var(--color-primary-text);
|
2016-12-22 10:16:48 +00:00
|
|
|
|
font-size: 16px;
|
2018-10-01 21:29:46 +00:00
|
|
|
|
font-weight: bold;
|
2016-12-22 10:16:48 +00:00
|
|
|
|
margin: 0;
|
2018-08-24 13:45:39 +00:00
|
|
|
|
padding: 0;
|
|
|
|
|
padding-right: 5px;
|
2018-10-01 09:49:16 +00:00
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
2016-12-22 10:16:48 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 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 14:22:49 +00:00
|
|
|
|
nav[role='navigation'] {
|
2017-03-28 13:04:56 +00:00
|
|
|
|
display: inline-block;
|
2018-08-17 16:26:58 +00:00
|
|
|
|
width: $header-height;
|
2018-06-26 14:47:16 +00:00
|
|
|
|
height: $header-height;
|
|
|
|
|
margin-left: -$header-height;
|
2018-08-16 17:02:56 +00:00
|
|
|
|
position: relative;
|
2017-03-03 12:00:10 +00:00
|
|
|
|
}
|
|
|
|
|
|
2018-08-25 13:12:08 +00:00
|
|
|
|
#header .header-left > nav > #navigation {
|
2017-03-01 22:21:38 +00:00
|
|
|
|
position: relative;
|
2018-03-28 08:41:00 +00:00
|
|
|
|
left: 25px; /* half the togglemenu */
|
2018-03-04 14:22:49 +00:00
|
|
|
|
transform: translateX(-50%);
|
2017-03-28 13:04:56 +00:00
|
|
|
|
width: 160px;
|
2017-12-13 10:10:52 +00:00
|
|
|
|
}
|
|
|
|
|
|
2018-08-25 13:12:08 +00:00
|
|
|
|
#header .header-left > nav > #navigation,
|
2017-12-13 10:10:52 +00:00
|
|
|
|
.ui-datepicker,
|
|
|
|
|
.ui-timepicker.ui-widget {
|
2018-06-03 09:23:33 +00:00
|
|
|
|
background-color: var(--color-main-background);
|
|
|
|
|
filter: drop-shadow(0 1px 10px var(--color-box-shadow));
|
2016-12-22 10:16:48 +00:00
|
|
|
|
&:after {
|
2017-01-24 06:47:14 +00:00
|
|
|
|
/* position of dropdown arrow */
|
2018-03-04 14:22:49 +00:00
|
|
|
|
left: 50%;
|
2016-12-18 14:05:39 +00:00
|
|
|
|
bottom: 100%;
|
|
|
|
|
border: solid transparent;
|
|
|
|
|
content: ' ';
|
|
|
|
|
height: 0;
|
|
|
|
|
width: 0;
|
|
|
|
|
position: absolute;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
border-color: rgba(0, 0, 0, 0);
|
2018-06-03 09:23:33 +00:00
|
|
|
|
border-bottom-color: var(--color-main-background);
|
2018-03-04 14:22:49 +00:00
|
|
|
|
border-width: 10px;
|
|
|
|
|
margin-left: -10px; /* border width */
|
2016-12-22 10:16:48 +00:00
|
|
|
|
}
|
2016-12-18 14:05:39 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#navigation {
|
|
|
|
|
box-sizing: border-box;
|
2017-03-01 22:04:27 +00:00
|
|
|
|
.in-header {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2016-12-22 10:16:48 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-01-30 09:30:20 +00:00
|
|
|
|
#apps {
|
|
|
|
|
max-height: inherit;
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
|
}
|
|
|
|
|
|
2016-12-22 10:16:48 +00:00
|
|
|
|
/* USER MENU -----------------------------------------------------------------*/
|
|
|
|
|
#settings {
|
2017-01-03 15:06:53 +00:00
|
|
|
|
display: inline-block;
|
2018-03-27 13:47:10 +00:00
|
|
|
|
height: 100%;
|
2016-12-22 10:16:48 +00:00
|
|
|
|
cursor: pointer;
|
2018-02-15 10:38:24 +00:00
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
|
|
|
|
|
/* User menu on the right */
|
|
|
|
|
#expand {
|
|
|
|
|
opacity: 1; /* override icon opacity */
|
2018-03-28 08:41:00 +00:00
|
|
|
|
padding-right: 12px;
|
2018-02-21 08:48:07 +00:00
|
|
|
|
|
2018-02-15 10:38:24 +00:00
|
|
|
|
&:hover,
|
|
|
|
|
&:focus,
|
|
|
|
|
&:active {
|
2018-06-03 09:23:33 +00:00
|
|
|
|
color: var(--color-primary-text);
|
2018-02-21 08:48:07 +00:00
|
|
|
|
|
2018-10-02 18:16:20 +00:00
|
|
|
|
#expandDisplayName,
|
2018-10-01 10:50:56 +00:00
|
|
|
|
.avatardiv{
|
|
|
|
|
border-radius: 50%;
|
2018-10-01 08:15:11 +00:00
|
|
|
|
border: 2px solid var(--color-primary-text);
|
|
|
|
|
margin: -2px;
|
2018-10-02 18:16:20 +00:00
|
|
|
|
}
|
2018-10-01 10:50:56 +00:00
|
|
|
|
.avatardiv{
|
|
|
|
|
background-color: var(--color-primary-text);
|
|
|
|
|
}
|
|
|
|
|
#expandDisplayName {
|
|
|
|
|
opacity: 1;
|
2018-02-15 10:38:24 +00:00
|
|
|
|
}
|
2017-01-12 18:49:09 +00:00
|
|
|
|
}
|
2017-01-12 14:18:21 +00:00
|
|
|
|
|
2018-02-15 10:38:24 +00:00
|
|
|
|
/* Profile picture in header */
|
|
|
|
|
.avatardiv {
|
2017-01-12 14:18:21 +00:00
|
|
|
|
cursor: pointer;
|
2018-02-15 10:38:24 +00:00
|
|
|
|
height: 32px;
|
|
|
|
|
width: 32px;
|
2018-02-21 08:48:07 +00:00
|
|
|
|
|
2018-02-15 10:38:24 +00:00
|
|
|
|
img {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
/* do not show display name when profile picture is present */
|
|
|
|
|
&.avatardiv-shown + #expandDisplayName {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2017-01-12 14:18:21 +00:00
|
|
|
|
}
|
2017-03-26 15:57:05 +00:00
|
|
|
|
|
2018-02-15 10:38:24 +00:00
|
|
|
|
#expandDisplayName {
|
|
|
|
|
padding: 8px;
|
|
|
|
|
opacity: .6;
|
2018-10-01 10:50:56 +00:00
|
|
|
|
cursor: pointer;
|
2016-12-22 10:16:48 +00:00
|
|
|
|
|
2018-02-21 08:48:07 +00:00
|
|
|
|
/* full opacity for gear icon if active */
|
|
|
|
|
#body-settings & {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-03-27 21:30:09 +00:00
|
|
|
|
|
2018-02-21 08:48:07 +00: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;
|
2018-06-03 09:23:33 +00:00
|
|
|
|
border-bottom-color: var(--color-main-background);
|
2018-02-21 08:48:07 +00:00
|
|
|
|
border-width: 10px;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
z-index: 100;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
}
|
2018-08-17 16:26:58 +00:00
|
|
|
|
|
|
|
|
|
#expanddiv:after {
|
|
|
|
|
right: 22px;
|
|
|
|
|
}
|
2017-03-27 17:53:44 +00:00
|
|
|
|
}
|
|
|
|
|
|
2018-06-29 14:10:53 +00:00
|
|
|
|
/* Apps menu */
|
2016-12-18 14:05:39 +00:00
|
|
|
|
#appmenu {
|
2018-06-26 14:47:16 +00:00
|
|
|
|
display: inline-flex;
|
|
|
|
|
min-width: $header-height;
|
2018-08-21 19:47:04 +00:00
|
|
|
|
z-index: 2;
|
2016-12-18 14:05:39 +00:00
|
|
|
|
|
2017-03-03 01:09:24 +00:00
|
|
|
|
li {
|
2017-03-28 13:04:56 +00:00
|
|
|
|
position: relative;
|
2017-03-27 18:24:28 +00:00
|
|
|
|
cursor: pointer;
|
2018-11-20 17:39:54 +00:00
|
|
|
|
margin: 0 2px;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
2016-12-18 14:05:39 +00:00
|
|
|
|
|
2017-03-03 01:09:24 +00:00
|
|
|
|
a {
|
2017-04-07 18:58:53 +00:00
|
|
|
|
position: relative;
|
2018-06-26 14:47:16 +00:00
|
|
|
|
display: flex;
|
2017-03-03 01:09:24 +00:00
|
|
|
|
margin: 0;
|
2018-06-26 14:47:16 +00:00
|
|
|
|
height: $header-height;
|
|
|
|
|
width: $header-height;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2017-04-07 18:58:53 +00:00
|
|
|
|
opacity: .6;
|
2017-03-03 01:09:24 +00:00
|
|
|
|
}
|
2018-08-17 16:26:58 +00:00
|
|
|
|
|
2018-11-20 17:39:54 +00:00
|
|
|
|
/* focused app visual feedback */
|
|
|
|
|
&:hover a,
|
|
|
|
|
a:focus,
|
|
|
|
|
a.active {
|
|
|
|
|
opacity: 1;
|
2018-03-04 15:24:14 +00:00
|
|
|
|
}
|
2019-01-13 23:48:09 +00:00
|
|
|
|
|
2018-11-20 17:39:54 +00:00
|
|
|
|
&:hover a + span,
|
|
|
|
|
a:focus + span,
|
|
|
|
|
&:hover span,
|
|
|
|
|
&:focus span,
|
|
|
|
|
a:focus span {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
text-overflow: initial;
|
|
|
|
|
width: auto;
|
|
|
|
|
overflow: hidden;
|
2019-03-27 15:41:46 +00:00
|
|
|
|
background-color: var(--color-primary);
|
2018-11-20 17:39:54 +00:00
|
|
|
|
padding: 0 5px;
|
2019-01-05 08:53:22 +00:00
|
|
|
|
z-index: 2;
|
2018-03-04 15:24:14 +00:00
|
|
|
|
}
|
2016-12-18 14:05:39 +00:00
|
|
|
|
|
2018-11-20 17:39:54 +00:00
|
|
|
|
/* hidden apps menu */
|
|
|
|
|
img,
|
|
|
|
|
.icon-more-white {
|
2018-06-24 17:11:51 +00:00
|
|
|
|
display: inline-block;
|
2018-11-20 17:39:54 +00:00
|
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
|
|
|
|
}
|
2019-01-13 23:48:09 +00:00
|
|
|
|
|
2018-11-20 17:39:54 +00:00
|
|
|
|
/* App title */
|
|
|
|
|
span {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
position: absolute;
|
|
|
|
|
color: var(--color-primary-text);
|
2019-01-14 10:41:29 +00:00
|
|
|
|
bottom: 2px;
|
2018-11-20 17:39:54 +00:00
|
|
|
|
width: calc(100% - 4px);
|
|
|
|
|
text-align: center;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
transition: all var(--animation-quick) ease;
|
2019-01-13 23:48:09 +00:00
|
|
|
|
pointer-events: none;
|
2018-06-24 17:11:51 +00:00
|
|
|
|
}
|
2018-10-30 22:20:09 +00:00
|
|
|
|
|
2018-11-20 17:39:54 +00:00
|
|
|
|
/* Set up transitions for showing app titles on hover */
|
2018-10-30 22:20:09 +00:00
|
|
|
|
/* App icon */
|
|
|
|
|
svg,
|
|
|
|
|
.icon-more-white {
|
|
|
|
|
transition: transform var(--animation-quick) ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Triangle */
|
|
|
|
|
a::before {
|
|
|
|
|
transition: border var(--animation-quick) ease;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Show all app titles on hovering app menu area */
|
|
|
|
|
&:hover {
|
|
|
|
|
li {
|
|
|
|
|
/* Move up app icon */
|
|
|
|
|
svg,
|
2018-11-05 18:13:17 +00:00
|
|
|
|
.icon-more,
|
|
|
|
|
.icon-more-white,
|
|
|
|
|
.icon-loading-small,
|
|
|
|
|
.icon-loading-small-dark {
|
2018-10-30 22:20:09 +00:00
|
|
|
|
transform: translateY(-7px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Show app title */
|
|
|
|
|
span {
|
|
|
|
|
opacity: .6;
|
|
|
|
|
bottom: 2px;
|
2018-11-01 04:07:26 +00:00
|
|
|
|
z-index: -1; /* fix clickability issue - otherwise we need to move the span into the link */
|
2018-10-30 22:20:09 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Prominent app title for current and hovered/focused app */
|
|
|
|
|
&:hover span,
|
|
|
|
|
&:focus span,
|
|
|
|
|
.active + span {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Smaller triangle because of limited space */
|
|
|
|
|
a::before {
|
|
|
|
|
border-width: 5px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Also show app title on focusing single entry (showing all on focus is only possible with CSS4 and parent selectors) */
|
|
|
|
|
li a:focus {
|
|
|
|
|
/* Move up app icon */
|
|
|
|
|
svg,
|
2018-11-05 18:13:17 +00:00
|
|
|
|
.icon-more,
|
|
|
|
|
.icon-more-white,
|
|
|
|
|
.icon-loading-small,
|
|
|
|
|
.icon-loading-small-dark {
|
2018-10-30 22:20:09 +00:00
|
|
|
|
transform: translateY(-7px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Show app title */
|
|
|
|
|
& + span,
|
|
|
|
|
span {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
bottom: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Smaller triangle because of limited space */
|
|
|
|
|
&::before {
|
|
|
|
|
border-width: 5px;
|
|
|
|
|
}
|
2017-03-03 01:09:24 +00:00
|
|
|
|
}
|
|
|
|
|
|
2017-03-27 17:36:11 +00:00
|
|
|
|
/* show triangle below active app */
|
2018-06-24 17:11:51 +00:00
|
|
|
|
li a::before {
|
2017-03-03 01:09:24 +00:00
|
|
|
|
content: ' ';
|
|
|
|
|
height: 0;
|
|
|
|
|
width: 0;
|
|
|
|
|
position: absolute;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
border: 0 solid transparent;
|
2018-06-03 09:23:33 +00:00
|
|
|
|
border-bottom-color: var(--color-main-background);
|
2017-03-03 01:09:24 +00:00
|
|
|
|
border-width: 10px;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
left: 50%;
|
2017-04-07 18:58:53 +00:00
|
|
|
|
bottom: 0;
|
2017-08-11 09:04:22 +00:00
|
|
|
|
display: none;
|
|
|
|
|
}
|
2018-10-30 22:20:09 +00:00
|
|
|
|
|
2018-06-24 17:11:51 +00:00
|
|
|
|
/* triangle focus feedback */
|
|
|
|
|
li a.active::before,
|
|
|
|
|
li:hover a::before,
|
|
|
|
|
li:hover a.active::before,
|
|
|
|
|
li a:focus::before {
|
2017-03-03 01:09:24 +00:00
|
|
|
|
display: block;
|
|
|
|
|
}
|
2018-06-24 17:11:51 +00:00
|
|
|
|
li a.active::before {
|
2018-01-04 11:33:10 +00:00
|
|
|
|
z-index: 99;
|
|
|
|
|
}
|
2018-06-24 17:11:51 +00:00
|
|
|
|
li:hover a::before,
|
|
|
|
|
li a.active:hover::before,
|
|
|
|
|
li a:focus::before {
|
2018-01-04 11:33:10 +00:00
|
|
|
|
z-index: 101;
|
|
|
|
|
}
|
2016-12-18 14:05:39 +00:00
|
|
|
|
|
2017-03-03 12:00:37 +00:00
|
|
|
|
li.hidden {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2018-08-17 16:26:58 +00:00
|
|
|
|
|
|
|
|
|
#more-apps {
|
2018-08-21 19:47:04 +00:00
|
|
|
|
z-index: 3;
|
2018-08-17 16:26:58 +00:00
|
|
|
|
}
|
2017-05-08 13:08:30 +00:00
|
|
|
|
}
|
2018-06-26 10:37:33 +00:00
|
|
|
|
|
|
|
|
|
/* Skip navigation links – show only on keyboard focus */
|
|
|
|
|
.skip-navigation {
|
|
|
|
|
padding: 11px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
overflow: hidden;
|
2018-07-17 10:55:54 +00:00
|
|
|
|
z-index: 9999;
|
2018-06-26 10:37:33 +00:00
|
|
|
|
top: -999px;
|
|
|
|
|
left: 3px;
|
|
|
|
|
/* Force primary color, otherwise too light focused color */
|
|
|
|
|
background: var(--color-primary) !important;
|
|
|
|
|
|
|
|
|
|
&.skip-content {
|
2018-08-24 14:53:18 +00:00
|
|
|
|
left: $navigation-width;
|
|
|
|
|
margin-left: 3px;
|
2018-06-26 10:37:33 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
|
&:active {
|
2018-06-26 14:47:16 +00:00
|
|
|
|
top: $header-height;
|
2018-06-26 10:37:33 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
2018-06-29 14:10:53 +00:00
|
|
|
|
|
|
|
|
|
/* SEARCHBOX --------------------------------------------------------------- */
|
|
|
|
|
.searchbox {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
input[type='search'] {
|
|
|
|
|
position: relative;
|
|
|
|
|
font-size: 1.2em;
|
|
|
|
|
padding: 3px;
|
|
|
|
|
padding-left: 25px;
|
|
|
|
|
padding-right: 20px;
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
color: var(--color-primary-text);
|
|
|
|
|
border: 0;
|
2018-10-19 14:19:37 +00:00
|
|
|
|
border-radius: var(--border-radius-pill);
|
2018-06-29 14:10:53 +00:00
|
|
|
|
height: 34px;
|
|
|
|
|
width: 0;
|
|
|
|
|
cursor: pointer;
|
2018-11-16 14:42:23 +00:00
|
|
|
|
transition: width 100ms, opacity 100ms;
|
2018-06-29 14:10:53 +00:00
|
|
|
|
opacity: .6;
|
|
|
|
|
&:focus, &:active, &:valid {
|
|
|
|
|
background-position-x: 6px;
|
|
|
|
|
color: var(--color-primary-text);
|
|
|
|
|
width: 155px;
|
|
|
|
|
cursor: text;
|
2019-01-17 09:53:10 +00:00
|
|
|
|
background-color: transparent !important;
|
2019-05-23 16:44:07 +00:00
|
|
|
|
border: 1px solid var(--color-primary-text) !important;
|
2018-06-29 14:10:53 +00:00
|
|
|
|
}
|
|
|
|
|
&:hover, &:focus, &:active {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
& ~ .icon-close-white {
|
|
|
|
|
display: inline;
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 30px;
|
|
|
|
|
height: 100%;
|
|
|
|
|
right: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
&, &:focus, &:active, &:hover {
|
|
|
|
|
border: none;
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
&:not(:valid) ~ .icon-close-white {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
&::-webkit-search-cancel-button {
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-05-23 16:44:07 +00:00
|
|
|
|
.icon-search-force-white {
|
|
|
|
|
@include icon-color('search', 'actions', '#fffffe', 1, true);
|
|
|
|
|
}
|
2018-09-26 09:10:13 +00:00
|
|
|
|
}
|
2018-11-28 18:09:03 +00:00
|
|
|
|
|
|
|
|
|
/* Empty content messages in the header e.g. notifications, contacts menu, … */
|
|
|
|
|
header #emptycontent,
|
|
|
|
|
header .emptycontent {
|
|
|
|
|
h2 {
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
}
|
|
|
|
|
[class^='icon-'],
|
|
|
|
|
[class*='icon-'] {
|
|
|
|
|
background-size: 48px;
|
|
|
|
|
height: 48px;
|
|
|
|
|
width: 48px;
|
|
|
|
|
}
|
|
|
|
|
}
|