File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323.button : hover {
2424 background-color : var (--darker-blue );
2525 color : # fff ;
26+ }
27+
28+ .font {
29+ font-family : var (--font );
2630}
Original file line number Diff line number Diff line change 66 < title > </ title >
77 < link href ="style.css " rel ="stylesheet ">
88 </ head >
9- < body >
10- < span class ="button section-header-span active " data-show ="general-settings-wrapper " data-i18n ="options_generalSettings "> </ span >
11- < span class ="button section-header-span inactive " data-show ="advanced-settings-wrapper " data-i18n ="options_advancedSettings "> </ span >
12- < span class ="button section-header-span inactive " data-show ="update-channels-wrapper " data-i18n ="options_updateChannels "> </ span >
13-
9+ < body class ="font ">
10+ < section class ="header-wrapper ">
11+ < span class ="button section-header-span active " data-show ="general-settings-wrapper " data-i18n ="options_generalSettings "> </ span >
12+ < span class ="button section-header-span inactive " data-show ="advanced-settings-wrapper " data-i18n ="options_advancedSettings "> </ span >
13+ < span class ="button section-header-span inactive " data-show ="update-channels-wrapper " data-i18n ="options_updateChannels "> </ span >
14+ </ section >
1415 < div class ="section-wrapper " id ="general-settings-wrapper ">
1516 < div id ="update-wrapper " class ="settings-wrapper ">
1617 < input type ="checkbox " id ="autoUpdateRulesets ">
Original file line number Diff line number Diff line change 11@import "../main.css" ;
22
33body {
4- min-width : 500px ;
5- min-height : 250px ;
6- display : block;
7- font-family : var (--font );
4+ display : grid;
5+ grid-template-columns : 1fr 1fr 1fr ;
86}
97
10- @media ( prefers-color-scheme : dark) {
11- body {
12- background-color : # 202023 ;
13- color : # f9f9fa ;
14- }
15-
16- . section-header-span , div # update-channels-warning {
17- color : # 000 ;
18- }
19-
20- textarea , input [ type = text ] {
21- background-color : # 202023 ;
22- color : # f9f9fa ;
23- }
8+ /*---------
9+ # GRID LAYOUT
10+ ---------*/
11+ . header-wrapper {
12+ display : inline-flex;
13+ grid-column : 2 ;
14+ grid-row : 1 ;
15+ }
16+ . section-wrapper {
17+ grid-column : 2 ;
18+ grid-row : 2 ;
19+ }
20+ # add-disabled-site-wrapper {
21+ float : left;
2422}
2523
2624a .settings {
@@ -109,8 +107,10 @@ img.remove{
109107}
110108
111109.section-header-span {
110+ cursor : pointer;
112111 padding : 8px ;
113- margin-right : 10px ;
112+ margin-left : 0 !important ;
113+ margin-right : var (--space ) !important ;
114114 display : inline-block;
115115}
116116
@@ -130,7 +130,6 @@ img.remove{
130130 margin-bottom : 30px ;
131131 border : 1px solid grey;
132132 border-radius : 20px ;
133- width : 498px ;
134133}
135134
136135.update-channel-name {
@@ -228,8 +227,8 @@ div#update-channels-last-checked {
228227 font-size : 10px ;
229228}
230229
231- # update-channels-wrapper {
232- width : 500 px ;
230+ # update-channels-list {
231+ display : inline-block ;
233232}
234233
235234@keyframes flash {
@@ -253,3 +252,19 @@ div#update-channels-last-checked {
253252.flash {
254253 animation : flash 1s ease-out;
255254}
255+
256+ @media (prefers-color-scheme : dark) {
257+ body {
258+ background-color : # 202023 ;
259+ color : # f9f9fa ;
260+ }
261+
262+ .section-header-span , div # update-channels-warning {
263+ color : # 000 ;
264+ }
265+
266+ textarea , input [type = text ] {
267+ background-color : # 202023 ;
268+ color : # f9f9fa ;
269+ }
270+ }
You can’t perform that action at this time.
0 commit comments