/* * DVDTS Theme * * (CC) Icons by DVD.ROM * (CC) Code by DVD.ROM (Nokia Corporation & Christine Strempel) * * This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/ * or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. * * Date: 02.15.2010 * */ QMainWindow, QDialog, TextBrowser, QAbstractItemView, QTextEdit { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #424242, stop:1 #424242); color:#fff; } QWidget { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #555555, stop:1 #444444); color: #fff; } QWidget::pane { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #555555, stop:1 #444444); color: #fff; border: 1px solid #151515; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-right-radius: 3px; border-top-right-radius: 3px; } /* Excluding background for specific elements */* QLabel, QCheckBox, QRadioButton, QGroupBox, QSlider, QWidget#advancedWidget, QWidget#statusChangeWidget, QWidget#connectToWidget, QWidget#switchToWidget, QWidget#disableWidget, QWidget#activateWidget, QWidget#recordingWidget, ImprovedTabBarCloseButton, QWidget#avatarWidget, QWidget#ToolbarStretcher, QStackedWidget { background: none; } HeadlineLabel { background: red; } QFrame#bookmarksTopFrame { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #666666, stop:1 #444444); border-radius: 5px; } QWidget#ConnectionInfoDialog, FriendFoeManager, ServerLogView, ClientLogView, FileBrowser, BookmarksManager, QWidget#UrlCatcherViewer, QWidget#ServerConnectionInfoDialog, LogDisplay, QDialog#BanDialog, QWidget#addPropertiesWidget, EmoticonsDisplay, QWidget#OfflineMessagesDialog, QWidget#sound3Dwidget { background: #444444; } QWidget#ServerQueryView { background: #444444; } QLabel { background: none; } QRadioButton { background: none; } QCheckBox { background: none; } QGroupBox { background: none; } QSlider { background: none; } QSlider::groove:horizontal { border: 1px solid #666666; height: 9px; background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #333333, stop:1 #555555); margin: 2px 0; border-radius: 3px; } QSlider::handle:horizontal { background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #E8E8E8, stop:1 #888888); border: 1px solid #444444; width: 12px; margin: -1px 0; border-radius: 2px; } QWidget#MainWindowServerTabsWidget, QWidget#MainWindowChatWidget { background-color: #424242; } QSplitter::handle { background-color: transparent; } QSplitter::handle:horizontal { background-color: transparent; width: 2px; } QSplitter::handle:vertical { background-color: transparent; height: 2px; } QLineEdit { border: 1px solid #FF9600; border-radius: 3px; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #000000, stop:1 #333333); } ChatLineEdit { border: 1px solid #FF9600; border-radius: 3px; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #000000, stop:1 #333333); } /* TabBar */ QTabBar { background-color: #333333; border: 1px solid #444444; border-radius: 10px; } QTabBar::tab:bottom { background: qlineargradient(x1: 0.6, y1: 0.3, x2: 0, y2: 1, stop: 0 #444444, stop: 1.0 #888888); border: 1px solid qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777777, stop:1 #555555); color: #fff; min-width: 8ex; padding: 3px; border-style: ridge; } QTabBar::tab:top { background: qlineargradient(x1: 0.6, y1: 0.3, x2: 0, y2: 1, stop: 0 #444444, stop: 1.0 #888888); border: 1px double qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777777, stop:1 #555555); color: #fff; min-width: 8ex; padding: 3px; } QTabBar::tab:selected { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #494949, stop: 1.0 #888888); } QTabBar::tab:hover { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #444444, stop: 1.0 #999999); margin: 1px; } QTabBar::tab:selected:bottom:hover { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #393939, stop: 1.0 #B3B3B3); border-bottom: 1px solid #666666; border-bottom-width: 2px; } QTabBar::tab:selected { border-color: #777777; border-bottom-color: #777777; margin-bottom: 3px; } QTabBar::tab:selected:top { border-top-left-radius: 4px; border-top-right-radius: 4px; margin-top: 0px; margin-bottom: -1px; border: 1px double qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #888888, stop:1 #555555); } QTabBar::tab:selected:bottom { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #393939, stop: 1.0 #898989); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; margin-top: -1px; margin-bottom: 0px; border: 1px solid #555555; border-bottom-width: 2px; } QTabBar::tab:!selected:top { border-top-color: #777777; border-top-left-radius: 3px; border-top-right-radius: 3px; margin-top: 5px; margin: 1px; } QTabBar::tab:!selected:bottom { border-bottom-color: #555555; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; margin-bottom: 5px; margin-top: -1px; border-bottom-width: 2px; } /* PushButton */ QPushButton { background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop: 0 #696969, stop: 1 #333333); border: 1px solid #333333; border-radius: 6px; padding-left: 14px; padding-right: 14px; padding-top: 3px; padding-bottom: 3px; } QPushButton:hover { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #151515, stop:1 #363636); color: #fff; } QPushButton:pressed { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #090909, stop: 1 #222222); } QPushButton:disabled { border: 1px solid #333333; border-radius: 6px; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777777, stop: 1 #999999); color: #7b7b7b; } QStatusBar { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #444444, stop: 1 #555555); } QStatusBar QLabel { padding: 0px 3px; border: 0px; color: #fff; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #222222, stop: 1 #444444); } QStatusBar::item { border: 1px solid #777777; border-radius: 3px; } QTextEdit#InfoFrame { background-color: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0.5, stop: 0 #474747, stop: 1 #333333); background-image: url('gfx/DVDTS/logo-128x128.png'); background-repeat: none; background-position: top right; background-attachment: fixed; color: #fff; border: 1px solid #333333; border-top: 1px solid #333333; border-left: 1px solid qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #222222, stop: 1 #111111); border-radius: 0px; } QTextEdit#ChatTab { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #888888, stop: 1 #fff); background-image: url('gfx/DVDTS/chatlog-128x96.png'); background-repeat: none; background-position: bottom right; background-attachment: fixed; color: #000; } /* TreeView */ QTreeView { alternate-background-color: #333333; border: 1px solid #000; show-decoration-selected: 1; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; } QTreeView { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #222222, stop:1 #333333); qproperty-alternatingRowColors: 1; color:#fff; border: none; } QTreeView::item { height: 16px; border: 1px solid transparent; border-radius: none; } QTreeView::item:hover { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #333333, stop: 1 #666666); border: 1px solid transparent; border-radius: none; } QTreeView::item:selected:active{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #333333, stop: 1 #EC8B00); color: #fff; border: 1px solid transparent; } QTreeView::item:selected:!active { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #333333, stop: 1 #EC8B00); color: #fff; border: 1px solid transparent; } QTreeView::branch { border: 0px solid transparent; border-radius: none; } QTreeView::branch:hover { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #333333, stop: 1 #666666); border: 0px solid transparent; border-radius: none; } QTreeView::branch:selected:active{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #333333, stop: 1 #EC8B00); color: #fff; border: 0px solid transparent; } QTreeView::branch:selected:!active { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #333333, stop: 1 #EC8B00); color: #fff; border: 0px solid transparent; } QTreeView::branch:has-siblings:!adjoins-item { border-image: url(gfx/DVDTS/vline.png) 0; } QTreeView::branch:has-siblings:adjoins-item { border-image: url(gfx/DVDTS/branch-more.png) 0; } QTreeView::branch:!has-children:!has-siblings:adjoins-item { border-image: url(gfx/DVDTS/branch-end.png) 0; } QTreeView::branch:has-children:!has-siblings:closed, QTreeView::branch:closed:has-children:has-siblings { border-image: none; image: url(gfx/DVDTS/branch-closed.png); } QTreeView::branch:open:has-children:!has-siblings, QTreeView::branch:open:has-children:has-siblings { border-image: none; image: url(gfx/DVDTS/branch-open.png); } /* Menu */ QMenu { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #555555, stop: 1 #666666); color: #fff; margin: 0px; border: 2px solid #777777; } QMenu::item { background: transparent; } QMenu::item:selected { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #FF9600, stop: 1 #BC6F00); color: #000; } QMenu::item:disabled { color: #7b7b7b; } QMenu::separator { height:2px; margin-bottom: 1px; margin-top: 2px; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #313131, stop: 1 #999999); } QMenuBar { background-color: #333333; color: #fff; } /* Combobox */ QComboBox { border:1px solid #777777; border-radius: 3px; background: qlineargradient(x1: 0, y1: 0, x2: 0.7, y2: 0.5, stop: 0 #666666, stop:1 #333333); color: #fff; padding: 3px; selection-background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #333333, stop:1 #666666); color: #fff; } QComboBox:!editable:on, QComboBox::drop-down:editable:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #222222, stop:1 #444444); } QComboBox:on { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #333333, stop:1 #fff); } QComboBox QAbstractItemView { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #666666, stop: 1 #333333); border: 1px solid #333333; } QComboBox#utcLocalComboBox { padding-left: 14px; padding-right: 7px; } QComboBox::down-arrow { image: url("gfx/DVDTS/down_arrow.png"); } QComboBox::down-arrow:on { /* shift the arrow when popup is open */ top: 1px; left: 1px; } QComboBox::drop-down { subcontrol-origin: padding; subcontrol-position: top right; width: 15px; border-left-width: 1px; border-left-color: #777777; border-left-style: solid; border-top-right-radius: 3px; border-bottom-right-radius: 3px; } /* Listview */ QListView { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #666666, stop: 1 #333333); color:#fff; selection-background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #333333, stop:1 #555555); selection-color: #fff; show-decoration-selected: 1; border: 1px solid #000000; border-bottom-right-radius: 3px; border-top-right-radius: 3px; } QListView::item { border: 1px solid transparent; } QListView::item:hover { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #333333, stop: 1 #666666); border: 1px solid transparent; border-radius: none; color: #fff; } QListView::item:selected:active { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #222222, stop: 1 #444444); color: #fff; border: 1px solid transparent; } QListView::item:selected:!active { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #666666, stop: 1 #333333); color: #fff; border: 1px solid transparent; } QListWidget#identitiesListWidget { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #333333, stop: 1 #333333); color:#fff; } QListView#fileListView::item:hover { background: transparent; } QListView#fileListView::item:selected { background: transparent; } /* ScrollBar vertical */ QScrollBar:vertical { border: 1px solid #222222; background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop: 0 #111111, stop: 1 #333333); width: 15px; margin: 17px 0 17px 0; } QScrollBar::handle:vertical { border: 1px solid #777777; background-repeat:no-repeat; background-position:center center; background-image: url("gfx/DVDTS/scroll.png"); background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop: 0 #666666, stop: 1 #444444); min-height: 20px; border-radius: 3px; } QScrollBar::add-line:vertical { border: 1px solid #777777; background: #444444; height: 15px; subcontrol-position: bottom; subcontrol-origin: margin; border-radius: 2px; } QScrollBar::sub-line:vertical { border: 1px solid #777777; background: #444444; height: 15px; subcontrol-position: top; subcontrol-origin: margin; border-radius: 2px; } QScrollBar::up-arrow:vertical { background: url("gfx/DVDTS/up_arrow.png"); background-repeat: none; left: 3px; top: 5px; } QScrollBar::down-arrow:vertical { background: url("gfx/DVDTS/down_arrow.png"); background-repeat: none; left: 3px; top: 5px; } QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { background: none; } /* ScrollBar horizontal */ QScrollBar:horizontal { border: 1px solid #222222; background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop: 0 #111111, stop: 1 #333333); height: 15px; margin: 0px 17px 0 17px; } QScrollBar::handle:horizontal { border: 1px solid #777777; background-repeat:no-repeat; background-position:center center; background-image: url("gfx/DVDTS/scroll2.png"); background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop: 0 #666666, stop: 1 #444444); min-width: 20px; border-radius: 3px; } QScrollBar::add-line:horizontal { border: 1px solid #777777; background: #444444; width: 15px; subcontrol-position: right; subcontrol-origin: margin; border-radius: 2px; } QScrollBar::sub-line:horizontal { border: 1px solid #777777; background: #444444; width: 15px; subcontrol-position: left; subcontrol-origin: margin; border-radius: 2px; } QScrollBar::left-arrow:horizontal { background: url("gfx/DVDTS/left_arrow.png"); background-repeat: none; left: 5px; top: 3px; } QScrollBar::right-arrow:horizontal { background: url("gfx/DVDTS/right_arrow.png"); background-repeat: none; left: 5px; top: 3px; } QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal { border: 1px solid #222222; background: #333333; } QSizeGrip { background-color: transparent; image: url("gfx/DVDTS/sizegrip.png"); width: 16px; height: 16px; } /* ToolButton */ QToolButton { border: 1px solid transparent; border-radius: none; background-color: none; color: #D5D5D5; } QToolButton:pressed { border: 1px solid #555555; border-radius: 3px; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #333333, stop:1 #111111); color: #fff; } QToolButton:hover { border: 1px solid qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777777, stop:1 #555555); border-radius: 4px; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #222222, stop:1 #444444); repeat: none; color: #fff; } QToolButton:checked, QToolButton#serverQueryAdvancedButton:checked { border: 1px solid qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777777, stop:1 #666666); border-radius: 3px; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #CCCCCC, stop:1 #555555); color: #fff; } QToolButton[popupMode="1"] { border: 1px solid transparent; border-radius: 3px; padding-right: 15px; } QToolButton[popupMode="1"]:hover { border: 1px solid qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777777, stop:1 #555555); background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #222222, stop:1 #444444); border-radius: 3px; padding-right: 15px; } QToolButton[popupMode="1"]:checked { border: 1px solid qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777777, stop:1 #666666); background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #CCCCCC, stop:1 #555555); color: #000; border-radius: 3px; padding-right: 15px; } QToolButton::menu-button { border: 1px solid transparent; border-top-right-radius: 3px; border-bottom-right-radius: none; width: 12px; } QToolButton::menu-button:hover { border: 1px solid qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777777, stop:1 #555555); border-radius: 3px; } QToolButton#newBookmarkButton, QToolButton#newBookmarkFolderButton, QToolButton#removeBookmarkButton { background: none; border: 1px solid transparent; color: #fff; } QToolButton#newBookmarkButton:hover, QToolButton#newBookmarkFolderButton:hover, QToolButton#removeBookmarkButton:hover { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777777, stop:1 #555555); border: 1px solid #666666; border-radius: 3px; color: #fff; } QToolButton#serverQueryRunButton, QToolButton#serverQuerySingleStepsButton, QToolButton#serverQueryStopButton, QToolButton#serverQueryRestartButton, QToolButton#serverQueryAdvancedButton, QToolButton#serverQueryClearHighlightButton, QToolButton#newSQScriptButton, QToolButton#updateSQScriptButton, QToolButton#removeSQScriptButton,QToolButton#idAddButton, QToolButton#idRemoveButton, QToolButton#idSelectDefaultButton, QToolButton#idImportButton, QToolButton#idExportButton, QToolButton#addGroupButton, QToolButton#removeGroupButton, QToolButton#renameGroupButton, QToolButton#addClientButton, QToolButton#removeClientButton { background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop: 0 #777777, stop: 1 #555555); border: 1px solid #666666; border-radius: 3px; color: #fff; } QToolButton#serverQueryRunButton:hover, QToolButton#serverQuerySingleStepsButton:hover, QToolButton#serverQueryStopButton:hover, QToolButton#serverQueryRestartButton:hover, QToolButton#serverQueryAdvancedButton:hover, QToolButton#serverQueryClearHighlightButton:hover, QToolButton#newSQScriptButton:hover, QToolButton#updateSQScriptButton:hover, QToolButton#removeSQScriptButton:hover,QToolButton#idAddButton:hover, QToolButton#idRemoveButton:hover, QToolButton#idSelectDefaultButton:hover, QToolButton#idImportButton:hover, QToolButton#idExportButton:hover,QToolButton#addGroupButton:hover, QToolButton#removeGroupButton:hover, QToolButton#renameGroupButton:hover, QToolButton#addClientButton:hover, QToolButton#removeClientButton:hover { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #333333, stop:1 #555555); color: #fff; } QToolButton#serverQueryStopButton:disabled, QToolButton#serverQueryRestartButton:disabled { border: 1px solid #666666; border-radius: 3px; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #666666, stop: 1 #666666); color: #7b7b7b; } QToolButton#TextFormatButton, QToolButton#searchClearButton, QToolButton#appScanImportButton, QToolButton#appScanReloadButton, QToolButton#fbDirUpButton, QToolButton#fbRootButton, QToolButton#fbRefreshButton, QToolButton#fbUploadButton, QToolButton#fbDownloadButton, QToolButton#fbCreateDirectoryButton, QToolButton#fbDeleteButton, QToolButton#fbFilterButton, QToolButton#descEditButton,QToolButton#fbViewIconsButton, QToolButton#fbViewListButton, QToolButton#filterGoButton, QToolButton#clientUpdateButton, QToolButton#filterClearButton, QToolButton#banAddButton, QToolButton#banRemoveButton, QToolButton#banEditButton, QToolButton#complainRemoveButton, QToolButton#foregroundColorSelectButton, QToolButton#backgroundColorSelectButton, QToolButton#EmoticonButton, QToolButton#iconToolButton { background-color: transparent; border: 1px solid transparent; border-radius: none; color: #fff; } QToolButton#TextFormatButton:hover, QToolButton#searchClearButton:hover, QToolButton#appScanImportButton:hover, QToolButton#appScanReloadButton:hover, QToolButton#fbDirUpButton:hover, QToolButton#fbRootButton:hover, QToolButton#fbRefreshButton:hover, QToolButton#fbUploadButton:hover, QToolButton#fbDownloadButton:hover, QToolButton#fbCreateDirectoryButton:hover, QToolButton#fbDeleteButton:hover, QToolButton#fbFilterButton:hover, QToolButton#descEditButton:hover,QToolButton#fbViewIconsButton:hover, QToolButton#fbViewListButton:hover, QToolButton#filterGoButton:hover, QToolButton#clientUpdateButton:hover, QToolButton#filterClearButton:hover, QToolButton#banAddButton:hover, QToolButton#banRemoveButton:hover, QToolButton#banEditButton:hover, QToolButton#complainRemoveButton:hover, QToolButton#foregroundColorSelectButton:hover, QToolButton#backgroundColorSelectButton:hover, QToolButton#EmoticonButton:hover, QToolButton#iconToolButton:hover { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #666666, stop:1 #666666); color: #fff; border: 1px solid #666666; border-radius: 3px; } QToolButton#TextFormatButton:checked, QToolButton#fbViewIconsButton:checked, QToolButton#fbViewListButton:checked { border: 1px solid #777777; border-radius: 3px; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #666666, stop:1 #666666); color: #000; } QToolButton#toolButtonBold, QToolButton#toolButtonItalic, QToolButton#toolButtonUnderLine, QToolButton#toolButtonFColor { background-color: transparent; border: 1px solid #666666; border-radius: 3px; } QToolButton#toolButtonBold:hover, QToolButton#toolButtonItalic:hover, QToolButton#toolButtonUnderLine:hover, QToolButton#toolButtonFColor:hover { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #666666, stop:1 #666666); color: #fff; border: 1px solid #666666; border-radius: 3px } QToolButton#toolButtonBold:checked, QToolButton#toolButtonItalic:checked, QToolButton#toolButtonUnderLine:checked, QToolButton#toolButtonFColor:checked { border: 1px solid #666666; border-radius: 3px; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #000000, stop:1 #666666); color: #fff; } /* Toolbar */ QToolBar { border: transparent; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #555555, stop:1 #444444); spacing: 7px; } QToolBar::handle { background-image: url("gfx/DVDTS/sizep.png"); background-repeat: no-repeat; background-position: center center; width: 10px; height: 20px; margin-left: 3px; } /* MenuBar */ QMenuBar { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #666666, stop: 1 #555555); spacing: 2px; color: #000; spacing: 0px; padding-top: 0px; } QMenuBar::item { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #666666, stop: 1 #555555); color: #fff; border: 5px solid transparent; border-radius: 5px; } QMenuBar::item:selected { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #333333, stop: 1 #585858); color: #fff; border: 1px solid #6D6D6D; } QMenuBar::item:pressed { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777777, stop: 1 #555555); color: #fff; border: 1px solid #4A4A4A; } QCheckBox { spacing: 8px; } QCheckBox::indicator { width: 13px; height: 13px; } QCheckBox::indicator:unchecked { background-color: #333333; border: 1px solid #666666; border-radius: 5px; } QCheckBox::indicator:unchecked:hover { background-color: #555555; border: 1px solid #666666; border-radius: 5px; } QCheckBox::indicator:unchecked:pressed { background-color: #999999; border: 1px solid #666666; border-radius: 5px; } QCheckBox::indicator:checked { background: qlineargradient(x1: 0, y1: 0, x2: 0.6, y2: 0.5, stop: 0 #FFD6A0, stop: 1 #FB8E00); border: 1px solid #333333; border-radius: 5px; } QCheckBox::indicator:checked:hover { background: qlineargradient(x1: 0, y1: 0, x2: 0.9, y2: 0.5, stop: 0 #fff, stop: 1 #FB8E00); border: 1px solid #333333; border-radius: 5px; } QCheckBox::indicator:checked:pressed { background: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0.5, stop: 0 #FB8E00, stop: 1 #FB8E00); border: 1px solid #333333; border-radius: 5px; } QCheckBox::indicator:indeterminate:hover { background: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0.5, stop: 0 #FB8E00, stop: 1 #FB8E00); border: 1px solid #333333; border-radius: 5px; } QCheckBox::indicator:indeterminate:pressed { background: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0.5, stop: 0 #FB8E00, stop: 1 #FB8E00); border: 1px solid #333333; border-radius: 5px; } QRadioButton::indicator { width: 9px; height: 9px; } QRadioButton::indicator::unchecked { background-color: #333333; border: 1px solid #666666; border-radius: 5px; } QRadioButton::indicator:unchecked:hover { background-color: #555555; border: 1px solid #666666; border-radius: 5px; } QRadioButton::indicator:unchecked:pressed { background-color: #999999; border: 1px solid #666666; border-radius: 5px; } QRadioButton::indicator::checked { background: qlineargradient(x1: 0, y1: 0, x2: 0.9, y2: 0.5, stop: 0 #FFD6A0, stop: 1 #FB8E00); border: 1px solid #333333; border-radius: 5px; } QRadioButton::indicator:checked:hover { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #fff, stop: 1 #FB8E00); border: 1px solid #333333; border-radius: 5px; } QRadioButton::indicator:checked:pressed { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #FB8E00, stop: 1 #FB8E00); border: 1px solid #333333; border-radius: 5px; } /*TableView*/ QTableView { alternate-background-color: #424242; border: 1px solid #000; } QTableView { selection-background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #444444, stop:1 #666666); selection-color: #0a057b; qproperty-alternatingRowColors: 1; border: 1px solid #333333; gridline-color: #777777; } QTableView::item { border: 1px solid transparent; } QTableView::item:hover { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #232323, stop: 1 #444444); border: 1px solid transparent; color: #fff; } QTableView::item:selected:active { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #F49B00, stop: 1 #C98000); color: #fff; border: 1px solid transparent; } QTableView::item:selected:!active { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #C98000, stop: 1 #8D5A00); color: #fff; border: 1px solid transparent; } /* SpinBox */ QSpinBox { background: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0.5, stop: 0 #222222, stop: 1 #444444); border: 1px solid #777777; border-radius: 3px; padding: 2px; color: #fff; selection-background-color: none; } QSpinBox::up-button { width: 20px; background-image: url("gfx/DVDTS/up_arrow.png"); background-repeat: no-repeat; background-position: center center; border: 1px solid #333333; background-color: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0.5, stop: 0 #999999, stop: 1 #555555); border-radius: 4px; } QSpinBox::up-button:hover { width: 20px; background-image: url("gfx/DVDTS/up_arrow.png"); background-repeat: no-repeat; background-position: center center; border: 1px solid #333333; background-color: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0.5, stop: 0 #fff, stop: 1 #666666); border-radius: 4px; } QSpinBox::up-button:pressed { width: 20px; background-image: url("gfx/DVDTS/up_arrow.png"); background-repeat: no-repeat; background-position: center center; border: 1px solid #333333; background-color: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0.5, stop: 0 #777777, stop: 1 #444444); border-radius: 4px; } QSpinBox::up-arrow { image: url("gfx/DVDTS/up_arrow.png"); width: 7px; height: 5px; } QSpinBox::up-arrow:disabled, QSpinBox::up-arrow:off { /* off state when value is max */ image: url(:/images/up_arrow_disabled.png); } QSpinBox::down-button { width: 20px; background-image: url("gfx/DVDTS/down_arrow.png"); background-repeat: no-repeat; background-position: center center; border: 1px solid #333333; background-color: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0.5, stop: 0 #999999, stop: 1 #555555); border-radius: 4px; } QSpinBox::down-button:hover { width: 20px; background-image: url("gfx/DVDTS/down_arrow.png"); background-repeat: no-repeat; background-position: center center; border: 1px solid #333333; background-color: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0.5, stop: 0 #fff, stop: 1 #666666); border-radius: 4px; } QSpinBox::down-button:pressed { width: 20px; background-image: url("gfx/DVDTS/down_arrow.png"); background-repeat: no-repeat; background-position: center center; border: 1px solid #333333; background-color: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0.5, stop: 0 #777777, stop: 1 #444444); border-radius: 4px; } QSpinBox::down-arrow { image: url("gfx/DVDTS/down_arrow.png"); width: 7px; height: 5px; } QSpinBox::down-arrow:disabled, QSpinBox::down-arrow:off { image: url("gfx/DVDTS/down_arrowD.png"); } /* HeaderView */ QHeaderView::section { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #555555, stop: 1 #777777); color: #fff; height: 25px; padding-left: 2px; border-left: 1px solid #333333; border-bottom: 1px solid #333333; border-top: 1px solid transparent; border-right: 1px solid #333333; } QToolTip { border: 1px solid #333333; padding: 2px; border-radius: 2px; opacity: 250; background-color: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0.5, stop: 0 #888888, stop: 1 #424242); color: #fff; }