Skip to content

Commit f777b15

Browse files
committed
extras: Show URL (#326)
Millennium fixes
1 parent 2932e39 commit f777b15

6 files changed

Lines changed: 80 additions & 5 deletions

File tree

adwaita/adwaita.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@
5454

5555
:root
5656
{
57-
--adw-version: "3.10";
57+
--adw-version: "3.11";
5858
}

adwaita/css/dialogs/pagedsettings/dialog.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,11 @@ html.client_chat_frame div._2VY6HOZXxO2AsBaLssl0Uy
214214
padding: 12px calc(var(--adw-windowcontrols-margin-left) + 6px) !important;
215215
}
216216

217+
div.DialogContent_InnerWidth
218+
{
219+
max-width: none !important;
220+
}
221+
217222
div.DialogContent_InnerWidth > div.DialogBody
218223
{
219224
display: flex !important;

adwaita/css/dialogs/pagedsettings/rows.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ body.DesktopUI div._2sssIwe0duyIrFvat2oXzH
225225
div._1HL6KuwUJaZQ7x2rmAxxSz + &,
226226
div.HxqeaLbjhdRiSTK8ZFwxJ + &,
227227
div.eKmEXJCm_lgme24Fp_HWt._3tB2lyT2Pfvfv-jyuVgUOg:not(:has(div._3jMlJm4PQCA8SfNlUR99Fo)) + &,
228-
div.SettingsDialogSubHeader + div:not([class]) + &
228+
div.SettingsDialogSubHeader + div:not([class]) + &,
229+
style:first-child + & /* Millennium settings */
229230
{
230231
border-top-left-radius: var(--adw-card-radius) !important;
231232
border-top-right-radius: var(--adw-card-radius) !important;
@@ -239,7 +240,8 @@ body.DesktopUI div._2sssIwe0duyIrFvat2oXzH
239240
&:has(+ div.DialogControlsSectionHeader),
240241
&:has(+ div.DialogControlsSection),
241242
&:has(+ div._1vcky98a3hG0ulFCdee4kd),
242-
&:has(+ div._2Dfy8vuNMdABIKGO2KHbVF)
243+
&:has(+ div._2Dfy8vuNMdABIKGO2KHbVF),
244+
&:has(+ div.millenniumPluginField) /* Millennium settings */
243245
{
244246
border-bottom-left-radius: var(--adw-card-radius) !important;
245247
border-bottom-right-radius: var(--adw-card-radius) !important;

adwaita/extras/store/show_url.css

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
/* Show URL in main window headerbar */
2+
body.DesktopUI div._1bGewp3tfzqAF6fVTFFUOz > div.UkR3sY319PuaUNuUWks2K > div._2m_orETo6AghzAnc0sISCt
3+
{
4+
display: flex !important;
5+
cursor: default !important;
6+
-webkit-app-region: no-drag !important;
7+
position: absolute !important;
8+
left: 40px !important;
9+
padding: 4px 8px !important;
10+
background: transparent !important;
11+
max-width: 300px !important;
12+
transition: var(--adw-button-transition) !important;
13+
14+
&:hover
15+
{
16+
background: rgba(var(--adw-headerbar-fg-rgb), var(--adw-hover-opacity)) !important;
17+
}
18+
19+
&:active
20+
{
21+
background: rgba(var(--adw-headerbar-fg-rgb), var(--adw-active-opacity)) !important;
22+
}
23+
24+
div._3izqEKa-zuPIrUDSm1bRvf
25+
{
26+
display: none !important;
27+
}
28+
29+
div.MZPxEZcxAGtPDf1NYtouS
30+
{
31+
color: rgba(var(--adw-headerbar-fg-rgb), var(--adw-dim-label-opacity)) !important;
32+
font-family: var(--adw-text-font) !important;
33+
font-size: var(--adw-text-subtitle-size) !important;
34+
font-weight: var(--adw-text-subtitle-weight) !important;
35+
}
36+
37+
@media(max-width: 1500px)
38+
{
39+
max-width: 250px !important;
40+
}
41+
42+
@media(max-width: 1400px)
43+
{
44+
max-width: 200px !important;
45+
}
46+
47+
@media(max-width: 1200px)
48+
{
49+
max-width: 150px !important;
50+
}
51+
}

skin.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Adwaita",
33
"author": "tkashkin",
44
"description": "A skin to make Steam look more like a native GNOME app",
5-
"version": "3.10",
5+
"version": "3.11",
66

77
"github": {
88
"owner": "tkashkin",
@@ -112,6 +112,14 @@
112112
"Show on Hover": { "TargetCss": { "affects": [".*"], "src": "adwaita/extras/login/hover_qr.css" } },
113113
"Hide": { "TargetCss": { "affects": [".*"], "src": "adwaita/extras/login/hide_qr.css" } }
114114
}
115+
},
116+
"Show URL": {
117+
"description": "Shows URL on Store and Community pages in the main window",
118+
"default": "no",
119+
"values": {
120+
"no": {},
121+
"yes": { "TargetCss": { "affects": [".*"], "src": "adwaita/extras/store/show_url.css" } }
122+
}
115123
}
116124
}
117125
}

theme.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Adwaita",
33
"author": "tkashkin",
44
"description": "A skin to make Steam look more like a native GNOME app",
5-
"version": "3.10",
5+
"version": "3.11",
66

77
"manifest_version": 8,
88
"target": "Desktop",
@@ -105,6 +105,15 @@
105105
}
106106
}
107107
},
108+
"Show URL": {
109+
"type": "checkbox",
110+
"values": {
111+
"No": {},
112+
"Yes": {
113+
"adwaita/extras/store/show_url.css": ["all"]
114+
}
115+
}
116+
},
108117
"Enable Custom CSS": {
109118
"type": "checkbox",
110119
"values": {

0 commit comments

Comments
 (0)