1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-23 08:20:01 +01:00
Clementine-audio-player-Mac.../data/mainwindow.css
David Sansome 90db3b0e38 Fix an annoying CSS bug where the size of toolbuttons in the main
window would sometimes change by 1px when toggling their
enabled/disabled state.
2012-07-15 17:11:49 +01:00

55 lines
944 B
CSS

darwin {
font-size: 11pt;
}
darwin QMenu {
font-size: 13pt;
}
#playlist {
background-color: %palette-base;
alternate-background-color: %palette-alternate-base;
}
#playlist[default_background_enabled = "true"] {
background-image: url(:logo.png);
background-attachment: fixed;
background-position: bottom right;
background-repeat: none;
background-clip: content;
}
QToolButton {
border: 2px solid transparent;
border-radius: 3px;
padding: 1px;
}
QToolButton::menu-button {
width: 16px;
border: none;
}
QToolButton[popupMode="1"] {
padding-right: 16px;
}
QToolButton:hover {
border: 2px solid %palette-highlight;
background-color: %palette-highlight-lighter;
}
QToolButton:hover[popupMode="1"] {
padding-right: 16px;
}
QToolButton:pressed {
border: 2px solid %palette-highlight-darker;
background-color: %palette-highlight-lighter;
}
QToolButton:pressed[popupMode="1"] {
padding-right: 16px;
}