-
Notifications
You must be signed in to change notification settings - Fork 2
/
hideElo.css
143 lines (136 loc) · 4.66 KB
/
hideElo.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
/* Ingame box on the right: rating */
.ruser rating,
/* Ingame box on the right: rating change (or +/- 0) */
.ruser good,
.ruser bad,
.ruser span:last-child,
/* Tooltip over player name */
#powerTip .upt__info__ratings,
/* Tooltip over player name while that player is playing */
.mini-game__player .mini-game__user .rating,
/* Elo change (or +/- 0) in left side box */
div.game__meta__players .player good,
div.game__meta__players .player bad,
div.game__meta__players .player a span:last-child,
/* Ingame box on the left: rating */
div.game__meta__players .player a.user-link,
div.game__meta__players .player a.user-link .hide_elo,
/* Tooltip over player name *while* loading. */
#powerTip .user-link .hide_elo,
#powerTip .user-link good,
#powerTip .user-link bad,
/* Analysis board: rating change (or +/- 0))*/
div.advice-summary a.user-link good,
div.advice-summary a.user-link bad,
div.advice-summary a.user-link span:last-child,
/* Profile page: Activity */
div.activity div.entry rating,
/* Profile page: Games */
div.games article.game-row div.versus div.player,
/* Profile page: textual ratings */
div.sub-ratings rating,
div.sub-ratings .rank,
/* Profile page: graphical ratings with user info on the right */
div.user-show div.rating-history,
/* Challenge: outgoing */
div#modal-wrap div.ratings,
/* Analysis board: PGN */
div.analyse__underboard__panels div.fen-pgn div.pgn,
/* Insights: sample games */
main#insight div.game-sample span.vstext__pl span.hide_elo,
main#insight div.game-sample span.vstext__op span.hide_elo,
/* Tournaments: standings list */
table.slist span.rating,
/* Tournaments: podium */
div.tour__main div.podium table.stats tr:nth-child(1),
div.swiss__main div.podium table.stats tr:nth-child(3)
{
visibility: hidden;
}
/* Profile page: graphical ratings without user info on the right (e.g. variant) */
div.perf-stat div.rating-history {
display: none;
}
/* Challenge: incoming */
div#challenge-app div.challenges a.user-link name .hide_elo
{
display: none;
}
/* Elo in seek list. Other methods don't preserve the cell background and mouse
* events. */
div.lobby__app__content td.hide_elo
{
font-size: 0;
}
/* Profile page: mouse hover */
div.rating-history
{
pointer-events: none;
}
/* Profile page: current rating, highest/lowest rating, best/worst games */
section.glicko,
section.highlow.split,
section.result.split
{
display: none;
}
/* Undo hide for subcomponents, or after processing. */
div.game__meta__players .player a.user-link.elo_hidden,
div.games article.game-row div.versus div.player a.user-link,
div.sub-ratings rating span,
div.analyse__underboard__panels div.fen-pgn div.pgn.elo_hidden
{
visibility: visible;
}
/* --- Show ratings when extension is off. --- */
body.no_hide_elo .ruser rating,
body.no_hide_elo .ruser good,
body.no_hide_elo .ruser bad,
body.no_hide_elo .ruser span:last-child,
body.no_hide_elo #powerTip .upt__info__ratings,
body.no_hide_elo .mini-game__player .mini-game__user .rating,
body.no_hide_elo div.game__meta__players .player good,
body.no_hide_elo div.game__meta__players .player bad,
body.no_hide_elo div.game__meta__players .player a span:last-child,
body.no_hide_elo div.game__meta__players .player a.user-link .hide_elo,
body.no_hide_elo #powerTip .user-link .hide_elo,
body.no_hide_elo #powerTip .user-link good,
body.no_hide_elo #powerTip .user-link bad,
body.no_hide_elo div.advice-summary a.user-link good,
body.no_hide_elo div.advice-summary a.user-link bad,
body.no_hide_elo div.advice-summary a.user-link span:last-child,
body.no_hide_elo div.activity div.entry rating,
body.no_hide_elo div.games article.game-row div.versus div.player,
body.no_hide_elo div.sub-ratings rating,
body.no_hide_elo div.sub-ratings .rank,
body.no_hide_elo div.user-show div.rating-history,
body.no_hide_elo div#modal-wrap div.ratings,
body.no_hide_elo main#insight div.game-sample span.vstext__pl span.hide_elo,
body.no_hide_elo main#insight div.game-sample span.vstext__op span.hide_elo,
body.no_hide_elo table.slist span.rating,
body.no_hide_elo div.tour__main div.podium table.stats tr:nth-child(1),
body.no_hide_elo div.swiss__main div.podium table.stats tr:nth-child(3)
{
visibility: visible;
}
body.no_hide_elo div#challenge-app div.challenges a.user-link name .hide_elo
{
display: inline;
}
body.no_hide_elo section.glicko,
body.no_hide_elo section.highlow.split,
body.no_hide_elo section.result.split
{
display: flex;
}
body.no_hide_elo div.perf-stat div.rating-history {
display: block;
}
body.no_hide_elo div.lobby__app__content td.hide_elo
{
font-size: 100%;
}
body.no_hide_elo div.rating-history
{
pointer-events: auto;
}