Skip to content

Commit 0740523

Browse files
authored
Merge pull request #6 from clawdius/main
(Feature) Hide wallet and name
2 parents 09c1c4d + f9010f0 commit 0740523

3 files changed

Lines changed: 52 additions & 1 deletion

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
._3yD46y5pd3zOGR7CzKs0mC>div:nth-child(2) {
2+
display: none !important;
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
._2jphjrSifC6orDT4g_7Wd {
2+
display: none !important;
3+
}

skin.json

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,58 @@
11
{
2+
"Configuration": [
3+
{
4+
"Name": "Wallet Visibility",
5+
"ToolTip": "Hide wallet balance",
6+
"Type": "CheckBox",
7+
"Value": false
8+
},
9+
{
10+
"Name": "Name Visibility",
11+
"ToolTip": "Hide user name from top right corner",
12+
"Type": "CheckBox",
13+
"Value": false
14+
}
15+
],
216
"Patches": [
317
{
418
"MatchRegexString": "^Steam$",
5-
"TargetCss": "Steam SpaceTheme/main.css"
19+
"TargetCss": "Steam SpaceTheme/main.css",
20+
"Statement": [
21+
{
22+
"If": "Wallet Visibility",
23+
"Equals": true,
24+
"True": {
25+
"TargetCss": "Steam SpaceTheme/files/theme/options/WalletVisibility.css"
26+
},
27+
"False": {}
28+
},
29+
{
30+
"If": "Name Visibility",
31+
"Equals": true,
32+
"True": {
33+
"TargetCss":"Steam SpaceTheme/files/theme/options/NameVisibility.css"
34+
},
35+
"False": {}
36+
}
37+
]
638
},
739
{
840
"MatchRegexString": "Friends List",
941
"TargetJs": "friends.custom.js",
1042
"TargetCss": "friends.custom.css"
43+
},
44+
{
45+
"MatchRegexString": "^Account",
46+
"Statement": [
47+
{
48+
"If": "Wallet Visibility",
49+
"Equals": true,
50+
"True": {
51+
"TargetCss":"Steam SpaceTheme/files/theme/options/WalletVisibility.css"
52+
},
53+
"False": {}
54+
}
55+
]
1156
}
1257
],
1358
"GlobalsColors": [

0 commit comments

Comments
 (0)