@guildofgleks/ui 0.0.1 → 0.2.2

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.
@@ -1,15 +1,15 @@
1
- .fw-black {
2
- font-weight: 900;
3
- }
4
-
5
- .font-heading {
6
- font-family: var(--font-heading), serif;
7
- }
8
-
9
- .font-body {
10
- font-family: var(--font-body), sans-serif;
11
- }
12
-
13
- .font-mono {
14
- font-family: var(--font-mono), monospace;
15
- }
1
+ .fw-black {
2
+ font-weight: 900;
3
+ }
4
+
5
+ .font-heading {
6
+ font-family: var(--gog-font-heading), serif;
7
+ }
8
+
9
+ .font-body {
10
+ font-family: var(--gog-font-body), sans-serif;
11
+ }
12
+
13
+ .font-mono {
14
+ font-family: var(--gog-font-mono), monospace;
15
+ }
@@ -1,27 +1,33 @@
1
- .gog-inline-center {
2
- display: inline-flex;
3
- align-items: center;
4
- justify-content: center;
5
- }
6
-
7
- .gog-flex-center {
8
- display: flex;
9
- align-items: center;
10
- justify-content: center;
11
- }
12
-
13
- .gog-contained-layout {
14
- contain: layout style;
15
- }
16
-
17
- .gog-cursor-pointer {
18
- cursor: pointer;
19
- }
20
-
21
- .gog-cursor-wait {
22
- cursor: wait;
23
- }
24
-
25
- .gog-cursor-not-allowed {
26
- cursor: not-allowed;
27
- }
1
+ .gog-inline-center {
2
+ display: inline-flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ }
6
+
7
+ .gog-flex-center {
8
+ display: flex;
9
+ align-items: center;
10
+ justify-content: center;
11
+ }
12
+
13
+ /*
14
+ * Scopes reflow to this subtree. Never put it on an element that has to paint something
15
+ * outside its own box — `contain: layout` creates a stacking context, so a popup inside
16
+ * it can no longer stack above the rest of the page no matter its z-index. That rules it
17
+ * out for gog-select and gog-multiselect.
18
+ */
19
+ .gog-contained-layout {
20
+ contain: layout style;
21
+ }
22
+
23
+ .gog-cursor-pointer {
24
+ cursor: pointer;
25
+ }
26
+
27
+ .gog-cursor-wait {
28
+ cursor: wait;
29
+ }
30
+
31
+ .gog-cursor-not-allowed {
32
+ cursor: not-allowed;
33
+ }