201 lines
3.4 KiB
CSS
201 lines
3.4 KiB
CSS
:root {
|
|
--titlebar-height: 40px;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
background: #09090b;
|
|
visibility: hidden;
|
|
scrollbar-gutter: stable;
|
|
}
|
|
|
|
html.electron {
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
html.electron .navbar,
|
|
html.electron .top-bar,
|
|
html.electron .panel-header {
|
|
top: var(--titlebar-height) !important;
|
|
}
|
|
|
|
html.electron .player-wrapper {
|
|
top: var(--titlebar-height);
|
|
height: calc(100% - var(--titlebar-height));
|
|
}
|
|
|
|
html.electron .panel-content {
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
html.electron .calendar-wrapper{
|
|
margin-top: 4rem;
|
|
}
|
|
|
|
html.electron .back-btn {
|
|
top: 55px !important;
|
|
}
|
|
|
|
#back-link {
|
|
margin-top: 55px !important;
|
|
}
|
|
|
|
#titlebar {
|
|
display: none;
|
|
height: var(--titlebar-height);
|
|
background: rgba(9, 9, 11, 0.95);
|
|
color: white;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 12px;
|
|
-webkit-app-region: drag;
|
|
user-select: none;
|
|
font-family: "Inter", system-ui, sans-serif;
|
|
border-bottom: 1px solid rgba(139, 92, 246, 0.2);
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
z-index: 999999;
|
|
backdrop-filter: blur(12px);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.title-left {
|
|
display: flex;
|
|
align-items: center !important;
|
|
gap: 10px;
|
|
}
|
|
|
|
#titlebar .app-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 6px;
|
|
background: rgba(139, 92, 246, 0.15);
|
|
border: 1px solid rgba(139, 92, 246, 0.3);
|
|
padding: 3px;
|
|
}
|
|
|
|
#titlebar .app-icon img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.app-title {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
letter-spacing: -0.2px;
|
|
}
|
|
|
|
.title-right {
|
|
display: flex;
|
|
height: 100%;
|
|
gap: 1px;
|
|
}
|
|
|
|
.title-right button {
|
|
-webkit-app-region: no-drag;
|
|
border: none;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
width: 46px;
|
|
height: 100%;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
}
|
|
|
|
.title-right button svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.title-right button:hover {
|
|
color: white;
|
|
}
|
|
|
|
.title-right button:active {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
.title-right .min:hover {
|
|
background: rgba(139, 92, 246, 0.2);
|
|
}
|
|
|
|
.title-right .max:hover {
|
|
background: rgba(34, 197, 94, 0.2);
|
|
}
|
|
|
|
.title-right .close:hover {
|
|
background: #e81123;
|
|
color: white;
|
|
}
|
|
|
|
.title-right button:hover svg {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
html.electron::-webkit-scrollbar {
|
|
width: 12px;
|
|
position: absolute;
|
|
}
|
|
|
|
html.electron::-webkit-scrollbar-track {
|
|
background: #09090b;
|
|
margin-top: var(--titlebar-height);
|
|
}
|
|
|
|
html.electron::-webkit-scrollbar-thumb {
|
|
background: rgba(139, 92, 246, 0.3);
|
|
border-radius: 6px;
|
|
border: 2px solid #09090b;
|
|
}
|
|
|
|
html.electron::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(139, 92, 246, 0.5);
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.user-box {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.user-box img {
|
|
width: 26px;
|
|
height: 26px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.user-box span {
|
|
font-size: 13px;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|