main
The_miro 2025-10-10 14:09:35 +02:00
parent 5b6d970076
commit 8baca3d365
1 changed files with 375 additions and 0 deletions

View File

@ -0,0 +1,375 @@
/*
GTK→Qt Full Theme (Rounded, Fixed Selection, Scrollbars, Tabbar)
───────────────────────────────────────────────
Base colors:
Background: #1a1a1a
Foreground: #d6abab
Accent: #5018dd
Highlight: #E40046
───────────────────────────────────────────────
*/
* {
background-color: #1a1a1a;
color: #d6abab;
border-radius: 12px;
font-family: "Agave Nerd Font Mono", sans-serif;
font-size: 14pt;
}
/* ================== Base Containers ================== */
QMainWindow, QDialog, QColorDialog, QWidget {
background-color: #1a1a1a;
color: #d6abab;
}
QFrame, QSplitter, QSplitterHandle {
background-color: #1a1a1a;
color: #d6abab;
border: 1px solid #2a2a2a;
border-radius: 12px;
}
QSplitter::handle {
background-color: #2a2a2a;
}
QSplitter::handle:hover {
background-color: #5018dd;
}
/* ================== Toolbars ================== */
QToolBar {
background-color: #1a1a1a;
color: #d6abab;
border: none;
padding: 4px;
}
QToolBar QToolButton {
background-color: #1a1a1a;
color: #5018dd;
border: 2px solid #5018dd;
border-radius: 12px;
padding: 4px 8px;
}
QToolBar QToolButton:hover {
background-color: #5018dd;
color: #1a1a1a;
}
/* ================== Buttons ================== */
QPushButton {
background-color: #1a1a1a;
color: #5018dd;
border: 3px solid #5018dd;
border-radius: 12px;
padding: 6px 12px;
}
QPushButton:hover {
background-color: #5018dd;
color: #1a1a1a;
}
QPushButton:pressed {
background-color: #E40046;
border-color: #E40046;
color: #1a1a1a;
}
QPushButton:disabled {
color: #808086;
border-color: #2a2a2a;
}
/* ================== Text Inputs ================== */
QLineEdit, QPlainTextEdit, QTextEdit,
QSpinBox, QDoubleSpinBox, QDateEdit, QDateTimeEdit, QTimeEdit {
background-color: #1a1a1a;
color: #5018dd;
border: 3px solid #5018dd;
border-radius: 12px;
padding: 6px 8px;
selection-background-color: #E40046;
selection-color: #1a1a1a;
}
QLineEdit:focus, QPlainTextEdit:focus, QTextEdit:focus {
background-color: #5018dd;
color: #1a1a1a;
border-color: #E40046;
}
/* ================== Combo Boxes ================== */
QComboBox {
background-color: #1a1a1a;
color: #5018dd;
border: 3px solid #5018dd;
border-radius: 12px;
padding: 6px 8px;
}
QComboBox QAbstractItemView {
background-color: #1a1a1a;
color: #d6abab;
selection-background-color: #E40046;
selection-color: #1a1a1a;
border: 1px solid #5018dd;
border-radius: 12px;
}
/* ================== Labels / Displays ================== */
QLabel { color: #d6abab; background: transparent; }
QLCDNumber { color: #E40046; background-color: #1a1a1a; border-radius: 12px; }
/* ================== Progress Bars ================== */
QProgressBar {
text-align: center;
color: #d6abab;
border: 1px solid #2a2a2a;
border-radius: 12px;
background-color: #1a1a1a;
}
QProgressBar::chunk {
background-color: #5018dd;
border-radius: 12px;
}
/* ================== Menus ================== */
QMenuBar {
background-color: #1a1a1a;
color: #d6abab;
}
QMenuBar::item {
padding: 4px 8px;
border-radius: 12px;
}
QMenuBar::item:selected {
background-color: #5018dd;
color: #1a1a1a;
}
QMenu {
background-color: #1a1a1a;
color: #d6abab;
border: 1px solid #2a2a2a;
border-radius: 12px;
}
QMenu::item {
padding: 4px 10px;
border-radius: 12px;
}
QMenu::item:selected {
background-color: #5018dd;
color: #1a1a1a;
}
/* ================== Tabs ================== */
QTabWidget {
background-color: #1a1a1a;
color: #d6abab;
}
QTabWidget::pane {
background-color: #1a1a1a; /* remove white line under tabs */
border: none; /* no white separator */
border-radius: 12px;
}
QTabBar::tab {
background-color: #1a1a1a;
color: #808086;
padding: 6px;
margin: 3px;
border-radius: 12px;
}
QTabBar::tab:selected, QTabBar::tab:hover {
background-color: #5018dd;
color: #1a1a1a;
}
/* ================== Checkboxes / Radios ================== */
QCheckBox, QRadioButton {
color: #d6abab;
padding: 4px;
}
QCheckBox::indicator, QRadioButton::indicator {
width: 14px;
height: 14px;
border: 2px solid #5018dd;
border-radius: 12px;
background: transparent;
}
QCheckBox::indicator:checked, QRadioButton::indicator:checked {
background-color: #5018dd;
border-color: #5018dd;
}
/* ================== Scroll Areas & Lists ================== */
QAbstractItemView, QTreeView, QListView, QTableView, QScrollArea {
background-color: #1a1a1a;
color: #d6abab;
border: none;
border-radius: 12px;
}
/* Sidebar (PlacesView) — fix blue selection */
QTreeView#PlacesView::item:selected,
QTreeView#PlacesView::branch:selected {
background-color: #E40046;
color: #1a1a1a;
border-radius: 12px;
}
QTreeView#PlacesView::item:hover {
background-color: rgba(228,0,70,0.3);
}
/* ================== Scrollbars ================== */
QScrollBar:horizontal {
height: 20px;
background: #1a1a1a;
margin: 0 20px;
border-radius: 12px;
}
QScrollBar::groove:horizontal {
background: #1a1a1a;
border-radius: 12px;
}
QScrollBar::handle:horizontal {
background: #5018dd;
min-width: 25px;
border-radius: 12px;
}
QScrollBar::handle:horizontal:hover {
background: #E40046;
}
QScrollBar::add-line:horizontal,
QScrollBar::sub-line:horizontal {
background: #1a1a1a;
width: 20px;
border-radius: 12px;
}
QScrollBar:vertical {
width: 20px;
background: #1a1a1a;
margin: 20px 0;
border-radius: 12px;
}
QScrollBar::groove:vertical {
background: #1a1a1a;
border-radius: 12px;
}
QScrollBar::handle:vertical {
background: #5018dd;
min-height: 25px;
border-radius: 12px;
}
QScrollBar::handle:vertical:hover {
background: #E40046;
}
QScrollBar::add-line:vertical,
QScrollBar::sub-line:vertical {
background: #1a1a1a;
height: 20px;
border-radius: 12px;
}
/* ================== Sliders ================== */
QSlider::groove:horizontal {
height: 6px;
background: #5018dd;
border-radius: 12px;
}
QSlider::handle:horizontal {
background: #5018dd;
border: 2px solid #1a1a1a;
width: 16px;
margin: -6px 0;
border-radius: 12px;
}
QSlider::handle:horizontal:hover {
background: #E40046;
}
QSlider::groove:vertical {
width: 6px;
background: #5018dd;
border-radius: 12px;
}
QSlider::handle:vertical {
background: #5018dd;
border: 2px solid #1a1a1a;
height: 16px;
margin: 0 -6px;
border-radius: 12px;
}
QSlider::handle:vertical:hover {
background: #E40046;
}
/* ================== Tooltips / Status Bar ================== */
QToolTip {
background-color: #5018dd;
color: #1a1a1a;
border-radius: 12px;
padding: 6px;
border: 1px solid rgba(0,0,0,0.3);
}
QStatusBar {
color: #d6abab;
background-color: #1a1a1a;
border-radius: 12px;
}
/* === PCManFM-Qt fixes === */
/* Sidebar (PlacesView): force dark selection, no blue */
QTreeView#PlacesView {
background-color: #1a1a1a;
alternate-background-color: #222222;
show-decoration-selected: 1;
}
QTreeView#PlacesView::item:selected,
QTreeView#PlacesView::branch:selected {
background-color: #E40046;
color: #1a1a1a;
}
QTreeView#PlacesView::item:hover {
background-color: rgba(228,0,70,0.25);
}
/* File list view: remove bright alternating rows */
QTreeView, QTableView, QListView {
background-color: #1a1a1a;
alternate-background-color: #222222;
color: #d6abab;
gridline-color: #2a2a2a;
selection-background-color: #E40046;
selection-color: #1a1a1a;
}
/* Tab bar white line removal (force unified background) */
QTabWidget::pane, QTabBar::tab-bar {
background-color: #1a1a1a;
border: none;
}
QTabWidget::pane {
border-top: none;
}
/* === Fix persistent white line under tab bar === */
/* unify tab bar and pane background */
QTabWidget, QTabWidget::pane, QTabBar::tab-bar {
background-color: #1a1a1a;
border: none;
border-top: none;
border-bottom: none;
}
/* remove internal QFrame borders used by tab contents */
QTabWidget > QWidget > QFrame {
border: none;
background-color: #1a1a1a;
}
/* ensure content viewport inside tabs matches background */
QTabWidget QWidget {
background-color: #1a1a1a;
border: none;
}
/* override shadow color (Qt draws it even with no border) */
QTabWidget {
qproperty-drawBase: false;
}