2019-01-03 23:30:27 +01:00
|
|
|
.header {
|
2019-02-16 23:27:54 +01:00
|
|
|
position: relative;
|
2019-05-23 20:15:14 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2019-01-24 21:28:11 +01:00
|
|
|
z-index: var(--z-index-header);
|
|
|
|
}
|
|
|
|
|
2019-05-23 20:15:14 +02:00
|
|
|
.is-header-area-alignment-horizontal-left .header {
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-header-area-alignment-horizontal-center .header {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-header-area-alignment-horizontal-right .header {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
2019-06-04 20:08:15 +02:00
|
|
|
.is-link-show .header {
|
2019-05-23 20:15:14 +02:00
|
|
|
position: sticky;
|
2019-01-03 23:30:27 +01:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2019-01-24 21:28:11 +01:00
|
|
|
}
|
|
|
|
|
2019-06-13 16:47:00 +02:00
|
|
|
.header-shade {
|
2019-06-13 17:11:23 +02:00
|
|
|
background-color: transparent;
|
2019-02-16 23:27:54 +01:00
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2019-06-13 16:47:00 +02:00
|
|
|
.is-header-radius .header-shade {
|
|
|
|
border-radius: calc(var(--theme-radius) * 4);
|
2019-02-16 23:27:54 +01:00
|
|
|
}
|
|
|
|
|
2019-05-23 20:15:14 +02:00
|
|
|
.is-header-shade-show .header-shade {
|
2019-06-13 16:47:00 +02:00
|
|
|
background-color: rgba(var(--header-shade-color), var(--header-shade-opacity));
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
2019-06-13 17:11:23 +02:00
|
|
|
.is-header-shade-style-scroll .header-shade {
|
|
|
|
transition: background-color var(--animation-speed-slow) ease-in-out;
|
|
|
|
animation: none;
|
|
|
|
}
|
|
|
|
|
2019-01-03 23:30:27 +01:00
|
|
|
.header-area {
|
2019-06-13 16:47:00 +02:00
|
|
|
padding: calc(var(--gutter) * var(--layout-padding-multiplier));
|
2019-05-23 20:15:14 +02:00
|
|
|
position: relative;
|
|
|
|
width: var(--header-area-width);
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
2019-06-13 16:47:00 +02:00
|
|
|
.is-header-border-top .header-area {
|
|
|
|
border-top: calc(var(--line-width) * var(--header-border-top)) solid rgb(var(--theme-accent));
|
2019-05-23 20:15:14 +02:00
|
|
|
}
|
|
|
|
|
2019-06-13 16:47:00 +02:00
|
|
|
.is-header-border-bottom .header-area {
|
|
|
|
border-bottom: calc(var(--line-width) * var(--header-border-bottom)) solid rgb(var(--theme-accent));
|
2019-05-23 20:15:14 +02:00
|
|
|
}
|
|
|
|
|
2019-06-13 16:47:00 +02:00
|
|
|
.is-header-radius .header-area {
|
|
|
|
border-radius: calc(var(--theme-radius) * 4);
|
|
|
|
}
|
|
|
|
|
2019-04-18 14:30:40 +02:00
|
|
|
.is-header-search-text-align-left .header-search-input {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-header-search-text-align-center .header-search-input {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-header-search-text-align-right .header-search-input {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2019-04-04 17:52:29 +02:00
|
|
|
.is-header-searching .header-search-input[type="text"] {
|
|
|
|
padding-right: 3.5em;
|
2019-01-24 21:28:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.header-search-clear {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
2019-06-13 16:47:00 +02:00
|
|
|
.header-item-grid {
|
|
|
|
margin: calc(-1 * calc(var(--gutter) * calc(var(--layout-gutter-multiplier) / 2)));
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: stretch;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-header-item-alignment-horizontal-left .header-item-grid {
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-header-item-alignment-horizontal-center .header-item-grid {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-header-item-alignment-horizontal-right .header-item-grid {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
2019-05-23 20:15:14 +02:00
|
|
|
.header-item {
|
2019-06-13 16:47:00 +02:00
|
|
|
margin: calc(var(--gutter) * calc(var(--layout-gutter-multiplier) / 2));
|
2019-05-23 20:15:14 +02:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
2019-01-03 23:30:27 +01:00
|
|
|
justify-content: flex-start;
|
2019-05-23 20:15:14 +02:00
|
|
|
align-items: center;
|
|
|
|
position: relative;
|
2019-06-13 16:47:00 +02:00
|
|
|
pointer-events: all;
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
2019-06-11 11:54:10 +02:00
|
|
|
.is-header-search-style-auto .header-search {
|
2019-04-18 14:30:40 +02:00
|
|
|
flex-grow: 1;
|
2019-04-21 15:16:55 +02:00
|
|
|
min-width: 10em;
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
2019-01-03 23:30:27 +01:00
|
|
|
|
2019-06-11 11:54:10 +02:00
|
|
|
.is-header-search-style-custom .header-search {
|
2019-04-18 14:30:40 +02:00
|
|
|
width: var(--header-search-width);
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
2019-06-11 11:54:10 +02:00
|
|
|
.header-date {
|
|
|
|
font-size: var(--header-date-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-clock {
|
|
|
|
font-size: var(--header-clock-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-search {
|
|
|
|
font-size: var(--header-search-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-button {
|
|
|
|
font-size: var(--header-button-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-greeting {
|
|
|
|
font-size: var(--header-greeting-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-transitional {
|
|
|
|
font-size: var(--header-transitional-size);
|
|
|
|
}
|
|
|
|
|
2019-01-05 21:57:21 +01:00
|
|
|
.header-date,
|
2019-01-03 23:30:27 +01:00
|
|
|
.header-clock,
|
|
|
|
.header-search,
|
|
|
|
.header-edit-add,
|
2019-02-03 14:51:54 +01:00
|
|
|
.header-accent,
|
2019-03-26 00:31:51 +01:00
|
|
|
.header-greeting,
|
2019-04-26 14:48:37 +02:00
|
|
|
.header-transitional,
|
2019-02-03 14:51:54 +01:00
|
|
|
.header-menu {
|
2019-01-03 23:30:27 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-header-search-show .header-search,
|
|
|
|
.is-header-date-show .header-date,
|
|
|
|
.is-header-clock-show .header-clock,
|
2019-06-11 11:54:10 +02:00
|
|
|
.is-header-button-edit-add-show .header-edit-add,
|
|
|
|
.is-header-button-accent-show .header-accent,
|
2019-06-04 20:08:15 +02:00
|
|
|
.is-header-greeting-show .header-greeting,
|
|
|
|
.is-header-transitional-show .header-transitional,
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-menu .header-menu {
|
2019-01-03 23:30:27 +01:00
|
|
|
display: flex;
|
|
|
|
}
|