@@ -23,64 +23,7 @@ body.loading {
2323 opacity : 0.5 ;
2424}
2525
26- # header button {
27- display : block;
28- width : 91% ;
29- margin : 4px 8px ;
30- }
31-
32- fieldset {
33- display : inline-block;
34- vertical-align : top;
35- }
36-
37- # header section {
38- display : inline-block;
39- position : relative;
40- vertical-align : top;
41- border-radius : 4px ;
42- }
43-
44- # header section h2 {
45- position : absolute;
46- font-size : medium;
47- top : -0.5em ;
48- background-color : var (--in-content-box-background );
49- padding : 0 .3em ;
50- }
51-
52- # sync-history > ul {
53- max-height : 12em ;
54- overflow-y : scroll;
55- margin : 0 ;
56- }
57-
58- button .sync {
59- background : url ('download.svg' ) no-repeat;
60- }
61-
62- button .clear-data {
63- background : url ('broom.svg' ) no-repeat;
64- }
65-
66- button .action {
67- content : ' ' ;
68- width : 28px ;
69- height : 28px ;
70- min-width : 28px ;
71- background-size : 28px ;
72- margin-right : 5px ;
73- cursor : pointer;
74- }
75-
76- @media (prefers-color-scheme : dark) {
77- button .action {
78- filter : invert (1 );
79- }
80- }
81-
8226h2 , h3 {
83- display : inline-block;
8427 margin : unset;
8528}
8629
@@ -110,9 +53,44 @@ section {
11053 word-break : break-all;
11154}
11255
113- # settings {
114- justify-self : end;
56+ # header {
57+ display : flex;
58+ gap : 10px ;
59+ margin-bottom : 10px ;
60+ }
61+
62+ # env-actions {
63+ min-width : 8em ;
64+ }
65+
66+ # env-actions button , # env-actions select {
67+ display : block;
68+ width : 91% ;
69+ margin : 4px 8px ;
70+ }
71+
72+ # header section {
73+ position : relative;
74+ vertical-align : top;
75+ border-radius : 4px ;
76+ }
77+
78+ # header section h2 {
79+ position : absolute;
80+ font-size : medium;
81+ top : -0.5em ;
82+ background-color : var (--in-content-box-background );
83+ padding : 0 .3em ;
84+ }
85+
86+ # header-status {
87+ flex-grow : 1 ;
88+ }
89+
90+ # environment {
91+ text-align : center;
11592}
93+
11694# environment-error {
11795 max-width : 300px ;
11896 word-break : unset;
@@ -123,14 +101,11 @@ section {
123101 margin : 0px ;
124102}
125103
126- # action-box {
127- justify-self : start;
128- }
129-
130104# status table {
131105 width : 100% ;
132106 min-width : 860px ;
133107 text-align : center;
108+ border-collapse : collapse;
134109}
135110# status table th {
136111 white-space : nowrap;
@@ -139,12 +114,7 @@ section {
139114# status table td : first-child , # status table th : first-child {
140115 text-align : left
141116}
142-
143- table {
144- border-collapse : collapse;
145- }
146-
147- tr : not (: first-child ) {
117+ # status table tr : not (: first-child ) {
148118 border-top : 1px solid # 757575 ;
149119}
150120
@@ -176,8 +146,50 @@ tr:not(:first-child) {
176146 color : var (--error-text-color );
177147}
178148
149+ button .action {
150+ content : ' ' ;
151+ width : 28px ;
152+ height : 28px ;
153+ min-width : 28px ;
154+ background-size : 28px ;
155+ margin-right : 5px ;
156+ cursor : pointer;
157+ background-repeat : no-repeat;
158+ }
159+
160+ @media (prefers-color-scheme : dark) {
161+ button .action {
162+ filter : invert (1 );
163+ }
164+ }
165+
166+ button .sync {
167+ background-image : url ('download.svg' );
168+ }
169+
170+ button .clear-data {
171+ background-image : url ('broom.svg' );
172+ }
173+
174+ # sync-history {
175+ min-width : 19em ;
176+ }
177+
178+ # sync-history > ul {
179+ max-height : 14em ;
180+ overflow-y : scroll;
181+ margin : 0 ;
182+ padding-left : 10px ;
183+ }
184+ @media (min-width : 1255px ) {
185+ /* When #header-status switches to 2 columns */
186+ # sync-history > ul {
187+ max-height : 7em ;
188+ }
189+ }
190+
179191# sync-history li {
180- margin : 10px ;
192+ margin : 10px 0 px 10 px 10 px ;
181193}
182194
183195# sync-history .status .success {
0 commit comments