frontend: nicer

Massimo Melina committed Feb 14, 2023 at 10:17 UTC 379467a2278ac48201395527d7cd3191abdbe5b8
1 file changed +5 -9
frontend/src/index.scss
+5 -9
@@ -217,14 +217,10 @@ ul.dir {
217 &::before {
218 content: attr(label);
219 position: absolute;
220 - top: -1.5em;
221 - width: 50%;
222 - padding-left: 50%;
223 - background: linear-gradient(0deg, var(--bg) 40%, var(--button-bg) 40%, var(--bg) 50%);
220 + top: -1.8em;
221 font-size: smaller;
225 - margin-left: -0.3em;
226 - opacity: .8;
227 - text-shadow: 0 0 6px var(--bg);
222 + margin-left: calc(50% - 1em);
223 + opacity: .9;
224 }
225 }
226 }
@@ -273,8 +269,8 @@ button label {
269 padding: .2em; /* give space for focus outline */
270 }
271 .dialog-alert .dialog-content {
276 - text-Align: center;
277 - & p { text-Align: left; display: inline-block; }
272 + text-align: center;
273 + & p { text-align: left; display: inline-block; }
274 }
275
276 .dialog {