WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit ec7a9e9

Browse files
committed
Small fixes and improvements
1 parent 71857bb commit ec7a9e9

File tree

13 files changed

+572
-449
lines changed

13 files changed

+572
-449
lines changed

adwaita/adwaita.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,20 @@
3939

4040
@import url("css/main/library/library.css");
4141

42+
@import url("css/main/console.css");
43+
4244
@import url("css/chat/chat.css");
4345
@import url("css/chat/sidebar.css");
4446
@import url("css/chat/messages.css");
4547

4648
@import url("css/dialogs/pagedsettings/dialog.css");
4749
@import url("css/dialogs/pagedsettings/rows.css");
50+
@import url("css/dialogs/about.css");
51+
@import url("css/dialogs/appproperties.css");
4852
@import url("css/dialogs/login.css");
4953
@import url("css/dialogs/settings.css");
50-
@import url("css/dialogs/appproperties.css");
54+
55+
:root
56+
{
57+
--adw-version: "3.8";
58+
}

adwaita/css/_root/colors.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@
7979
--adw-popover-shade-rgb: 0, 0, 6;
8080
--adw-popover-shade-a: 0.25;
8181

82+
/* Banners */
83+
--adw-banner-bg-rgb: 125, 125, 131;
84+
--adw-banner-bg-a: 0.3;
85+
--adw-banner-fg-rgb: 255, 255, 255;
86+
8287
/* Thumbnails */
8388
--adw-thumbnail-bg-rgb: 57, 57, 61;
8489
--adw-thumbnail-fg-rgb: 255, 255, 255;

adwaita/css/_root/text.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
--adw-text-base-size: 15px;
1212
--adw-text-base-weight: 400;
1313

14-
--adw-text-largetitle-size: 24px;
15-
--adw-text-largetitle-weight: 300;
14+
--adw-text-largetitle-size: 26px;
15+
--adw-text-largetitle-weight: 800;
1616

1717
--adw-text-title1-size: 20px;
1818
--adw-text-title1-weight: 800;

adwaita/css/dialogs/about.css

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
/* About Steam dialog */
2+
body.DesktopUI div.FFIKUQ7BGKw6vO1voazlr
3+
{
4+
background: none !important;
5+
overflow-x: hidden !important;
6+
overflow-y: auto !important;
7+
padding: 16px 16px 8px 16px !important;
8+
-webkit-app-region: drag !important;
9+
10+
div.DialogContent_InnerWidth
11+
{
12+
overflow: visible !important;
13+
14+
div.DialogHeader
15+
{
16+
padding: 0 !important;
17+
margin: 0 !important;
18+
flex-direction: column !important;
19+
text-indent: -9999px !important;
20+
font-size: 0 !important;
21+
line-height: 0 !important;
22+
23+
svg
24+
{
25+
width: 64px !important;
26+
height: 64px !important;
27+
padding: 0 !important;
28+
margin: 0 !important;
29+
order: -1 !important;
30+
}
31+
32+
&::before,
33+
&::after
34+
{
35+
content: "Steam";
36+
color: rgb(var(--adw-window-fg-rgb)) !important;
37+
font-family: var(--adw-text-font) !important;
38+
text-indent: 0 !important;
39+
text-transform: none !important;
40+
letter-spacing: normal !important;
41+
line-height: normal !important;
42+
font-size: var(--adw-text-largetitle-size) !important;
43+
font-weight: var(--adw-text-largetitle-weight) !important;
44+
}
45+
46+
&::after
47+
{
48+
content: "Valve Corporation";
49+
font-size: var(--adw-text-base-size) !important;
50+
font-weight: var(--adw-text-base-weight) !important;
51+
}
52+
}
53+
54+
div.DialogBodyText
55+
{
56+
background: rgba(var(--adw-card-bg-rgb), var(--adw-card-opacity)) !important;
57+
color: rgba(var(--adw-card-fg-rgb), var(--adw-dim-label-opacity)) !important;
58+
border-radius: var(--adw-card-radius) !important;
59+
box-shadow: var(--adw-card-shadow) !important;
60+
box-sizing: border-box !important;
61+
padding: 4px 12px !important;
62+
margin: 40px 0 0 0 !important;
63+
font-family: var(--adw-text-font) !important;
64+
font-size: var(--adw-text-row-title-size) !important;
65+
font-weight: var(--adw-text-row-title-weight) !important;
66+
text-transform: none !important;
67+
line-height: normal !important;
68+
letter-spacing: normal !important;
69+
position: relative !important;
70+
-webkit-app-region: no-drag !important;
71+
72+
span
73+
{
74+
color: rgb(var(--adw-card-fg-rgb)) !important;
75+
}
76+
77+
&::selection, *::selection
78+
{
79+
color: rgb(var(--adw-accent-fg-rgb)) !important;
80+
background: rgb(var(--adw-accent-bg-rgb)) !important;
81+
text-shadow: none !important;
82+
}
83+
84+
&::before
85+
{
86+
content: "Adwaita for Steam " var(--adw-version);
87+
position: absolute;
88+
top: -32px;
89+
left: 0;
90+
right: 0;
91+
justify-self: center;
92+
padding: 4px 12px;
93+
color: rgb(var(--adw-accent-rgb));
94+
background: rgba(var(--adw-accent-rgb), var(--adw-button-bg-opacity));
95+
font-family: var(--adw-text-font);
96+
font-size: var(--adw-text-header-size);
97+
font-weight: var(--adw-text-header-weight);
98+
border-radius: var(--adw-button-pill-radius);
99+
}
100+
}
101+
102+
div.DialogFooter
103+
{
104+
display: none !important;
105+
}
106+
}
107+
}

