Skip to content

Commit cbe9c24

Browse files
committed
Consolidate shared UI CSS for consistent account and tool surfaces - PR_26152_003-shared-ui-css-consolidation
1 parent f117f22 commit cbe9c24

2 files changed

Lines changed: 15 additions & 15 deletions

File tree

GameFoundryStudio/assets/css/controls.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ button,
109109
input[type="button"],
110110
input[type="submit"],
111111
input[type="reset"] {
112-
border-radius: 12px;
112+
border-radius: var(--radius-md);
113113
padding: 10px 14px;
114114
font: inherit;
115115
font-weight: 800;
@@ -154,7 +154,7 @@ output {
154154
input,
155155
textarea,
156156
select {
157-
border-radius: 12px;
157+
border-radius: var(--radius-md);
158158
padding: 12px
159159
}
160160

GameFoundryStudio/assets/css/gamefoundrystudio.css

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
}
130130

131131
.btn {
132-
border-radius: 12px;
132+
border-radius: var(--radius-md);
133133
padding: 10px 14px;
134134
font: inherit;
135135
font-weight: 800;
@@ -237,7 +237,7 @@
237237
.mini-stat {
238238
padding: 18px;
239239
border: 1px solid var(--line);
240-
border-radius: 16px;
240+
border-radius: var(--radius-lg);
241241
background: var(--panel-soft)
242242
}
243243

@@ -255,7 +255,7 @@
255255
width: 100%;
256256
border-collapse: collapse;
257257
overflow: hidden;
258-
border-radius: 16px
258+
border-radius: var(--radius-lg)
259259
}
260260

261261
.table th,
@@ -275,7 +275,7 @@
275275
.pill {
276276
display: inline-flex;
277277
border: 1px solid var(--line);
278-
border-radius: 999px;
278+
border-radius: var(--radius-pill);
279279
padding: 7px 10px;
280280
color: var(--muted);
281281
font-size: 13px
@@ -368,7 +368,7 @@
368368
position: absolute;
369369
inset: 0;
370370
border: 1px solid var(--line);
371-
border-radius: 999px;
371+
border-radius: var(--radius-pill);
372372
background: var(--switch-off);
373373
transition: .2s
374374
}
@@ -447,7 +447,7 @@
447447

448448
details.vertical-accordion {
449449
border: 1px solid var(--line);
450-
border-radius: 16px;
450+
border-radius: var(--radius-lg);
451451
background: var(--panel-overlay-strong);
452452
overflow: hidden
453453
}
@@ -473,7 +473,7 @@ details.vertical-accordion summary:after {
473473
width: 20px;
474474
height: 20px;
475475
border: 1px solid var(--line);
476-
border-radius: 999px;
476+
border-radius: var(--radius-pill);
477477
background: var(--panel-soft);
478478
color: var(--gold);
479479
display: inline-grid;
@@ -509,7 +509,7 @@ details.vertical-accordion[open] summary:active:after {
509509
width: 20px;
510510
height: 20px;
511511
padding: 0;
512-
border-radius: 999px;
512+
border-radius: var(--radius-pill);
513513
background: var(--panel-soft);
514514
color: var(--gold);
515515
line-height: 1;
@@ -567,7 +567,7 @@ details.vertical-accordion[open] summary:active:after {
567567
}
568568

569569
.tool-column {
570-
border-radius: 22px
570+
border-radius: var(--radius-xl)
571571
}
572572

573573
.tool-column:first-of-type {
@@ -657,7 +657,7 @@ body[class*="tool-group-"] details.vertical-accordion summary:after {
657657
min-width: 0;
658658
padding: 22px;
659659
text-align: center;
660-
border-radius: 22px
660+
border-radius: var(--radius-xl)
661661
}
662662

663663
.tool-center-panel img {
@@ -679,7 +679,7 @@ body[class*="tool-group-"] details.vertical-accordion summary:after {
679679
grid-row: 1;
680680
margin: 0 0 12px;
681681
border: 1px solid var(--meaning-border, var(--line));
682-
border-radius: 16px;
682+
border-radius: var(--radius-lg);
683683
background: var(--panel);
684684
box-shadow: var(--shadow-md);
685685
overflow: hidden;
@@ -711,7 +711,7 @@ body[class*="tool-group-"] details.vertical-accordion summary:after {
711711
width: 20px;
712712
height: 20px;
713713
border: 1px solid var(--meaning-border, var(--line));
714-
border-radius: 999px;
714+
border-radius: var(--radius-pill);
715715
background: var(--panel-soft);
716716
color: var(--meaning-color, var(--gold));
717717
display: inline-grid;
@@ -741,7 +741,7 @@ body[class*="tool-group-"] details.vertical-accordion summary:after {
741741
object-fit: cover;
742742
object-position: center;
743743
border: 1px solid var(--meaning-border, var(--line));
744-
border-radius: 999px;
744+
border-radius: var(--radius-pill);
745745
background: var(--panel-soft)
746746
}
747747

0 commit comments

Comments
 (0)