2019-01-03 23:30:27 +01:00
|
|
|
.header {
|
2019-04-04 12:13:07 +02:00
|
|
|
padding-top: var(--header-shade-padding-top);
|
|
|
|
padding-bottom: var(--header-shade-padding-bottom);
|
2019-01-24 21:28:11 +01:00
|
|
|
width: 100%;
|
2019-02-16 23:27:54 +01:00
|
|
|
position: relative;
|
2019-01-24 21:28:11 +01:00
|
|
|
z-index: var(--z-index-header);
|
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-show-link .header {
|
2019-01-03 23:30:27 +01:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2019-01-24 21:28:11 +01:00
|
|
|
}
|
|
|
|
|
2019-02-16 23:27:54 +01:00
|
|
|
.header .header-shade,
|
|
|
|
.header .header-border {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-header-shade-style-scroll .header .header-shade {
|
2019-02-17 15:31:29 +01:00
|
|
|
transition: background-color var(--animation-speed-slow) ease-in-out;
|
2019-02-16 23:27:54 +01:00
|
|
|
animation: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-header-shade-show .header .header-shade {
|
|
|
|
background-color: rgb(var(--header-shade-color));
|
|
|
|
opacity: var(--header-shade-opacity);
|
|
|
|
}
|
|
|
|
|
2019-04-04 12:13:07 +02:00
|
|
|
.is-header-shade-border-top-show .header .header-border {
|
|
|
|
border-top: var(--header-border-width-top) solid rgb(var(--accent));
|
2019-02-16 23:27:54 +01:00
|
|
|
}
|
|
|
|
|
2019-04-04 12:13:07 +02:00
|
|
|
.is-header-shade-border-bottom-show .header .header-border {
|
|
|
|
border-bottom: var(--header-border-width-bottom) solid rgb(var(--accent));
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
2019-04-03 13:47:41 +02:00
|
|
|
.header-edge {
|
|
|
|
background-color: transparent;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
pointer-events: none;
|
|
|
|
box-shadow: inset 0 0 0 var(--line-width) rgb(var(--accent)), inset 0 0 0 calc(var(--line-width) * 2) rgba(var(--accent), 0.25);
|
|
|
|
}
|
|
|
|
|
2019-01-03 23:30:27 +01:00
|
|
|
.header-area {
|
2019-02-16 23:27:54 +01:00
|
|
|
margin: 0 calc(var(--gutter) * -1);
|
2018-12-26 08:45:53 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2018-12-26 18:43:38 +01:00
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: stretch;
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
2019-01-03 23:30:27 +01:00
|
|
|
.header-item {
|
|
|
|
margin: var(--gutter);
|
2019-03-26 00:31:51 +01:00
|
|
|
max-width: calc(100% - var(--gutter) * 2);
|
2018-12-26 08:45:53 +01:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
2019-03-26 00:31:51 +01:00
|
|
|
justify-content: flex-start;
|
2018-12-26 08:45:53 +01:00
|
|
|
align-items: center;
|
2019-01-24 21:28:11 +01:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
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-02-03 14:51:54 +01:00
|
|
|
.is-header-alignment-horizontal-left .header-area {
|
2019-01-03 23:30:27 +01:00
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-header-alignment-horizontal-center .header-area {
|
2019-01-03 23:30:27 +01:00
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-header-alignment-horizontal-right .header-area {
|
2019-01-03 23:30:27 +01:00
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
2019-04-18 14:30:40 +02:00
|
|
|
.header-search {
|
|
|
|
width: var(--header-search-width);
|
2019-01-05 21:57:21 +01:00
|
|
|
}
|
|
|
|
|
2019-04-18 14:30:40 +02:00
|
|
|
.is-header-search-width-auto .header-search {
|
|
|
|
flex-grow: 1;
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
2019-01-03 23:30:27 +01:00
|
|
|
|
2019-04-18 14:30:40 +02:00
|
|
|
.is-header-search-width-custom .header-search {
|
|
|
|
width: var(--header-search-width);
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
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-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,
|
|
|
|
.is-header-edit-add .header-edit-add,
|
|
|
|
.is-header-accent .header-accent,
|
2019-03-26 00:31:51 +01:00
|
|
|
.is-header-greeting .header-greeting,
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-menu .header-menu {
|
2019-01-03 23:30:27 +01:00
|
|
|
display: flex;
|
|
|
|
}
|