Bläddra i källkod

Add delay to bookmark animation

main
Ashton Charbonneau 1 år sedan
förälder
incheckning
3c9b430395
1 ändrade filer med 9 tillägg och 8 borttagningar
  1. 9
    8
      chrome/userChrome.css

+ 9
- 8
chrome/userChrome.css Visa fil

@@ -51,7 +51,7 @@
51 51
 	margin: auto;
52 52
 }
53 53
 
54
-/* Remove bookmark bar text (and extra gap) */
54
+/* Remove bookmark bar text */
55 55
 #personal-bookmarks .bookmark-item > .toolbarbutton-text {
56 56
 	max-width: 0;
57 57
 }
@@ -60,17 +60,18 @@
60 60
 	margin-inline-end: revert !important;
61 61
 }
62 62
 
63
-/* Animate bookmark bar text on hover/focus */
63
+/* Always show bookbar bar text for folders */
64
+#personal-bookmarks .bookmark-item > .toolbarbutton-icon[type="menu"] + .toolbarbutton-text {
65
+	max-width: none;
66
+}
67
+
68
+/* Animate bookmark bar text on hover */
64 69
 #personal-bookmarks .bookmark-item:is(:hover, :focus, :active) > .toolbarbutton-text {
65 70
 	max-width: inherit;
66
-	transition: max-width 0.5s ease-out;
71
+	transition: max-width 0.5s ease-out 0.2s;
67 72
 }
68 73
 
69 74
 #personal-bookmarks .bookmark-item:is(:hover, :focus, :active) > .toolbarbutton-icon:not([label=""], [type="menu"]) {
70 75
 	margin-inline-end: inherit !important;
71
-}
72
-
73
-/* Always show bookbar bar text for folders */
74
-#personal-bookmarks .bookmark-item > .toolbarbutton-icon[type="menu"] + .toolbarbutton-text {
75
-	max-width: none;
76
+	transition: margin-inline-end 0.1s linear 0.2s;
76 77
 }

Laddar…
Avbryt
Spara