CI / Generate TypeScript types (push) Successful in 19s
CI / Server unit tests (push) Successful in 22s
CI / Build server (push) Has been cancelled
CI / Build client (push) Has been cancelled
CI / Playwright E2E tests (push) Has been cancelled
CI / Build and push Docker image (push) Has been cancelled
CI / Notify (push) Has been cancelled
142 lines
2.9 KiB
SCSS
142 lines
2.9 KiB
SCSS
.hue-picker-dropdown {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.dropdown-toggle {
|
|
background: transparent !important;
|
|
border: none !important;
|
|
color: var(--luncher-navbar-text) !important;
|
|
padding: 8px 12px;
|
|
font-size: 1.1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
border-radius: var(--luncher-radius-sm);
|
|
transition: var(--luncher-transition);
|
|
|
|
&::after {
|
|
display: none;
|
|
}
|
|
|
|
&:hover {
|
|
background: rgba(255, 255, 255, 0.1) !important;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
&:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3) !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.hue-picker-panel {
|
|
padding: 0 !important;
|
|
min-width: 240px;
|
|
|
|
.hue-picker-inner {
|
|
padding: 14px 16px;
|
|
}
|
|
|
|
.hue-picker-label {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--luncher-text-secondary);
|
|
margin-bottom: 12px;
|
|
}
|
|
}
|
|
|
|
.hue-slider {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 100%;
|
|
height: 12px;
|
|
border-radius: 6px;
|
|
background: linear-gradient(
|
|
to right,
|
|
hsl(0 70% 50%), hsl(30 70% 50%), hsl(60 70% 50%), hsl(90 70% 50%),
|
|
hsl(120 70% 50%), hsl(150 70% 50%), hsl(180 70% 50%), hsl(210 70% 50%),
|
|
hsl(240 70% 50%), hsl(270 70% 50%), hsl(300 70% 50%), hsl(330 70% 50%), hsl(360 70% 50%)
|
|
);
|
|
outline: none;
|
|
cursor: pointer;
|
|
margin-bottom: 14px;
|
|
|
|
&::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 50%;
|
|
background: white;
|
|
border: 2px solid rgba(0, 0, 0, 0.25);
|
|
cursor: pointer;
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
|
|
transition: transform 0.15s ease;
|
|
|
|
&:hover {
|
|
transform: scale(1.15);
|
|
}
|
|
}
|
|
|
|
&::-moz-range-thumb {
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 50%;
|
|
background: white;
|
|
border: 2px solid rgba(0, 0, 0, 0.25);
|
|
cursor: pointer;
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
|
|
}
|
|
}
|
|
|
|
.hue-presets {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 14px;
|
|
|
|
.hue-swatch {
|
|
width: 26px;
|
|
height: 26px;
|
|
border-radius: 50%;
|
|
border: 2px solid transparent;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
transition: transform 0.15s ease, border-color 0.15s ease;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
|
|
|
&:hover {
|
|
transform: scale(1.15);
|
|
}
|
|
|
|
&.active {
|
|
border-color: var(--luncher-text);
|
|
transform: scale(1.1);
|
|
}
|
|
}
|
|
}
|
|
|
|
.hue-preview {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding-top: 4px;
|
|
border-top: 1px solid var(--luncher-border);
|
|
|
|
.hue-preview-chip {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: var(--luncher-radius-sm);
|
|
flex-shrink: 0;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
|
transition: background 0.2s ease;
|
|
}
|
|
|
|
span {
|
|
font-size: 0.8rem;
|
|
color: var(--luncher-text-secondary);
|
|
}
|
|
}
|