]> git.sur5r.net Git - minitube/blobdiff - style.css
Upload 2.9-1 to unstable
[minitube] / style.css
index 9b980e9108578426d57f958447e921f903372e42..d6651f6077ef7c977ceed95a45a305e8f54bbb41 100644 (file)
--- a/style.css
+++ b/style.css
@@ -1,4 +1,4 @@
-/* statusbar */
+QMainWindow > QToolBar QToolButton::menu-indicator { image: none; }
 
 QStatusBar QToolBar {
     padding:0;
@@ -7,53 +7,52 @@ QStatusBar QToolBar {
     border:0;
 }
 
+QStatusBar::item {
+    border:0;
+}
+
 QStatusBar QToolButton::menu-indicator {
     image: none;
 }
 
-/* Regions */
+AppsWidget {
+    background-color: palette(window);
+    border-top: 1px solid #808080;
+}
 
 RegionsView QPushButton[regionId] {
     margin: 5px;
-    padding: 10px;
+    padding: 7px 10px;
     text-align: left;
     vertical-align: middle;
     background-color: transparent;
-    border: 1px solid transparent;
-    border-radius: 10px;
+    border-radius: 3px;
 }
 
 RegionsView QPushButton[regionId=""] {
-    font-weight: bold;
+
 }
 
 RegionsView QPushButton[regionId]:hover {
-    border: 1px solid rgba(0,0,0,32);
     background: rgba(0,0,0,16);
 }
 
 RegionsView QPushButton[regionId]:focus {
-    border: 1px solid palette(highlight);
-    background: rgba(0,0,0,16);
+    background: palette(highlight);
+    color: palette(highlightText);
+    outline: 0;
 }
 
 RegionsView QPushButton[regionId]:checked {
-    color: #fff;
-    border: 1px solid rgba(0,0,0,64);
-    background: qradialgradient(cx: 0.5, cy: 0,
-    fx: 0.5, fy: 0,
-    radius: 1.35, stop: 0 rgba(0,0,0,128), stop: 1 rgba(0,0,0,64));
+    background: rgba(0,0,0,32)
 }
 
-/* Sidebar */
-
 SidebarHeader {
-    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
-                         stop: 0 #262626, stop: 1 #3c3c3c);
+    background: #3c3c3c;
     padding: 0;
     margin: 0;
     spacing: 0;
-    border-bottom: 1px solid black;
+    border: 0;
 }
 
 SidebarHeader QToolButton {
@@ -76,74 +75,29 @@ SidebarHeader QComboBox::drop-down {
     border-style: none;
 }
 
-/* Ambiance */
-
-MainWindow[style="Ambiance"] > QToolBar {
-    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
-                     stop: 0 #3c3b37, stop: 1 #474641);
-}
-
-MainWindow[style="Ambiance"] > QToolBar QToolButton,
-MainWindow[style="Ambiance"] > QToolBar QLabel {
-    color: #dfdbd2;
-}
-
-MainWindow[style="Ambiance"] > QToolBar QToolButton:disabled {
-    color: #8f8c86;
-}
-
-MainWindow[style="Ambiance"] > QToolBar QToolButton:hover {
-    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
-                 stop: 0 #474641, stop: 1 #3c3b37);
-                 border-radius: 5px;
-    border: 1px outset #3c3b37;
-}
-
-MainWindow[style="Ambiance"] > QToolBar QToolButton:pressed,
-MainWindow[style="Ambiance"] > QToolBar QToolButton:checked {
-    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
-                 stop: 0 #3b3a36, stop: 1 #363531);
-                 border-radius: 5px;
-    border: 1px inset #292825;
-}
-
-
-MainWindow[style="Ambiance"] QSlider::groove:horizontal {
-     border: 1px solid #808080;
-     height: 8px;
-     background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #B1B1B1, stop:1 #ccc);
-     border-radius: 5px;
+SearchView QLabel[recentHeader="true"] {
+    margin-left: -3px;
+    margin-bottom: 4px;
+    padding: 0;
 }
 
-MainWindow[style="Ambiance"] QSlider::sub-page:horizontal {
-    border: 1px solid #808080;
-    height: 8px;
-    background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #6c6c6c, stop:1 #B1B1B1);
-    border-radius: 5px;
+SearchView QPushButton[recentItem="true"] {
+    border: 0;
+    padding: 4px;
+    text-align: left;
+    outline: 0;
 }
 
-MainWindow[style="Ambiance"] QSlider::handle:horizontal {
-    border: 1px solid #5c5c5c;
-    width: 14px;
-    height: 16px;
-    margin: -4px 0;
-    border-radius: 8px;
-    background: qradialgradient(
-        cx: .5, cy: .5,
-        fx: .33, fy: .33,
-        radius: .5,
-        stop: 0 #fff, stop: 1 #ccc);
+SearchView QPushButton[recentItem="true"]:hover {
+    background: rgba(0,0,0,16);
 }
 
-MainWindow[style="Ambiance"] QSlider::handle:pressed {
-    background: qradialgradient(
-        cx: .5, cy: .5,
-        fx: .33, fy: .33,
-        radius: .5,
-        stop: 0 #ccc, stop: 1 #9c9c9c);
+SearchView QPushButton[recentItem="true"]:pressed {
+    background: palette(highlight);
+    color: white; /* SHOULD BE color: palette(highlightText); */
 }
 
-MainWindow[style="Ambiance"] Phonon--SeekSlider QSlider::sub-page:horizontal {
-    border: 1px solid #808080;
-    background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #B1B1B1, stop:1 #6c6c6c);
+SearchView QPushButton[recentItem="true"]:focus {
+    outline: 1px solid palette(highlight);
+    outline-offset: 4px;
 }