mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
106 lines
1.8 KiB
CSS
106 lines
1.8 KiB
CSS
.container {
|
|
position: relative;
|
|
z-index: 190;
|
|
visibility: hidden;
|
|
width: 100%;
|
|
height: 65px;
|
|
overflow: hidden;
|
|
pointer-events: none;
|
|
background: var(--theme-colors-background);
|
|
opacity: 0;
|
|
}
|
|
|
|
.container[data-visible='true'] {
|
|
visibility: visible;
|
|
pointer-events: auto;
|
|
opacity: 1;
|
|
}
|
|
|
|
.container.visible {
|
|
visibility: visible;
|
|
pointer-events: auto;
|
|
opacity: 1;
|
|
}
|
|
|
|
.header {
|
|
position: relative;
|
|
z-index: 15;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: auto;
|
|
user-select: auto;
|
|
|
|
button {
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
|
|
input {
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
|
|
[role='button'] {
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
|
|
a {
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
|
|
[style*='cursor: pointer'] {
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
}
|
|
|
|
.header.pad-right {
|
|
margin-right: 140px;
|
|
}
|
|
|
|
.header.hidden {
|
|
pointer-events: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.header.is-draggable {
|
|
-webkit-app-region: drag;
|
|
}
|
|
|
|
.background-image {
|
|
position: absolute;
|
|
top: 0;
|
|
z-index: 1;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: var(--theme-colors-background);
|
|
}
|
|
|
|
.background-image-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 10;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.background-image-overlay.light {
|
|
background: linear-gradient(rgb(255 255 255 / 25%), rgb(255 255 255 / 25%));
|
|
}
|
|
|
|
.background-image-overlay.dark {
|
|
background: linear-gradient(rgb(0 0 0 / 50%), rgb(0 0 0 / 50%));
|
|
}
|
|
|
|
.title-wrapper {
|
|
position: absolute;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 0 var(--theme-spacing-xs);
|
|
}
|
|
|
|
.title-wrapper.hidden {
|
|
display: none;
|
|
}
|