WIP: style: reduce separator hint deplay to 66 #177

Closed
duan_j wants to merge 2 commits from style/cosmetics into main
+2 -2
View File
@@ -118,7 +118,7 @@ BANNER_TAB_GAP = 6
# separator under the cursor fills with SEPARATOR_HINT. The rest/drag gate
# lives in MainWindow.event(); the QSS :hover part picks the one separator.
SEPARATOR_HINT = "rgba(168, 178, 192, 20%)" # scrollbar-track grey @50%
SEPARATOR_HINT_DELAY_MS = 888 # int, used in code, not QSS
SEPARATOR_HINT_DELAY_MS = 66 # int, used in code, not QSS
# Theme-switch screenshot cross-fade duration (int ms, used in code).
THEME_FADE_MS = 250
@@ -1342,7 +1342,7 @@ def _sunset_stylesheet() -> str:
background-color: $dark_elevated;
border: 1px solid $dark_border_faint;
min-height: 16px;
max-height: 16px;
max-height: 24px;
padding-top: 1px;
padding-bottom: 1px;
}