Files
ANSLIB/MediaClient/MediaClient/MediaClient.css
2026-03-28 11:39:04 +11:00

278 lines
4.3 KiB
CSS

QMenuBar
{
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 lightgray, stop:1 darkgray);
}
QMenuBar::item
{
spacing: 8px;
padding: 4px 10px;
background: transparent;
border-radius: 4px;
color: white;
}
QMenuBar::item:selected
{
background: rgb(40, 101, 168);
}
QMenu
{
margin: 2px;
}
QMenu::item
{
margin-left: 0px;
margin-right: 0px;
padding: 4px 24px 4px 4px;
border: 0px solid transparent;
border-left-width: 24px;
background: rgb(80, 80, 80);
border-left-color: rgb(100,100,100);
}
QMenu::icon
{
left: -20px;
}
QMenu::item:selected:!disabled
{
background: rgb(40, 101, 168);
border-left-color: rgb(40, 101, 168);
}
QMenu::separator
{
height: 2px;
background: lightblue;
margin-left: 2px;
margin-right: 2px;
border-left-width: 24px;
}
QMenu::indicator
{
width: 16px;
height: 16px;
left: -20px;
}
QListView::item
{
height: 32px;
}
QListView::item:selected
{
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ABAFE5, stop: 1 #8588B2);
}
QSlider::groove:horizontal
{
height: 5px;
background: rgb(18,46,84);
}
QSlider#sliderPlay::groove:horizontal, QSlider#sliderVolume::groove:horizontal
{
height: 5px;
background: rgb(18,46,84);
}
QSlider#sliderPlay::sub-page:horizontal, QSlider#sliderVolume::sub-page:horizontal
{
background: rgb(58,92,168);
}
QSlider::handle:horizontal
{
background: rgb(165,229,254);
border: 4px solid #5c5c5c;
width: 8px;
height: 16px;
margin: -2px 0;
border-radius: 4px;
}
QSlider#sliderPlay::handle:horizontal, QSlider#sliderVolume::handle:horizontal
{
background: rgb(165,229,254);
border: 1px solid #5c5c5c;
width: 14px;
margin: -2px 0;
border-radius: 4px;
}
QTabWidget::pane
{
border-top: 2px solid #C2C7CB;
border-bottom: 2px solid #C2C7CB;
}
QTabBar::tab
{
background-color: rgb(192,192,192);
border: 2px solid #C4C4C3;
border-bottom-color: #C2C7CB;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
min-width: 10ex;
padding: 2px;
}
QTabBar::tab:selected
{
background-color: rgb(64,64,64);
}
QTabBar::tab:!selected
{
background-color: rgb(32,32,32);
margin-top: 4px;
}
QTabBar::tab:hover
{
background-color: rgb(100,100,100);
}
QTabBar::tab:disabled
{
background-color: gray;
color: gray;
}
QHeaderView
{
min-height:25px;
}
QTableView QHeaderView::section
{
background-color:rgb(64,64,64);
border: 2px solid #6c6c6c;
}
QTableView QTableCornerButton::section
{
background: rgb(64,64,64);
border: 2px outset rgb(64,64,64);
}
QPushButton
{
background-color: black;
border-color: rgb(100,100,100);
border-width: 2px;
}
QPushButton:hover
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #123456, stop: 1 #f6f7fa);
border-style: inset;
}
QToolButton
{
border: 2px solid #8f8f91;
border-radius: 6px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f6f7fa, stop: 1 #dadbde);
}
QToolButton[popupMode="1"]
{
padding-right: 20px;
}
QToolButton:pressed, QToolButton:hover
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #123456, stop: 1 #f6f7fa);
}
QToolButton::menu-button
{
border: 2px solid gray;
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
width: 16px;
}
QToolButton::menu-arrow:open
{
top: 1px; left: 1px;
}
QToolTip
{
border: 2px solid darkkhaki;
padding: 1px;
border-radius: 3px;
opacity: 200;
color: white;
background-color: #2E3648;
}
QTreeView
{
show-decoration-selected: 1;
}
QTreeView::item
{
height: 20;
border: 0px solid #d9d9d9;
border-top-color: transparent;
border-bottom-color: transparent;
}
QTreeView::item:hover
{
background: rgb(40, 101, 168);
border: 1px solid #bfcde4;
}
QTreeView::item:selected
{
border: 1px solid #567dbc;
}
QTreeView::item:selected:active
{
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
}
QTreeView::item:selected:!active
{
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6b9be8, stop: 1 #577fbf);
}
QTreeView QHeaderView::section
{
background-color:rgb(64,64,64);
border: 1px solid #6c6c6c;
min-height: 18px;
}
QWidget
{
/*background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f6f7fa, stop: 1 #dadbde);*/
background-color: rgb(64,64,64);
color: white; /* font color */
}
QLineEdit
{
border-width: 1px;
border-style: solid;
border-color:rgb(128,128,128);
}
* { gridline-color: gray }