mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-23 16:43:22 +01:00
66 lines
1.2 KiB
CSS
66 lines
1.2 KiB
CSS
.header {
|
|
background-color: var(--background);
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
z-index: 2;
|
|
}
|
|
|
|
.header-area {
|
|
margin: calc(var(--gutter) * 4) calc(var(--gutter) * -1) calc(var(--gutter) * 2) calc(var(--gutter) * -1);
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
align-items: stretch;
|
|
/* display: grid; */
|
|
/* grid-template-columns: auto 1fr auto auto auto; */
|
|
/* grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); */
|
|
}
|
|
|
|
.header-item {
|
|
margin-left: var(--gutter);
|
|
margin-right: var(--gutter);
|
|
margin-bottom: 1em;
|
|
margin: var(--gutter);
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.is-alignment-left .header-area {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.is-alignment-center .header-area {
|
|
justify-content: center;
|
|
}
|
|
|
|
.is-alignment-right .header-area {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.is-search-grow .header-search {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.header-search {
|
|
width: 20vw;
|
|
min-width: 20em;
|
|
}
|
|
|
|
.header-clock,
|
|
.header-search,
|
|
.header-edit-add,
|
|
.header-accent {
|
|
display: none;
|
|
}
|
|
|
|
.is-search .header-search,
|
|
.is-clock .header-clock,
|
|
.is-search-edit-add .header-edit-add,
|
|
.is-search-accent .header-accent {
|
|
display: flex;
|
|
}
|