Skip to content

Commit 71fd825

Browse files
hai-altx-softStigmatoz
authored andcommitted
Small change design
1 parent 8467679 commit 71fd825

File tree

2 files changed

+11
-35
lines changed

2 files changed

+11
-35
lines changed

scripts/settings.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ function loadSettings() {
7171
});
7272
storage.getSettings(STORAGE_RESTRICTION_LIST, function (items) {
7373
restrictionList = items;
74+
if (restrictionList === undefined)
75+
restrictionList = [];
7476
viewRestrictionList(items);
7577
});
7678
}

style/settings.css

Lines changed: 9 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -173,18 +173,14 @@ input[type="button"]{
173173
cursor: pointer;
174174
min-width: 80px;
175175
text-align: center;
176-
width: 170px;
176+
width: 200px;
177177
}
178178

179179
input[type="button"]:hover {
180180
background: #5c9dfe;
181181
text-decoration: none;
182182
}
183183

184-
.margin-top-5{
185-
margin-top: 5px;
186-
}
187-
188184
.margin-top-10{
189185
margin-top: 10px;
190186
}
@@ -242,8 +238,8 @@ input[type="button"]:hover {
242238
}
243239

244240
.notify{
245-
width: 250px;
246-
height: 22px;
241+
width: 200px;
242+
height: 30px;
247243
margin: auto;
248244
background-color: rgb(118, 219, 93);
249245
color: rgb(0, 0, 0);
@@ -254,19 +250,15 @@ input[type="button"]:hover {
254250
z-index: 1;
255251
top: 10px;
256252
right: 20px;
257-
font-size: 15px;
253+
font-size: 17px;
258254
white-space: nowrap;
259255
padding: 10px;
260256
}
261257

262-
.notify.warning{
263-
background-color: rgb(219, 93, 104);
264-
}
265-
266258
.listbox{
267259
overflow-y: auto;
268-
width: 263px;
269-
height: 100px;
260+
width: 350px;
261+
height: 120px;
270262
padding: 3px;
271263
padding: 3px 5px 3px 5px;
272264
border: 1px solid rgb(172, 169, 169);
@@ -278,7 +270,7 @@ input[type="button"]:hover {
278270
}
279271

280272
#addBlackSiteLbl{
281-
width: 233px;
273+
width: 321px;
282274
height: 15px;
283275
padding: 3px;
284276
}
@@ -292,7 +284,7 @@ input[type="button"]:hover {
292284
}
293285

294286
#addRestrictionSiteLbl{
295-
width: 233px;
287+
width: 323px;
296288
height: 15px;
297289
padding: 3px;
298290
}
@@ -307,23 +299,5 @@ input[type="button"]:hover {
307299

308300
#restrictionsList{
309301
width: 430px;
310-
height: 250px;
311-
}
312-
313-
.inline-block{
314-
display: inline-block !important;
315-
}
316-
317-
.block{
318-
display: block;
319-
}
320-
321-
.readonly-input{
322-
cursor: default;
323-
border: 0;
324-
display: block;
325-
}
326-
327-
.restriction-item{
328-
width: 380px;
302+
height: 170px;
329303
}

0 commit comments

Comments
 (0)