summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2021-01-05 12:49:30 +0100
committerGitHub <noreply@github.com>2021-01-05 12:49:30 +0100
commit7ae4bd241b78f611f47a7e466d3e67f5fca422ac (patch)
tree8d88d18d78079ade5817509e6cd3a6266863d6af
parentf4e4c17128b378aa0838a013f8a173aae4ed46d0 (diff)
parent07763db4cb1f2a974bb2256bdd159db5203d243b (diff)
Merge pull request #3522 from ronso0/latenight-preview
LateNight: move preview deck above search bar
-rw-r--r--res/skins/LateNight/decks/preview_deck.xml8
-rw-r--r--res/skins/LateNight/library.xml8
-rw-r--r--res/skins/LateNight/palemoon/buttons/btn__lib_checkmark_grey.svg3
-rw-r--r--res/skins/LateNight/palemoon/style/lib_bg.pngbin555 -> 0 bytes
-rw-r--r--res/skins/LateNight/style_classic.qss48
-rw-r--r--res/skins/LateNight/style_palemoon.qss102
6 files changed, 106 insertions, 63 deletions
diff --git a/res/skins/LateNight/decks/preview_deck.xml b/res/skins/LateNight/decks/preview_deck.xml
index 719f1ab6c2..d009b717f2 100644
--- a/res/skins/LateNight/decks/preview_deck.xml
+++ b/res/skins/LateNight/decks/preview_deck.xml
@@ -4,7 +4,7 @@
<!-- This wrapper makes the PreviewDeck borders work correctly -->
<WidgetGroup>
- <Layout>vertical</Layout>
+ <Layout>horizontal</Layout>
<SizePolicy>me,max</SizePolicy>
<Children>
@@ -165,6 +165,12 @@
</Children>
</WidgetGroup><!-- PreviewDeck -->
+ <WidgetGroup>
+ <ObjectName>PreviewDeckRightSpacer</ObjectName>
+ <Layout>horizontal</Layout>
+ <Children/>
+ </WidgetGroup>
+
</Children>
<Connection>
<ConfigKey>[PreviewDeck],show_previewdeck</ConfigKey>
diff --git a/res/skins/LateNight/library.xml b/res/skins/LateNight/library.xml
index 7311eff790..6cb0e50ba9 100644
--- a/res/skins/LateNight/library.xml
+++ b/res/skins/LateNight/library.xml
@@ -28,6 +28,8 @@
<MinimumSize>100,</MinimumSize>
<Children>
+ <Template src="skin:/decks/preview_deck.xml"/>
+
<!--Search Input Field + Library Expand toggle -->
<WidgetGroup>
<ObjectName></ObjectName>
@@ -69,7 +71,11 @@
</Children>
</WidgetGroup><!-- SearchLineBox -->
- <Template src="skin:/decks/preview_deck.xml"/>
+ <WidgetGroup>
+ <ObjectName>SearchTreeSpacer</ObjectName>
+ <Layout>horizontal</Layout>
+ <Children/>
+ </WidgetGroup>
<Splitter>
<ObjectName>SidebarCoverSplitter</ObjectName>
diff --git a/res/skins/LateNight/palemoon/buttons/btn__lib_checkmark_grey.svg b/res/skins/LateNight/palemoon/buttons/btn__lib_checkmark_grey.svg
new file mode 100644
index 0000000000..8c1e80dac7
--- /dev/null
+++ b/res/skins/LateNight/palemoon/buttons/btn__lib_checkmark_grey.svg
@@ -0,0 +1,3 @@
+<svg width="10" height="10" version="1.1" xmlns="http://www.w3.org/2000/svg">
+ <path d="m2.0001 6.0001 2 2 4-5.9999" fill="none" stroke="#666" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
+</svg>
diff --git a/res/skins/LateNight/palemoon/style/lib_bg.png b/res/skins/LateNight/palemoon/style/lib_bg.png
deleted file mode 100644
index 8d66380880..0000000000
--- a/res/skins/LateNight/palemoon/style/lib_bg.png
+++ /dev/null
Binary files differ
diff --git a/res/skins/LateNight/style_classic.qss b/res/skins/LateNight/style_classic.qss
index 91c758d618..d8e057f1dd 100644
--- a/res/skins/LateNight/style_classic.qss
+++ b/res/skins/LateNight/style_classic.qss
@@ -65,6 +65,7 @@ WLibrary,
#SidebarBox,
#PreviewDeck,
#LibExpandBox,
+#LibrarySplitter::handle,
#SearchLineBox {
border-top: 1px solid #333;
border-left: 1px solid #333;
@@ -126,6 +127,30 @@ WSearchLineEdit,
background-color: #080808;
}
+/* Some tweaks to create a frameless library table */
+#LibrarySplitter {
+ border-width: 0px;
+ }
+ #LibrarySplitter::handle {
+ border-width: 1px 0px 0px 0px;
+ border-top-right-radius: 0px;
+ border-bottom-right-radius: 0px;
+ border-bottom-left-radius: 0px;
+ }
+ #PreviewDeckRightSpacer,
+ #SearchTreeSpacer {
+ border-right: 1px solid #333;
+ background-color: transparent;
+ }
+ #PreviewDeckRightSpacer {
+ min-width: 4px;
+ max-width: 4px;
+ }
+ #SearchTreeSpacer {
+ min-height: 3px;
+ max-height: 3px;
+ }
+
/* background of fillers */
#FxRackFillerL,
#FxRackFillerR,
@@ -225,10 +250,6 @@ WBeatSpinBox,
WLibrary {
border-top-left-radius: 0px;
-}
-WLibrary,
-#SearchLineBox {
- border-top: 0px;
}
#SearchLineBox {
padding-right: 2px;
@@ -239,9 +260,8 @@ WLibrary,
#LibExpandBox {
qproperty-layoutAlignment: 'AlignVCenter | AlignHCenter';
- border-width: 0px 0px 1px 0px;
+ border-width: 1px 0px 1px 0px;
border-radius: 0px;
- margin-bottom: 3px;
padding: 0px 0px 2px 2px;
}
@@ -312,8 +332,6 @@ WLibrary,
#FxRackFillerL,
#MicAuxRack,
#SamplerRow,
-#LibExpandBox,
-#SearchLineBox,
#PreviewDeck {
margin-bottom: 4px;
}
@@ -354,10 +372,6 @@ WLibrary,
qproperty-layoutSpacing: 3;
}
-#PreviewDeck {
- margin-right: 3px;
-}
-
#SkinSettingsContainer {
margin-left: 3px;
}
@@ -942,7 +956,7 @@ WPushButton#FxSuperLinkInvertButton {
#PreviewDeckTextBox {
}
- #PreviewLabel { /* Placeholder */
+ #PreviewLabel { /* Placeholder when no track is loaded */
padding-left: 2px;
}
#PreviewTitle {
@@ -2278,13 +2292,7 @@ WSearchLineEdit {
/* LibrarySplitter
(the splitter itself is vertical)
Used to split Library sidebar & Tracks table */
-#LibrarySplitter {
- border-top: 1px solid #333333;
-}
-#LibrarySplitter::handle { /*
- background-image: url(skin:/classic/style/library_splitter_handle_unchecked.svg);
- background-position: center top;
- background-repeat: no-repeat; */
+#LibrarySplitter::handle {
image: url(skin:/classic/style/splitter_handle_vertical.png);
background-color: #1e1e1e;
}
diff --git a/res/skins/LateNight/style_palemoon.qss b/res/skins/LateNight/style_palemoon.qss
index 4c47cb43cc..0bbc85132e 100644
--- a/res/skins/LateNight/style_palemoon.qss
+++ b/res/skins/LateNight/style_palemoon.qss
@@ -75,9 +75,7 @@
#PreviewDeck,
#SidebarCoverSplitter,
#SidebarCoverSplitter:handle,
-/*#LibrarySplitter,*/
#LibrarySplitter::handle,
-/*WLibrary,*/
QAbstractScrollArea::corner {
border-top: 1px solid #212123;
border-right: 1px solid #111;
@@ -92,10 +90,8 @@ QAbstractScrollArea::corner {
}
#SidebarSearchPreviewContainer {
- background-color: #0f0f0f;
+ margin-top: 1px;
}
-
- /*WLibrary,*/
#SidebarBox {
padding: 2px 0px 0px 2px;
}
@@ -105,7 +101,6 @@ QAbstractScrollArea::corner {
border-bottom-left-radius: 0px;
border-top-left-radius: 0px;
}
- /*WLibrary,*/
#SidebarCoverSplitter,
#SidebarCoverSplitter::handle,
#LibrarySplitter,
@@ -116,6 +111,7 @@ QAbstractScrollArea::corner {
#SidebarCoverSplitter::handle {
border-width: 0px;
}
+ /* Some tweaks to create a frameless library table */
#LibrarySplitter {
border-width: 0px;
}
@@ -125,12 +121,20 @@ QAbstractScrollArea::corner {
WLibrary {
border-width: 1px 0px 0px 0px;
}
-/* Some tweaks to create a frameless library table */
+ #PreviewDeckRightSpacer,
+ #SearchTreeSpacer {
+ border-right: 1px solid #222;
+ background-color: transparent;
+ }
+ #PreviewDeckRightSpacer {
+ min-width: 3px;
+ max-width: 3px;
+ }
+ #SearchTreeSpacer {
+ min-height: 3px;
+ max-height: 3px;
+ }
#LibraryContainer {
- background-color: #151517;
- background-image: url(skin:/palemoon/style/lib_bg.png);
- background-position: top;
- background-repeat: repeat-x;
}
#LibraryContainer QScrollBar::handle:horizontal,
#LibraryContainer QScrollBar::handle:vertical,
@@ -173,6 +177,7 @@ WSearchLineEdit {
padding: 5px 0px 0px 8px;
border-top: 1px solid #212123;
}
+
#WaveformsFrame,
#OverviewBox,
#OverviewBoxMini,
@@ -242,7 +247,6 @@ WSearchLineEdit {
}
#SearchLineBox {
- margin-top: 1px;
padding-right: 2px;
border-right: 0px;
border-top-right-radius: 0px;
@@ -254,9 +258,7 @@ WSearchLineEdit {
border-right: 0px;
border-left: 0px;
border-radius: 0px;
- margin-bottom: 3px;
padding: 0px 2px 2px 2px;
- margin-top: 1px;
}
#SidebarBox {
@@ -397,8 +399,6 @@ WSearchLineEdit {
#FxRackFillerL,
#MicAuxRack,
#SamplerRow,
-#LibExpandBox,
-#SearchLineBox,
#PreviewDeck {
margin-bottom: 3px;
}
@@ -445,7 +445,8 @@ WSearchLineEdit {
}
#PreviewDeck {
- margin-right: 3px;
+ /* right margin is managed by #PreviewDeckRightSpacer which
+ also generates the left border of the splitter handle */
}
#SkinSettingsContainer {
@@ -1089,7 +1090,7 @@ WPushButton#FxSuperLinkInvertButton {
#PreviewDeckTextBox {
}
- #PreviewLabel { /* Placeholder */
+ #PreviewLabel { /* Placeholder when no track is loaded */
padding-left: 2px;
}
#PreviewTitle {
@@ -1233,10 +1234,18 @@ WEffectSelector,
font-size: 14px;
}
/* dimĀ² ivory */
- #Deck1 #PlayPositionText, #DeckCompact1 #PlayPositionTextSmall, #DeckMini1 #PlayPositionTextSmall,
- #Deck1 #KeyText, #DeckCompact1 #KeyText, #DeckMini1 #KeyTextSmall,
- #Deck2 #PlayPositionText, #DeckCompact2 #PlayPositionTextSmall, #DeckMini2 #PlayPositionTextSmall,
- #Deck2 #KeyText, #DeckCompact2 #KeyText, #DeckMini2 #KeyTextSmall,
+ #Deck1 #PlayPositionText,
+ #DeckCompact1 #PlayPositionTextSmall,
+ #DeckMini1 #PlayPositionTextSmall,
+ #Deck1 #KeyText,
+ #DeckCompact1 #KeyText,
+ #DeckMini1 #KeyTextSmall,
+ #Deck2 #PlayPositionText,
+ #DeckCompact2 #PlayPositionTextSmall,
+ #DeckMini2 #PlayPositionTextSmall,
+ #Deck2 #KeyText,
+ #DeckCompact2 #KeyText,
+ #DeckMini2 #KeyTextSmall,
#SamplerBpm, #SamplerBpmMini,
#LibraryContainer QHeaderView {
color: #766b65;
@@ -1248,16 +1257,30 @@ WEffectSelector,
}
/* pale blue */
-#Deck3 #TitleText, #Deck3 #ArtistText,
- #DeckCompact3 #TitleText, #DeckCompact3 #ArtistText,
- #DeckMini3 #TitleTextSmall, #DeckMini3 #ArtistTextSmall,
- #Deck3 #BpmText, #DeckCompact3 #BpmText, #DeckMini3 #BpmTextSmall,
- #Deck3 #KeyText, #DeckCompact3 #KeyText, #DeckMini3 #KeyTextSmall,
-#Deck4 #TitleText, #Deck4 #ArtistText,
- #DeckCompact4 #TitleText, #DeckCompact4 #ArtistText,
- #DeckMini4 #TitleTextSmall, #DeckMini4 #ArtistTextSmall,
- #Deck4 #BpmText, #DeckCompact4 #BpmText, #DeckMini4 #BpmTextSmall,
- #Deck4 #KeyText, #DeckCompact4 #KeyText, #DeckMini4 #KeyTextSmall {
+#Deck3 #TitleText,
+ #Deck3 #ArtistText,
+ #DeckCompact3 #TitleText,
+ #DeckCompact3 #ArtistText,
+ #DeckMini3 #TitleTextSmall,
+ #DeckMini3 #ArtistTextSmall,
+ #Deck3 #BpmText,
+ #DeckCompact3 #BpmText,
+ #DeckMini3 #BpmTextSmall,
+ #Deck3 #KeyText,
+ #DeckCompact3 #KeyText,
+ #DeckMini3 #KeyTextSmall,
+#Deck4 #TitleText,
+ #Deck4 #ArtistText,
+ #DeckCompact4 #TitleText,
+ #DeckCompact4 #ArtistText,
+ #DeckMini4 #TitleTextSmall,
+ #DeckMini4 #ArtistTextSmall,
+ #Deck4 #BpmText,
+ #DeckCompact4 #BpmText,
+ #DeckMini4 #BpmTextSmall,
+ #Deck4 #KeyText,
+ #DeckCompact4 #KeyText,
+ #DeckMini4 #KeyTextSmall {
color: #85bdbb;
}
#Deck3 WStarRating, #DeckCompact3 WStarRating,
@@ -1457,9 +1480,7 @@ WEffectSelector,
#LibraryContainer QHeaderView {
border-bottom-right-radius: 1px solid #000;
- outline: none; /*
- border-width: 1px 0px 1px 0px;
- border-image: url(skin:/palemoon/buttons/btn_embedded_library_header.svg) 1 1 1 1; */
+ outline: none;
}
#LibraryContainer QHeaderView::section {
outline: none;
@@ -1768,8 +1789,8 @@ WPushButton#FxSuperLinkInvertButton[displayValue="0"] {
}
/* Yellow */
-#RecFeedback[displayValue="1"], /* initialize recording */
-#BroadcastButton[displayValue="1"] /* connecting */ {
+#RecFeedback[displayValue="1"], /* initialize recording */
+#BroadcastButton[displayValue="1"] /* connecting */ {
background-color: #d09300;
}
@@ -1778,15 +1799,14 @@ WPushButton#FxSuperLinkInvertButton[displayValue="0"] {
}
/* pink */
-#BroadcastButton[displayValue="3"],
-#RecFeedback[displayValue="3"] { /* failure */
+#BroadcastButton[displayValue="3"], /* failure */
+#RecFeedback[displayValue="3"] {
background-color: #f856e7;
}
/* Grey for GUI toggles */
#GuiToggleButton[displayValue="1"],
-#SkinSettingsToggle[displayValue="1"] { /*
- background-color: #216e75; Pale blue */
+#SkinSettingsToggle[displayValue="1"] {
background-color: #555;
}