Files

285 lines
7.0 KiB
Plaintext

QMainWindow {
background-color: ${panel_bg};
${pattern_style}
}
QMenuBar,
QStatusBar {
color: ${text};
background-color: ${chrome_bg};
${chrome_pattern_style}
border: 0;
}
QStatusBar {
border-top: 1px solid ${splitter};
}
QLabel#statusPathLabel {
color: ${text};
background: transparent;
}
QMenuBar::item {
padding: 5px 9px;
background: transparent;
}
QMenuBar::item:selected {
background: ${hover};
color: ${selected_text};
border-radius: 4px;
}
QMenu {
color: ${text};
background: ${surface};
border: 1px solid ${border};
padding: 4px;
}
QMenu::item {
padding: 5px 24px 5px 10px;
}
QMenu::item:selected {
background: ${hover};
color: ${selected_text};
}
QTabWidget {
background: ${tab_bg};
}
QTabWidget::tab-bar {
background: ${tab_bg};
}
QTabWidget::pane {
border: 0;
border-left: 1px solid ${splitter};
border-right: 1px solid ${splitter};
background: ${tab_active};
}
QTabBar {
background: ${tab_bg};
qproperty-drawBase: 0;
}
QTabBar::tab {
color: ${muted};
background: ${tab_bg};
border: 1px solid ${splitter};
border-bottom: 0;
padding: 6px 12px;
margin-right: 2px;
}
QTabBar::tab:selected {
color: ${text};
background: ${tab_active};
}
QTabBar::tab:hover {
color: ${text};
background: ${hover};
}
QWidget#navigationPanel,
QWidget#tocPanel {
background-color: ${panel_bg};
${pattern_style}
border: 0;
}
QWidget#videoPlayer {
color: ${text};
background-color: ${panel_bg};
${pattern_style}
}
QVideoWidget#videoSurface {
background: #05070a;
border: 1px solid ${splitter};
}
QLabel#videoTitle {
color: ${text};
font-weight: 650;
background: transparent;
}
QLabel#videoStatus {
color: ${muted};
background: transparent;
}
QPushButton#videoControlButton,
QPushButton#videoExternalButton {
min-height: 26px;
padding: 3px 10px;
color: ${text};
background: ${surface};
border: 1px solid ${border};
border-radius: 5px;
}
QPushButton#videoControlButton:hover,
QPushButton#videoExternalButton:hover {
background: ${hover};
color: ${selected_text};
}
QSlider#videoPositionSlider::groove:horizontal {
height: 5px;
border-radius: 2px;
background: ${border};
}
QSlider#videoPositionSlider::handle:horizontal {
width: 14px;
height: 14px;
margin: -5px 0;
border-radius: 7px;
background: ${focus};
}
QSlider#videoPositionSlider::sub-page:horizontal {
border-radius: 2px;
background: ${focus};
}
QComboBox#videoSpeedBox {
min-height: 26px;
padding: 2px 8px;
color: ${text};
background: ${surface};
border: 1px solid ${border};
border-radius: 5px;
}
QWidget#panelTitleBlock {
background: transparent;
}
QLabel#panelTitle {
color: ${text};
font-size: 15px;
font-weight: 700;
}
QLabel#panelCaption,
QLabel#panelSubTitle {
color: ${muted};
font-size: 12px;
}
QLineEdit#panelSearchBox {
min-height: ${search_box_height}px;
max-height: ${search_box_height}px;
padding: 0 8px;
color: ${text};
background: ${input_bg};
border: 1px solid ${border};
border-radius: 6px;
selection-background-color: ${focus};
}
QLineEdit#panelSearchBox:focus {
border-color: ${focus};
}
QPushButton#panelSearchButton {
min-width: 0;
min-height: 24px;
padding: 2px;
color: ${text};
background: ${surface};
border: 1px solid ${border};
border-radius: 5px;
}
QPushButton#panelSearchButton:hover {
background: ${hover};
color: ${selected_text};
}
QPushButton#panelSearchButton:pressed {
background: ${selected};
color: ${selected_text};
}
QPushButton#panelIconButton {
min-width: 28px;
max-width: 28px;
min-height: 24px;
padding: 2px;
color: ${text};
background: ${surface};
border: 1px solid ${border};
border-radius: 5px;
}
QPushButton#panelIconButton:hover {
background: ${hover};
}
QPushButton#panelIconButton:pressed {
background: ${selected};
}
QTreeWidget#navigationTree,
QTreeWidget#tocTree {
color: ${text};
background: ${surface};
border: 1px solid ${border};
border-radius: 7px;
padding: 3px;
outline: 0;
show-decoration-selected: 1;
}
QTreeWidget#navigationTree::item,
QTreeWidget#tocTree::item {
min-height: 20px;
padding: 1px 6px;
border-radius: 5px;
}
QTreeWidget#navigationTree::item:hover,
QTreeWidget#tocTree::item:hover {
background: ${hover};
color: ${selected_text};
}
QTreeWidget#navigationTree::item:selected,
QTreeWidget#tocTree::item:selected {
background: ${selected};
color: ${selected_text};
}
QTreeWidget#navigationTree::branch,
QTreeWidget#tocTree::branch {
background: transparent;
}
QTreeWidget#navigationTree::branch:closed:has-children,
QTreeWidget#tocTree::branch:closed:has-children {
image: url("${branch_closed_icon}");
}
QTreeWidget#navigationTree::branch:open:has-children,
QTreeWidget#tocTree::branch:open:has-children {
image: url("${branch_open_icon}");
}
QSplitter#mainSplitter::handle {
background: ${splitter};
}
QSplitter#mainSplitter::handle:horizontal {
width: 1px;
}