Deleted CSS for the auto theme toggle indicator. This cleans up unused or unnecessary styling related to the #theme-toggle element with 'Auto' in its title.
1045 lines
21 KiB
CSS
1045 lines
21 KiB
CSS
/* CSS Variables for theming */
|
|
:root {
|
|
--primary-color: #2563eb;
|
|
--primary-hover: #1d4ed8;
|
|
--secondary-color: #64748b;
|
|
--secondary-hover: #475569;
|
|
--success-color: #059669;
|
|
--danger-color: #dc2626;
|
|
--danger-hover: #b91c1c;
|
|
|
|
/* Light theme */
|
|
--bg-primary: #ffffff;
|
|
--bg-secondary: #f8fafc;
|
|
--bg-tertiary: #f1f5f9;
|
|
--text-primary: #0f172a;
|
|
--text-secondary: #64748b;
|
|
--text-muted: #94a3b8;
|
|
--border-color: #e2e8f0;
|
|
--border-hover: #cbd5e1;
|
|
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
|
|
0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
}
|
|
|
|
/* Dark theme */
|
|
[data-theme="dark"] {
|
|
--bg-primary: #0f172a;
|
|
--bg-secondary: #1e293b;
|
|
--bg-tertiary: #334155;
|
|
--text-primary: #f8fafc;
|
|
--text-secondary: #cbd5e1;
|
|
--text-muted: #94a3b8;
|
|
--border-color: #334155;
|
|
--border-hover: #475569;
|
|
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
|
|
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
|
|
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3),
|
|
0 4px 6px -4px rgb(0 0 0 / 0.3);
|
|
}
|
|
|
|
[data-theme="dark"] body {
|
|
background: radial-gradient(
|
|
ellipse at top left,
|
|
rgba(59, 130, 246, 0.15) 0%,
|
|
transparent 50%
|
|
),
|
|
radial-gradient(
|
|
ellipse at top right,
|
|
rgba(168, 85, 247, 0.15) 0%,
|
|
transparent 50%
|
|
),
|
|
radial-gradient(
|
|
ellipse at bottom left,
|
|
rgba(34, 197, 94, 0.15) 0%,
|
|
transparent 50%
|
|
),
|
|
radial-gradient(
|
|
ellipse at bottom right,
|
|
rgba(239, 68, 68, 0.15) 0%,
|
|
transparent 50%
|
|
),
|
|
linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
|
|
}
|
|
|
|
[data-theme="dark"] body::before {
|
|
background: radial-gradient(
|
|
circle at 20% 80%,
|
|
rgba(59, 130, 246, 0.2) 0%,
|
|
transparent 50%
|
|
),
|
|
radial-gradient(
|
|
circle at 80% 20%,
|
|
rgba(168, 85, 247, 0.2) 0%,
|
|
transparent 50%
|
|
);
|
|
}
|
|
|
|
[data-theme="dark"] .card {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
[data-theme="dark"] .card:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
[data-theme="dark"] #theme-toggle {
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
[data-theme="dark"] #theme-toggle:hover {
|
|
background: rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
"Helvetica Neue", Arial, sans-serif;
|
|
background: radial-gradient(
|
|
ellipse at top left,
|
|
rgba(120, 119, 198, 0.3) 0%,
|
|
transparent 50%
|
|
),
|
|
radial-gradient(
|
|
ellipse at top right,
|
|
rgba(255, 105, 180, 0.3) 0%,
|
|
transparent 50%
|
|
),
|
|
radial-gradient(
|
|
ellipse at bottom left,
|
|
rgba(255, 165, 0, 0.3) 0%,
|
|
transparent 50%
|
|
),
|
|
radial-gradient(
|
|
ellipse at bottom right,
|
|
rgba(0, 255, 255, 0.3) 0%,
|
|
transparent 50%
|
|
),
|
|
linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
|
|
color: var(--text-primary);
|
|
min-height: 100vh;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Animated background orbs for enhanced glass effect */
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: radial-gradient(
|
|
circle at 20% 80%,
|
|
rgba(120, 119, 198, 0.4) 0%,
|
|
transparent 50%
|
|
),
|
|
radial-gradient(
|
|
circle at 80% 20%,
|
|
rgba(255, 105, 180, 0.4) 0%,
|
|
transparent 50%
|
|
);
|
|
animation: float 20s ease-in-out infinite;
|
|
z-index: -1;
|
|
}
|
|
|
|
@keyframes float {
|
|
0%,
|
|
100% {
|
|
transform: translateY(0px) rotate(0deg);
|
|
}
|
|
33% {
|
|
transform: translateY(-30px) rotate(120deg);
|
|
}
|
|
66% {
|
|
transform: translateY(30px) rotate(240deg);
|
|
}
|
|
}
|
|
|
|
.theme-toggle {
|
|
position: fixed;
|
|
top: 20px;
|
|
right: 20px;
|
|
z-index: 1000;
|
|
}
|
|
|
|
#theme-toggle {
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(255, 255, 255, 0.2) 0%,
|
|
rgba(255, 255, 255, 0.1) 50%,
|
|
rgba(255, 255, 255, 0.2) 100%
|
|
);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(255, 255, 255, 0.25);
|
|
border-radius: 50%;
|
|
width: 50px;
|
|
height: 50px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15),
|
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.3),
|
|
inset 0 -1px 0 0 rgba(0, 0, 0, 0.1);
|
|
color: var(--text-primary);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#theme-toggle:hover {
|
|
transform: scale(1.08) rotate(15deg);
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(255, 255, 255, 0.3) 0%,
|
|
rgba(255, 255, 255, 0.2) 50%,
|
|
rgba(255, 255, 255, 0.3) 100%
|
|
);
|
|
border-color: rgba(255, 255, 255, 0.4);
|
|
box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.2),
|
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.4),
|
|
inset 0 -1px 0 0 rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
#theme-toggle:active {
|
|
transform: scale(1.05) rotate(0deg);
|
|
transition: all 0.1s ease;
|
|
}
|
|
|
|
#theme-toggle:hover::after {
|
|
left: 150%;
|
|
}
|
|
|
|
#theme-toggle::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: -150%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
90deg,
|
|
rgba(255, 255, 255, 0) 0%,
|
|
rgba(255, 255, 255, 0.5) 20%,
|
|
rgba(255, 255, 255, 0.7) 50%,
|
|
rgba(255, 255, 255, 0.5) 80%,
|
|
rgba(255, 255, 255, 0) 100%
|
|
);
|
|
transform: skewX(-25deg);
|
|
transition: left 0.75s ease-out;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
padding: 2rem;
|
|
padding-top: 4rem;
|
|
}
|
|
|
|
.header {
|
|
text-align: center;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.header h1 {
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin-bottom: 0.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.header h1 i {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 1.1rem;
|
|
color: var(--text-secondary);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.subtitle a {
|
|
color: var(--primary-color);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.subtitle a:hover {
|
|
color: var(--primary-hover);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.card {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
backdrop-filter: blur(15px);
|
|
-webkit-backdrop-filter: blur(15px);
|
|
border-radius: 20px;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
|
|
margin-bottom: 2rem;
|
|
overflow: hidden;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.card::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 1px;
|
|
background: linear-gradient(
|
|
90deg,
|
|
transparent,
|
|
rgba(255, 255, 255, 0.4),
|
|
transparent
|
|
);
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-5px);
|
|
background: rgba(255, 255, 255, 0.15);
|
|
box-shadow: 0 15px 45px 0 rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.card-header {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
padding: 1.5rem;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
position: relative;
|
|
}
|
|
|
|
.card-header::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 1px;
|
|
background: linear-gradient(
|
|
90deg,
|
|
transparent,
|
|
rgba(255, 255, 255, 0.3),
|
|
transparent
|
|
);
|
|
}
|
|
|
|
.card-header h2 {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.card-header h2 i {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.card-content {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.output-actions {
|
|
display: flex;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 12px 24px;
|
|
border: none;
|
|
border-radius: 12px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
text-decoration: none;
|
|
min-width: 120px;
|
|
justify-content: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.12),
|
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
|
|
inset 0 -1px 0 0 rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* Enhanced liquid shine effect */
|
|
.btn::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
90deg,
|
|
rgba(255, 255, 255, 0) 0%,
|
|
rgba(255, 255, 255, 0.4) 20%,
|
|
rgba(255, 255, 255, 0.6) 50%,
|
|
rgba(255, 255, 255, 0.4) 80%,
|
|
rgba(255, 255, 255, 0) 100%
|
|
);
|
|
transform: skewX(-25deg);
|
|
transition: left 0.6s ease-out;
|
|
z-index: 1;
|
|
}
|
|
|
|
.btn::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
border-radius: 12px;
|
|
background: inherit;
|
|
filter: blur(0.5px);
|
|
z-index: -1;
|
|
}
|
|
|
|
.btn:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
.btn:active {
|
|
transform: translateY(1px) scale(0.98);
|
|
transition: all 0.1s ease;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(37, 99, 235, 0.9) 0%,
|
|
rgba(29, 78, 216, 0.8) 50%,
|
|
rgba(37, 99, 235, 0.9) 100%
|
|
);
|
|
border: 1px solid rgba(59, 130, 246, 0.4);
|
|
color: white;
|
|
box-shadow: 0 8px 32px 0 rgba(37, 99, 235, 0.4),
|
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.3),
|
|
inset 0 -1px 0 0 rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(29, 78, 216, 0.95) 0%,
|
|
rgba(30, 64, 175, 0.9) 50%,
|
|
rgba(29, 78, 216, 0.95) 100%
|
|
);
|
|
transform: translateY(-3px) scale(1.02);
|
|
box-shadow: 0 15px 45px 0 rgba(37, 99, 235, 0.5),
|
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.4),
|
|
inset 0 -1px 0 0 rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(255, 255, 255, 0.15) 0%,
|
|
rgba(255, 255, 255, 0.1) 50%,
|
|
rgba(255, 255, 255, 0.15) 100%
|
|
);
|
|
border: 1px solid rgba(255, 255, 255, 0.25);
|
|
color: var(--text-primary);
|
|
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08),
|
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.25),
|
|
inset 0 -1px 0 0 rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(255, 255, 255, 0.2) 0%,
|
|
rgba(255, 255, 255, 0.15) 50%,
|
|
rgba(255, 255, 255, 0.2) 100%
|
|
);
|
|
transform: translateY(-3px) scale(1.02);
|
|
border-color: rgba(255, 255, 255, 0.35);
|
|
box-shadow: 0 15px 45px 0 rgba(0, 0, 0, 0.12),
|
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.35),
|
|
inset 0 -1px 0 0 rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.btn-success {
|
|
background: linear-gradient(
|
|
135deg,
|
|
var(--success-color) 0%,
|
|
#047857 100%
|
|
) !important;
|
|
color: white !important;
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
margin-top: 2rem;
|
|
padding: 1.5rem;
|
|
text-align: center;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 16px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.footer::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
90deg,
|
|
transparent,
|
|
rgba(255, 255, 255, 0.1),
|
|
transparent
|
|
);
|
|
animation: shine 3s infinite;
|
|
}
|
|
|
|
.footer p {
|
|
margin: 0;
|
|
font-size: 0.9rem;
|
|
color: var(--text-secondary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.footer a {
|
|
color: var(--primary-color);
|
|
text-decoration: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.footer a:hover {
|
|
color: var(--primary-color-hover);
|
|
}
|
|
|
|
.footer i {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
/* Info Banner Styles */
|
|
.info-banner {
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(59, 130, 246, 0.1) 0%,
|
|
rgba(168, 85, 247, 0.1) 100%
|
|
);
|
|
border: 2px solid rgba(59, 130, 246, 0.3);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.info-banner .card-header {
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(59, 130, 246, 0.2) 0%,
|
|
rgba(168, 85, 247, 0.2) 100%
|
|
);
|
|
border-bottom: 1px solid rgba(59, 130, 246, 0.3);
|
|
}
|
|
|
|
.info-banner .card-header h2 {
|
|
color: var(--primary-color);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.info-content {
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.info-content p {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.info-content p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.info-content ul {
|
|
margin: 1rem 0;
|
|
padding-left: 2rem;
|
|
}
|
|
|
|
.info-content li {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.info-content code {
|
|
background: rgba(59, 130, 246, 0.1);
|
|
padding: 0.2rem 0.4rem;
|
|
border-radius: 4px;
|
|
font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
|
|
font-size: 0.875em;
|
|
color: var(--primary-color);
|
|
border: 1px solid rgba(59, 130, 246, 0.2);
|
|
}
|
|
|
|
.info-content a {
|
|
color: var(--primary-color);
|
|
text-decoration: none;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.info-content a:hover {
|
|
color: var(--primary-hover);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
[data-theme="dark"] .info-banner {
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(59, 130, 246, 0.15) 0%,
|
|
rgba(168, 85, 247, 0.15) 100%
|
|
);
|
|
border-color: rgba(59, 130, 246, 0.4);
|
|
}
|
|
|
|
[data-theme="dark"] .info-banner .card-header {
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(59, 130, 246, 0.25) 0%,
|
|
rgba(168, 85, 247, 0.25) 100%
|
|
);
|
|
border-bottom-color: rgba(59, 130, 246, 0.4);
|
|
}
|
|
|
|
[data-theme="dark"] .info-content code {
|
|
background: rgba(59, 130, 246, 0.2);
|
|
border-color: rgba(59, 130, 246, 0.3);
|
|
color: #93c5fd;
|
|
}
|
|
|
|
/* Additional styles for optimized info banner content */
|
|
.info-content h3 {
|
|
margin: 1.5rem 0 1rem 0;
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.info-content h3 i {
|
|
color: var(--primary-color);
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.info-content .example {
|
|
display: inline-block;
|
|
margin-left: 0.5rem;
|
|
font-style: italic;
|
|
color: var(--text-muted);
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
/* Responsive adjustments for info banner */
|
|
@media (max-width: 768px) {
|
|
.info-content ul {
|
|
padding-left: 1.5rem;
|
|
}
|
|
|
|
.info-content code {
|
|
font-size: 0.8em;
|
|
}
|
|
}
|
|
|
|
/* Responsive design */
|
|
@media (max-width: 768px) {
|
|
.container {
|
|
padding: 1rem;
|
|
padding-top: 3rem;
|
|
}
|
|
|
|
.header h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.btn {
|
|
min-width: 100px;
|
|
padding: 10px 20px;
|
|
}
|
|
|
|
#theme-toggle {
|
|
width: 45px;
|
|
height: 45px;
|
|
}
|
|
}
|
|
|
|
/* Scrollbar styling */
|
|
.search-results::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.search-results::-webkit-scrollbar-track {
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.search-results::-webkit-scrollbar-thumb {
|
|
background: var(--border-color);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.search-results::-webkit-scrollbar-thumb:hover {
|
|
background: var(--border-hover);
|
|
}
|
|
|
|
/* Animation for theme transition */
|
|
* {
|
|
transition: background-color 0.3s ease, color 0.3s ease,
|
|
border-color 0.3s ease;
|
|
}
|
|
|
|
.services-controls {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.search-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.search-container {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
.search-input-wrapper {
|
|
position: relative;
|
|
flex: 1;
|
|
}
|
|
|
|
.search-icon {
|
|
position: absolute;
|
|
left: 12px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
#search-input {
|
|
width: 100%;
|
|
padding: 12px 16px 12px 40px;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 12px;
|
|
font-size: 16px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
color: var(--text-primary);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
#search-input:focus {
|
|
outline: none;
|
|
border-color: rgba(37, 99, 235, 0.5);
|
|
background: rgba(255, 255, 255, 0.15);
|
|
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1), 0 8px 32px 0 rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
#search-input::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.services-count {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.services-count i {
|
|
color: var(--success-color);
|
|
}
|
|
|
|
.search-results {
|
|
position: relative;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
backdrop-filter: blur(15px);
|
|
-webkit-backdrop-filter: blur(15px);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 12px;
|
|
margin-top: 0.5rem;
|
|
max-height: 250px;
|
|
overflow-y: auto;
|
|
display: none;
|
|
z-index: 10;
|
|
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.search-results.show {
|
|
display: block;
|
|
animation: slideDown 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes slideDown {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.search-result-item {
|
|
padding: 12px 16px;
|
|
cursor: pointer;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
transition: all 0.2s ease;
|
|
color: var(--text-primary);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.search-result-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.search-result-item:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
transform: translateX(5px);
|
|
}
|
|
|
|
.search-result-item:hover::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
|
|
pointer-events: none;
|
|
}
|
|
|
|
#selected-services {
|
|
min-height: 120px;
|
|
}
|
|
|
|
.no-services {
|
|
text-align: center;
|
|
padding: 3rem 2rem;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: 2px dashed rgba(255, 255, 255, 0.2);
|
|
border-radius: 16px;
|
|
color: var(--text-muted);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.no-services::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: radial-gradient(
|
|
circle at 30% 40%,
|
|
rgba(255, 255, 255, 0.1) 0%,
|
|
transparent 50%
|
|
),
|
|
radial-gradient(
|
|
circle at 70% 60%,
|
|
rgba(255, 255, 255, 0.05) 0%,
|
|
transparent 50%
|
|
);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.no-services i {
|
|
font-size: 2rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.no-services p {
|
|
font-size: 1.1rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.no-services small {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.selected-service-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 16px;
|
|
margin-bottom: 0.75rem;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
border-radius: 12px;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.selected-service-item::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
90deg,
|
|
rgba(255, 255, 255, 0) 0%,
|
|
rgba(255, 255, 255, 0.1) 50%,
|
|
rgba(255, 255, 255, 0) 100%
|
|
);
|
|
transition: left 0.5s ease;
|
|
}
|
|
|
|
.selected-service-item:hover {
|
|
transform: translateX(4px);
|
|
background: rgba(255, 255, 255, 0.12);
|
|
border-color: rgba(255, 255, 255, 0.25);
|
|
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.selected-service-item:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
.selected-service-item .service-name {
|
|
font-weight: 500;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.delete-button {
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(220, 38, 38, 0.9) 0%,
|
|
rgba(185, 28, 28, 0.8) 50%,
|
|
rgba(220, 38, 38, 0.9) 100%
|
|
);
|
|
border: 1px solid rgba(248, 113, 113, 0.4);
|
|
color: white;
|
|
border-radius: 10px;
|
|
padding: 8px 14px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
backdrop-filter: blur(15px);
|
|
-webkit-backdrop-filter: blur(15px);
|
|
position: relative;
|
|
overflow: hidden;
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
|
box-shadow: 0 6px 24px 0 rgba(220, 38, 38, 0.4),
|
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
|
|
inset 0 -1px 0 0 rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.delete-button::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
90deg,
|
|
rgba(255, 255, 255, 0) 0%,
|
|
rgba(255, 255, 255, 0.3) 20%,
|
|
rgba(255, 255, 255, 0.5) 50%,
|
|
rgba(255, 255, 255, 0.3) 80%,
|
|
rgba(255, 255, 255, 0) 100%
|
|
);
|
|
transform: skewX(-25deg);
|
|
transition: left 0.5s ease-out;
|
|
z-index: 1;
|
|
}
|
|
|
|
.delete-button::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
border-radius: 10px;
|
|
background: inherit;
|
|
filter: blur(0.5px);
|
|
z-index: -1;
|
|
}
|
|
|
|
.delete-button:hover {
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(185, 28, 28, 0.95) 0%,
|
|
rgba(153, 27, 27, 0.9) 50%,
|
|
rgba(185, 28, 28, 0.95) 100%
|
|
);
|
|
transform: scale(1.08) translateY(-1px);
|
|
border-color: rgba(248, 113, 113, 0.6);
|
|
box-shadow: 0 10px 32px 0 rgba(220, 38, 38, 0.5),
|
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.3),
|
|
inset 0 -1px 0 0 rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.delete-button:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
.delete-button:active {
|
|
transform: scale(1.05) translateY(0px);
|
|
transition: all 0.1s ease;
|
|
}
|