@@ -56,38 +56,49 @@ move-cursor-to: "#settings-menu > a"
56
56
assert-css: (
57
57
"#theme-dark",
58
58
{
59
- "border-color": "rgb(221, 221, 221 )",
59
+ "border-color": "rgb(153, 153, 153 )",
60
60
"box-shadow": "rgb(53, 53, 53) 0px 0px 0px 3px inset",
61
+ "border-width": "2px",
61
62
},
62
63
)
63
- assert-css: ("#theme-light", {"border-color": "rgb(221, 221, 221 )", "box-shadow": "none"})
64
+ assert-css: ("#theme-light", {"border-color": "rgb(153, 153, 153 )", "box-shadow": "none"})
64
65
// Let's start with the hover for radio buttons.
65
66
move-cursor-to: "#theme-dark"
66
67
assert-css: (
67
68
"#theme-dark",
68
69
{
69
70
"border-color": "rgb(33, 150, 243)",
70
71
"box-shadow": "rgb(53, 53, 53) 0px 0px 0px 3px inset",
72
+ "border-width": "2px",
71
73
},
72
74
)
73
75
move-cursor-to: "#theme-light"
74
- assert-css: ("#theme-light", {"border-color": "rgb(33, 150, 243)", "box-shadow": "none"})
76
+ assert-css: (
77
+ "#theme-light",
78
+ {
79
+ "border-color": "rgb(33, 150, 243)",
80
+ "box-shadow": "none",
81
+ "border-width": "2px",
82
+ }
83
+ )
75
84
move-cursor-to: "#theme-ayu"
76
85
// Let's now check with the focus for radio buttons.
77
86
focus: "#theme-dark"
78
87
assert-css: (
79
88
"#theme-dark",
80
89
{
81
- "border-color": "rgb(221, 221, 221 )",
90
+ "border-color": "rgb(153, 153, 153 )",
82
91
"box-shadow": "rgb(53, 53, 53) 0px 0px 0px 3px inset, rgb(33, 150, 243) 0px 0px 2px 2px",
92
+ "border-width": "2px",
83
93
},
84
94
)
85
95
focus: "#theme-light"
86
96
assert-css: (
87
97
"#theme-light",
88
98
{
89
- "border-color": "rgb(221, 221, 221 )",
99
+ "border-color": "rgb(153, 153, 153 )",
90
100
"box-shadow": "rgb(33, 150, 243) 0px 0px 1px 1px",
101
+ "border-width": "2px",
91
102
},
92
103
)
93
104
// Now we check we both focus and hover for radio buttons.
@@ -98,6 +109,7 @@ assert-css: (
98
109
{
99
110
"border-color": "rgb(33, 150, 243)",
100
111
"box-shadow": "rgb(53, 53, 53) 0px 0px 0px 3px inset, rgb(33, 150, 243) 0px 0px 2px 2px",
112
+ "border-width": "2px",
101
113
},
102
114
)
103
115
move-cursor-to: "#theme-light"
@@ -107,6 +119,7 @@ assert-css: (
107
119
{
108
120
"border-color": "rgb(33, 150, 243)",
109
121
"box-shadow": "rgb(33, 150, 243) 0px 0px 1px 1px",
122
+ "border-width": "2px",
110
123
},
111
124
)
112
125
// Now we check the setting-radio-name is on a different line than the label.
@@ -142,7 +155,18 @@ assert-css: (
142
155
"#auto-hide-large-items",
143
156
{
144
157
"background-color": "rgb(33, 150, 243)",
145
- "border-color": "rgb(221, 221, 221)",
158
+ "border-color": "rgb(153, 153, 153)",
159
+ // 1px border when checked
160
+ "border-width": "1px",
161
+ },
162
+ )
163
+ assert-css: (
164
+ "#auto-hide-method-docs",
165
+ {
166
+ "background-color": "rgba(0, 0, 0, 0)",
167
+ "border-color": "rgb(153, 153, 153)",
168
+ // 2px border when unchecked
169
+ "border-width": "2px",
146
170
},
147
171
)
148
172
// Let's start with the hover for toggles.
@@ -152,6 +176,18 @@ assert-css: (
152
176
{
153
177
"background-color": "rgb(33, 150, 243)",
154
178
"border-color": "rgb(33, 150, 243)",
179
+ // 1px border when checked
180
+ "border-width": "1px",
181
+ },
182
+ )
183
+ move-cursor-to: "#auto-hide-method-docs"
184
+ assert-css: (
185
+ "#auto-hide-method-docs",
186
+ {
187
+ "background-color": "rgba(0, 0, 0, 0)",
188
+ "border-color": "rgb(33, 150, 243)",
189
+ // 2px border when unchecked
190
+ "border-width": "2px",
155
191
},
156
192
)
157
193
move-cursor-to: "#settings-menu > a"
@@ -161,8 +197,21 @@ assert-css: (
161
197
"#auto-hide-large-items",
162
198
{
163
199
"background-color": "rgb(33, 150, 243)",
164
- "border-color": "rgb(221, 221, 221)",
200
+ "border-color": "rgb(153, 153, 153)",
201
+ "box-shadow": "rgb(33, 150, 243) 0px 0px 1px 1px",
202
+ // 1px border when checked
203
+ "border-width": "1px",
204
+ },
205
+ )
206
+ focus: "#auto-hide-method-docs"
207
+ assert-css: (
208
+ "#auto-hide-method-docs",
209
+ {
210
+ "background-color": "rgba(0, 0, 0, 0)",
211
+ "border-color": "rgb(153, 153, 153)",
165
212
"box-shadow": "rgb(33, 150, 243) 0px 0px 1px 1px",
213
+ // 2px border when unchecked
214
+ "border-width": "2px",
166
215
},
167
216
)
168
217
// Now we check we both focus and hover for toggles.
@@ -174,6 +223,20 @@ assert-css: (
174
223
"background-color": "rgb(33, 150, 243)",
175
224
"border-color": "rgb(33, 150, 243)",
176
225
"box-shadow": "rgb(33, 150, 243) 0px 0px 1px 1px",
226
+ // 1px border when checked
227
+ "border-width": "1px",
228
+ },
229
+ )
230
+ move-cursor-to: "#auto-hide-method-docs"
231
+ focus: "#auto-hide-method-docs"
232
+ assert-css: (
233
+ "#auto-hide-method-docs",
234
+ {
235
+ "background-color": "rgba(0, 0, 0, 0)",
236
+ "border-color": "rgb(33, 150, 243)",
237
+ "box-shadow": "rgb(33, 150, 243) 0px 0px 1px 1px",
238
+ // 2px border when unchecked
239
+ "border-width": "2px",
177
240
},
178
241
)
179
242
0 commit comments