nightTab/css/header.css

176 lines
3.6 KiB
CSS
Raw Normal View History

.header {
2019-02-16 23:27:54 +01:00
position: relative;
display: flex;
flex-direction: row;
z-index: var(--z-index-header);
}
.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 {
position: sticky;
top: 0;
left: 0;
}
.header-shade {
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;
}
.is-header-radius .header-shade {
border-radius: calc(var(--theme-radius) * 4);
2019-02-16 23:27:54 +01:00
}
.is-header-shade-show .header-shade {
background-color: rgba(var(--header-shade-color), var(--header-shade-opacity));
}
.is-header-shade-style-scroll .header-shade {
transition: background-color var(--animation-speed-slow) ease-in-out;
animation: none;
}
.header-area {
padding: calc(var(--gutter) * var(--layout-padding-multiplier));
position: relative;
width: var(--header-area-width);
2018-12-26 08:45:53 +01:00
}
.is-header-border-top .header-area {
border-top: calc(var(--line-width) * var(--header-border-top)) solid rgb(var(--theme-accent));
}
.is-header-border-bottom .header-area {
border-bottom: calc(var(--line-width) * var(--header-border-bottom)) solid rgb(var(--theme-accent));
}
.is-header-radius .header-area {
border-radius: calc(var(--theme-radius) * 4);
}
.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;
}
.header-search-clear {
position: absolute;
top: 0;
right: 0;
2018-12-26 08:45:53 +01: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;
}
.header-item {
margin: calc(var(--gutter) * calc(var(--layout-gutter-multiplier) / 2));
display: flex;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: center;
position: relative;
pointer-events: all;
}
.is-header-search-style-auto .header-search {
flex-grow: 1;
2019-04-21 15:16:55 +02:00
min-width: 10em;
2018-12-26 08:45:53 +01:00
}
.is-header-search-style-custom .header-search {
width: var(--header-search-width);
}
.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,
.header-clock,
.header-search,
.header-edit-add,
.header-accent,
2019-03-26 00:31:51 +01:00
.header-greeting,
.header-transitional,
.header-menu {
display: none;
}
.is-header-search-show .header-search,
.is-header-date-show .header-date,
.is-header-clock-show .header-clock,
.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,
.is-menu .header-menu {
display: flex;
}