Sorry for the title...I don't know how to really express it. Anyway, I have a simple flex box page that has little content. The issue is in tablet, if I touch-move the screen, the content moves. It shows no horizontal scroll and I see no empty gaps. Since there is no extra content to show horizontally, I don't want it to move horizontally at all.
Screens follow:
The page on load fully shown
Tho content is small, I can move the div and hide it to the left and pull it back again.
What I expect is the element not to move around since there is no content to move around.
My display is outright from this except no header/footer. For convenience:
CSS:
*, *:before, *:after
{
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
html, body
{
width: 100%;
height: 100%;
left: 0 !important;
top: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
body
{
background: #444444;
color: #cccccc;
font-size: 14px;
/* Helvetica/Arial-based sans serif stack */
font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.flexbox-parent
{
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: flex-start; /* align items in Main Axis */
align-items: stretch; /* align items in Cross Axis */
align-content: stretch; /* Extra space in Cross Axis */
background: rgba(255, 255, 255, .1);
}
.flexbox-item
{
padding: 0px;
}
.flexbox-item-grow
{
flex: 1; /* same as flex: 1 1 auto; */
}
.flexbox-item.content
{
background: rgba(0, 0, 255, .1);
}
.fill-area
{
display: flex;
flex-direction: row;
justify-content: flex-start; /* align items in Main Axis */
align-items: stretch; /* align items in Cross Axis */
align-content: stretch; /* Extra space in Cross Axis */
}
.fill-area-content
{
background: rgba(0, 0, 0, .3);
border: 1px solid #000000;
/* Needed for when the area gets squished too far and there is content that can't be displayed */
overflow: auto;
}
HTML:
<div class="flexbox-parent">
<div class="flexbox-item fill-area content flexbox-item-grow">
<div class="fill-area-content flexbox-item-grow">
Content
<br /><br />
Emulates height 100% with a horizontal flexbox with stretch
<br /><br />
Content continues
</div>
</div>
</div>
Is there a way to get a dark theme for the Perforce P4V Helix GUI on Ubuntu Linux 16.04 LTS?
Another dark style:
LightweightTextView
{
background-color: /*#ffffff*/ #222222;
color: #cccccc;
}
/*
Modal lists can't figure out focus well
but we can hardcode them safely
*/
DefinitionTree::branch:selected {
background-color: /*#0088CC*/ #006600;
}
DefinitionTree::branch:selected:hover {
background-color: /*#0085C7*/ #008800;
}
DefinitionTree::item:selected {
background-color: /*#0088CC*/ #006600;
}
DefinitionTree::item:selected:hover {
background-color: /*#0085C7*/ #008800;
}
TFilterView::branch:selected {
background-color: /*#0088CC*/ #006600;
}
TFilterView::branch:selected:hover {
background-color: /*#0085C7*/ #008800;
}
TFilterView::item:selected {
background-color: /*#0088CC*/ #006600;
}
TFilterView::item:selected:hover {
background-color: /*#0085C7*/ #008800;
}
UIPreferencesDialog QTreeWidget::branch:selected {
background-color: /*#0088CC*/ #006600;
}
UIPreferencesDialog QTreeWidget::branch:selected:hover {
background-color: /*#0085C7*/ #008800;
}
UIPreferencesDialog QTreeWidget::item:selected {
background-color: /*#0088CC*/ #006600;
}
UIPreferencesDialog QTreeWidget::item:selected:hover {
background-color: /*#0085C7*/ #008800;
}
QTreeView::branch:selected {
background-color: /*#0088CC*/ #006600;
}
QTreeView::branch:selected:hover {
background-color: /*#0085C7*/ #008800;
}
QTreeView::item:selected {
background-color: /*#0088CC*/ #006600;
}
QTreeView::item:selected:hover {
background-color: /*#0085C7*/ #008800;
}
QTableWidget::item:selected {
background-color: /*#0088CC*/ #006600;
}
QTableWidget:item:selected:hover {
background-color: /*#0085C7*/ #008800;
}
ConnectionPane::item:selected {
background-color: /*#0088CC*/ #006600;
}
ConnectionPane:item:selected:hover {
background-color: /*#0085C7*/ #008800;
}
QAbstractItemView {
background-color: /*#ffffff*/ #222222;
color: /*#000000*/ #cccccc;
}
QAbstractItemView[hasFocus="false"]::item:selected {
background-color: #AAAAAA;
}
QAbstractItemView[hasFocus="false"]::item:selected:hover {
background-color: #999999;
}
QAbstractItemView[hasFocus="true"]::item:selected {
background-color: /*#0088CC*/ #006600;
}
QAbstractItemView[hasFocus="true"]::item:selected:hover {
background-color: /*#0085C7*/ #008800;
}
QAbstractItemView[hasFocus="false"]::branch:selected {
background-color: #AAAAAA;
}
QAbstractItemView[hasFocus="false"]::branch:selected:hover {
background-color: #999999;
}
QAbstractItemView[hasFocus="true"]::branch:selected {
background-color: /*#0088CC*/ #006600;
}
QAbstractItemView[hasFocus="true"]::branch:selected:hover {
background-color: /*#0085C7*/ #008800;
}
QAbstractItemView::item:hover {
background: /*#F8F8F8*/ #666666;
}
QAbstractItemView::branch:hover {
background: /*#F8F8F8*/ #666666;
}
QAbstractItemView::branch:has-children:!has-siblings:closed,
QAbstractItemView::branch:closed:has-children:has-siblings {
border-image: none;
image: url(:/directory_collapsed.png);
}
QAbstractItemView::branch:open:has-children:!has-siblings,
QAbstractItemView::branch:open:has-children:has-siblings {
border-image: none;
image: url(:/directory_expanded.png);
}
QRadioButton {
color: /*#000000*/ #cccccc;
}
QCheckBox {
color: /*#000000*/ #cccccc;
}
/*
QCheckBox::indicator:unchecked {
background-color: #222222;
}
QCheckBox::indicator:checked {
background-color: #cccccc;
}
*/
QComboBox
{
selection-background-color: #5091bc;
background-color: /*#ffffff*/ #222222;
}
QComboBox:hover
{
background-color: /*#ffffff*/ #222222;
}
QComboBox:on
{
background-color: #777777;
selection-background-color: #777777;
}
QComboBox QAbstractItemView
{
background-color: /*#ffffff*/ #222222;
}
QHeaderView::section {
background-color: /*#e2edf5*/ #336633;
color: /*#5e707d*/ #cccccc;
padding: 0.125em;
border-top: 0em;
border-bottom: 0em;
border-left: 0em;
border-right: 0.062em solid #c2cfd8;
/* font-size: 11px; */
}
QLineEdit {
selection-background-color: #9ABFD9;
background-color: /*#ffffff*/ #222222;
color: /*#000000*/ #cccccc;
}
MostRecentCombo {
color: /*#000000*/ #cccccc;
}
QComboBox {
color: /*#000000*/ #cccccc;
}
QLineEdit[readOnly="true"]
{
color: /*#000000*/ #cccccc;
background: transparent;
}
QMainWindow {
background-color: #222222;
color: #cccccc;
}
QMainWindow::separator {
width: 0.062em;
height: 0.062em;
}
QMenuBar {
background-color: /*#f0f0f0*/ #202020;
selection-background-color: /*#9ABFD9*/ #606060;
color: /*#000000*/ #cccccc;
}
QMenu {
background-color: /*#ffffff*/ #202020; /* sets background of the menu */
border: 0.062em solid /*#999999*/ #666666;
padding-top: 0.31em;
}
QMenu::item {
/* sets background of menu item. set this to something non-transparent
if you want menu color and menu item color to be different */
background-color: transparent;
color: #cccccc;
}
QMenu::item:selected {
color: #ffffff;
background-color: /*#5091bc*/ #666666;
}
QMenu::item:disabled {
color: #666666;
}
QProgressBar
{
border: 0.062em solid #dddddd;
border-radius: 0em;
text-align: center;
}
QProgressBar::chunk {
background-color: #0088cc;
width: 0.62em;
margin: 0.062em;
}
QPushButton {
background-color: /*#f0f0f0*/ #444444;
color: /*black*/ #cccccc;
}
QPushButton:disabled {
color: #888888;
}
QScrollBar:horizontal {
border-top: 0.062em solid /*#dddddd*/ #000000;
background-color: /*#eeeeee*/ #444444;
height: 0.75em;
margin: 0em 0.75em 0 0.75em;
}
QScrollBar::handle:horizontal
{
background-color: /*#cccccc*/ #aaaaaa;
min-height: 1.1em;
}
QScrollBar::add-line:horizontal {
border-top: 0.062em solid /*#dddddd*/ #000000;
border-radius: 0em;
background-color: /*#eeeeee*/ #444444;
width: 0.75em;
subcontrol-position: right;
subcontrol-origin: margin;
}
QScrollBar::sub-line:horizontal {
border-top: 0.062em solid /*#dddddd*/ #000000;
border-radius: 0px;
background-color: /*#eeeeee*/ #444444;
width: 0.75em;
subcontrol-position: left;
subcontrol-origin: margin;
}
QScrollBar::left-arrow
{
height: 0.75em;
width: 0.75em;
image: url(:/scroll_left_arrow.png);
}
QScrollBar::right-arrow
{
height: 0.75em;
width: 0.75em;
image: url(:/scroll_right_arrow.png);
}
QScrollBar:vertical
{
background-color: /*#eeeeee*/ #444444;
width: 0.75em;
margin: 0.75em 0 0.75em 0;
border-left: 0.062em solid /*#dddddd*/ #000000;
}
QScrollBar::handle:vertical
{
background-color: /*#cccccc*/ #aaaaaa;
min-height: 1.1em;
border-radius: 0em;
}
QScrollBar::add-line:vertical
{
border-left: 0.062em solid /*#dddddd*/ #000000;
border-radius: 0em;
background-color: /*#eeeeee*/ #444444;
height: 0.75em;
subcontrol-position: bottom;
subcontrol-origin: margin;
}
QScrollBar::sub-line:vertical
{
border-left: 0.062em solid /*#dddddd*/ #000000;
border-radius: 0em;
background-color: /*#eeeeee*/ #444444;
height: 0.75em;
subcontrol-position: top;
subcontrol-origin: margin;
}
QScrollBar::up-arrow
{
height: 0.75em;
width: 0.75em;
image: url(:/scroll_up_arrow.png);
}
QScrollBar::down-arrow
{
height: 0.75em;
width: 0.75em;
image: url(:/scroll_down_arrow.png);
}
QSplitter {
background-color: transparent;
width: 0.4em;
height: 0.4em;
}
/* Main horizontal above log pane only*/
QSplitter#centralSplitter::handle {
height: 0.4em;
width: 0.25em;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 /*#a7a7a7*/ #444444, stop: 0.17 /*#a7a7a7*/ #444444,
stop: 0.18 transparent, stop: 0.83 transparent,
stop: 0.84 /*#a7a7a7*/ #444444, stop: 1.0 /*#a7a7a7*/ #444444);
}
QSplitter::handle:horizontal {
height: 0.25em;
width: 0.25em;
background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0,
stop: 0 /*#a7a7a7*/ #444444, stop: 0.17 /*#a7a7a7*/ #444444,
stop: 0.18 transparent, stop: 1.0 transparent);
image: url(:/splitter_handle_horizontal.png);
}
QSplitter::handle:vertical {
height: 0.25em;
width: 0.25em;
background-color: transparent;
image: url(:/splitter_handle_vertical.png);
}
QSplitter#P4MergeSplitter::handle:vertical {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 /*#a7a7a7*/ #444444, stop: 0.17 /*#a7a7a7*/ #444444,
stop: 0.18 transparent, stop: 0.83 transparent,
stop: 0.84 /*#a7a7a7*/ #444444, stop: 1.0 /*#a7a7a7*/ #444444);
}
P4mSplitter {
width: 3.12em;
}
QSplitterHandle {
background-color: /*#f0f0f0*/ #000000;
}
QTabBar::tab {
color: /*#888888*/ #aaaaaa;
background-color: /*#ededed*/ #333333;
border-left: none;
border-right: 0.062em solid /*#dddddd*/ #666666;
border-bottom: 0.062em solid #555555;
min-width: 0.5em;
padding: 0.32em;
margin-bottom: 0.13em;
}
QTabBar::tab:hover {
color: /*#444444*/ #aaaaaa;
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 /*#fdfdfd*/ #444444, stop: 0.89 /*#fdfdfd*/ #444444,
stop: 0.9 /*#a7a7a7*/ #666666, stop: 1.0 /*#a7a7a7*/ #666666);
margin-bottom: 0.13em;
}
QTabBar::tab:selected {
color: /*#444444*/ #cccccc;
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 /*#fdfdfd*/ #555555, stop: 0.89 /*#fdfdfd*/ #555555,
stop: 0.9 /*#a7a7a7*/ #aaccaa, stop: 1.0 /*#a7a7a7*/ #aaccaa);
border-top-left-radius: 0em;
border-top-right-radius: 0em;
margin-bottom: 0.13em;
}
QTabBar::tab:!selected { /* make non-selected tabs look smaller */
margin-top: 0em;
}
QTabBar::tab:first:selected { /* the first selected tab has nothing to overlap with on the left */
margin-left: 0;
}
QTabBar::tab:last:selected { /* the last selected tab has nothing to overlap with on the right */
margin-right: 0;
}
QTabBar::tab:only-one { /* if there is only one tab, we don't want overlapping margins */
margin: 0;
}
QTabBar::close-button {
image: url(:/clear_icon.png);
margin-bottom: 0.25em;
}
QTabBar {
background-color: /*#f0f0f0*/ #333333;
}
QTabWidget::tab-bar {
background-color: /*#ededed*/ #222222;
left: 0em;
}
QTabWidget::pane {
border: 1px solid #666666;
}
QTextEdit[readOnly="true"]
{
color: /*#000000*/ #cccccc;
padding: 0em;
background-color: transparent;
border: 0.062em solid rgba(0,0,0,10);
}
QTextEdit[readOnly="false"]
{
color: /*#000000*/ #cccccc;
background-color: /*#ffffff*/ #222222;
}
QDialog {
background-color: /*#f0f0f0*/ #333333;
}
QToolBar {
background-color: /*#ededed*/ #333333;
padding: 0.25em;
}
QStackedWidget {
background-color: /*#f0f0f0*/ #333333;
}
QWidget#centralWidget {
background-color: /*#f0f0f0*/ #333333;
}
UISpecList {
background-color: /*#f0f0f0*/ #333333;
}
UIWorkspace2 QToolBar {
background-color: /*#ededed*/ #333333;
spacing: 0.94em;
s}
QToolBar#P4VToolBar::separator:horizontal {
height: 6.25em;
width: 0.125em;
background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0,
stop: 0 /*#d8d8d8*/ #666666, stop: 0.5 /*#d8d8d8*/#666666,
stop: 0.6 /*#ffffff*/ #444444, stop: 1.0 /*#ffffff*/ #444444);
}
QToolBar#P4VToolBar::separator:vertical {
height: 0.125em;
width: 6.25em;
color: #FFFFFF;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 /*#d8d8d8*/ #666666, stop: 0.5 /*#d8d8d8*/#666666,
stop: 0.6 /*#ffffff*/ #444444, stop: 1.0 /*#ffffff*/ #444444);
}
QToolBar#AddressBar {
background-color: /*#ededed*/ #333333;
}
QToolBar#P4VToolBar QToolButton {
color: /*#333333*/ #cccccc;
/* font-size: 10px;*/
}
QScrollArea#filterScrollArea QWidget#filterScrollWidget {
background-color: /*#f0f0f0*/ #333333;
}
QScrollArea#filterScrollArea QToolButton {
background-color: /*#f0f0f0*/ #333333;
}
UIFilterWidget {
background-color: /*#f0f0f0*/ #333333;
}
WorkspaceStatusBar {
background-color: /*#f0f0f0*/ #333333;
color: /*#000000*/ #cccccc;
}
QFrame#ExtendedTabWidget-mCornerWidget {
background-color: /*#f0f0f0*/ #333333;
}
UIWorkspaceWidget {
background-color: /*#f0f0f0*/ #333333;
}
QFrame {
background-color: #333333;
color: #cccccc;
border-color: #000000;
}
QGroupBox {
color: #aaaaaa;
}
QToolBar#P4VToolBar QToolButton:hover {
background-color: /*#ededed*/ #333333;
color: /*#333333*/ #cccccc;
}
QToolBar#P4VToolBar QToolButton:disabled {
color: /*#cccccc*/ #666666;
}
QToolTip {
border: 0.062em solid /*#e5d36c*/ #000000;
background-color: /*#fdfdc9*/ #666666;
color: /*#000000*/ #eeeeee;
border-radius: 0em;
opacity: 250;
/* font-size: 11px;*/
}
QWidget#UIChangeWindow_QWidget {
background-color: /*#fafafa*/ #3a3a3a;
}
QWidget#InnerWidget_for_QScrollArea {
background-color: transparent;
}
RevDetails {
background-color: /*#ededed*/ #222222;
}
RevDetails QLabel {
color: #777777;
}
Gui--DirectoryTreeView {
background-color: /*#f1f4f9*/ #222222;
}
Gui--DirectoryTreeView::item:hover {
background-color: /*#E5E8ED*/ #666666;
}
Gui--DirectoryTreeView::branch:hover {
background-color: /*#E5E8ED*/ #666666;
}
UIBrowseUsersDialog {
background-color: /*#f0f0f0*/ #333333;
}
Gui--PasswordDialog {
background-color: /*#f0f0f0*/ #333333;
}
QDialogButtonBox {
background-color: transparent;
}
UISpecPicker {
background-color: /*#f0f0f0*/ #333333;
}
UIClearableComboBox QPushButton {
min-width:0em;
background-color:transparent;
}
UIConfigurationDialog {
background-color: /*#f0f0f0*/ #333333;
color: /*#888888*/ #cccccc;
}
UITabTitleWidget QStackedWidget#qt_tabwidget_stackedwidget {
background-color: /*#f1f4f9*/ #333333;
}
QStatusBar {
max-height: 1.3em;
}
Gui--FormWidget {
background-color: transparent;
}
UISpecWindow {
background-color: /*#fafafa*/ #222222;
}
UISpecWindow QLabel {
color: /*#666666*/ #aaaaaa;
}
QLabel {
color: /*#000000*/ #cccccc;
}
P4V added a dark theme option in version 2019.2.
You can activate it in the display settings (requires restart):
Edit / Preferences / Display / Application / Application color scheme
Short answer: no.
Longer answer: since P4V is built on Qt, in theory it should be possible to apply modified "styles" to it, but I have never heard of anyone doing this successfully. IIRC there are a lot of custom UI widgets that aren't style-able.
EDIT - This theme doesn't work correctly with the latest version of P4V, I recommend mokoto's answer above!
I've modified the Default.qss inside Perforce/P4VResources/skins to create my own dark theme.
I'll Post it here, I added comments and mainly just edited hex code values. Feel free to use and modify.
!https://imgur.com/a/IyvSX54
/* DARK THEME - JP */
/* Modified */
/* Log Window Text */
LightweightTextView
{
background-color: #1E1E1E;
color: #A0A0A0;
}
/* Generic Text */
QLabel {
background-color: #1E1E1E;
color: #A0A0A0;
}
/* History/Pending/Submitted Items */
QAbstractItemView {
background-color: #1E1E1E;
color: #A0A0A0;
}
/* Window In Focus */
QAbstractItemView[hasFocus="true"]::item:selected:hover {
background-color: #0085C7;
color: #D3D3D3;
}
QAbstractItemView[hasFocus="true"]::branch:selected:hover {
background-color: #0085C7;
color: #D3D3D3;
}
QAbstractItemView[hasFocus="true"]::item:selected {
background-color: #2B4D73;
color: #A0A0A0;
}
QAbstractItemView[hasFocus="true"]::branch:selected {
background-color: #2B4D73;
color: #A0A0A0;
}
/* Window Out Of Focus */
QAbstractItemView[hasFocus="false"]::item:selected:hover {
background-color: #0085C7;
color: #D3D3D3;
}
QAbstractItemView[hasFocus="false"]::branch:selected:hover {
background-color: #0085C7;
}
QAbstractItemView[hasFocus="false"]::item:selected {
background-color: #343434;
color: #A0A0A0;
}
QAbstractItemView[hasFocus="false"]::branch:selected {
background-color: #343434;
color: #A0A0A0;
}
QAbstractItemView::item:hover {
background-color: #0085C7;
color: #D3D3D3;
}
QAbstractItemView::branch:hover {
background-color: #0085C7;
color: #D3D3D3;
}
/* Expand/Collapse Icons */
QAbstractItemView::branch:has-children:!has-siblings:closed,
QAbstractItemView::branch:closed:has-children:has-siblings {
background-color: #1E1E1E;
border-image: none;
image: url(:/directory_collapsed.png);
}
QAbstractItemView::branch:open:has-children:!has-siblings,
QAbstractItemView::branch:open:has-children:has-siblings {
background-color: #1E1E1E;
border-image: none;
image: url(:/directory_expanded.png);
}
/* List Headers */
QHeaderView::section {
background-color: #404040;
color: #808080;
padding: 2px;
border-top: 0px;
border-bottom: 0px;
border-left: 0px;
border-right: 1px solid #c2cfd8;
font-size: 11px;
}
/* Text Input Boxes */
QLineEdit {
selection-background-color: #0085C7;
background-color: #5E5E5E;
color: #ffffff;
}
/* Unmodified */
/*
Modal lists can't figure out focus well
but we can hardcode them safely
*/
DefinitionTree::branch:selected {
background-color: #0088CC;
}
DefinitionTree::branch:selected:hover {
background-color: #0085C7;
}
DefinitionTree::item:selected {
background-color: #0088CC;
}
DefinitionTree::item:selected:hover {
background-color: #0085C7;
}
TFilterView::branch:selected {
background-color: #0088CC;
}
TFilterView::branch:selected:hover {
background-color: #0085C7;
}
TFilterView::item:selected {
background-color: #0088CC;
}
TFilterView::item:selected:hover {
background-color: #0085C7;
}
UIPreferencesDialog QTreeWidget::branch:selected {
background-color: #0088CC;
}
UIPreferencesDialog QTreeWidget::branch:selected:hover {
background-color: #0085C7;
}
UIPreferencesDialog QTreeWidget::item:selected {
background-color: #0088CC;
}
UIPreferencesDialog QTreeWidget::item:selected:hover {
background-color: #0085C7;
}
QTreeView::branch:selected {
background-color: #0088CC;
}
QTreeView::branch:selected:hover {
background-color: #0085C7;
}
QTreeView::item:selected {
background-color: #0088CC;
}
QTreeView::item:selected:hover {
background-color: #0085C7;
}
QTableWidget::item:selected {
background-color: #0088CC;
}
QTableWidget:item:selected:hover {
background-color: #0085C7;
}
ConnectionPane::item:selected {
background-color: #0088CC;
}
ConnectionPane:item:selected:hover {
background-color: #0085C7;
}
/*---------------------------------*/
/* NOT SURE WHAT THIS STUFF IS YET */
/*---------------------------------*/
QSplitter#P4MergeSplitter::handle:vertical {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #a7a7a7, stop: 0.17 #a7a7a7,
stop: 0.18 transparent, stop: 0.83 transparent,
stop: 0.84 #a7a7a7, stop: 1.0 #a7a7a7);
}
P4mSplitter {
width: 50px;
}
QSplitterHandle {
background-color: #f0f0f0;
}
QTabBar::tab {
background-color: #1E1E1E;
color: #A0A0A0;
border-left: none;
border-right: 1px solid #dddddd;
min-width: 8ex;
padding: 5px;
margin-bottom: 2px;
}
QTabBar::close-button {
image: url(:/clear_icon.png);
margin-bottom: 4px;
}
QTabWidget::tab-bar {
background-color: #ededed;
left: 0px;
}
QToolBar {
background-color: #ededed;
padding: 4px;
}
UISpecList {
background-color: #f0f0f0;
}
QToolBar#P4VToolBar::separator:vertical {
height: 2px;
width: 100px;
color: #FFFFFF;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #d8d8d8, stop: 0.5 #d8d8d8,
stop: 0.6 #ffffff, stop: 1.0 #ffffff);
}
UIFilterWidget {
background-color: #f0f0f0;
}
WorkspaceStatusBar {
background-color: #f0f0f0;
color: #000000;
}
QWidget#UIChangeWindow_QWidget {
background-color: #fafafa;
}
QWidget#InnerWidget_for_QScrollArea {
background-color: transparent;
}
RevDetails {
background-color: #ededed;
}
RevDetails QLabel {
color: #777777;
}
UIBrowseUsersDialog {
background-color: #f0f0f0;
}
Gui--PasswordDialog {
background-color: #f0f0f0;
}
QDialogButtonBox {
background-color: transparent;
}
UISpecPicker {
background-color: #f0f0f0;
}
UIClearableComboBox QPushButton {
min-width:0px;
background-color:transparent;
}
Gui--FormWidget {
background-color: transparent;
}
/*--------------------------------------------------------------------*/
/* THIS STUFF HAS BEEN MODIFIED BUT FOR SOME REASON IT CAN'T BE MOVED */
/*--------------------------------------------------------------------*/
/* Check Box */
QCheckBox {
background-color: #transparent;
color: #ffffff;
}
/* Combo Boxes */
QComboBox
{
selection-background-color: #5091bc;
background-color: #5E5E5E;
color: #ffffff;
}
QComboBox:hover
{
background-color: #8E8E8E;
color: #ffffff;
}
QComboBox:on
{
background-color: #777777;
selection-background-color: #777777;
}
QComboBox QAbstractItemView
{
background-color: #1E1E1E;
color: #ffffff;
}
MostRecentCombo {
background-color: #1E1E1E;
color: #ffffff;
}
QComboBox {
background-color: #5E5E5E;
color: #ffffff;
}
/* Read Only Text */
QLineEdit[readOnly="true"]
{
color: #ffffff;
background: transparent;
}
/* Title Bar Menu */
QMainWindow::separator {
width: 1px;
height: 1px;
}
QMenuBar {
background-color: #1E1E1E;
selection-background-color: #9ABFD9;
color: #A0A0A0;
}
QMenu {
background-color: #1E1E1E;
color: #A0A0A0;
border: 1px solid #999999;
padding-top: 5px;
}
QMenu::item {
/* sets background of menu item. set this to something non-transparent
if you want menu color and menu item color to be different */
background-color: transparent;
}
QMenu::item:selected {
color: #ffffff;
background-color: #5091bc;
}
/* Progress Bar Background */
QProgressBar
{
border: 1px solid #5E5E5E;
border-radius: 0px;
text-align: center;
}
/* Progress Bar Chunks */
QProgressBar::chunk {
background-color: #0088cc;
width: 10px;
margin: 1px;
}
/* Common Buttons */
QPushButton {
background-color: #1E1E1E;
color: #A0A0A0;
}
/* Scroll Bar Horizontal */
QScrollBar:horizontal {
border-top: 1px solid #ffffff;
background-color: #1E1E1E;
height: 13px;
margin: 0px 13px 0 13px;
}
QScrollBar::handle:horizontal
{
background-color: #5E5E5E;
min-height: 20px;
}
QScrollBar::add-line:horizontal {
border-top: 1px solid #ffffff;
border-radius: 0px;
background-color: #1E1E1E;
width: 13px;
subcontrol-position: right;
subcontrol-origin: margin;
}
QScrollBar::sub-line:horizontal {
border-top: 1px solid #ffffff;
border-radius: 0px;
background-color: #1E1E1E;
width: 13px;
subcontrol-position: left;
subcontrol-origin: margin;
}
QScrollBar::left-arrow
{
background-color: #5E5E5E;
height: 10px;
width: 10px;
image: url(:/scroll_left_arrow.png);
}
QScrollBar::right-arrow
{
background-color: #5E5E5E;
height: 10px;
width: 10px;
image: url(:/scroll_right_arrow.png);
}
/* Scroll Bar Vertical */
QScrollBar:vertical
{
background-color: #1E1E1E;
width: 13px;
margin: 13px 0 13px 0;
border-left: 1px solid #ffffff;
}
QScrollBar::handle:vertical
{
background-color: #5E5E5E;
min-height: 20px;
border-radius: 0px;
}
QScrollBar::add-line:vertical
{
border-left: 1px solid #ffffff;
border-radius: 0px;
background-color: #1E1E1E;
height: 13px;
subcontrol-position: bottom;
subcontrol-origin: margin;
}
QScrollBar::sub-line:vertical
{
border-left: 1px solid #ffffff;
border-radius: 0px;
background-color: #1E1E1E;
height: 13px;
subcontrol-position: top;
subcontrol-origin: margin;
}
QScrollBar::up-arrow
{
background-color: #5E5E5E;
height: 10px;
width: 10px;
image: url(:/scroll_up_arrow.png);
}
QScrollBar::down-arrow
{
background-color: #5E5E5E;
height: 10px;
width: 10px;
image: url(:/scroll_down_arrow.png);
}
/* Area Behind Filter Options */
QSplitter {
background-color: #1E1E1E;
width: 6px;
height: 6px;
}
/* Main horizontal above log pane only*/
QSplitter#centralSplitter::handle {
height: 6px;
width: 4px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #5E5E5E, stop: 0.17 #5E5E5E,
stop: 0.18 #5E5E5E, stop: 0.83 #5E5E5E,
stop: 0.84 #5E5E5E, stop: 1.0 #5E5E5E);
}
/* Horizontal Splitter Handle */
QSplitter::handle:horizontal {
height: 4px;
width: 4px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0,
stop: 0 #5E5E5E, stop: 0.17 #5E5E5E,
stop: 0.18 #5E5E5E, stop: 1.0 #5E5E5E);
image: url(:/splitter_handle_horizontal.png);
}
/* Vertical Splitter Handle */
QSplitter::handle:vertical {
height: 4px;
width: 4px;
background-color: #5E5E5E;
image: url(:/splitter_handle_vertical.png);
}
/* When hovering over a tab */
QTabBar::tab:hover {
color: #D3D3D3;
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #ff0000, stop: 0.89 #ff0000,
stop: 0.9 #ff0000, stop: 1.0 #ff0000);
margin-bottom: 2px;
}
/* When a tab that is not the first or last has been selected */
QTabBar::tab:selected {
color: #A0A0A0;
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #5E5E5E, stop: 0.89 #5E5E5E,
stop: 0.9 #5E5E5E, stop: 1.0 #5E5E5E);
border-top-left-radius: 0px;
border-top-right-radius: 0px;
margin-bottom: 2px;
}
/* When a tab is not selected */
QTabBar::tab:!selected { /* make non-selected tabs look smaller */
background-color: #1E1E1E;
color: #A0A0A0;
margin-top: 0px;
}
/* When the first tab has been selected */
QTabBar::tab:first:selected { /* the first selected tab has nothing to overlap with on the left */
background-color: #5E5E5E;
color: #A0A0A0;
margin-left: 0;
}
/* When the last tab has been selected */
QTabBar::tab:last:selected { /* the last selected tab has nothing to overlap with on the right */
background-color: #5E5E5E;
color: #A0A0A0;
margin-right: 0;
}
/* Single Tab Background */
QTabBar::tab:only-one { /* if there is only one tab, we don't want overlapping margins */
background-color: #5E5E5E;
color: #A0A0A0;
margin: 0;
}
/* Line Under Tabs */
QTabBar {
background-color: #1E1E1E;
}
/* Pop Up Window Text Boxes */
QTextEdit[readOnly="true"]
{
background-color: #5E5E5E;
color: #ffffff;
padding: 0px;
border: 1px solid rgba(0,0,0,10);
}
QTextEdit[readOnly="false"]
{
background-color: #5E5E5E;
color: #ffffff;
}
/* Pop Up Dialog */
QDialog {
background-color: #1E1E1E;
color: #A0A0A0;
}
/* Initial Pop Up Dialog */
QStackedWidget {
background-color: #1E1E1E;
color: #A0A0A0;
}
/* Center Sliding Widget */
QWidget#centralWidget {
background-color: #5E5E5E;
color: #A0A0A0;
}
/* Tool Bar Background */
UIWorkspace2 QToolBar {
background-color: #1E1E1E;
color: #A0A0A0;
spacing: 15px;
}
/* Tool Bar Horizontal Separator */
QToolBar#P4VToolBar::separator:horizontal {
height: 100px;
width: 2px;
color: #A0A0A0;
background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0,
stop: 0 #5E5E5E, stop: 0.5 #5E5E5E,
stop: 0.6 #5E5E5E, stop: 1.0 #5E5E5E);
}
/* Address Bar Background */
QToolBar#AddressBar {
background-color: #1E1E1E;
color: #A0A0A0;
}
/* Buttons */
QToolBar#P4VToolBar QToolButton {
background-color: #1E1E1E;
color: #808080;
font-size: 10px;
}
/* Filter Panel */
QScrollArea#filterScrollArea QWidget#filterScrollWidget {
background-color: #1E1E1E;
color: #A0A0A0;
}
/* + & - buttons */
QScrollArea#filterScrollArea QToolButton {
background-color: #5E5E5E;
color: #A0A0A0;
}
/* Widget Background */
QFrame#ExtendedTabWidget-mCornerWidget {
background-color: #5E5E5E;
color: #A0A0A0;
}
/* Generic Background Space */
UIWorkspaceWidget {
background-color: #1E1E1E;
color: #A0A0A0;
}
/* Button Hover */
QToolBar#P4VToolBar QToolButton:hover {
background-color: #1E1E1E;
color: #A0A0A0;
}
/* Button Disabled */
QToolBar#P4VToolBar QToolButton:disabled {
background-color: #1E1E1E;
color: #404040;
}
/* Tool Tips */
QToolTip {
border: 1px solid #e5d36c;
background-color: #fdfdc9;
color: #000000;
border-radius: 0px;
opacity: 250;
font-size: 11px;
}
/* Depo/Workspace Panel */
Gui--DirectoryTreeView {
background-color: #1E1E1E;
color: #A0A0A0;
}
Gui--DirectoryTreeView::item:hover {
background-color: #0085C7;
color: #D3D3D3;
}
Gui--DirectoryTreeView::branch:hover {
background-color: #0085C7;
color: #D3D3D3;
}
/* Common Background */
UIConfigurationDialog {
background-color: #1E1E1E;
color: #A0A0A0;
}
/* Border for Depo/Workspace Panel */
UITabTitleWidget QStackedWidget#qt_tabwidget_stackedwidget {
background-color: #1E1E1E;
color: #A0A0A0;
}
/* Bar At Bottom Of Window */
QStatusBar {
background-color: #1E1E1E;
color: #A0A0A0;
max-height: 20px;
margin-bottom: 1px;
}
/* Pop Up Window Background */
UISpecWindow {
background-color: #1E1E1E;
}
/* Pop Up Window Text */
UISpecWindow QLabel {
color: #A0A0A0;
}
There is a very slight enhancement of your dark theme:
I changed the text much lighter color (easier to read)
I set the color of disabled elements in the menu bar to darker gray so you notice them less
I did not check the entire theme, may be there are some text area where the color might not change or changes but should not
please be indulgent if you find one of those :-)
here is the file with the modification:
/* DARK THEME - JP */
/* Modified */
/* Log Window Text */
LightweightTextView
{
background-color: #1E1E1E;
color: #A0A0A0;
}
/* Generic Text */
QLabel {
background-color: #1E1E1E;
color: #d9d9d9;
}
/* History/Pending/Submitted Items */
QAbstractItemView {
background-color: #1E1E1E;
color: #d9d9d9;
}
/* Window In Focus */
QAbstractItemView[hasFocus="true"]::item:selected:hover {
background-color: #0085C7;
color: #D3D3D3;
}
QAbstractItemView[hasFocus="true"]::branch:selected:hover {
background-color: #0085C7;
color: #D3D3D3;
}
QAbstractItemView[hasFocus="true"]::item:selected {
background-color: #2B4D73;
color: #d9d9d9;
}
QAbstractItemView[hasFocus="true"]::branch:selected {
background-color: #2B4D73;
color: #d9d9d9;
}
/* Window Out Of Focus */
QAbstractItemView[hasFocus="false"]::item:selected:hover {
background-color: #0085C7;
color: #D3D3D3;
}
QAbstractItemView[hasFocus="false"]::branch:selected:hover {
background-color: #0085C7;
}
QAbstractItemView[hasFocus="false"]::item:selected {
background-color: #343434;
color: #d9d9d9;
}
QAbstractItemView[hasFocus="false"]::branch:selected {
background-color: #343434;
color: #d9d9d9;
}
QAbstractItemView::item:hover {
background-color: #0085C7;
color: #D3D3D3;
}
QAbstractItemView::branch:hover {
background-color: #0085C7;
color: #D3D3D3;
}
/* Expand/Collapse Icons */
QAbstractItemView::branch:has-children:!has-siblings:closed,
QAbstractItemView::branch:closed:has-children:has-siblings {
background-color: #1E1E1E;
border-image: none;
image: url(:/directory_collapsed.png);
}
QAbstractItemView::branch:open:has-children:!has-siblings,
QAbstractItemView::branch:open:has-children:has-siblings {
background-color: #1E1E1E;
border-image: none;
image: url(:/directory_expanded.png);
}
/* List Headers */
QHeaderView::section {
background-color: #404040;
color: #808080;
padding: 2px;
border-top: 0px;
border-bottom: 0px;
border-left: 0px;
border-right: 1px solid #c2cfd8;
font-size: 11px;
}
/* Text Input Boxes */
QLineEdit {
selection-background-color: #0085C7;
background-color: #5E5E5E;
color: #ffffff;
}
/* Unmodified */
/*
Modal lists can't figure out focus well
but we can hardcode them safely
*/
DefinitionTree::branch:selected {
background-color: #0088CC;
}
DefinitionTree::branch:selected:hover {
background-color: #0085C7;
}
DefinitionTree::item:selected {
background-color: #0088CC;
}
DefinitionTree::item:selected:hover {
background-color: #0085C7;
}
TFilterView::branch:selected {
background-color: #0088CC;
}
TFilterView::branch:selected:hover {
background-color: #0085C7;
}
TFilterView::item:selected {
background-color: #0088CC;
}
TFilterView::item:selected:hover {
background-color: #0085C7;
}
UIPreferencesDialog QTreeWidget::branch:selected {
background-color: #0088CC;
}
UIPreferencesDialog QTreeWidget::branch:selected:hover {
background-color: #0085C7;
}
UIPreferencesDialog QTreeWidget::item:selected {
background-color: #0088CC;
}
UIPreferencesDialog QTreeWidget::item:selected:hover {
background-color: #0085C7;
}
QTreeView::branch:selected {
background-color: #0088CC;
}
QTreeView::branch:selected:hover {
background-color: #0085C7;
}
QTreeView::item:selected {
background-color: #0088CC;
}
QTreeView::item:selected:hover {
background-color: #0085C7;
}
QTableWidget::item:selected {
background-color: #0088CC;
}
QTableWidget:item:selected:hover {
background-color: #0085C7;
}
ConnectionPane::item:selected {
background-color: #0088CC;
}
ConnectionPane:item:selected:hover {
background-color: #0085C7;
}
/*---------------------------------*/
/* NOT SURE WHAT THIS STUFF IS YET */
/*---------------------------------*/
QSplitter#P4MergeSplitter::handle:vertical {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #a7a7a7, stop: 0.17 #a7a7a7,
stop: 0.18 transparent, stop: 0.83 transparent,
stop: 0.84 #a7a7a7, stop: 1.0 #a7a7a7);
}
P4mSplitter {
width: 50px;
}
QSplitterHandle {
background-color: #f0f0f0;
}
QTabBar::tab {
background-color: #1E1E1E;
color: #d9d9d9;
border-left: none;
border-right: 1px solid #dddddd;
min-width: 8ex;
padding: 5px;
margin-bottom: 2px;
}
QTabBar::close-button {
image: url(:/clear_icon.png);
margin-bottom: 4px;
}
QTabWidget::tab-bar {
background-color: #ededed;
left: 0px;
}
QToolBar {
background-color: #ededed;
padding: 4px;
}
UISpecList {
background-color: #f0f0f0;
}
QToolBar#P4VToolBar::separator:vertical {
height: 2px;
width: 100px;
color: #FFFFFF;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #d8d8d8, stop: 0.5 #d8d8d8,
stop: 0.6 #ffffff, stop: 1.0 #ffffff);
}
UIFilterWidget {
background-color: #f0f0f0;
}
WorkspaceStatusBar {
background-color: #f0f0f0;
color: #000000;
}
QWidget#UIChangeWindow_QWidget {
background-color: #fafafa;
}
QWidget#InnerWidget_for_QScrollArea {
background-color: transparent;
}
RevDetails {
background-color: #ededed;
}
RevDetails QLabel {
color: #777777;
}
UIBrowseUsersDialog {
background-color: #f0f0f0;
}
Gui--PasswordDialog {
background-color: #f0f0f0;
}
QDialogButtonBox {
background-color: transparent;
}
UISpecPicker {
background-color: #f0f0f0;
}
UIClearableComboBox QPushButton {
min-width:0px;
background-color:transparent;
}
Gui--FormWidget {
background-color: transparent;
}
/*--------------------------------------------------------------------*/
/* THIS STUFF HAS BEEN MODIFIED BUT FOR SOME REASON IT CAN'T BE MOVED */
/*--------------------------------------------------------------------*/
/* Check Box */
QCheckBox {
background-color: #transparent;
color: #ffffff;
}
/* Combo Boxes */
QComboBox
{
selection-background-color: #5091bc;
background-color: #5E5E5E;
color: #ffffff;
}
QComboBox:hover
{
background-color: #8E8E8E;
color: #ffffff;
}
QComboBox:on
{
background-color: #777777;
selection-background-color: #777777;
}
QComboBox QAbstractItemView
{
background-color: #1E1E1E;
color: #ffffff;
}
MostRecentCombo {
background-color: #1E1E1E;
color: #ffffff;
}
QComboBox {
background-color: #5E5E5E;
color: #ffffff;
}
/* Read Only Text */
QLineEdit[readOnly="true"]
{
color: #ffffff;
background: transparent;
}
/* Title Bar Menu */
QMainWindow::separator {
width: 1px;
height: 1px;
}
QMenuBar {
background-color: #1E1E1E;
selection-background-color: #9ABFD9;
color: #d9d9d9;
}
QMenu {
background-color: #1E1E1E;
color: #d9d9d9;
border: 1px solid #999999;
padding-top: 5px;
}
QMenu::item {
/* sets background of menu item. set this to something non-transparent
if you want menu color and menu item color to be different */
background-color: transparent;
}
QMenu::item:selected {
color: #ffffff;
background-color: #5091bc;
}
QMenu::item:disabled {
color: #8c8c8c;
}
/* Progress Bar Background */
QProgressBar
{
border: 1px solid #5E5E5E;
border-radius: 0px;
text-align: center;
}
/* Progress Bar Chunks */
QProgressBar::chunk {
background-color: #0088cc;
width: 10px;
margin: 1px;
}
/* Common Buttons */
QPushButton {
background-color: #1E1E1E;
color: #d9d9d9;
}
/* Scroll Bar Horizontal */
QScrollBar:horizontal {
border-top: 1px solid #ffffff;
background-color: #1E1E1E;
height: 13px;
margin: 0px 13px 0 13px;
}
QScrollBar::handle:horizontal
{
background-color: #5E5E5E;
min-height: 20px;
}
QScrollBar::add-line:horizontal {
border-top: 1px solid #ffffff;
border-radius: 0px;
background-color: #1E1E1E;
width: 13px;
subcontrol-position: right;
subcontrol-origin: margin;
}
QScrollBar::sub-line:horizontal {
border-top: 1px solid #ffffff;
border-radius: 0px;
background-color: #1E1E1E;
width: 13px;
subcontrol-position: left;
subcontrol-origin: margin;
}
QScrollBar::left-arrow
{
background-color: #5E5E5E;
height: 10px;
width: 10px;
image: url(:/scroll_left_arrow.png);
}
QScrollBar::right-arrow
{
background-color: #5E5E5E;
height: 10px;
width: 10px;
image: url(:/scroll_right_arrow.png);
}
/* Scroll Bar Vertical */
QScrollBar:vertical
{
background-color: #1E1E1E;
width: 13px;
margin: 13px 0 13px 0;
border-left: 1px solid #ffffff;
}
QScrollBar::handle:vertical
{
background-color: #5E5E5E;
min-height: 20px;
border-radius: 0px;
}
QScrollBar::add-line:vertical
{
border-left: 1px solid #ffffff;
border-radius: 0px;
background-color: #1E1E1E;
height: 13px;
subcontrol-position: bottom;
subcontrol-origin: margin;
}
QScrollBar::sub-line:vertical
{
border-left: 1px solid #ffffff;
border-radius: 0px;
background-color: #1E1E1E;
height: 13px;
subcontrol-position: top;
subcontrol-origin: margin;
}
QScrollBar::up-arrow
{
background-color: #5E5E5E;
height: 10px;
width: 10px;
image: url(:/scroll_up_arrow.png);
}
QScrollBar::down-arrow
{
background-color: #5E5E5E;
height: 10px;
width: 10px;
image: url(:/scroll_down_arrow.png);
}
/* Area Behind Filter Options */
QSplitter {
background-color: #1E1E1E;
width: 6px;
height: 6px;
}
/* Main horizontal above log pane only*/
QSplitter#centralSplitter::handle {
height: 6px;
width: 4px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #5E5E5E, stop: 0.17 #5E5E5E,
stop: 0.18 #5E5E5E, stop: 0.83 #5E5E5E,
stop: 0.84 #5E5E5E, stop: 1.0 #5E5E5E);
}
/* Horizontal Splitter Handle */
QSplitter::handle:horizontal {
height: 4px;
width: 4px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0,
stop: 0 #5E5E5E, stop: 0.17 #5E5E5E,
stop: 0.18 #5E5E5E, stop: 1.0 #5E5E5E);
image: url(:/splitter_handle_horizontal.png);
}
/* Vertical Splitter Handle */
QSplitter::handle:vertical {
height: 4px;
width: 4px;
background-color: #5E5E5E;
image: url(:/splitter_handle_vertical.png);
}
/* When hovering over a tab */
QTabBar::tab:hover {
color: #D3D3D3;
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #ff0000, stop: 0.89 #ff0000,
stop: 0.9 #ff0000, stop: 1.0 #ff0000);
margin-bottom: 2px;
}
/* When a tab that is not the first or last has been selected */
QTabBar::tab:selected {
color: #d9d9d9;
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #5E5E5E, stop: 0.89 #5E5E5E,
stop: 0.9 #5E5E5E, stop: 1.0 #5E5E5E);
border-top-left-radius: 0px;
border-top-right-radius: 0px;
margin-bottom: 2px;
}
/* When a tab is not selected */
QTabBar::tab:!selected { /* make non-selected tabs look smaller */
background-color: #1E1E1E;
color: #d9d9d9;
margin-top: 0px;
}
/* When the first tab has been selected */
QTabBar::tab:first:selected { /* the first selected tab has nothing to overlap with on the left */
background-color: #5E5E5E;
color: #d9d9d9;
margin-left: 0;
}
/* When the last tab has been selected */
QTabBar::tab:last:selected { /* the last selected tab has nothing to overlap with on the right */
background-color: #5E5E5E;
color: #d9d9d9;
margin-right: 0;
}
/* Single Tab Background */
QTabBar::tab:only-one { /* if there is only one tab, we don't want overlapping margins */
background-color: #5E5E5E;
color: #d9d9d9;
margin: 0;
}
/* Line Under Tabs */
QTabBar {
background-color: #1E1E1E;
}
/* Pop Up Window Text Boxes */
QTextEdit[readOnly="true"]
{
background-color: #5E5E5E;
color: #ffffff;
padding: 0px;
border: 1px solid rgba(0,0,0,10);
}
QTextEdit[readOnly="false"]
{
background-color: #5E5E5E;
color: #ffffff;
}
/* Pop Up Dialog */
QDialog {
background-color: #1E1E1E;
color: #d9d9d9;
}
/* Initial Pop Up Dialog */
QStackedWidget {
background-color: #1E1E1E;
color: #d9d9d9;
}
/* Center Sliding Widget */
QWidget#centralWidget {
background-color: #5E5E5E;
color: #d9d9d9;
}
/* Tool Bar Background */
UIWorkspace2 QToolBar {
background-color: #1E1E1E;
color: #d9d9d9;
spacing: 15px;
}
/* Tool Bar Horizontal Separator */
QToolBar#P4VToolBar::separator:horizontal {
height: 100px;
width: 2px;
color: #d9d9d9;
background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0,
stop: 0 #5E5E5E, stop: 0.5 #5E5E5E,
stop: 0.6 #5E5E5E, stop: 1.0 #5E5E5E);
}
/* Address Bar Background */
QToolBar#AddressBar {
background-color: #1E1E1E;
color: #d9d9d9;
}
/* Buttons */
QToolBar#P4VToolBar QToolButton {
background-color: #1E1E1E;
color: #808080;
font-size: 10px;
}
/* Filter Panel */
QScrollArea#filterScrollArea QWidget#filterScrollWidget {
background-color: #1E1E1E;
color: #d9d9d9;
}
/* + & - buttons */
QScrollArea#filterScrollArea QToolButton {
background-color: #5E5E5E;
color: #d9d9d9;
}
/* Widget Background */
QFrame#ExtendedTabWidget-mCornerWidget {
background-color: #5E5E5E;
color: #d9d9d9;
}
/* Generic Background Space */
UIWorkspaceWidget {
background-color: #1E1E1E;
color: #d9d9d9;
}
/* Button Hover */
QToolBar#P4VToolBar QToolButton:hover {
background-color: #1E1E1E;
color: #d9d9d9;
}
/* Button Disabled */
QToolBar#P4VToolBar QToolButton:disabled {
background-color: #1E1E1E;
color: #404040;
}
/* Tool Tips */
QToolTip {
border: 1px solid #e5d36c;
background-color: #fdfdc9;
color: #000000;
border-radius: 0px;
opacity: 250;
font-size: 11px;
}
/* Depo/Workspace Panel */
Gui--DirectoryTreeView {
background-color: #1E1E1E;
color: #d9d9d9;
}
Gui--DirectoryTreeView::item:hover {
background-color: #0085C7;
color: #D3D3D3;
}
Gui--DirectoryTreeView::branch:hover {
background-color: #0085C7;
color: #D3D3D3;
}
/* Common Background */
UIConfigurationDialog {
background-color: #1E1E1E;
color: #d9d9d9;
}
/* Border for Depo/Workspace Panel */
UITabTitleWidget QStackedWidget#qt_tabwidget_stackedwidget {
background-color: #1E1E1E;
color: #d9d9d9;
}
/* Bar At Bottom Of Window */
QStatusBar {
background-color: #1E1E1E;
color: #d9d9d9;
max-height: 20px;
margin-bottom: 1px;
}
/* Pop Up Window Background */
UISpecWindow {
background-color: #1E1E1E;
}
/* Pop Up Window Text */
UISpecWindow QLabel {
color: #d9d9d9;
}