-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
189 lines (157 loc) · 4.16 KB
/
Copy pathstyles.css
File metadata and controls
189 lines (157 loc) · 4.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
/* ============================================
DailyArticle Sidebar Styles
============================================ */
.daily-article-sidebar {
padding: 16px 16px 24px;
}
/* ---- Header ---- */
.daily-article-sidebar .daily-article-header h2 {
margin: 0 0 18px 0;
font-size: 22px;
font-weight: 700;
text-align: center;
letter-spacing: 1px;
background: linear-gradient(135deg, var(--text-accent), var(--interactive-accent));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* ---- Cards ---- */
.daily-article-sidebar .daily-article-card {
background: var(--background-secondary);
border: 1px solid var(--background-modifier-border);
border-radius: 12px;
padding: 14px 16px;
margin-bottom: 16px;
transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.daily-article-sidebar .daily-article-card:hover {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
transform: translateY(-1px);
}
.daily-article-sidebar .daily-article-card h3 {
margin: 0 0 12px 0;
font-size: 14px;
font-weight: 600;
color: var(--text-muted);
letter-spacing: 0.3px;
}
/* Card inner settings spacing */
.daily-article-sidebar .daily-article-card .setting-item {
border-top: none;
padding: 7px 0;
}
.daily-article-sidebar .daily-article-card .setting-item-info {
flex: 0 0 auto;
min-width: 72px;
}
.daily-article-sidebar .daily-article-card .setting-item-name {
font-size: 12px;
white-space: nowrap;
}
.daily-article-sidebar .daily-article-card .setting-item-control {
flex: 1 1 auto;
}
/* ---- Date Range ---- */
.daily-article-sidebar .daily-article-date-range {
margin-top: 8px;
padding: 10px 12px;
background: var(--background-primary);
border-radius: 8px;
border: 1px solid var(--background-modifier-border);
}
.daily-article-sidebar .daily-article-date-range .setting-item {
padding: 5px 0;
}
/* Custom date inputs */
.daily-article-sidebar input[type="date"] {
width: 100%;
font-size: 13px;
}
/* ---- Side-by-side row (responsive) ---- */
.daily-article-sidebar .daily-article-setting-row {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.daily-article-sidebar .daily-article-setting-row .setting-item {
flex: 1 1 120px;
min-width: 100px;
}
/* ---- Action button ---- */
.daily-article-sidebar .daily-article-card .setting-item button {
width: 100%;
padding: 12px 16px;
font-size: 14px;
font-weight: 600;
border-radius: 8px;
transition: opacity 0.2s ease, transform 0.1s ease;
}
.daily-article-sidebar .daily-article-card .setting-item button:active {
transform: scale(0.98);
}
.daily-article-sidebar .daily-article-card .setting-item button:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
}
/* ---- Spinner (inline loading indicator) ---- */
.daily-article-spinner {
display: inline-block;
width: 14px;
height: 14px;
border: 2px solid var(--text-on-accent);
border-top-color: transparent;
border-radius: 50%;
animation: da-spin 0.6s linear infinite;
vertical-align: middle;
margin-right: 6px;
}
@keyframes da-spin {
to {
transform: rotate(360deg);
}
}
/* ---- Progress Bar ---- */
.daily-article-sidebar .daily-article-progress {
display: flex;
flex-direction: column;
gap: 6px;
margin-top: 12px;
padding: 10px 12px;
background: var(--background-primary);
border-radius: 8px;
border: 1px solid var(--background-modifier-border);
}
.daily-article-sidebar .daily-article-progress-bar {
width: 100%;
height: 8px;
background: var(--background-modifier-border);
border-radius: 4px;
overflow: hidden;
}
.daily-article-sidebar .daily-article-progress-fill {
height: 100%;
border-radius: 4px;
background: var(--interactive-accent);
transition: width 0.4s ease, background 0.3s ease;
min-width: 0;
}
.daily-article-sidebar .daily-article-progress-label {
font-size: 12px;
color: var(--text-muted);
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* ---- Status ---- */
.daily-article-sidebar .daily-article-status {
margin-top: 8px;
padding: 8px 12px;
border-radius: 8px;
font-size: 13px;
text-align: center;
color: var(--text-muted);
background: transparent;
}