Updated the look of the Library tabs

This commit is contained in:
Raoul Snyman 2014-04-02 01:29:23 +02:00
parent 5bc5678078
commit ce9ca0b44b
1 changed files with 14 additions and 16 deletions

View File

@ -56,29 +56,27 @@ from openlp.core.ui.firsttimeform import FirstTimeForm
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
MEDIA_MANAGER_STYLE = """ MEDIA_MANAGER_STYLE = """
QToolBox { QToolBox {
padding-bottom: 2px; padding-bottom: 2px;
} }
QToolBox::tab { QToolBox::tab {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 palette(button), stop: 0.5 palette(button), stop: 0 palette(button), stop: 1.0 palette(mid));
stop: 1.0 palette(mid)); border: 1px solid palette(mid);
border: 1px groove palette(mid); border-radius: 3px;
border-radius: 5px; }
} QToolBox::tab:selected {
QToolBox::tab:selected {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 palette(light), stop: 0.5 palette(midlight), stop: 0 palette(light), stop: 1.0 palette(button));
stop: 1.0 palette(dark)); border: 1px solid palette(mid);
border: 1px groove palette(dark);
font-weight: bold; font-weight: bold;
} }
""" """
PROGRESSBAR_STYLE = """ PROGRESSBAR_STYLE = """
QProgressBar{ QProgressBar{
height: 10px; height: 10px;
} }
""" """