Skip to content

Commit 6b11771

Browse files
Merge pull request #14901 from nashidau/master
RolemasterUnified: Official: Tracker Improvements and bugfixes
2 parents 15ff410 + 9ad522d commit 6b11771

File tree

4 files changed

+209
-61
lines changed

4 files changed

+209
-61
lines changed

RolemasterUnified_Official/rolemasterunified.css

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,35 +14,49 @@ span.choice-showing {
1414

1515

1616

17-
:root {
17+
body {
18+
--pcfb-border-radius: 12px;
19+
--pcfb-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
20+
1821
--pcfb-primary: #5C62F1;
1922
--pcfb-secondary: #FF6B6B;
2023
--pcfb-accent: #FFD166;
2124
--pcfb-dark: #2E3057;
2225
--pcfb-light: #F8F9FA;
2326
--pcfb-success: #06D6A0;
24-
--pcfb-border-radius: 12px;
25-
--pcfb-shadow: 0 8px 20px rgba(46, 48, 87, 0.12);
26-
--pcfb-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
27+
--pcfb-shadow: 0 2px 8px rgba(46, 48, 87, 0.12);
28+
--pcfb-border: 1px solid rgb(226, 232, 240);
29+
--pcfb-background: linear-gradient(33deg, #f0eff0, #faf8f9);
30+
--pcfb-basebackground: white;
31+
--pcfb-hover: 0 5px 20px rgba(0, 0, 0, 0.1);
32+
}
33+
34+
body.sheet-darkmode {
35+
--pcfb-basebackground: #310e68;
36+
--pcfb-secondary: black;
37+
--pcfb-shadow: 0 2px 8px rgba(211,125,0,0.3);
38+
--pcfb-border: 1px solid rgb(10,10,10);
39+
--pcfb-background: linear-gradient(316deg, #310e68 0%, #5f0f40 74%);
40+
--pcfb-hover: 0 5px 20px rgba(212,125,0, 1.0);
2741
}
2842

2943
.pcframebox {
30-
background: var(--pcfb-white);
44+
background: var(--pcfb-basebackground);
3145
border-radius: var(--pcfb-border-radius);
3246
padding: 8px 12px 6px 12px; /* top right bottom left */
33-
box-shadow: 0 2px 15px var(--pcfb-shadow);
47+
box-shadow: var(--pcfb-shadow);
3448
transition: var(--pcfb-transition);
3549
position: relative;
3650
overflow: visible;
3751
cursor: pointer;
38-
border: 1px solid rgb(226, 232, 240);
52+
border: var(--pcfb-border);
3953
margin-bottom: 3px;
40-
background: linear-gradient(33deg, #f0eff0, #faf8f9);
54+
background-image: var(--pcfb-background);
4155
}
4256

4357
.pcframebox:hover {
4458
transform: translateY(-3px);
45-
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
59+
box-shadow: var(--pcfb-hover);
4660
overflow: visible;
4761
}
4862

@@ -51,14 +65,14 @@ span.choice-showing {
5165
background: var(--pcfb-white);
5266
border-radius: var(--pcfb-border-radius);
5367
padding: 8px 12px 6px 12px; /* top right bottom left */
54-
box-shadow: 0 2px 15px var(--pcfb-shadow);
68+
box-shadow: var(--pcfb-shadow);
5569
transition: var(--pcfb-transition);
5670
position: relative;
5771
overflow: visible;
5872
cursor: pointer;
59-
border: 1px solid rgb(226, 232, 240);
73+
border: var(--pcfb-border);
6074
margin-bottom: 3px;
61-
background: linear-gradient(33deg, #f0eff0, #faf8f9);
75+
background: var(--pcfb-background);
6276
}
6377

6478
.rmusheet-column {

0 commit comments

Comments
 (0)