Skip to content

Commit

Permalink
LateNight: fix & unify splitter images
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Apr 6, 2023
1 parent c0f31df commit e4b8463
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 27 deletions.
Binary file modified res/skins/LateNight/classic/style/splitter_handle_horizontal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
16 changes: 10 additions & 6 deletions res/skins/LateNight/palemoon/style/splitter_handle_vertical.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 10 additions & 16 deletions res/skins/LateNight/style_classic.qss
Original file line number Diff line number Diff line change
Expand Up @@ -2252,35 +2252,29 @@ WSearchLineEdit {

#WaveformSplitter::handle,
#SidebarCoverSplitter::handle {
image: url(skin:/classic/style/splitter_handle_horizontal.png); /*
border-top: 1px solid #000; */
image: url(skin:/classic/style/splitter_handle_horizontal.png);
}
#WaveformSplitter::handle:pressed,
#WaveformSplitter::handle:hover,
#SidebarCoverSplitter::handle:pressed,
#SidebarCoverSplitter::handle:hover {
#SidebarCoverSplitter::handle:pressed {
image: url(skin:/classic/style/splitter_handle_horizontal_pressed.png);
}
#WaveformSplitter::handle:vertical,
#SidebarCoverSplitter::handle:vertical {
height: 9px;
}
height: 9px;
}

/* LibrarySplitter
(the splitter itself is vertical)
Used to split Library sidebar & Tracks table */
#LibrarySplitter::handle {
image: url(skin:/classic/style/splitter_handle_vertical.png);
background-color: #1e1e1e;
}
#LibrarySplitter::handle:pressed,
#LibrarySplitter::handle:hover {
image: url(skin:/classic/style/splitter_handle_vertical_pressed.png);
}
#LibrarySplitter::handle:vertical {
/* 'height' works although it's actually the width of the handle */
height: 6px;
}
image: url(skin:/classic/style/splitter_handle_vertical.png);
background-color: #1e1e1e;
}
#LibrarySplitter::handle:pressed {
image: url(skin:/classic/style/splitter_handle_vertical_pressed.png);
}
/************ splitters ***********************/


Expand Down
9 changes: 4 additions & 5 deletions res/skins/LateNight/style_palemoon.qss
Original file line number Diff line number Diff line change
Expand Up @@ -2676,10 +2676,10 @@ WSearchLineEdit {
height: 9px;
}
#WaveformSplitter::handle:pressed,
#SidebarCoverSplitter::handle:pressed
#SidebarCoverSplitter::handle:pressed {
/* doesn't catch hover state:
#HorizontalSplitter::handle:hover,
#HorizontalSplitter::handle[hover="true"] */ {
#HorizontalSplitter::handle[hover="true"] */
image: url(skin:/palemoon/style/splitter_handle_horizontal_pressed.svg);
}

Expand All @@ -2697,9 +2697,8 @@ WSearchLineEdit {
/* 'height' works although it's actually the width of the handle */
height: 6px;
}
#LibrarySplitter::handle:pressed,
#LibrarySplitter::handle:hover {
image: url(skin:/palemoon/style/splitter_handle_vertical_pressed.png);
#LibrarySplitter::handle:pressed {
image: url(skin:/palemoon/style/splitter_handle_vertical_pressed.svg);
}
/************ splitters ***********************/

Expand Down

0 comments on commit e4b8463

Please sign in to comment.