frontend: nicer dialogs

Massimo Melina committed Jun 18, 2022 at 21:58 UTC 7bb259b0d3d80e36dec329a1336aca6740619869
1 file changed +6 -6
frontend/src/dialog.css
+6 -6
@@ -13,7 +13,7 @@
13 .dialog {
14 background: #fff; /*fallback*/
15 background: var(--bg);
16 - padding: 1em 1.5em;
16 + padding: 1em 2em;
17 border-radius: 1em;
18 position: relative;
19 color: var(--color);
@@ -28,19 +28,19 @@
28 height: 1.6em;
29 text-align: center;
30 border-radius: 50%;
31 - opacity: .8;
31 }
32 .dialog-closer {
33 background: #c77;
35 - right: -1.4em;
36 - bottom: -1.4em;
34 + right: -1.3em;
35 + bottom: -1.3em;
36 width: 2.5em;
37 height: 2.5em;
38 opacity: .9;
39 }
40 .dialog-type {
42 - left: -0.8em;
43 - top: -0.8em;
41 + left: -0.1em;
42 + top: -0.1em;
43 + border-radius: 50% 0 50% 0;
44 overflow: hidden;
45 line-height: 1.7em;
46 background-color: var(--color);