File tree Expand file tree Collapse file tree 3 files changed +11
-22
lines changed
Expand file tree Collapse file tree 3 files changed +11
-22
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,6 @@ <h1 i18n="styleManager"></h1>
228228 < i class =i-plus > </ i >
229229 </ button >
230230 </ a >
231-
232231 < div id ="update-all ">
233232 < template data-id ="updateAll ">
234233 < button id ="apply-all-updates " i18n ="applyAllUpdates "> </ button >
@@ -237,8 +236,7 @@ <h1 i18n="styleManager"></h1>
237236 </ template >
238237 </ div >
239238
240-
241- < div id ="backup " class ="flex wrap center-items ">
239+ < div id ="backup " class ="flex wrap ">
242240 < button id ="sync-styles " class ="icon flex center-items " i18n ="title:optionsCustomizeSync ">
243241 < img hidden >
244242 < i class =i-cloud > </ i >
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ function initSyncButton(sync) {
5959 const img = el . $ ( 'img' ) ;
6060 const msg = drive ? syncUtil . getStatusText ( val ) : '' ;
6161 el . title = t ( 'optionsCustomizeSync' ) ;
62+ el . classList . toggle ( 'icon' , ! hasFav ) ;
6263 $toggleDataset ( el , 'cloud' , drive ) ;
6364 elMsg . textContent = msg === syncUtil . pending || msg === syncUtil . connected ? '' : msg ;
6465 img . hidden = ! hasFav ;
Original file line number Diff line number Diff line change @@ -133,19 +133,15 @@ h1 {
133133 }
134134 }
135135 }
136- # backup {
137- $gap: $iconGapY;
138- margin: calc($pad/ 4) - $gap 0 0;
139- > * {
140- margin : 0 $gap $gap 0 ;
141- }
142- p {
143- word-break : break-word;
144- font-size : smaller;
145- user-select : text;
146- color : var (--accent-1 );
147- margin-left : 4px ;
148- }
136+ }
137+ # backup {
138+ gap : $iconGapY;
139+ p {
140+ word-break : break-word;
141+ font-size : smaller;
142+ user-select : text;
143+ color : var (--accent-1 );
144+ margin-left : 4px ;
149145 }
150146}
151147# backup-hint {
167163 white-space : normal;
168164 text-align : left;
169165}
170- # add-style {
171- margin-right : 1em ;
172- }
173166# sync-styles {
174167 & [data-cloud ] {
175168 & ::before {
182175 color : var (--accent-1 );
183176 }
184177 }
185- i {
186- line-height : calc (14px * 1.2 );
187- }
188178 img {
189179 width : 16px ;
190180 }
You can’t perform that action at this time.
0 commit comments