starlight-cannoli-plugins 2.8.1 → 2.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/styles/_starlight.scss +6 -32
- package/package.json +1 -1
|
@@ -141,6 +141,10 @@ div > div[class="page"] > svg {
|
|
|
141
141
|
margin-bottom: 1.75rem;
|
|
142
142
|
max-height: 9rem;
|
|
143
143
|
overflow-y: auto;
|
|
144
|
+
|
|
145
|
+
&[hidden] {
|
|
146
|
+
display: none;
|
|
147
|
+
}
|
|
144
148
|
}
|
|
145
149
|
|
|
146
150
|
.tabbed-content-tab {
|
|
@@ -182,38 +186,8 @@ div > div[class="page"] > svg {
|
|
|
182
186
|
}
|
|
183
187
|
}
|
|
184
188
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
display: flex;
|
|
188
|
-
align-items: center;
|
|
189
|
-
gap: 0.5rem;
|
|
190
|
-
cursor: pointer;
|
|
191
|
-
|
|
192
|
-
input[type="checkbox"] {
|
|
193
|
-
position: relative;
|
|
194
|
-
appearance: none;
|
|
195
|
-
width: 1.2em;
|
|
196
|
-
height: 1.2em;
|
|
197
|
-
border: 2px solid currentColor;
|
|
198
|
-
border-radius: 2px;
|
|
199
|
-
cursor: pointer;
|
|
200
|
-
display: flex;
|
|
201
|
-
align-items: center;
|
|
202
|
-
justify-content: center;
|
|
203
|
-
transition: background-color 0.2s ease;
|
|
204
|
-
|
|
205
|
-
&:checked {
|
|
206
|
-
background-color: var(--sl-color-accent);
|
|
207
|
-
border-color: var(--sl-color-accent);
|
|
208
|
-
|
|
209
|
-
&::after {
|
|
210
|
-
content: "✓";
|
|
211
|
-
color: white;
|
|
212
|
-
font-size: 0.8em;
|
|
213
|
-
font-weight: bold;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
189
|
+
starlight-toc .toggle-checkbox-btn:last-of-type {
|
|
190
|
+
margin-bottom: 1rem;
|
|
217
191
|
}
|
|
218
192
|
|
|
219
193
|
.toggle-checkbox-btn {
|
package/package.json
CHANGED