793 lines
15 KiB
CSS
793 lines
15 KiB
CSS
|
|
:root {
|
||
|
|
--primary: #0a8fb5;
|
||
|
|
--primary-strong: #0d7697;
|
||
|
|
--secondary: #22d3ee;
|
||
|
|
--cta: #16a34a;
|
||
|
|
--bg: #f3f8fc;
|
||
|
|
--bg-mesh-a: rgba(34, 211, 238, 0.22);
|
||
|
|
--bg-mesh-b: rgba(14, 165, 233, 0.18);
|
||
|
|
--surface: rgba(255, 255, 255, 0.78);
|
||
|
|
--surface-strong: #ffffff;
|
||
|
|
--card: #ffffff;
|
||
|
|
--text: #0f2f3d;
|
||
|
|
--muted: #4b6674;
|
||
|
|
--line: rgba(18, 117, 150, 0.2);
|
||
|
|
--line-strong: rgba(18, 117, 150, 0.34);
|
||
|
|
--focus: #0ea5e9;
|
||
|
|
--ease-standard: cubic-bezier(0.2, 0, 0, 1);
|
||
|
|
--duration-fast: 160ms;
|
||
|
|
--duration-normal: 240ms;
|
||
|
|
--shadow-soft: 0 12px 34px rgba(12, 66, 92, 0.12);
|
||
|
|
--shadow-lift: 0 16px 40px rgba(12, 66, 92, 0.18);
|
||
|
|
--glass-blur: 14px;
|
||
|
|
--radius-lg: 18px;
|
||
|
|
--radius-md: 12px;
|
||
|
|
--radius-sm: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
* {
|
||
|
|
box-sizing: border-box;
|
||
|
|
}
|
||
|
|
|
||
|
|
html,
|
||
|
|
body {
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
background: var(--bg);
|
||
|
|
color: var(--text);
|
||
|
|
font-family: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
|
||
|
|
line-height: 1.5;
|
||
|
|
}
|
||
|
|
|
||
|
|
html {
|
||
|
|
scroll-behavior: smooth;
|
||
|
|
}
|
||
|
|
|
||
|
|
body {
|
||
|
|
min-height: 100vh;
|
||
|
|
position: relative;
|
||
|
|
overflow-x: hidden;
|
||
|
|
background:
|
||
|
|
radial-gradient(460px 260px at 0% 8%, var(--bg-mesh-a), transparent 75%),
|
||
|
|
radial-gradient(380px 220px at 98% 4%, var(--bg-mesh-b), transparent 74%),
|
||
|
|
linear-gradient(180deg, #f7fcff 0%, var(--bg) 100%);
|
||
|
|
}
|
||
|
|
|
||
|
|
a {
|
||
|
|
color: inherit;
|
||
|
|
text-decoration: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
button,
|
||
|
|
input,
|
||
|
|
select {
|
||
|
|
font: inherit;
|
||
|
|
color: inherit;
|
||
|
|
}
|
||
|
|
|
||
|
|
.container {
|
||
|
|
width: min(1200px, calc(100% - 32px));
|
||
|
|
margin: 0 auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.header-wrap {
|
||
|
|
position: sticky;
|
||
|
|
top: 0;
|
||
|
|
z-index: 10;
|
||
|
|
width: 100%;
|
||
|
|
border-bottom: 1px solid var(--line);
|
||
|
|
background: rgba(255, 255, 255, 0.72);
|
||
|
|
backdrop-filter: blur(var(--glass-blur));
|
||
|
|
transition: box-shadow var(--duration-normal) var(--ease-standard), border-color var(--duration-normal) var(--ease-standard);
|
||
|
|
}
|
||
|
|
|
||
|
|
.header-wrap.is-scrolled {
|
||
|
|
border-bottom-color: var(--line-strong);
|
||
|
|
box-shadow: 0 8px 22px rgba(10, 72, 103, 0.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.header {
|
||
|
|
padding: 12px 0;
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
gap: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.brand {
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 10px;
|
||
|
|
font-family: "Sora", sans-serif;
|
||
|
|
font-weight: 700;
|
||
|
|
letter-spacing: 0.01em;
|
||
|
|
}
|
||
|
|
|
||
|
|
.brand-mark {
|
||
|
|
width: 32px;
|
||
|
|
height: 32px;
|
||
|
|
border-radius: 10px;
|
||
|
|
background: var(--primary);
|
||
|
|
color: #fff;
|
||
|
|
display: grid;
|
||
|
|
place-items: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav {
|
||
|
|
display: flex;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
gap: 10px;
|
||
|
|
color: var(--muted);
|
||
|
|
font-size: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav a,
|
||
|
|
.nav-btn {
|
||
|
|
border-radius: var(--radius-sm);
|
||
|
|
padding: 8px 10px;
|
||
|
|
border: 1px solid rgba(255, 255, 255, 0);
|
||
|
|
background: rgba(255, 255, 255, 0.42);
|
||
|
|
color: inherit;
|
||
|
|
cursor: pointer;
|
||
|
|
transition:
|
||
|
|
background-color var(--duration-fast) var(--ease-standard),
|
||
|
|
color var(--duration-fast) var(--ease-standard),
|
||
|
|
transform var(--duration-fast) var(--ease-standard),
|
||
|
|
border-color var(--duration-fast) var(--ease-standard);
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav a:hover,
|
||
|
|
.nav-btn:hover {
|
||
|
|
background: rgba(233, 249, 255, 0.86);
|
||
|
|
border-color: rgba(20, 143, 179, 0.2);
|
||
|
|
color: var(--text);
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-btn.active {
|
||
|
|
background: rgba(217, 246, 255, 0.9);
|
||
|
|
color: var(--text);
|
||
|
|
border-color: rgba(20, 143, 179, 0.34);
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero {
|
||
|
|
margin-top: 14px;
|
||
|
|
display: block;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-main {
|
||
|
|
border: 1px solid var(--line);
|
||
|
|
border-radius: var(--radius-lg);
|
||
|
|
background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72));
|
||
|
|
backdrop-filter: blur(10px);
|
||
|
|
box-shadow: var(--shadow-soft);
|
||
|
|
padding: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.main-content {
|
||
|
|
animation: content-fade-in 420ms var(--ease-standard) both;
|
||
|
|
}
|
||
|
|
|
||
|
|
h1,
|
||
|
|
h2,
|
||
|
|
h3 {
|
||
|
|
margin: 0;
|
||
|
|
font-family: "Sora", sans-serif;
|
||
|
|
}
|
||
|
|
|
||
|
|
.search-row {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: 1fr auto auto;
|
||
|
|
gap: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.search-box {
|
||
|
|
min-height: 44px;
|
||
|
|
border: 1px solid var(--line);
|
||
|
|
border-radius: var(--radius-md);
|
||
|
|
background: rgba(255, 255, 255, 0.94);
|
||
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
padding: 0 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.search-box input {
|
||
|
|
border: none;
|
||
|
|
outline: none;
|
||
|
|
width: 100%;
|
||
|
|
min-height: 42px;
|
||
|
|
background: transparent;
|
||
|
|
}
|
||
|
|
|
||
|
|
.select,
|
||
|
|
.btn {
|
||
|
|
min-height: 44px;
|
||
|
|
border: 1px solid var(--line);
|
||
|
|
border-radius: var(--radius-md);
|
||
|
|
background: rgba(255, 255, 255, 0.9);
|
||
|
|
padding: 0 12px;
|
||
|
|
box-shadow: 0 2px 8px rgba(13, 88, 124, 0.06);
|
||
|
|
}
|
||
|
|
|
||
|
|
.select {
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn {
|
||
|
|
cursor: pointer;
|
||
|
|
transition:
|
||
|
|
background-color var(--duration-fast) var(--ease-standard),
|
||
|
|
border-color var(--duration-fast) var(--ease-standard),
|
||
|
|
transform var(--duration-fast) var(--ease-standard),
|
||
|
|
box-shadow var(--duration-fast) var(--ease-standard);
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn:hover {
|
||
|
|
background: rgba(241, 252, 255, 0.95);
|
||
|
|
border-color: var(--line-strong);
|
||
|
|
box-shadow: 0 8px 20px rgba(13, 88, 124, 0.12);
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-primary {
|
||
|
|
background: linear-gradient(135deg, var(--primary), #0ea5c8);
|
||
|
|
border-color: var(--primary);
|
||
|
|
color: #fff;
|
||
|
|
box-shadow: 0 12px 24px rgba(10, 143, 181, 0.24);
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-primary:hover {
|
||
|
|
background: linear-gradient(135deg, #0e81a2, #1091b0);
|
||
|
|
border-color: #0e81a2;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hot-keywords {
|
||
|
|
margin-top: 12px;
|
||
|
|
display: flex;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
gap: 8px;
|
||
|
|
align-items: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hot-keywords > span {
|
||
|
|
font-size: 13px;
|
||
|
|
color: var(--muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.chip {
|
||
|
|
border: 1px solid var(--line);
|
||
|
|
background: rgba(255, 255, 255, 0.88);
|
||
|
|
border-radius: 999px;
|
||
|
|
padding: 7px 12px;
|
||
|
|
font-size: 13px;
|
||
|
|
cursor: pointer;
|
||
|
|
transition:
|
||
|
|
background-color var(--duration-fast) var(--ease-standard),
|
||
|
|
border-color var(--duration-fast) var(--ease-standard),
|
||
|
|
transform var(--duration-fast) var(--ease-standard);
|
||
|
|
}
|
||
|
|
|
||
|
|
.chip:hover,
|
||
|
|
.chip.active {
|
||
|
|
background: rgba(217, 246, 255, 0.92);
|
||
|
|
border-color: rgba(18, 117, 150, 0.34);
|
||
|
|
}
|
||
|
|
|
||
|
|
.kpi-grid {
|
||
|
|
margin-top: 10px;
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(2, minmax(120px, 1fr));
|
||
|
|
gap: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.kpi-grid > div {
|
||
|
|
border: 1px solid var(--line);
|
||
|
|
border-radius: var(--radius-md);
|
||
|
|
background: rgba(248, 253, 255, 0.92);
|
||
|
|
padding: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.kpi-grid strong {
|
||
|
|
display: block;
|
||
|
|
font-size: 24px;
|
||
|
|
line-height: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.kpi-grid span {
|
||
|
|
color: var(--muted);
|
||
|
|
font-size: 13px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.tips {
|
||
|
|
margin: 12px 0 0;
|
||
|
|
padding-left: 18px;
|
||
|
|
color: var(--muted);
|
||
|
|
display: grid;
|
||
|
|
gap: 8px;
|
||
|
|
font-size: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.toolbar {
|
||
|
|
margin-top: 0;
|
||
|
|
margin-bottom: 14px;
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
gap: 10px;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.toolbar p {
|
||
|
|
margin: 0;
|
||
|
|
color: var(--muted);
|
||
|
|
font-size: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.tool-grid {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
|
||
|
|
gap: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.tools-layout {
|
||
|
|
margin-top: 14px;
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: 248px minmax(0, 1fr);
|
||
|
|
gap: 14px;
|
||
|
|
align-items: start;
|
||
|
|
}
|
||
|
|
|
||
|
|
.tools-main {
|
||
|
|
min-width: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.category-sidebar {
|
||
|
|
position: sticky;
|
||
|
|
top: 74px;
|
||
|
|
border: 1px solid var(--line);
|
||
|
|
border-radius: var(--radius-lg);
|
||
|
|
background: linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
|
||
|
|
backdrop-filter: blur(12px);
|
||
|
|
box-shadow: var(--shadow-soft);
|
||
|
|
padding: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.sidebar-title {
|
||
|
|
font-size: 18px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.sidebar-tip {
|
||
|
|
margin: 6px 0 12px;
|
||
|
|
color: var(--muted);
|
||
|
|
font-size: 13px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.category-sidebar-list {
|
||
|
|
display: grid;
|
||
|
|
gap: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.category-side-btn {
|
||
|
|
width: 100%;
|
||
|
|
min-height: 42px;
|
||
|
|
border: 1px solid var(--line);
|
||
|
|
border-radius: var(--radius-md);
|
||
|
|
background: rgba(255, 255, 255, 0.86);
|
||
|
|
color: var(--text);
|
||
|
|
padding: 0 10px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
gap: 8px;
|
||
|
|
cursor: pointer;
|
||
|
|
text-align: left;
|
||
|
|
transition:
|
||
|
|
background-color var(--duration-fast) var(--ease-standard),
|
||
|
|
border-color var(--duration-fast) var(--ease-standard),
|
||
|
|
transform var(--duration-fast) var(--ease-standard);
|
||
|
|
}
|
||
|
|
|
||
|
|
.category-side-btn:hover {
|
||
|
|
background: rgba(239, 251, 255, 0.96);
|
||
|
|
border-color: rgba(20, 143, 179, 0.3);
|
||
|
|
}
|
||
|
|
|
||
|
|
.category-side-btn.active {
|
||
|
|
background: linear-gradient(135deg, rgba(214, 247, 255, 0.94), rgba(225, 252, 255, 0.9));
|
||
|
|
border-color: rgba(20, 143, 179, 0.34);
|
||
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
||
|
|
}
|
||
|
|
|
||
|
|
.category-side-btn .label {
|
||
|
|
min-width: 0;
|
||
|
|
overflow: hidden;
|
||
|
|
text-overflow: ellipsis;
|
||
|
|
white-space: nowrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.category-side-btn .count {
|
||
|
|
border: 1px solid rgba(18, 117, 150, 0.22);
|
||
|
|
border-radius: 999px;
|
||
|
|
background: rgba(241, 252, 255, 0.9);
|
||
|
|
color: #0b6d8a;
|
||
|
|
font-size: 12px;
|
||
|
|
line-height: 1;
|
||
|
|
padding: 4px 8px;
|
||
|
|
flex-shrink: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.card {
|
||
|
|
border: 1px solid var(--line);
|
||
|
|
border-radius: var(--radius-lg);
|
||
|
|
background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82));
|
||
|
|
backdrop-filter: blur(12px);
|
||
|
|
box-shadow: var(--shadow-soft);
|
||
|
|
padding: 14px;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 10px;
|
||
|
|
min-height: 280px;
|
||
|
|
opacity: 0;
|
||
|
|
transform: translateY(8px);
|
||
|
|
will-change: transform, opacity;
|
||
|
|
animation: card-enter 380ms var(--ease-standard) both;
|
||
|
|
animation-delay: var(--stagger, 0ms);
|
||
|
|
transition:
|
||
|
|
border-color var(--duration-normal) var(--ease-standard),
|
||
|
|
background-color var(--duration-normal) var(--ease-standard),
|
||
|
|
transform var(--duration-normal) var(--ease-standard),
|
||
|
|
box-shadow var(--duration-normal) var(--ease-standard);
|
||
|
|
}
|
||
|
|
|
||
|
|
.card:hover {
|
||
|
|
border-color: rgba(18, 117, 150, 0.34);
|
||
|
|
background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(246, 252, 255, 0.88));
|
||
|
|
transform: translateY(-2px);
|
||
|
|
box-shadow: var(--shadow-lift);
|
||
|
|
}
|
||
|
|
|
||
|
|
.card-top,
|
||
|
|
.card-foot {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.category {
|
||
|
|
border: 1px solid rgba(21, 128, 110, 0.24);
|
||
|
|
background: rgba(236, 253, 245, 0.9);
|
||
|
|
color: #0f766e;
|
||
|
|
font-size: 12px;
|
||
|
|
border-radius: 999px;
|
||
|
|
padding: 2px 9px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.card h3 {
|
||
|
|
font-size: 18px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.desc {
|
||
|
|
margin: 0;
|
||
|
|
color: var(--muted);
|
||
|
|
font-size: 14px;
|
||
|
|
min-height: 42px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.tags {
|
||
|
|
display: flex;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
gap: 6px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.tag {
|
||
|
|
border: 1px solid rgba(18, 117, 150, 0.2);
|
||
|
|
background: rgba(236, 251, 255, 0.92);
|
||
|
|
color: #0c6f8d;
|
||
|
|
border-radius: 999px;
|
||
|
|
font-size: 12px;
|
||
|
|
padding: 2px 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.meta-list {
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
list-style: none;
|
||
|
|
display: grid;
|
||
|
|
gap: 4px;
|
||
|
|
color: var(--muted);
|
||
|
|
font-size: 13px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.meta-list strong {
|
||
|
|
color: var(--text);
|
||
|
|
}
|
||
|
|
|
||
|
|
.card-foot {
|
||
|
|
margin-top: auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.download-num {
|
||
|
|
color: var(--muted);
|
||
|
|
font-size: 13px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.actions {
|
||
|
|
display: flex;
|
||
|
|
gap: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-small {
|
||
|
|
min-height: 36px;
|
||
|
|
border-radius: var(--radius-sm);
|
||
|
|
padding: 0 10px;
|
||
|
|
border: 1px solid var(--line);
|
||
|
|
background: rgba(255, 255, 255, 0.92);
|
||
|
|
cursor: pointer;
|
||
|
|
transition:
|
||
|
|
background-color var(--duration-fast) var(--ease-standard),
|
||
|
|
border-color var(--duration-fast) var(--ease-standard),
|
||
|
|
transform var(--duration-fast) var(--ease-standard);
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-small:hover {
|
||
|
|
background: rgba(240, 251, 255, 0.95);
|
||
|
|
border-color: rgba(20, 143, 179, 0.3);
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-download {
|
||
|
|
border-color: rgba(22, 163, 74, 0.34);
|
||
|
|
background: linear-gradient(135deg, rgba(236, 253, 243, 0.95), rgba(220, 252, 231, 0.92));
|
||
|
|
color: #166534;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-download:hover {
|
||
|
|
border-color: rgba(22, 163, 74, 0.5);
|
||
|
|
background: linear-gradient(135deg, rgba(220, 252, 231, 0.95), rgba(199, 246, 212, 0.92));
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-open {
|
||
|
|
border-color: rgba(14, 165, 233, 0.36);
|
||
|
|
background: linear-gradient(135deg, rgba(224, 242, 254, 0.96), rgba(207, 234, 254, 0.92));
|
||
|
|
color: #0b5f87;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-open:hover {
|
||
|
|
border-color: rgba(14, 165, 233, 0.52);
|
||
|
|
background: linear-gradient(135deg, rgba(209, 233, 253, 0.96), rgba(188, 224, 252, 0.92));
|
||
|
|
}
|
||
|
|
|
||
|
|
.empty {
|
||
|
|
grid-column: 1 / -1;
|
||
|
|
border: 1px dashed rgba(18, 117, 150, 0.35);
|
||
|
|
border-radius: var(--radius-lg);
|
||
|
|
background: rgba(255, 255, 255, 0.8);
|
||
|
|
backdrop-filter: blur(8px);
|
||
|
|
padding: 24px;
|
||
|
|
text-align: center;
|
||
|
|
color: var(--muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.pagination {
|
||
|
|
display: flex;
|
||
|
|
justify-content: center;
|
||
|
|
align-items: center;
|
||
|
|
gap: 12px;
|
||
|
|
margin: 18px 0 34px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-backdrop {
|
||
|
|
position: fixed;
|
||
|
|
inset: 0;
|
||
|
|
background: rgba(7, 31, 44, 0.36);
|
||
|
|
z-index: 20;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
padding: 16px;
|
||
|
|
opacity: 0;
|
||
|
|
visibility: hidden;
|
||
|
|
pointer-events: none;
|
||
|
|
transition: opacity var(--duration-normal) var(--ease-standard), visibility var(--duration-normal) var(--ease-standard);
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-backdrop.open {
|
||
|
|
opacity: 1;
|
||
|
|
visibility: visible;
|
||
|
|
pointer-events: auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal {
|
||
|
|
width: min(680px, 100%);
|
||
|
|
max-height: 86vh;
|
||
|
|
overflow: auto;
|
||
|
|
border: 1px solid var(--line);
|
||
|
|
border-radius: var(--radius-lg);
|
||
|
|
background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(248, 253, 255, 0.88));
|
||
|
|
backdrop-filter: blur(16px);
|
||
|
|
box-shadow: var(--shadow-lift);
|
||
|
|
padding: 20px;
|
||
|
|
opacity: 0;
|
||
|
|
transform: translateY(14px) scale(0.985);
|
||
|
|
transition: transform var(--duration-normal) var(--ease-standard), opacity var(--duration-normal) var(--ease-standard);
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-backdrop.open .modal {
|
||
|
|
opacity: 1;
|
||
|
|
transform: translateY(0) scale(1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-head {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal p {
|
||
|
|
color: var(--muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
.feature-list {
|
||
|
|
margin: 0;
|
||
|
|
padding-left: 18px;
|
||
|
|
display: grid;
|
||
|
|
gap: 6px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.icon-btn {
|
||
|
|
width: 36px;
|
||
|
|
height: 36px;
|
||
|
|
border-radius: 999px;
|
||
|
|
border: 1px solid var(--line);
|
||
|
|
background: rgba(255, 255, 255, 0.9);
|
||
|
|
cursor: pointer;
|
||
|
|
transition:
|
||
|
|
background-color var(--duration-fast) var(--ease-standard),
|
||
|
|
transform var(--duration-fast) var(--ease-standard);
|
||
|
|
}
|
||
|
|
|
||
|
|
.icon-btn:hover {
|
||
|
|
background: rgba(240, 251, 255, 0.95);
|
||
|
|
border-color: var(--line-strong);
|
||
|
|
}
|
||
|
|
|
||
|
|
.toast {
|
||
|
|
position: fixed;
|
||
|
|
bottom: 16px;
|
||
|
|
right: 16px;
|
||
|
|
z-index: 30;
|
||
|
|
border: 1px solid rgba(14, 157, 127, 0.5);
|
||
|
|
border-radius: 10px;
|
||
|
|
background: linear-gradient(135deg, #0d8f82, #0f766e);
|
||
|
|
box-shadow: 0 12px 28px rgba(6, 78, 73, 0.26);
|
||
|
|
color: #fff;
|
||
|
|
padding: 10px 14px;
|
||
|
|
font-size: 14px;
|
||
|
|
opacity: 0;
|
||
|
|
pointer-events: none;
|
||
|
|
transform: translateY(8px);
|
||
|
|
transition: opacity var(--duration-normal) var(--ease-standard), transform var(--duration-normal) var(--ease-standard);
|
||
|
|
}
|
||
|
|
|
||
|
|
.toast.show {
|
||
|
|
opacity: 1;
|
||
|
|
transform: translateY(0);
|
||
|
|
}
|
||
|
|
|
||
|
|
.sr-only {
|
||
|
|
position: absolute;
|
||
|
|
width: 1px;
|
||
|
|
height: 1px;
|
||
|
|
margin: -1px;
|
||
|
|
padding: 0;
|
||
|
|
border: 0;
|
||
|
|
overflow: hidden;
|
||
|
|
clip: rect(0, 0, 0, 0);
|
||
|
|
clip-path: inset(50%);
|
||
|
|
white-space: nowrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
button:focus-visible,
|
||
|
|
a:focus-visible,
|
||
|
|
input:focus-visible,
|
||
|
|
select:focus-visible {
|
||
|
|
outline: 2px solid var(--focus);
|
||
|
|
outline-offset: 2px;
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (hover: hover) and (pointer: fine) {
|
||
|
|
.btn:hover,
|
||
|
|
.btn-small:hover,
|
||
|
|
.icon-btn:hover,
|
||
|
|
.chip:hover,
|
||
|
|
.nav a:hover,
|
||
|
|
.nav-btn:hover {
|
||
|
|
transform: translateY(-1px);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn:active,
|
||
|
|
.btn-small:active,
|
||
|
|
.icon-btn:active,
|
||
|
|
.chip:active {
|
||
|
|
transform: translateY(0);
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
.container {
|
||
|
|
width: min(1200px, calc(100% - 24px));
|
||
|
|
}
|
||
|
|
|
||
|
|
.header {
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: flex-start;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav {
|
||
|
|
width: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.search-row {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
|
||
|
|
.select,
|
||
|
|
.btn {
|
||
|
|
width: 100%;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 1024px) {
|
||
|
|
.tools-layout {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
|
||
|
|
.category-sidebar {
|
||
|
|
position: static;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (prefers-reduced-motion: reduce) {
|
||
|
|
*,
|
||
|
|
*::before,
|
||
|
|
*::after {
|
||
|
|
animation: none !important;
|
||
|
|
transition: none !important;
|
||
|
|
scroll-behavior: auto !important;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes content-fade-in {
|
||
|
|
from {
|
||
|
|
opacity: 0;
|
||
|
|
transform: translateY(8px);
|
||
|
|
}
|
||
|
|
to {
|
||
|
|
opacity: 1;
|
||
|
|
transform: translateY(0);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes card-enter {
|
||
|
|
from {
|
||
|
|
opacity: 0;
|
||
|
|
transform: translateY(10px);
|
||
|
|
}
|
||
|
|
to {
|
||
|
|
opacity: 1;
|
||
|
|
transform: translateY(0);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes badge-pop {
|
||
|
|
from {
|
||
|
|
opacity: 0;
|
||
|
|
transform: translateY(6px);
|
||
|
|
}
|
||
|
|
to {
|
||
|
|
opacity: 1;
|
||
|
|
transform: translateY(0);
|
||
|
|
}
|
||
|
|
}
|