.
This commit is contained in:
1 parent
36fc8f506d
commit
08d46991b1
6 files changed
+1
-1
No files matched your search
@@ -0,0 +1,339 @@
|
||||
:root {
|
||||
--color-page: #1d1d20;
|
||||
--color-surface: #2e2e32;
|
||||
--color-control: #424246;
|
||||
--color-hover: #0001;
|
||||
--color-text: #aaa;
|
||||
--color-icon: #808080;
|
||||
--color-accent: #59a9ff;
|
||||
--color-on-accent: #fff;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: transparent;
|
||||
padding: 0px;
|
||||
margin: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.app-shell {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
border: 1px solid rgba(255, 255, 255, 0.14);
|
||||
border-radius: 10px;
|
||||
background-color: var(--color-page);
|
||||
}
|
||||
|
||||
.window-titlebar {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 48px;
|
||||
min-height: 48px;
|
||||
background-color: var(--color-surface);
|
||||
/* border-bottom: 1px solid #3a3a3a; */
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
|
||||
.titlebar-drag {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-self: stretch;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
gap: 0.65rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
|
||||
.app-mark {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
flex: 0 0 28px;
|
||||
border-radius: 7px;
|
||||
background: var(--color-accent);
|
||||
fill: var(--color-on-accent);
|
||||
}
|
||||
|
||||
.titlebar-copy {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1px;
|
||||
}
|
||||
|
||||
.titlebar-title,
|
||||
.titlebar-caption {
|
||||
font-family: sans-serif;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.titlebar-title {
|
||||
color: #f6f5f4;
|
||||
font-size: 0.82rem;
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
.titlebar-caption {
|
||||
color: var(--color-icon);
|
||||
font-size: 0.68rem;
|
||||
}
|
||||
|
||||
.window-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.15rem;
|
||||
padding: 0 0.55rem;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.window-control {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 34px;
|
||||
height: 32px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
color: #c0bfbc;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.window-control svg {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
fill: none;
|
||||
stroke: currentColor;
|
||||
stroke-width: 1.25;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
|
||||
.window-control:hover {
|
||||
background: #454545;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.window-control:active {
|
||||
background: #515151;
|
||||
}
|
||||
|
||||
.close-control:hover {
|
||||
background: #c01c28;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
p {
|
||||
color: var(--color-text);
|
||||
font-family: sans-serif;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
|
||||
input[type="text"] {
|
||||
background-color: var(--color-control);
|
||||
border: 0;
|
||||
border-radius: 10px;
|
||||
color: var(--color-text);
|
||||
outline: none;
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
border: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
border-bottom: 2px solid var(--color-accent);
|
||||
outline: none;
|
||||
scale: 1;
|
||||
}
|
||||
|
||||
.center-page-content {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: stretch;
|
||||
align-items: stretch;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.grid-container-horizontal {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#left-column {
|
||||
transition: width 0.2s ease, min-width 0.2s ease;
|
||||
}
|
||||
|
||||
.grid-container-vertical {
|
||||
background-color: var(--color-surface);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
justify-content: center;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
border-bottom-right-radius: 10px;
|
||||
transition: 0.2s border-bottom-left-radius ease;
|
||||
}
|
||||
|
||||
.toolbar-action {
|
||||
position: absolute;
|
||||
background-color: var(--color-surface);
|
||||
mask: radial-gradient(ellipse 100% 100% at 100% 100%, transparent 100%, #000 100%) bottom right;
|
||||
mask-repeat: no-repeat;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
top: 0;
|
||||
right: 0;
|
||||
transform: translateX(100%);
|
||||
}
|
||||
|
||||
.window-action {
|
||||
position: absolute;
|
||||
background-color: var(--color-surface);
|
||||
mask: radial-gradient(ellipse 100% 100% at 0% 100%, transparent 100%, #000 100%) bottom left;
|
||||
mask-repeat: no-repeat;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.toolbar div {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 10px;
|
||||
padding: 0.6rem;
|
||||
}
|
||||
|
||||
.button .icon {
|
||||
fill: var(--color-icon);
|
||||
}
|
||||
|
||||
.button .icon-accent {
|
||||
fill: var(--color-accent);
|
||||
}
|
||||
|
||||
.divider {
|
||||
border-bottom: 1px solid var(--color-control);
|
||||
margin-inline: 0.8rem;
|
||||
margin-top: 0.8rem;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
background-color: color-mix(in srgb, var(--color-hover) 85%, black 15%);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.no-hover:hover {
|
||||
background-color: transparent !important;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.no-hover:active {
|
||||
color: var(--color-surface) !important;
|
||||
}
|
||||
|
||||
.no-hover svg:active {
|
||||
fill: var(--color-surface) !important;
|
||||
}
|
||||
|
||||
.button:active {
|
||||
background-color: var(--color-page);
|
||||
}
|
||||
|
||||
.notes-list-parent {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.notes-list {
|
||||
margin: 1rem 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: start;
|
||||
align-items: stretch;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.notes-list div {
|
||||
padding: 0 0.4rem;
|
||||
margin-right: 0.2rem;
|
||||
background-color: var(--color-surface);
|
||||
border-bottom-right-radius: 10px;
|
||||
border-top-right-radius: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.notes-list div div {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.notes-list div:hover {
|
||||
background-color: var(--color-hover);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.notes-list div div:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.notes-list-parent::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
.notes-list-parent::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.notes-list-parent::-webkit-scrollbar-thumb {
|
||||
background-color: var(--color-control);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.notes-list-parent::-webkit-scrollbar-thumb:hover {
|
||||
background-color: var(--color-accent);
|
||||
}
|
||||
|
||||
.hover-button {
|
||||
position: absolute;
|
||||
right: 1rem;
|
||||
bottom: 1rem;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
background-color: var(--color-accent);
|
||||
}
|
||||
Reference in new issue
Block a user