style(frontend): enforce color-function-notation in scss
- Stylelint: - re-enable `color-function-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions unchanged - SCSS: - normalize comma-based `rgb(...)` color syntax to modern space-and-slash notation across frontend stylesheets without changing color values - Validation: - `just ui stylelint`
This commit is contained in:
+17
-17
@@ -1,19 +1,19 @@
|
||||
// Variables matching sidebar styling
|
||||
$dialog-bg: #1a1a1a;
|
||||
$text-primary: rgb(255, 255, 255, 95%);
|
||||
$text-secondary: rgb(255, 255, 255, 60%);
|
||||
$text-muted: rgb(255, 255, 255, 40%);
|
||||
$border-color: rgb(255, 255, 255, 8%);
|
||||
$hover-bg: rgb(255, 255, 255, 8%);
|
||||
$text-primary: rgb(255 255 255 / 95%);
|
||||
$text-secondary: rgb(255 255 255 / 60%);
|
||||
$text-muted: rgb(255 255 255 / 40%);
|
||||
$border-color: rgb(255 255 255 / 8%);
|
||||
$hover-bg: rgb(255 255 255 / 8%);
|
||||
$active-color: #818cf8;
|
||||
$active-bg: rgb(129, 140, 248, 15%);
|
||||
$active-bg: rgb(129 140 248 / 15%);
|
||||
$transition-fast: 150ms ease;
|
||||
$transition-normal: 200ms ease;
|
||||
|
||||
.dialog-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgb(0, 0, 0, 50%);
|
||||
background: rgb(0 0 0 / 50%);
|
||||
backdrop-filter: blur(4px);
|
||||
z-index: 12000;
|
||||
display: flex;
|
||||
@@ -37,7 +37,7 @@ $transition-normal: 200ms ease;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 20px 60px rgb(0, 0, 0, 50%);
|
||||
box-shadow: 0 20px 60px rgb(0 0 0 / 50%);
|
||||
animation: slideUp 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
|
||||
@media (max-width: 768px) {
|
||||
@@ -64,7 +64,7 @@ $transition-normal: 200ms ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
background: linear-gradient(180deg, rgb(255, 255, 255, 2%) 0%, transparent 100%);
|
||||
background: linear-gradient(180deg, rgb(255 255 255 / 2%) 0%, transparent 100%);
|
||||
|
||||
h2 {
|
||||
margin: 0;
|
||||
@@ -121,11 +121,11 @@ $transition-normal: 200ms ease;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: rgb(255, 255, 255, 15%);
|
||||
background: rgb(255 255 255 / 15%);
|
||||
border-radius: 3px;
|
||||
|
||||
&:hover {
|
||||
background: rgb(255, 255, 255, 25%);
|
||||
background: rgb(255 255 255 / 25%);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -155,7 +155,7 @@ $transition-normal: 200ms ease;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 8px 24px rgb(0, 0, 0, 40%);
|
||||
box-shadow: 0 8px 24px rgb(0 0 0 / 40%);
|
||||
max-height: 300px;
|
||||
object-fit: cover;
|
||||
|
||||
@@ -167,8 +167,8 @@ $transition-normal: 200ms ease;
|
||||
.cover-placeholder {
|
||||
width: 100%;
|
||||
aspect-ratio: 2/3;
|
||||
background: linear-gradient(135deg, rgb(255, 255, 255, 4%) 0%, rgb(255, 255, 255, 1%) 100%);
|
||||
border: 2px dashed rgb(255, 255, 255, 12%);
|
||||
background: linear-gradient(135deg, rgb(255 255 255 / 4%) 0%, rgb(255 255 255 / 1%) 100%);
|
||||
border: 2px dashed rgb(255 255 255 / 12%);
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -247,7 +247,7 @@ $transition-normal: 200ms ease;
|
||||
font-family: 'SF Mono', Monaco, Inconsolata, 'Roboto Mono', monospace;
|
||||
font-size: 12px;
|
||||
color: $text-secondary;
|
||||
background: rgb(255, 255, 255, 3%);
|
||||
background: rgb(255 255 255 / 3%);
|
||||
padding: 4px 8px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
@@ -272,11 +272,11 @@ $transition-normal: 200ms ease;
|
||||
border-radius: 12px;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
border: 1px solid rgb(129, 140, 248, 20%);
|
||||
border: 1px solid rgb(129 140 248 / 20%);
|
||||
transition: background $transition-fast;
|
||||
|
||||
&:hover {
|
||||
background: rgb(129, 140, 248, 25%);
|
||||
background: rgb(129 140 248 / 25%);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
// Variables matching reader styling
|
||||
$dialog-bg: #1a1a1a;
|
||||
$text-primary: rgb(255, 255, 255, 95%);
|
||||
$text-secondary: rgb(255, 255, 255, 60%);
|
||||
$text-muted: rgb(255, 255, 255, 40%);
|
||||
$border-color: rgb(255, 255, 255, 8%);
|
||||
$hover-bg: rgb(255, 255, 255, 8%);
|
||||
$text-primary: rgb(255 255 255 / 95%);
|
||||
$text-secondary: rgb(255 255 255 / 60%);
|
||||
$text-muted: rgb(255 255 255 / 40%);
|
||||
$border-color: rgb(255 255 255 / 8%);
|
||||
$hover-bg: rgb(255 255 255 / 8%);
|
||||
$active-color: #818cf8;
|
||||
$active-bg: rgb(129, 140, 248, 15%);
|
||||
$active-bg: rgb(129 140 248 / 15%);
|
||||
$transition-fast: 150ms ease;
|
||||
$transition-normal: 200ms ease;
|
||||
|
||||
.dialog-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgb(0, 0, 0, 50%);
|
||||
background: rgb(0 0 0 / 50%);
|
||||
backdrop-filter: blur(4px);
|
||||
z-index: 13000;
|
||||
display: flex;
|
||||
@@ -37,7 +37,7 @@ $transition-normal: 200ms ease;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 20px 60px rgb(0, 0, 0, 50%);
|
||||
box-shadow: 0 20px 60px rgb(0 0 0 / 50%);
|
||||
animation: slideUp 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ $transition-normal: 200ms ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
background: linear-gradient(180deg, rgb(255, 255, 255, 2%) 0%, transparent 100%);
|
||||
background: linear-gradient(180deg, rgb(255 255 255 / 2%) 0%, transparent 100%);
|
||||
|
||||
h2 {
|
||||
margin: 0;
|
||||
@@ -107,11 +107,11 @@ $transition-normal: 200ms ease;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: rgb(255, 255, 255, 15%);
|
||||
background: rgb(255 255 255 / 15%);
|
||||
border-radius: 3px;
|
||||
|
||||
&:hover {
|
||||
background: rgb(255, 255, 255, 25%);
|
||||
background: rgb(255 255 255 / 25%);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -130,7 +130,7 @@ $transition-normal: 200ms ease;
|
||||
.selected-text {
|
||||
margin: 0;
|
||||
padding: 12px 16px;
|
||||
background: rgb(255, 255, 255, 3%);
|
||||
background: rgb(255 255 255 / 3%);
|
||||
border-left: 3px solid $active-color;
|
||||
border-radius: 0 8px 8px 0;
|
||||
color: $text-secondary;
|
||||
@@ -152,7 +152,7 @@ $transition-normal: 200ms ease;
|
||||
flex: 1;
|
||||
min-height: 120px;
|
||||
padding: 12px 16px;
|
||||
background: rgb(255, 255, 255, 3%);
|
||||
background: rgb(255 255 255 / 3%);
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 8px;
|
||||
color: $text-primary;
|
||||
@@ -169,7 +169,7 @@ $transition-normal: 200ms ease;
|
||||
&:focus {
|
||||
outline: none;
|
||||
border-color: $active-color;
|
||||
box-shadow: 0 0 0 3px rgb(129, 140, 248, 15%);
|
||||
box-shadow: 0 0 0 3px rgb(129 140 248 / 15%);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ $transition-normal: 200ms ease;
|
||||
|
||||
&.selected {
|
||||
border-color: $text-primary;
|
||||
box-shadow: 0 0 0 3px rgb(255, 255, 255, 20%);
|
||||
box-shadow: 0 0 0 3px rgb(255 255 255 / 20%);
|
||||
|
||||
&::after {
|
||||
content: '✓';
|
||||
@@ -208,7 +208,7 @@ $transition-normal: 200ms ease;
|
||||
color: white;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
text-shadow: 0 1px 2px rgb(0, 0, 0, 50%);
|
||||
text-shadow: 0 1px 2px rgb(0 0 0 / 50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -219,7 +219,7 @@ $transition-normal: 200ms ease;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 12px;
|
||||
background: linear-gradient(0deg, rgb(255, 255, 255, 2%) 0%, transparent 100%);
|
||||
background: linear-gradient(0deg, rgb(255 255 255 / 2%) 0%, transparent 100%);
|
||||
}
|
||||
|
||||
.btn {
|
||||
@@ -247,7 +247,7 @@ $transition-normal: 200ms ease;
|
||||
color: $text-primary;
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: rgb(255, 255, 255, 12%);
|
||||
background: rgb(255 255 255 / 12%);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+34
-34
@@ -1,19 +1,19 @@
|
||||
// Variables matching sidebar styling
|
||||
$dialog-bg: #1a1a1a;
|
||||
$text-primary: rgb(255, 255, 255, 95%);
|
||||
$text-secondary: rgb(255, 255, 255, 60%);
|
||||
$text-muted: rgb(255, 255, 255, 40%);
|
||||
$border-color: rgb(255, 255, 255, 8%);
|
||||
$hover-bg: rgb(255, 255, 255, 8%);
|
||||
$text-primary: rgb(255 255 255 / 95%);
|
||||
$text-secondary: rgb(255 255 255 / 60%);
|
||||
$text-muted: rgb(255 255 255 / 40%);
|
||||
$border-color: rgb(255 255 255 / 8%);
|
||||
$hover-bg: rgb(255 255 255 / 8%);
|
||||
$active-color: #818cf8;
|
||||
$active-bg: rgb(129, 140, 248, 15%);
|
||||
$active-bg: rgb(129 140 248 / 15%);
|
||||
$transition-fast: 150ms ease;
|
||||
$transition-normal: 200ms ease;
|
||||
|
||||
.dialog-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgb(0, 0, 0, 25%);
|
||||
background: rgb(0 0 0 / 25%);
|
||||
z-index: 12000;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -35,7 +35,7 @@ $transition-normal: 200ms ease;
|
||||
height: 600px;
|
||||
max-height: 85vh;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 20px 60px rgb(0, 0, 0, 50%);
|
||||
box-shadow: 0 20px 60px rgb(0 0 0 / 50%);
|
||||
animation: slideUp 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -56,7 +56,7 @@ $transition-normal: 200ms ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid $border-color;
|
||||
background: rgb(0, 0, 0, 20%);
|
||||
background: rgb(0 0 0 / 20%);
|
||||
padding: 0 20px;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
@@ -147,11 +147,11 @@ $transition-normal: 200ms ease;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: rgb(255, 255, 255, 15%);
|
||||
background: rgb(255 255 255 / 15%);
|
||||
border-radius: 3px;
|
||||
|
||||
&:hover {
|
||||
background: rgb(255, 255, 255, 25%);
|
||||
background: rgb(255 255 255 / 25%);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -239,7 +239,7 @@ $transition-normal: 200ms ease;
|
||||
position: relative;
|
||||
width: 44px;
|
||||
height: 24px;
|
||||
background: rgb(255, 255, 255, 15%);
|
||||
background: rgb(255 255 255 / 15%);
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
@@ -263,11 +263,11 @@ $transition-normal: 200ms ease;
|
||||
background: #ffffff;
|
||||
border-radius: 50%;
|
||||
transition: transform 300ms ease;
|
||||
box-shadow: 0 2px 4px rgb(0, 0, 0, 20%);
|
||||
box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: rgb(255, 255, 255, 20%);
|
||||
background: rgb(255 255 255 / 20%);
|
||||
|
||||
&.active {
|
||||
background: #9aa3fa;
|
||||
@@ -301,7 +301,7 @@ $transition-normal: 200ms ease;
|
||||
}
|
||||
|
||||
.theme-card {
|
||||
background: rgb(255, 255, 255, 3%);
|
||||
background: rgb(255 255 255 / 3%);
|
||||
border: 2px solid $border-color;
|
||||
border-radius: 8px;
|
||||
padding: 10px;
|
||||
@@ -312,7 +312,7 @@ $transition-normal: 200ms ease;
|
||||
|
||||
&:hover {
|
||||
background: $hover-bg;
|
||||
border-color: rgb(255, 255, 255, 15%);
|
||||
border-color: rgb(255 255 255 / 15%);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -330,7 +330,7 @@ $transition-normal: 200ms ease;
|
||||
.color-swatch {
|
||||
flex: 1;
|
||||
border-radius: 4px;
|
||||
border: 1px solid rgb(0, 0, 0, 20%);
|
||||
border: 1px solid rgb(0 0 0 / 20%);
|
||||
}
|
||||
|
||||
.theme-name {
|
||||
@@ -349,7 +349,7 @@ $transition-normal: 200ms ease;
|
||||
}
|
||||
|
||||
.font-option {
|
||||
background: rgb(255, 255, 255, 3%);
|
||||
background: rgb(255 255 255 / 3%);
|
||||
border: 2px solid $border-color;
|
||||
border-radius: 8px;
|
||||
padding: 12px;
|
||||
@@ -362,7 +362,7 @@ $transition-normal: 200ms ease;
|
||||
|
||||
&:hover {
|
||||
background: $hover-bg;
|
||||
border-color: rgb(255, 255, 255, 15%);
|
||||
border-color: rgb(255 255 255 / 15%);
|
||||
}
|
||||
|
||||
&.active {
|
||||
@@ -406,7 +406,7 @@ $transition-normal: 200ms ease;
|
||||
flex: 1;
|
||||
margin: 0 10px;
|
||||
height: 5px;
|
||||
background: rgb(255, 255, 255, 12%);
|
||||
background: rgb(255 255 255 / 12%);
|
||||
border-radius: 3px;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
@@ -419,12 +419,12 @@ $transition-normal: 200ms ease;
|
||||
border-radius: 50%;
|
||||
background: $active-color;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 2px 4px rgb(0, 0, 0, 30%);
|
||||
box-shadow: 0 2px 4px rgb(0 0 0 / 30%);
|
||||
transition: all $transition-fast;
|
||||
|
||||
&:hover {
|
||||
transform: scale(1.1);
|
||||
box-shadow: 0 2px 8px rgb(129, 140, 248, 50%);
|
||||
box-shadow: 0 2px 8px rgb(129 140 248 / 50%);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -435,7 +435,7 @@ $transition-normal: 200ms ease;
|
||||
background: $active-color;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 2px 4px rgb(0, 0, 0, 30%);
|
||||
box-shadow: 0 2px 4px rgb(0 0 0 / 30%);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -473,7 +473,7 @@ $transition-normal: 200ms ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
background: rgb(255, 255, 255, 3%);
|
||||
background: rgb(255 255 255 / 3%);
|
||||
padding: 3px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid $border-color;
|
||||
@@ -481,7 +481,7 @@ $transition-normal: 200ms ease;
|
||||
button {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
background: rgb(255, 255, 255, 5%);
|
||||
background: rgb(255 255 255 / 5%);
|
||||
color: $text-secondary;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
@@ -534,14 +534,14 @@ $transition-normal: 200ms ease;
|
||||
height: 18px;
|
||||
border: 2px solid $active-color;
|
||||
border-radius: 50%;
|
||||
background: rgb(255, 255, 255, 5%);
|
||||
background: rgb(255 255 255 / 5%);
|
||||
margin: 0 6px 0 0;
|
||||
outline: none;
|
||||
transition: border-color $transition-fast, box-shadow $transition-fast;
|
||||
|
||||
&:checked {
|
||||
background: $active-color;
|
||||
box-shadow: 0 0 0 2px rgb(129, 140, 248, 15%);
|
||||
box-shadow: 0 0 0 2px rgb(129 140 248 / 15%);
|
||||
border-color: $active-color;
|
||||
}
|
||||
|
||||
@@ -564,19 +564,19 @@ $transition-normal: 200ms ease;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: 50%;
|
||||
border: 3px solid rgb(255, 255, 255, 15%);
|
||||
border: 3px solid rgb(255 255 255 / 15%);
|
||||
cursor: pointer;
|
||||
transition: all $transition-fast;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-shadow: 0 2px 8px rgb(0, 0, 0, 20%);
|
||||
box-shadow: 0 2px 8px rgb(0 0 0 / 20%);
|
||||
|
||||
&:hover {
|
||||
transform: scale(1.08);
|
||||
border-color: rgb(255, 255, 255, 30%);
|
||||
box-shadow: 0 4px 12px rgb(0, 0, 0, 30%);
|
||||
border-color: rgb(255 255 255 / 30%);
|
||||
box-shadow: 0 4px 12px rgb(0 0 0 / 30%);
|
||||
}
|
||||
|
||||
&:active {
|
||||
@@ -586,13 +586,13 @@ $transition-normal: 200ms ease;
|
||||
&.active {
|
||||
border-color: $active-color;
|
||||
border-width: 3px;
|
||||
box-shadow: 0 0 0 3px rgb(129, 140, 248, 25%), 0 4px 12px rgb(0, 0, 0, 30%);
|
||||
box-shadow: 0 0 0 3px rgb(129 140 248 / 25%), 0 4px 12px rgb(0 0 0 / 30%);
|
||||
|
||||
.check-icon {
|
||||
color: rgb(0, 0, 0, 70%);
|
||||
color: rgb(0 0 0 / 70%);
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
text-shadow: 0 1px 2px rgb(255, 255, 255, 50%);
|
||||
text-shadow: 0 1px 2px rgb(255 255 255 / 50%);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+16
-16
@@ -1,9 +1,9 @@
|
||||
$dialog-bg: #1a1a1a;
|
||||
$text-primary: rgb(255, 255, 255, 95%);
|
||||
$text-secondary: rgb(255, 255, 255, 60%);
|
||||
$text-muted: rgb(255, 255, 255, 40%);
|
||||
$border-color: rgb(255, 255, 255, 8%);
|
||||
$hover-bg: rgb(255, 255, 255, 8%);
|
||||
$text-primary: rgb(255 255 255 / 95%);
|
||||
$text-secondary: rgb(255 255 255 / 60%);
|
||||
$text-muted: rgb(255 255 255 / 40%);
|
||||
$border-color: rgb(255 255 255 / 8%);
|
||||
$hover-bg: rgb(255 255 255 / 8%);
|
||||
$active-color: #818cf8;
|
||||
$transition-fast: 150ms ease;
|
||||
$transition-normal: 200ms ease;
|
||||
@@ -11,7 +11,7 @@ $transition-normal: 200ms ease;
|
||||
.dialog-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgb(0, 0, 0, 50%);
|
||||
background: rgb(0 0 0 / 50%);
|
||||
backdrop-filter: blur(4px);
|
||||
z-index: 13000;
|
||||
display: flex;
|
||||
@@ -35,7 +35,7 @@ $transition-normal: 200ms ease;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 20px 60px rgb(0, 0, 0, 50%);
|
||||
box-shadow: 0 20px 60px rgb(0 0 0 / 50%);
|
||||
animation: slideUp 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ $transition-normal: 200ms ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
background: linear-gradient(180deg, rgb(255, 255, 255, 2%) 0%, transparent 100%);
|
||||
background: linear-gradient(180deg, rgb(255 255 255 / 2%) 0%, transparent 100%);
|
||||
|
||||
h2 {
|
||||
margin: 0;
|
||||
@@ -105,11 +105,11 @@ $transition-normal: 200ms ease;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: rgb(255, 255, 255, 15%);
|
||||
background: rgb(255 255 255 / 15%);
|
||||
border-radius: 3px;
|
||||
|
||||
&:hover {
|
||||
background: rgb(255, 255, 255, 25%);
|
||||
background: rgb(255 255 255 / 25%);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -137,12 +137,12 @@ $transition-normal: 200ms ease;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
padding: 8px 12px;
|
||||
background: rgb(255, 255, 255, 3%);
|
||||
background: rgb(255 255 255 / 3%);
|
||||
border-radius: 8px;
|
||||
transition: background $transition-fast;
|
||||
|
||||
&:hover {
|
||||
background: rgb(255, 255, 255, 5%);
|
||||
background: rgb(255 255 255 / 5%);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -160,14 +160,14 @@ $transition-normal: 200ms ease;
|
||||
min-width: 28px;
|
||||
height: 26px;
|
||||
padding: 0 8px;
|
||||
background: rgb(255, 255, 255, 10%);
|
||||
border: 1px solid rgb(255, 255, 255, 15%);
|
||||
background: rgb(255 255 255 / 10%);
|
||||
border: 1px solid rgb(255 255 255 / 15%);
|
||||
border-radius: 5px;
|
||||
font-family: inherit;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
color: $text-primary;
|
||||
box-shadow: 0 2px 0 rgb(0, 0, 0, 20%);
|
||||
box-shadow: 0 2px 0 rgb(0 0 0 / 20%);
|
||||
}
|
||||
|
||||
.key-separator {
|
||||
@@ -200,7 +200,7 @@ $transition-normal: 200ms ease;
|
||||
border-top: 1px solid $border-color;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
background: linear-gradient(0deg, rgb(255, 255, 255, 2%) 0%, transparent 100%);
|
||||
background: linear-gradient(0deg, rgb(255 255 255 / 2%) 0%, transparent 100%);
|
||||
}
|
||||
|
||||
.btn {
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
.loader-overlay {
|
||||
position: fixed;
|
||||
inset: 0 0 0 0;
|
||||
background-color: rgb(0, 0, 0, 80%);
|
||||
background-color: rgb(0 0 0 / 80%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -104,7 +104,7 @@
|
||||
.spinner {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border: 4px solid rgb(255, 255, 255, 20%);
|
||||
border: 4px solid rgb(255 255 255 / 20%);
|
||||
border-top-color: #fff;
|
||||
border-radius: 50%;
|
||||
animation: spin 0.8s linear infinite;
|
||||
|
||||
+15
-15
@@ -1,10 +1,10 @@
|
||||
// Variables matching sidebar styling
|
||||
$navbar-bg: #1a1a1a;
|
||||
$text-primary: rgb(255, 255, 255, 95%);
|
||||
$text-secondary: rgb(255, 255, 255, 60%);
|
||||
$text-muted: rgb(255, 255, 255, 40%);
|
||||
$border-color: rgb(255, 255, 255, 8%);
|
||||
$hover-bg: rgb(255, 255, 255, 8%);
|
||||
$text-primary: rgb(255 255 255 / 95%);
|
||||
$text-secondary: rgb(255 255 255 / 60%);
|
||||
$text-muted: rgb(255 255 255 / 40%);
|
||||
$border-color: rgb(255 255 255 / 8%);
|
||||
$hover-bg: rgb(255 255 255 / 8%);
|
||||
$active-color: #818cf8;
|
||||
$transition-fast: 150ms ease;
|
||||
$transition-normal: 200ms ease;
|
||||
@@ -24,7 +24,7 @@ $transition-normal: 200ms ease;
|
||||
backdrop-filter: blur(8px);
|
||||
-webkit-backdrop-filter: blur(8px);
|
||||
border-top: 1px solid $border-color;
|
||||
box-shadow: 0 -2px 12px rgb(0, 0, 0, 30%);
|
||||
box-shadow: 0 -2px 12px rgb(0 0 0 / 30%);
|
||||
color: $text-primary;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
@@ -79,7 +79,7 @@ $transition-normal: 200ms ease;
|
||||
gap: 12px;
|
||||
|
||||
.location-btn {
|
||||
background: rgb(255, 255, 255, 5%);
|
||||
background: rgb(255 255 255 / 5%);
|
||||
border: 1px solid $border-color;
|
||||
color: $text-primary;
|
||||
padding: 6px 14px;
|
||||
@@ -92,7 +92,7 @@ $transition-normal: 200ms ease;
|
||||
|
||||
&:hover {
|
||||
background: $hover-bg;
|
||||
border-color: rgb(255, 255, 255, 15%);
|
||||
border-color: rgb(255 255 255 / 15%);
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
@@ -113,7 +113,7 @@ $transition-normal: 200ms ease;
|
||||
border-radius: 3px;
|
||||
outline: none;
|
||||
-webkit-appearance: none;
|
||||
background: rgb(255, 255, 255, 12%);
|
||||
background: rgb(255 255 255 / 12%);
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
@@ -125,12 +125,12 @@ $transition-normal: 200ms ease;
|
||||
border-radius: 50%;
|
||||
background: $active-color;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 2px 6px rgb(0, 0, 0, 30%);
|
||||
box-shadow: 0 2px 6px rgb(0 0 0 / 30%);
|
||||
transition: transform $transition-fast, box-shadow $transition-fast;
|
||||
|
||||
&:hover {
|
||||
transform: scale(1.1);
|
||||
box-shadow: 0 2px 8px rgb(129, 140, 248, 40%);
|
||||
box-shadow: 0 2px 8px rgb(129 140 248 / 40%);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -141,7 +141,7 @@ $transition-normal: 200ms ease;
|
||||
background: $active-color;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
box-shadow: 0 2px 6px rgb(0, 0, 0, 30%);
|
||||
box-shadow: 0 2px 6px rgb(0 0 0 / 30%);
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
@@ -166,7 +166,7 @@ $transition-normal: 200ms ease;
|
||||
top: 0;
|
||||
width: 1.5px;
|
||||
height: 10px;
|
||||
background: rgb(255, 255, 255, 40%);
|
||||
background: rgb(255 255 255 / 40%);
|
||||
border-radius: 2px;
|
||||
}
|
||||
}
|
||||
@@ -182,7 +182,7 @@ $transition-normal: 200ms ease;
|
||||
-webkit-backdrop-filter: blur(8px);
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 8px 32px rgb(0, 0, 0, 50%);
|
||||
box-shadow: 0 8px 32px rgb(0 0 0 / 50%);
|
||||
z-index: 1001;
|
||||
min-width: 380px;
|
||||
animation: popoverSlideIn 200ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
@@ -326,7 +326,7 @@ $transition-normal: 200ms ease;
|
||||
input {
|
||||
width: 65px;
|
||||
padding: 6px 10px;
|
||||
background: rgb(255, 255, 255, 5%);
|
||||
background: rgb(255 255 255 / 5%);
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 6px;
|
||||
color: $text-primary;
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
font-size: 14px;
|
||||
z-index: 1000;
|
||||
background: inherit;
|
||||
border-bottom: 1px solid rgb(0,0,0,13%);
|
||||
box-shadow: 0 2px 8px 0 rgb(0,0,0,13%);
|
||||
border-bottom: 1px solid rgb(0 0 0 / 13%);
|
||||
box-shadow: 0 2px 8px 0 rgb(0 0 0 / 13%);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transform: translateY(-100%);
|
||||
@@ -98,9 +98,9 @@
|
||||
top: 100%;
|
||||
right: 0;
|
||||
margin-top: 4px;
|
||||
border: 1px solid rgb(0, 0, 0, 15%);
|
||||
border: 1px solid rgb(0 0 0 / 15%);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 12px rgb(0, 0, 0, 25%);
|
||||
box-shadow: 0 4px 12px rgb(0 0 0 / 25%);
|
||||
z-index: 1000;
|
||||
min-width: 180px;
|
||||
padding: 4px;
|
||||
@@ -121,7 +121,7 @@
|
||||
white-space: nowrap;
|
||||
|
||||
&:hover {
|
||||
background: rgb(128, 128, 128, 15%);
|
||||
background: rgb(128 128 128 / 15%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+16
-16
@@ -1,12 +1,12 @@
|
||||
// Variables matching sidebar/dialog styling
|
||||
$panel-bg: #1a1a1a;
|
||||
$text-primary: rgb(255, 255, 255, 95%);
|
||||
$text-secondary: rgb(255, 255, 255, 60%);
|
||||
$text-muted: rgb(255, 255, 255, 40%);
|
||||
$border-color: rgb(255, 255, 255, 8%);
|
||||
$hover-bg: rgb(255, 255, 255, 8%);
|
||||
$text-primary: rgb(255 255 255 / 95%);
|
||||
$text-secondary: rgb(255 255 255 / 60%);
|
||||
$text-muted: rgb(255 255 255 / 40%);
|
||||
$border-color: rgb(255 255 255 / 8%);
|
||||
$hover-bg: rgb(255 255 255 / 8%);
|
||||
$active-color: #818cf8;
|
||||
$active-bg: rgb(129, 140, 248, 15%);
|
||||
$active-bg: rgb(129 140 248 / 15%);
|
||||
$transition-fast: 150ms ease;
|
||||
$transition-normal: 200ms ease;
|
||||
|
||||
@@ -14,7 +14,7 @@ $transition-normal: 200ms ease;
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 12000;
|
||||
background: rgb(0, 0, 0, 30%);
|
||||
background: rgb(0 0 0 / 30%);
|
||||
animation: fadeIn $transition-normal;
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -32,7 +32,7 @@ $transition-normal: 200ms ease;
|
||||
background: $panel-bg;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 12px 40px rgb(0, 0, 0, 50%);
|
||||
box-shadow: 0 12px 40px rgb(0 0 0 / 50%);
|
||||
animation: slideDown 200ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
overflow: visible;
|
||||
cursor: default;
|
||||
@@ -125,7 +125,7 @@ $transition-normal: 200ms ease;
|
||||
position: relative;
|
||||
width: 40px;
|
||||
height: 22px;
|
||||
background: rgb(255, 255, 255, 15%);
|
||||
background: rgb(255 255 255 / 15%);
|
||||
border: none;
|
||||
border-radius: 11px;
|
||||
cursor: pointer;
|
||||
@@ -149,11 +149,11 @@ $transition-normal: 200ms ease;
|
||||
background: #ffffff;
|
||||
border-radius: 50%;
|
||||
transition: transform 300ms ease;
|
||||
box-shadow: 0 2px 4px rgb(0, 0, 0, 20%);
|
||||
box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: rgb(255, 255, 255, 20%);
|
||||
background: rgb(255 255 255 / 20%);
|
||||
|
||||
&.active {
|
||||
background: #9aa3fa;
|
||||
@@ -166,7 +166,7 @@ $transition-normal: 200ms ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
background: rgb(255, 255, 255, 3%);
|
||||
background: rgb(255 255 255 / 3%);
|
||||
padding: 2px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid $border-color;
|
||||
@@ -174,7 +174,7 @@ $transition-normal: 200ms ease;
|
||||
button {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
background: rgb(255, 255, 255, 5%);
|
||||
background: rgb(255 255 255 / 5%);
|
||||
color: $text-secondary;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
@@ -209,7 +209,7 @@ $transition-normal: 200ms ease;
|
||||
.panel-footer {
|
||||
padding: 12px 16px;
|
||||
border-top: 1px solid $border-color;
|
||||
background: rgb(0, 0, 0, 15%);
|
||||
background: rgb(0 0 0 / 15%);
|
||||
border-radius: 0 0 12px 12px;
|
||||
}
|
||||
|
||||
@@ -220,7 +220,7 @@ $transition-normal: 200ms ease;
|
||||
gap: 8px;
|
||||
width: 100%;
|
||||
padding: 10px 16px;
|
||||
background: rgb(255, 255, 255, 5%);
|
||||
background: rgb(255 255 255 / 5%);
|
||||
border: 1px solid $border-color;
|
||||
border-radius: 8px;
|
||||
color: $text-primary;
|
||||
@@ -231,7 +231,7 @@ $transition-normal: 200ms ease;
|
||||
|
||||
&:hover {
|
||||
background: $hover-bg;
|
||||
border-color: rgb(255, 255, 255, 15%);
|
||||
border-color: rgb(255 255 255 / 15%);
|
||||
}
|
||||
|
||||
&:active {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// Variables
|
||||
$sidebar-width: 320px;
|
||||
$sidebar-bg: #1a1a1a;
|
||||
$text-primary: rgb(255, 255, 255, 95%);
|
||||
$text-secondary: rgb(255, 255, 255, 60%);
|
||||
$text-muted: rgb(255, 255, 255, 40%);
|
||||
$border-color: rgb(255, 255, 255, 8%);
|
||||
$hover-bg: rgb(255, 255, 255, 6%);
|
||||
$active-bg: rgb(99, 102, 241, 15%);
|
||||
$text-primary: rgb(255 255 255 / 95%);
|
||||
$text-secondary: rgb(255 255 255 / 60%);
|
||||
$text-muted: rgb(255 255 255 / 40%);
|
||||
$border-color: rgb(255 255 255 / 8%);
|
||||
$hover-bg: rgb(255 255 255 / 6%);
|
||||
$active-bg: rgb(99 102 241 / 15%);
|
||||
$active-color: #818cf8;
|
||||
$transition-fast: 150ms ease;
|
||||
$transition-normal: 200ms ease;
|
||||
@@ -15,7 +15,7 @@ $transition-normal: 200ms ease;
|
||||
.sidebar-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgb(0, 0, 0, 40%);
|
||||
background: rgb(0 0 0 / 40%);
|
||||
backdrop-filter: blur(1px);
|
||||
z-index: 12000;
|
||||
animation: fadeIn $transition-normal;
|
||||
@@ -36,7 +36,7 @@ $transition-normal: 200ms ease;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: $text-primary;
|
||||
box-shadow: -4px 0 24px rgb(0, 0, 0, 30%);
|
||||
box-shadow: -4px 0 24px rgb(0 0 0 / 30%);
|
||||
animation: slideInRight 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
z-index: 12001;
|
||||
|
||||
@@ -51,7 +51,7 @@ $transition-normal: 200ms ease;
|
||||
align-items: center;
|
||||
padding: 20px 16px;
|
||||
border-bottom: 1px solid $border-color;
|
||||
background: linear-gradient(180deg, rgb(255, 255, 255, 3%) 0%, transparent 100%);
|
||||
background: linear-gradient(180deg, rgb(255 255 255 / 3%) 0%, transparent 100%);
|
||||
}
|
||||
|
||||
.sidebar-title {
|
||||
@@ -65,7 +65,7 @@ $transition-normal: 200ms ease;
|
||||
.tabs {
|
||||
display: flex;
|
||||
border-bottom: 1px solid $border-color;
|
||||
background: rgb(0, 0, 0, 20%);
|
||||
background: rgb(0 0 0 / 20%);
|
||||
}
|
||||
|
||||
.tab {
|
||||
@@ -142,11 +142,11 @@ $transition-normal: 200ms ease;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: rgb(255, 255, 255, 15%);
|
||||
background: rgb(255 255 255 / 15%);
|
||||
border-radius: 3px;
|
||||
|
||||
&:hover {
|
||||
background: rgb(255, 255, 255, 25%);
|
||||
background: rgb(255 255 255 / 25%);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -195,7 +195,7 @@ $transition-normal: 200ms ease;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 12px 16px;
|
||||
background: rgb(0, 0, 0, 20%);
|
||||
background: rgb(0 0 0 / 20%);
|
||||
border-bottom: 1px solid $border-color;
|
||||
|
||||
.search-icon {
|
||||
@@ -223,7 +223,7 @@ $transition-normal: 200ms ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: rgb(255, 255, 255, 10%);
|
||||
background: rgb(255 255 255 / 10%);
|
||||
border: none;
|
||||
border-radius: 50%;
|
||||
color: $text-secondary;
|
||||
@@ -232,7 +232,7 @@ $transition-normal: 200ms ease;
|
||||
flex-shrink: 0;
|
||||
|
||||
&:hover {
|
||||
background: rgb(255, 255, 255, 15%);
|
||||
background: rgb(255 255 255 / 15%);
|
||||
color: $text-primary;
|
||||
}
|
||||
}
|
||||
@@ -303,7 +303,7 @@ $transition-normal: 200ms ease;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: rgb(99, 102, 241, 15%);
|
||||
background: rgb(99 102 241 / 15%);
|
||||
color: $active-color;
|
||||
}
|
||||
}
|
||||
@@ -343,7 +343,7 @@ $transition-normal: 200ms ease;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: rgb(239, 68, 68, 15%);
|
||||
background: rgb(239 68 68 / 15%);
|
||||
color: #ef4444;
|
||||
}
|
||||
}
|
||||
@@ -389,7 +389,7 @@ $transition-normal: 200ms ease;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 12px 16px;
|
||||
background: rgb(0, 0, 0, 20%);
|
||||
background: rgb(0 0 0 / 20%);
|
||||
border-bottom: 1px solid $border-color;
|
||||
|
||||
.search-icon {
|
||||
@@ -417,7 +417,7 @@ $transition-normal: 200ms ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: rgb(255, 255, 255, 10%);
|
||||
background: rgb(255 255 255 / 10%);
|
||||
border: none;
|
||||
border-radius: 50%;
|
||||
color: $text-secondary;
|
||||
@@ -426,7 +426,7 @@ $transition-normal: 200ms ease;
|
||||
flex-shrink: 0;
|
||||
|
||||
&:hover {
|
||||
background: rgb(255, 255, 255, 15%);
|
||||
background: rgb(255 255 255 / 15%);
|
||||
color: $text-primary;
|
||||
}
|
||||
}
|
||||
@@ -440,7 +440,7 @@ $transition-normal: 200ms ease;
|
||||
|
||||
.progress-bar {
|
||||
height: 3px;
|
||||
background: rgb(255, 255, 255, 10%);
|
||||
background: rgb(255 255 255 / 10%);
|
||||
border-radius: 2px;
|
||||
overflow: hidden;
|
||||
|
||||
@@ -470,7 +470,7 @@ $transition-normal: 200ms ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: rgb(255, 255, 255, 8%);
|
||||
background: rgb(255 255 255 / 8%);
|
||||
border: none;
|
||||
border-radius: 50%;
|
||||
color: $text-muted;
|
||||
@@ -479,7 +479,7 @@ $transition-normal: 200ms ease;
|
||||
flex-shrink: 0;
|
||||
|
||||
&:hover {
|
||||
background: rgb(239, 68, 68, 15%);
|
||||
background: rgb(239 68 68 / 15%);
|
||||
color: #ef4444;
|
||||
}
|
||||
}
|
||||
@@ -520,7 +520,7 @@ $transition-normal: 200ms ease;
|
||||
}
|
||||
|
||||
.excerpt-match {
|
||||
background: rgb(255, 255, 0, 25%);
|
||||
background: rgb(255 255 0 / 25%);
|
||||
color: $text-primary;
|
||||
font-weight: 500;
|
||||
padding: 1px 2px;
|
||||
|
||||
+21
-21
@@ -1,12 +1,12 @@
|
||||
// Variables
|
||||
$sidebar-width: 300px;
|
||||
$sidebar-bg: #1a1a1a;
|
||||
$text-primary: rgb(255, 255, 255, 95%);
|
||||
$text-secondary: rgb(255, 255, 255, 60%);
|
||||
$text-muted: rgb(255, 255, 255, 40%);
|
||||
$border-color: rgb(255, 255, 255, 8%);
|
||||
$hover-bg: rgb(255, 255, 255, 6%);
|
||||
$active-bg: rgb(99, 102, 241, 15%);
|
||||
$text-primary: rgb(255 255 255 / 95%);
|
||||
$text-secondary: rgb(255 255 255 / 60%);
|
||||
$text-muted: rgb(255 255 255 / 40%);
|
||||
$border-color: rgb(255 255 255 / 8%);
|
||||
$hover-bg: rgb(255 255 255 / 6%);
|
||||
$active-bg: rgb(99 102 241 / 15%);
|
||||
$active-color: #818cf8;
|
||||
$transition-fast: 150ms ease;
|
||||
$transition-normal: 200ms ease;
|
||||
@@ -15,7 +15,7 @@ $transition-normal: 200ms ease;
|
||||
.sidebar-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgb(0, 0, 0, 40%);
|
||||
background: rgb(0 0 0 / 40%);
|
||||
backdrop-filter: blur(2px);
|
||||
z-index: 12000;
|
||||
animation: fadeIn $transition-normal;
|
||||
@@ -36,7 +36,7 @@ $transition-normal: 200ms ease;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: $text-primary;
|
||||
box-shadow: 4px 0 24px rgb(0, 0, 0, 30%);
|
||||
box-shadow: 4px 0 24px rgb(0 0 0 / 30%);
|
||||
animation: slideIn 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
z-index: 12001;
|
||||
|
||||
@@ -51,7 +51,7 @@ $transition-normal: 200ms ease;
|
||||
gap: 14px;
|
||||
padding: 20px 16px;
|
||||
border-bottom: 1px solid $border-color;
|
||||
background: linear-gradient(180deg, rgb(255, 255, 255, 3%) 0%, transparent 100%);
|
||||
background: linear-gradient(180deg, rgb(255 255 255 / 3%) 0%, transparent 100%);
|
||||
}
|
||||
|
||||
.book-cover {
|
||||
@@ -59,14 +59,14 @@ $transition-normal: 200ms ease;
|
||||
height: 90px;
|
||||
object-fit: cover;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 4px 12px rgb(0, 0, 0, 30%);
|
||||
box-shadow: 0 4px 12px rgb(0 0 0 / 30%);
|
||||
flex-shrink: 0;
|
||||
cursor: pointer;
|
||||
transition: transform $transition-fast, box-shadow $transition-fast;
|
||||
|
||||
&:hover {
|
||||
transform: scale(1.03);
|
||||
box-shadow: 0 6px 16px rgb(0, 0, 0, 40%);
|
||||
box-shadow: 0 6px 16px rgb(0 0 0 / 40%);
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
@@ -108,7 +108,7 @@ $transition-normal: 200ms ease;
|
||||
.tabs {
|
||||
display: flex;
|
||||
border-bottom: 1px solid $border-color;
|
||||
background: rgb(0, 0, 0, 20%);
|
||||
background: rgb(0 0 0 / 20%);
|
||||
}
|
||||
|
||||
.tab {
|
||||
@@ -185,11 +185,11 @@ $transition-normal: 200ms ease;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: rgb(255, 255, 255, 15%);
|
||||
background: rgb(255 255 255 / 15%);
|
||||
border-radius: 3px;
|
||||
|
||||
&:hover {
|
||||
background: rgb(255, 255, 255, 25%);
|
||||
background: rgb(255 255 255 / 25%);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -367,12 +367,12 @@ $transition-normal: 200ms ease;
|
||||
}
|
||||
|
||||
.edit-btn:hover {
|
||||
background: rgb(99, 102, 241, 15%);
|
||||
background: rgb(99 102 241 / 15%);
|
||||
color: $active-color;
|
||||
}
|
||||
|
||||
.delete-btn:hover {
|
||||
background: rgb(239, 68, 68, 15%);
|
||||
background: rgb(239 68 68 / 15%);
|
||||
color: #ef4444;
|
||||
}
|
||||
|
||||
@@ -417,7 +417,7 @@ $transition-normal: 200ms ease;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 12px 16px;
|
||||
background: rgb(0, 0, 0, 20%);
|
||||
background: rgb(0 0 0 / 20%);
|
||||
border-bottom: 1px solid $border-color;
|
||||
|
||||
.search-icon {
|
||||
@@ -445,7 +445,7 @@ $transition-normal: 200ms ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: rgb(255, 255, 255, 10%);
|
||||
background: rgb(255 255 255 / 10%);
|
||||
border: none;
|
||||
border-radius: 50%;
|
||||
color: $text-secondary;
|
||||
@@ -454,7 +454,7 @@ $transition-normal: 200ms ease;
|
||||
flex-shrink: 0;
|
||||
|
||||
&:hover {
|
||||
background: rgb(255, 255, 255, 15%);
|
||||
background: rgb(255 255 255 / 15%);
|
||||
color: $text-primary;
|
||||
}
|
||||
}
|
||||
@@ -468,7 +468,7 @@ $transition-normal: 200ms ease;
|
||||
|
||||
.progress-bar {
|
||||
height: 3px;
|
||||
background: rgb(255, 255, 255, 10%);
|
||||
background: rgb(255 255 255 / 10%);
|
||||
border-radius: 2px;
|
||||
overflow: hidden;
|
||||
|
||||
@@ -522,7 +522,7 @@ $transition-normal: 200ms ease;
|
||||
}
|
||||
|
||||
.excerpt-match {
|
||||
background: rgb(255, 255, 0, 25%);
|
||||
background: rgb(255 255 0 / 25%);
|
||||
color: $text-primary;
|
||||
font-weight: 500;
|
||||
padding: 1px 2px;
|
||||
|
||||
+17
-17
@@ -12,9 +12,9 @@
|
||||
gap: 4px;
|
||||
padding: 6px 8px;
|
||||
background: linear-gradient(180deg, #2d3139 0%, #252830 100%);
|
||||
border: 1px solid rgb(255, 255, 255, 8%);
|
||||
border: 1px solid rgb(255 255 255 / 8%);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 16px rgb(0, 0, 0, 30%), 0 0 1px rgb(0, 0, 0, 20%);
|
||||
box-shadow: 0 4px 16px rgb(0 0 0 / 30%), 0 0 1px rgb(0 0 0 / 20%);
|
||||
z-index: 99999;
|
||||
transform: translateX(-50%);
|
||||
animation: popupFadeIn 0.15s ease-out;
|
||||
@@ -57,17 +57,17 @@
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
color: rgb(255, 255, 255, 80%);
|
||||
color: rgb(255 255 255 / 80%);
|
||||
cursor: pointer;
|
||||
transition: all 0.15s ease;
|
||||
|
||||
&:hover {
|
||||
background: rgb(255, 255, 255, 10%);
|
||||
background: rgb(255 255 255 / 10%);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
&.active {
|
||||
background: rgb(255, 255, 255, 12%);
|
||||
background: rgb(255 255 255 / 12%);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
|
||||
.delete-btn {
|
||||
&:hover {
|
||||
background: rgb(239, 68, 68, 15%);
|
||||
background: rgb(239 68 68 / 15%);
|
||||
color: #ef4444;
|
||||
}
|
||||
}
|
||||
@@ -95,7 +95,7 @@
|
||||
.divider {
|
||||
width: 1px;
|
||||
height: 20px;
|
||||
background: rgb(255, 255, 255, 10%);
|
||||
background: rgb(255 255 255 / 10%);
|
||||
margin: 0 2px;
|
||||
}
|
||||
|
||||
@@ -109,9 +109,9 @@
|
||||
transform: translateX(-50%);
|
||||
padding: 8px;
|
||||
background: linear-gradient(180deg, #2d3139 0%, #252830 100%);
|
||||
border: 1px solid rgb(255, 255, 255, 8%);
|
||||
border: 1px solid rgb(255 255 255 / 8%);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 8px 24px rgb(0, 0, 0, 35%);
|
||||
box-shadow: 0 8px 24px rgb(0 0 0 / 35%);
|
||||
z-index: 100000;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -159,10 +159,10 @@
|
||||
width: 32px;
|
||||
height: 28px;
|
||||
padding: 0;
|
||||
border: 1px solid rgb(255, 255, 255, 10%);
|
||||
border: 1px solid rgb(255 255 255 / 10%);
|
||||
border-radius: 4px;
|
||||
background: rgb(255, 255, 255, 3%);
|
||||
color: rgb(255, 255, 255, 70%);
|
||||
background: rgb(255 255 255 / 3%);
|
||||
color: rgb(255 255 255 / 70%);
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
@@ -173,7 +173,7 @@
|
||||
}
|
||||
|
||||
&.highlight-style .style-text {
|
||||
background: linear-gradient(180deg, rgb(255, 255, 0, 40%) 60%, transparent 60%);
|
||||
background: linear-gradient(180deg, rgb(255 255 0 / 40%) 60%, transparent 60%);
|
||||
}
|
||||
|
||||
&.underline-style .style-text {
|
||||
@@ -190,14 +190,14 @@
|
||||
}
|
||||
|
||||
&:hover {
|
||||
border-color: rgb(255, 255, 255, 20%);
|
||||
background: rgb(255, 255, 255, 8%);
|
||||
border-color: rgb(255 255 255 / 20%);
|
||||
background: rgb(255 255 255 / 8%);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
&.selected {
|
||||
border-color: #3b82f6;
|
||||
background: rgb(59, 130, 246, 15%);
|
||||
background: rgb(59 130 246 / 15%);
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
@@ -224,7 +224,7 @@
|
||||
|
||||
&.selected {
|
||||
border-color: #fff;
|
||||
box-shadow: 0 0 0 2px rgb(59, 130, 246, 50%);
|
||||
box-shadow: 0 0 0 2px rgb(59 130 246 / 50%);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user