adwaita/css/dialogs/pagedsettings/dialog.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,14 +238,14 @@ html.client_chat_frame div._2VY6HOZXxO2AsBaLssl0Uy
238238
/* Chat: no permissions warning */
239239
div._3t8HxXdv4QoWO7f3awdiCQ > div.e600t61ObcLA11pIZAVb9 + div._1cjXkI2JrN71BK7A2YXaYa
240240
{
241-
background-image: linear-gradient(0deg, rgba(var(--adw-accent-bg-rgb), 0.3), rgba(var(--adw-accent-bg-rgb), 0.3)) !important;
241+
background-image: linear-gradient(0deg, rgba(var(--adw-banner-bg-rgb), var(--adw-banner-bg-a)), rgba(var(--adw-banner-bg-rgb), var(--adw-banner-bg-a))) !important;
242242
background-color: rgb(var(--adw-headerbar-bg-rgb)) !important;
243243
box-shadow: inset 0 1px rgba(var(--adw-headerbar-shade-rgb), var(--adw-headerbar-shade-a)) !important;
244244
border-radius: 0 !important;
245245
min-height: 46px !important;
246246
line-height: 46px !important;
247247
padding: 0 10px !important;
248-
color: rgb(var(--adw-headerbar-fg-rgb)) !important;
248+
color: rgb(var(--adw-banner-fg-rgb)) !important;
249249
font-family: var(--adw-text-font) !important;
250250
font-size: var(--adw-text-title3-size) !important;
251251
font-weight: var(--adw-text-title3-weight) !important;

adwaita/css/dialogs/pagedsettings/rows.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ body.DesktopUI div._2sssIwe0duyIrFvat2oXzH
2626
/* Row group subtitle */
2727
div.DialogBodyText,
2828
div.HxqeaLbjhdRiSTK8ZFwxJ,
29-
div._3w92Ej5Kq7nbt5WACQ6jwI
29+
div._3w92Ej5Kq7nbt5WACQ6jwI,
30+
div.SettingsDialogSubHeader + div:not([class]):has(+ div.eKmEXJCm_lgme24Fp_HWt)
3031
{
3132
margin: -8px 0 8px 0 !important;
3233
color: rgba(var(--adw-window-fg-rgb), var(--adw-dim-label-opacity)) !important;
@@ -223,7 +224,8 @@ body.DesktopUI div._2sssIwe0duyIrFvat2oXzH
223224
div._3zuICQ63IRympzZ6qgs-5O + &,
224225
div._1HL6KuwUJaZQ7x2rmAxxSz + &,
225226
div.HxqeaLbjhdRiSTK8ZFwxJ + &,
226-
div.eKmEXJCm_lgme24Fp_HWt._3tB2lyT2Pfvfv-jyuVgUOg:not(:has(div._3jMlJm4PQCA8SfNlUR99Fo)) + &
227+
div.eKmEXJCm_lgme24Fp_HWt._3tB2lyT2Pfvfv-jyuVgUOg:not(:has(div._3jMlJm4PQCA8SfNlUR99Fo)) + &,
228+
div.SettingsDialogSubHeader + div:not([class]) + &
227229
{
228230
border-top-left-radius: var(--adw-card-radius) !important;
229231
border-top-right-radius: var(--adw-card-radius) !important;

adwaita/css/main/console.css

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
body.DesktopUI div._1fuML-ekRbTEzgzC597yGP
2+
{
3+
background: rgb(var(--adw-view-bg-rgb)) !important;
4+
5+
&, pre, input._85zZFeTLvuYj4UEcaKwPL
6+
{
7+
color: rgb(var(--adw-view-fg-rgb)) !important;
8+
font-family: var(--adw-text-font-monospace) !important;
9+
font-size: var(--adw-text-base-size) !important;
10+
font-weight: var(--adw-text-base-weight) !important;
11+
line-height: normal !important;
12+
letter-spacing: normal !important;
13+
}
14+
15+
/* Timestamp */
16+
pre.XaJOkIpwk-she1NM8AzPk
17+
{
18+
color: rgba(var(--adw-view-fg-rgb), var(--adw-dim-label-opacity)) !important;
19+
}
20+
21+
*::selection
22+
{
23+
color: rgb(var(--adw-accent-fg-rgb)) !important;
24+
background: rgb(var(--adw-accent-bg-rgb)) !important;
25+
text-shadow: none !important;
26+
}
27+
28+
/* Input */
29+
form._2SdqX9SccD_TtDat-bNo5-
30+
{
31+
padding: 6px !important;
32+
margin: 0 !important;
33+
34+
input._85zZFeTLvuYj4UEcaKwPL
35+
{
36+
padding: 0 12px !important;
37+
margin: 0 !important;
38+
border-radius: var(--adw-button-radius) !important;
39+
background: rgba(var(--adw-view-fg-rgb), var(--adw-button-bg-opacity)) !important;
40+
box-shadow: none !important;
41+
height: 34px !important;
42+
line-height: 34px !important;
43+
transition: var(--adw-button-transition) !important;
44+
45+
&:focus
46+
{
47+
box-shadow: var(--adw-focus-border) !important;
48+
}
49+
}
50+
}
51+
}

0 commit comments

Comments
 (0)