Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit f619ea7

Browse files
committed
[bug] [design] improve link icon and letter spacing
1 parent dffeb0b commit f619ea7

3 files changed

Lines changed: 21 additions & 9 deletions

File tree

css/link.css

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
color: rgb(var(--black));
268268
}
269269

270-
.bookmarks-url-light .link-url-text {
270+
.is-bookmarks-url-light .link-url-text {
271271
color: rgb(var(--white));
272272
}
273273

@@ -277,36 +277,48 @@
277277
white-space: nowrap;
278278
overflow: hidden;
279279
text-overflow: ellipsis;
280-
transition: all var(--animation-speed-fast) ease-in-out;
280+
transition: color var(--animation-speed-fast) ease-in-out;
281281
}
282282

283283
.link-display-icon {
284284
color: rgb(var(--accent));
285-
transition: all var(--animation-speed-fast) ease-in-out;
285+
transition: color var(--animation-speed-fast) ease-in-out;
286286
}
287287

288-
.is-bookmarks-style-block .link-display-letter {
288+
.link-display-letter,
289+
.link-display-icon {
289290
margin: 0;
291+
}
292+
293+
.is-bookmarks-style-block .link-display-letter {
290294
font-size: 2em;
291295
text-align: center;
292296
max-width: 100%;
293297
}
294298

295299
.is-bookmarks-style-block .link-display-icon {
296-
margin-bottom: 0.25em;
297300
font-size: 2.5em;
298301
text-align: center;
299302
max-width: 100%;
300303
}
301304

302305
.is-bookmarks-style-list .link-display-letter,
303306
.is-bookmarks-style-list .link-display-icon {
304-
margin: 0 0.5em 0 0;
305307
font-size: 1.5em;
306308
flex-shrink: 0;
307309
max-width: 50%;
308310
}
309311

312+
.is-bookmarks-show-name.is-bookmarks-style-block .link-display-letter,
313+
.is-bookmarks-show-name.is-bookmarks-style-block .link-display-icon {
314+
margin-bottom: 0.25em;
315+
}
316+
317+
.is-bookmarks-show-name.is-bookmarks-style-list .link-display-letter,
318+
.is-bookmarks-show-name.is-bookmarks-style-list .link-display-icon {
319+
margin-right: 0.5em
320+
}
321+
310322
.link-item:hover .link-display-letter,
311323
.link-item:focus .link-display-letter,
312324
.link-item:hover .link-display-icon,

js/control.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1855,11 +1855,11 @@ var control = (function() {
18551855
var urlText = {
18561856
dark: function() {
18571857
helper.addClass(html, "is-bookmarks-url-dark");
1858-
helper.removeClass(html, "bookmarks-url-light");
1858+
helper.removeClass(html, "is-bookmarks-url-light");
18591859
},
18601860
light: function() {
18611861
helper.removeClass(html, "is-bookmarks-url-dark");
1862-
helper.addClass(html, "bookmarks-url-light");
1862+
helper.addClass(html, "is-bookmarks-url-light");
18631863
}
18641864
};
18651865
urlText[state.get().link.url.style]();

js/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var version = (function() {
22

33
// version is normally bumped when the state needs changing or any new functionality is added
4-
var current = "3.1.7";
4+
var current = "3.1.8";
55

66
var compare = function(a, b) {
77
var pa = a.split(".");

0 commit comments

Comments
 (0)