|
Kite |
8c766d |
/* -----------------------------------------------------------------------------
|
|
Kite |
8c766d |
Main
|
|
Kite |
8c766d |
----------------------------------------------------------------------------- */
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
QWidget {
|
|
Kite |
8c766d |
background-color: @bg;
|
|
Kite |
8c766d |
color: @text-color;
|
|
Kite |
8c766d |
&:disabled {
|
|
Kite |
8c766d |
color: @text-color-disabled;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
QFrame {
|
|
Kite |
8c766d |
border: 0;
|
|
Kite |
8c766d |
margin: 0;
|
|
Kite |
8c766d |
padding: 0;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
QToolTip,
|
|
Kite |
8c766d |
#helpToolTip {
|
|
Kite |
8c766d |
background-color: @tooltip-bg-color;
|
|
Kite |
8c766d |
border: 1 solid @tooltip-border-color;
|
|
Kite |
8c766d |
color: @tooltip-text-color;
|
|
Kite |
8c766d |
padding: 1 1;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#DockSeparator,
|
|
Kite |
8c766d |
QMainWindow::separator,
|
|
Kite |
8c766d |
QSplitter::handle {
|
|
Kite |
8c766d |
background-color: @dock-bg-color;
|
|
Kite |
8c766d |
height: 4;
|
|
Kite |
8c766d |
width: 4;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#TDockPlaceholder {
|
|
Kite |
8c766d |
background-color: @dock-placeholder-color;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
TPanel {
|
|
Kite |
8c766d |
background-color: @dock-bg-color;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
/* -----------------------------------------------------------------------------
|
|
Kite |
8c766d |
Topbar
|
|
Kite |
8c766d |
----------------------------------------------------------------------------- */
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#TopBar {
|
|
Kite |
8c766d |
background: @topbar-bg-color;
|
|
Kite |
8c766d |
border: 0;
|
|
Kite |
521c84 |
border-bottom: 1 solid @topbar-border-color;
|
|
Kite |
8c766d |
& #EditToolLockButton {
|
|
Kite |
8c766d |
background: @topbar-bg-color;
|
|
Kite |
8c766d |
spacing: 0;
|
|
Kite |
8c766d |
&::indicator {
|
|
Kite |
521c84 |
// inherits from #ToolOptions window
|
|
Kite |
8c766d |
background: none;
|
|
Kite |
8c766d |
border: none;
|
|
Kite |
8c766d |
padding-left: 0;
|
|
Kite |
8c766d |
padding-right: 0;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#TopBarTabContainer {
|
|
Kite |
8c766d |
background-color: @topbar-bg-color;
|
|
Kite |
8c766d |
margin-bottom: 1; // Required for #TopBar border-bottom to show
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#StackedMenuBar {
|
|
Kite |
8c766d |
border: 0;
|
|
Kite |
8c766d |
margin: 0;
|
|
Kite |
8c766d |
padding: 0;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
QMenuBar {
|
|
Kite |
8c766d |
background-color: @topbar-bg-color;
|
|
Kite |
8c766d |
border: 0;
|
|
Kite |
8c766d |
&::item {
|
|
Kite |
8c766d |
background-color: @topbar-bg-color;
|
|
Kite |
8c766d |
border-left: 1 solid @topbar-bg-color; // Helps to align with QMenu
|
|
Kite |
8c766d |
margin: 0;
|
|
Kite |
521c84 |
padding: 3 5 3 5;
|
|
Kite |
8c766d |
&:selected {
|
|
Kite |
8c766d |
.hl-color-secondary;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:pressed {
|
|
Kite |
8c766d |
.hl-color;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
/* -----------------------------------------------------------------------------
|
|
Kite |
8c766d |
Workspaces
|
|
Kite |
8c766d |
----------------------------------------------------------------------------- */
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#TopBarTab {
|
|
Kite |
8c766d |
margin: 0;
|
|
Kite |
8c766d |
padding: 0;
|
|
Kite |
8c766d |
&::tab {
|
|
Kite |
8c766d |
background-color: @rooms-tab-bg-color;
|
|
Kite |
521c84 |
border-top: 1 solid @tab-border-color;
|
|
Kite |
521c84 |
border-right: 1 solid @tab-border-color;
|
|
Kite |
8c766d |
color: @rooms-tab-text-color;
|
|
Kite |
521c84 |
margin: 0 0 -1 0;
|
|
Kite |
8c766d |
padding: 2 8 3 8;
|
|
Kite |
8c766d |
&:hover {
|
|
Kite |
8c766d |
background-color: @rooms-tab-bg-color-hover;
|
|
Kite |
521c84 |
color: @tab-text-color-hover;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:selected {
|
|
Kite |
8c766d |
background-color: @rooms-tab-bg-color-selected;
|
|
Kite |
8c766d |
color: @rooms-tab-text-color-selected;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:first {
|
|
Kite |
8c766d |
border-left: 1 solid @accent;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:last {
|
|
Kite |
8c766d |
border-right: 1 solid @accent;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
521c84 |
& QToolButton {
|
|
Kite |
521c84 |
border-left: 2 solid @accent;
|
|
Kite |
521c84 |
border-top: 1 solid @accent;
|
|
Kite |
521c84 |
border-right: 1 solid @accent;
|
|
Kite |
521c84 |
border-bottom: 0;
|
|
Kite |
521c84 |
margin-left: -1;
|
|
Kite |
521c84 |
margin-top: 0;
|
|
Kite |
521c84 |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
/* -----------------------------------------------------------------------------
|
|
Kite |
8c766d |
Menu
|
|
Kite |
8c766d |
----------------------------------------------------------------------------- */
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
QMenu {
|
|
Kite |
8c766d |
background-color: @menu-bg-color;
|
|
Kite |
8c766d |
border: 1 solid @menu-border-color;
|
|
Kite |
b0dac2 |
color: @menu-text-color;
|
|
Kite |
8c766d |
padding: 2 0;
|
|
Kite |
8c766d |
&::item {
|
|
Kite |
521c84 |
border: 0;
|
|
Kite |
8c766d |
padding: 3 28;
|
|
Kite |
8c766d |
&:selected {
|
|
Kite |
521c84 |
background-color: @menu-item-bg-color-selected;
|
|
Kite |
521c84 |
color: @menu-item-text-color-selected;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:checked {
|
|
Kite |
8c766d |
color: @menu-checkbox-text-color-selected;
|
|
Kite |
8c766d |
&:selected {
|
|
Kite |
521c84 |
background-color: @menu-item-bg-color-selected;
|
|
Kite |
521c84 |
color: @menu-item-text-color-selected;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:disabled {
|
|
Kite |
8c766d |
background: none;
|
|
Kite |
8c766d |
color: @text-color-disabled;
|
|
Kite |
8c766d |
&:selected {
|
|
Kite |
b0dac2 |
color: @text-color-disabled; /* fix for disabled indicator */
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&::separator {
|
|
Kite |
8c766d |
border-top: 1 solid @menu-separator-color;
|
|
Kite |
8c766d |
height: 0;
|
|
Kite |
8c766d |
margin: 2 0;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&::icon {
|
|
Kite |
8c766d |
border-radius: 2;
|
|
Kite |
521c84 |
position: absolute;
|
|
Kite |
521c84 |
left: 5;
|
|
Kite |
521c84 |
padding: 0;
|
|
Kite |
521c84 |
margin: 0;
|
|
Kite |
521c84 |
qproperty-icon: url('@{img-url}/none');
|
|
Kite |
8c766d |
&:checked {
|
|
Kite |
521c84 |
background-color: @menu-icon-checked-bg-color;
|
|
Kite |
521c84 |
border: 1 solid @menu-icon-checked-border-color;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&::indicator {
|
|
manongjohn |
233fcf |
&:non-exclusive {
|
|
manongjohn |
233fcf |
&:extend(.CheckBox::indicator all);
|
|
manongjohn |
233fcf |
}
|
|
manongjohn |
233fcf |
&:exclusive {
|
|
manongjohn |
233fcf |
&:extend(.RadioButton::indicator all);
|
|
manongjohn |
233fcf |
}
|
|
Kite |
8c766d |
margin-left: 7;
|
|
Kite |
b0dac2 |
&:non-exclusive {
|
|
Kite |
b0dac2 |
&:extend(.CheckBox::indicator all);
|
|
Kite |
b0dac2 |
}
|
|
Kite |
b0dac2 |
&:exclusive {
|
|
Kite |
b0dac2 |
&:extend(.RadioButton::indicator all);
|
|
Kite |
b0dac2 |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
/* -----------------------------------------------------------------------------
|
|
Kite |
8c766d |
Titlebars
|
|
Kite |
8c766d |
----------------------------------------------------------------------------- */
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
TPanelTitleBar {
|
|
Kite |
8c766d |
background-color: @title-bg-color;
|
|
Kite |
521c84 |
border-bottom: @title-border-width solid @title-border-color;
|
|
Kite |
521c84 |
height: 18;
|
|
Kite |
521c84 |
min-height: 18;
|
|
Kite |
8c766d |
qproperty-TitleColor: @title-text-color;
|
|
Kite |
8c766d |
qproperty-ActiveTitleColor: @title-text-color-active;
|
|
Kite |
8c766d |
// QSS only works when pixmaps are set to 'none'
|
|
Kite |
8c766d |
qproperty-BorderPixmap: url('none');
|
|
Kite |
8c766d |
qproperty-ActiveBorderPixmap: url('@{img-url}/@{title-active-border-pixmap}');
|
|
Kite |
8c766d |
qproperty-FloatBorderPixmap: url('none');
|
|
Kite |
8c766d |
qproperty-FloatActiveBorderPixmap: url('@{img-url}/@{title-active-border-pixmap}');
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
521c84 |
TPanelTitleBarButton {
|
|
Kite |
521c84 |
qproperty-PressedColor: @title-button-pressed-color;
|
|
Kite |
521c84 |
qproperty-FreezeColor: @title-button-freeze-color;
|
|
Kite |
521c84 |
qproperty-PreviewColor: @title-button-preview-color;
|
|
Kite |
521c84 |
qproperty-OverColor: @title-button-rollover-color;
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
|
|
Kite |
8c766d |
/* -----------------------------------------------------------------------------
|
|
Kite |
8c766d |
Scrollbars
|
|
Kite |
8c766d |
----------------------------------------------------------------------------- */
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
QAbstractScrollArea::corner {
|
|
Kite |
8c766d |
background-color: @scrollbar-bg-color;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
QScrollBar {
|
|
Kite |
8c766d |
background-color: @scrollbar-bg-color;
|
|
Kite |
8c766d |
border: 0;
|
|
Kite |
8c766d |
&:horizontal {
|
|
Kite |
521c84 |
height: 15;
|
|
Kite |
8c766d |
margin: 0;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:vertical {
|
|
Kite |
8c766d |
margin: 0;
|
|
Kite |
521c84 |
width: 15;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
&::handle {
|
|
Kite |
8c766d |
border: @scrollbar-handle-border-size solid @scrollbar-handle-border-color;
|
|
Kite |
8c766d |
border-radius: @scrollbar-handle-radius;
|
|
Kite |
8c766d |
&:horizontal,
|
|
Kite |
8c766d |
&:vertical {
|
|
Kite |
8c766d |
&:hover {
|
|
Kite |
8c766d |
background-color: @scrollbar-handle-bg-color-hover;
|
|
Kite |
8c766d |
border-color: @scrollbar-handle-border-color-hover;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:pressed {
|
|
Kite |
8c766d |
background-color: @scrollbar-handle-bg-color-pressed;
|
|
Kite |
8c766d |
border-color: @scrollbar-handle-border-color-pressed;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:horizontal {
|
|
Kite |
8c766d |
background-color: @scrollbar-handle-bg-color;
|
|
Kite |
8c766d |
margin: @scrollbar-handle-margin 16;
|
|
Kite |
8c766d |
min-width: 20;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:vertical {
|
|
Kite |
8c766d |
background-color: @scrollbar-handle-bg-color;
|
|
Kite |
521c84 |
margin: 16 @scrollbar-handle-margin 16 @scrollbar-handle-margin;
|
|
Kite |
8c766d |
min-height: 20;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
&::add-line {
|
|
Kite |
8c766d |
subcontrol-origin: margin;
|
|
Kite |
8c766d |
border: 0;
|
|
Kite |
8c766d |
&:horizontal { // right
|
|
Kite |
8c766d |
subcontrol-position: right;
|
|
Kite |
8c766d |
background-color: @scrollbar-bg-color;
|
|
Kite |
8c766d |
margin: 0;
|
|
Kite |
8c766d |
width: 16;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:vertical { // down
|
|
Kite |
8c766d |
subcontrol-position: bottom;
|
|
Kite |
8c766d |
background-color: @scrollbar-bg-color;
|
|
Kite |
8c766d |
margin: 0;
|
|
Kite |
8c766d |
height: 16;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
&::sub-line {
|
|
Kite |
8c766d |
border: 0;
|
|
Kite |
8c766d |
subcontrol-origin: margin;
|
|
Kite |
8c766d |
&:horizontal { // left
|
|
Kite |
8c766d |
subcontrol-position: left;
|
|
Kite |
8c766d |
background-color: @scrollbar-bg-color;
|
|
Kite |
8c766d |
margin: 0;
|
|
Kite |
8c766d |
width: 16;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:vertical { // up
|
|
Kite |
8c766d |
subcontrol-position: top;
|
|
Kite |
8c766d |
background-color: @scrollbar-bg-color;
|
|
Kite |
8c766d |
margin: 0;
|
|
Kite |
8c766d |
height: 16;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
521c84 |
@arrow-pressed: 1 0 0 0; // press effect shortcut, nudge arrow down 1
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
&::up-arrow:vertical {
|
|
Kite |
8c766d |
image: url('@{img-url}/scroll-up.svg');
|
|
Kite |
8c766d |
image-position: center center;
|
|
Kite |
8c766d |
&:pressed {
|
|
Kite |
8c766d |
margin: @arrow-pressed;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
&::down-arrow:vertical {
|
|
Kite |
8c766d |
image: url('@{img-url}/scroll-down.svg');
|
|
Kite |
8c766d |
image-position: center center;
|
|
Kite |
8c766d |
&:pressed {
|
|
Kite |
8c766d |
margin: @arrow-pressed;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
&::left-arrow:horizontal {
|
|
Kite |
8c766d |
image: url('@{img-url}/scroll-left.svg');
|
|
Kite |
8c766d |
image-position: center center;
|
|
Kite |
8c766d |
&:pressed {
|
|
Kite |
8c766d |
margin: @arrow-pressed;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
&::right-arrow:horizontal {
|
|
Kite |
8c766d |
image: url('@{img-url}/scroll-right.svg');
|
|
Kite |
8c766d |
image-position: center center;
|
|
Kite |
8c766d |
&:pressed {
|
|
Kite |
8c766d |
margin: @arrow-pressed;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
&::sub-page,
|
|
Kite |
8c766d |
&::add-page {
|
|
Kite |
8c766d |
&:horizontal,
|
|
Kite |
8c766d |
&:vertical {
|
|
Kite |
8c766d |
background: none;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
/* -----------------------------------------------------------------------------
|
|
Kite |
521c84 |
QToolBar
|
|
Kite |
8c766d |
----------------------------------------------------------------------------- */
|
|
Kite |
8c766d |
|
|
Kite |
521c84 |
/* This applies to QToolBar, this is not the #ToolBar window, although the
|
|
Kite |
521c84 |
properties here also apply in the window, you should look in
|
|
Kite |
521c84 |
[layouts/toolbar] if you want window control. */
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
QToolBar {
|
|
Kite |
8c766d |
padding: 0;
|
|
Kite |
8c766d |
&::separator {
|
|
Kite |
8c766d |
&:horizontal {
|
|
Kite |
8c766d |
border-left: 1 solid @accent;
|
|
Kite |
8c766d |
margin: 0 1;
|
|
Kite |
8c766d |
width: 0;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:vertical {
|
|
Kite |
8c766d |
border-top: 1 solid @accent;
|
|
Kite |
8c766d |
height: 0;
|
|
Kite |
8c766d |
margin: 1 0;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
& QLabel {
|
|
Kite |
8c766d |
margin-top: 1;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
& QToolBar {
|
|
Kite |
8c766d |
border: 0;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
QToolButton {
|
|
Kite |
8c766d |
&:extend(.button-tool all);
|
|
Kite |
521c84 |
margin-left: 1;
|
|
Kite |
521c84 |
margin-right: 1;
|
|
Kite |
521c84 |
padding: 0;
|
|
Kite |
8c766d |
&::menu-indicator {
|
|
Kite |
8c766d |
image: none;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&::menu-button {
|
|
Kite |
8c766d |
border-image: none;
|
|
Kite |
8c766d |
}
|
|
Kite |
521c84 |
&#qt_toolbar_ext_button {
|
|
Kite |
521c84 |
padding: 0;
|
|
Kite |
521c84 |
border: 0;
|
|
Kite |
521c84 |
margin: 0;
|
|
Kite |
521c84 |
qproperty-icon: url('@{img-url}/toolbar_extension_horizontal.png');
|
|
Kite |
521c84 |
&:hover {
|
|
Kite |
521c84 |
background-color: @button-bg-color-hover;
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
&:pressed {
|
|
Kite |
521c84 |
background-color: @button-bg-color-checked;
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
.DvScrollWidget {
|
|
Kite |
8c766d |
& QPushButton {
|
|
Kite |
521c84 |
background-color: @button-bg-color;
|
|
Kite |
521c84 |
border: 0 solid @accent;
|
|
Kite |
8c766d |
border-radius: 0;
|
|
Kite |
8c766d |
padding: 0;
|
|
Kite |
8c766d |
max-width: 16;
|
|
Kite |
8c766d |
&:hover {
|
|
Kite |
521c84 |
background-color: @button-bg-color-hover;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:pressed {
|
|
Kite |
521c84 |
background-color: @button-bg-color-pressed;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
DvScrollWidget {
|
|
Kite |
521c84 |
/* Multiple classes can use the same style as DvScrollWidget, and
|
|
Kite |
521c84 |
since the compiler can't handle extending to Qt names we place the
|
|
Kite |
521c84 |
style in a mixin and extend the name to it instead. */
|
|
Kite |
8c766d |
&:extend(.DvScrollWidget all);
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#ScrollLeftButton,
|
|
Kite |
8c766d |
#ScrollRightButton,
|
|
Kite |
8c766d |
#ScrollUpButton,
|
|
Kite |
8c766d |
#ScrollDownButton {
|
|
Kite |
8c766d |
&:extend(.DvScrollWidget all);
|
|
Kite |
8c766d |
margin: 0;
|
|
Kite |
8c766d |
min-width: 16;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#ScrollLeftButton {
|
|
Kite |
8c766d |
border-right: 1 solid @accent;
|
|
Kite |
8c766d |
image: url('@{img-url}/scroll-left.svg');
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
#ScrollRightButton {
|
|
Kite |
8c766d |
border-left: 1 solid @accent;
|
|
Kite |
8c766d |
margin-left: 3;
|
|
Kite |
8c766d |
image: url('@{img-url}/scroll-right.svg');
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
#ScrollUpButton {
|
|
Kite |
8c766d |
image: url('@{img-url}/scroll-up.svg');
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
#ScrollDownButton {
|
|
Kite |
8c766d |
image: url('@{img-url}/scroll-down.svg');
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
/* -------------------------------------------------------------------------- */
|
|
Kite |
8c766d |
|
|
Kite |
521c84 |
/* For the buttons to display a BG color we need to set a blank image, setting
|
|
Kite |
521c84 |
an empty URL solves this. */
|
|
Kite |
8c766d |
#keyFrameNavigator {
|
|
Kite |
521c84 |
background: transparent;
|
|
Kite |
8c766d |
margin: 0;
|
|
Kite |
8c766d |
padding: 0;
|
|
Kite |
8c766d |
#PreviousKey {
|
|
Kite |
521c84 |
margin: 0 2;
|
|
Kite |
521c84 |
padding-right: -1;
|
|
Kite |
521c84 |
width: 20px;
|
|
Kite |
521c84 |
height: 20px;
|
|
Kite |
521c84 |
image: url('');
|
|
Kite |
8c766d |
&:disabled {
|
|
Kite |
521c84 |
image: url('');
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
#NextKey {
|
|
Kite |
521c84 |
margin: 0 2;
|
|
Kite |
521c84 |
padding-right: -1;
|
|
Kite |
521c84 |
width: 20px;
|
|
Kite |
521c84 |
height: 20px;
|
|
Kite |
521c84 |
image: url('');
|
|
Kite |
8c766d |
&:disabled {
|
|
Kite |
521c84 |
image: url('');
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
521c84 |
#KeyNo,
|
|
Kite |
521c84 |
#KeyPartial,
|
|
Kite |
521c84 |
#KeyTotal {
|
|
Kite |
521c84 |
margin: 0;
|
|
Kite |
521c84 |
padding-right: -1;
|
|
Kite |
521c84 |
width: 20px;
|
|
Kite |
521c84 |
height: 20px;
|
|
Kite |
521c84 |
image: url('');
|
|
Kite |
521c84 |
&:disabled {
|
|
Kite |
521c84 |
image: url('');
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
#KeyNo {
|
|
Kite |
521c84 |
background-color: @keyframe-off-color;
|
|
Kite |
521c84 |
border: 1 solid @keyframe-off-border-color;
|
|
Kite |
521c84 |
image: url('');
|
|
Kite |
521c84 |
&:disabled {
|
|
Kite |
521c84 |
image: url('');
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
&:hover {
|
|
Kite |
521c84 |
background-color: @keyframe-off-color-hover;
|
|
Kite |
521c84 |
border-color: @keyframe-off-border-color-hover;
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
#KeyPartial {
|
|
Kite |
521c84 |
background-color: @keyframe-partial-color;
|
|
Kite |
521c84 |
border: 1 solid @keyframe-partial-border-color;
|
|
Kite |
521c84 |
image: url('');
|
|
Kite |
521c84 |
&:hover {
|
|
Kite |
521c84 |
background-color: @keyframe-partial-color-hover;
|
|
Kite |
521c84 |
border-color: @keyframe-partial-border-color-hover;
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
#KeyTotal {
|
|
Kite |
521c84 |
background-color: @keyframe-total-color;
|
|
Kite |
521c84 |
border: 1 solid @keyframe-total-border-color;
|
|
Kite |
521c84 |
&:hover {
|
|
Kite |
521c84 |
background-color: @keyframe-total-color-hover;
|
|
Kite |
521c84 |
border-color: @keyframe-total-border-color-hover;
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
& QToolButton#qt_toolbar_ext_button {
|
|
Kite |
521c84 |
// adjust for style
|
|
Kite |
521c84 |
padding-bottom: 3;
|
|
Kite |
521c84 |
border-radius: 2;
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
|
|
Kite |
521c84 |
/* -----------------------------------------------------------------------------
|
|
Kite |
521c84 |
Tab Containers
|
|
Kite |
521c84 |
----------------------------------------------------------------------------- */
|
|
Kite |
521c84 |
|
|
Kite |
521c84 |
#TabBarContainer {
|
|
Kite |
521c84 |
.tab-container;
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
|
|
Kite |
521c84 |
QTabBar {
|
|
Kite |
521c84 |
background-color: @tabbar-bg-color;
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
|
|
Kite |
521c84 |
/* -----------------------------------------------------------------------------
|
|
Kite |
521c84 |
Tabs
|
|
Kite |
521c84 |
----------------------------------------------------------------------------- */
|
|
Kite |
521c84 |
|
|
Kite |
521c84 |
QTabBar {
|
|
Kite |
521c84 |
&::tab {
|
|
Kite |
521c84 |
&:extend(.tab-flat all);
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
& QToolButton {
|
|
Kite |
521c84 |
/* Scroll buttons */
|
|
Kite |
521c84 |
margin: 0;
|
|
Kite |
521c84 |
background-color: @bg;
|
|
Kite |
521c84 |
border-radius: 0;
|
|
Kite |
521c84 |
border: 1 solid @accent;
|
|
Kite |
521c84 |
border-top: 0;
|
|
Kite |
521c84 |
padding: 3 2 2 2;
|
|
Kite |
521c84 |
&:hover, &:pressed {
|
|
Kite |
521c84 |
border-color: @accent;
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
&:disabled {
|
|
Kite |
521c84 |
color: @text-color-disabled;
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
/* -----------------------------------------------------------------------------
|
|
Kite |
521c84 |
Item Tree
|
|
Kite |
8c766d |
----------------------------------------------------------------------------- */
|
|
Kite |
8c766d |
|
|
Kite |
6ecce0 |
.treeview {
|
|
Kite |
6ecce0 |
background-color: @tree-bg-color;
|
|
Kite |
8c766d |
alternate-background-color: @tree-bg-color-alt;
|
|
Kite |
6ecce0 |
border: 0;
|
|
Kite |
6ecce0 |
margin: 0;
|
|
Kite |
6ecce0 |
outline: 0;
|
|
Kite |
6ecce0 |
|
|
Kite |
6ecce0 |
&::item {
|
|
Kite |
6ecce0 |
&:selected {
|
|
Kite |
6ecce0 |
.hl-color;
|
|
Kite |
6ecce0 |
}
|
|
Kite |
6ecce0 |
}
|
|
Kite |
6ecce0 |
|
|
Kite |
6ecce0 |
&::branch {
|
|
Kite |
6ecce0 |
&:adjoins-item {
|
|
Kite |
521c84 |
/* blank URL hides default Qt branch icons where it is not wanted */
|
|
Kite |
6ecce0 |
border-image: url('');
|
|
Kite |
6ecce0 |
}
|
|
Kite |
6ecce0 |
&:has-siblings {
|
|
Kite |
6ecce0 |
border-image: url('');
|
|
Kite |
6ecce0 |
&:adjoins-item {
|
|
Kite |
6ecce0 |
border-image: url('');
|
|
Kite |
6ecce0 |
}
|
|
Kite |
6ecce0 |
}
|
|
Kite |
6ecce0 |
&:has-children {
|
|
Kite |
6ecce0 |
&:closed {
|
|
Kite |
6ecce0 |
background: url('@{img-url}/treebranch-closed.svg') no-repeat;
|
|
Kite |
6ecce0 |
background-position: center center;
|
|
Kite |
6ecce0 |
border-image: none;
|
|
Kite |
6ecce0 |
image: none;
|
|
Kite |
6ecce0 |
}
|
|
Kite |
6ecce0 |
&:open {
|
|
Kite |
6ecce0 |
background: url('@{img-url}/treebranch-open.svg') no-repeat;
|
|
Kite |
6ecce0 |
background-position: center center;
|
|
Kite |
6ecce0 |
image: none;
|
|
Kite |
6ecce0 |
}
|
|
Kite |
6ecce0 |
&:has-siblings {
|
|
Kite |
6ecce0 |
&:closed {
|
|
Kite |
6ecce0 |
background: url('@{img-url}/treebranch-closed.svg') no-repeat;
|
|
Kite |
6ecce0 |
background-position: center center;
|
|
Kite |
6ecce0 |
border-image: none;
|
|
Kite |
6ecce0 |
image: none;
|
|
Kite |
6ecce0 |
}
|
|
Kite |
6ecce0 |
&:open {
|
|
Kite |
6ecce0 |
background: url('@{img-url}/treebranch-open.svg') no-repeat;
|
|
Kite |
6ecce0 |
background-position: center center;
|
|
Kite |
6ecce0 |
border-image: none;
|
|
Kite |
6ecce0 |
image: none;
|
|
Kite |
6ecce0 |
}
|
|
Kite |
6ecce0 |
}
|
|
Kite |
6ecce0 |
}
|
|
Kite |
6ecce0 |
}
|
|
Kite |
6ecce0 |
}
|
|
Kite |
6ecce0 |
|
|
Kite |
6ecce0 |
QTreeWidget,
|
|
Kite |
6ecce0 |
QTreeView {
|
|
Kite |
6ecce0 |
&:extend(.treeview all);
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
QListView {
|
|
Kite |
8c766d |
outline: 0; // hide focus border
|
|
Kite |
8c766d |
background: @tree-bg-color;
|
|
Kite |
8c766d |
alternate-background-color: @tree-bg-color-alt;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
/* -----------------------------------------------------------------------------
|
|
Jeremy Bullock |
ed3888 |
Tool Options - Override DvScroll Widget
|
|
Jeremy Bullock |
ed3888 |
----------------------------------------------------------------------------- */
|
|
Jeremy Bullock |
ed3888 |
|
|
Jeremy Bullock |
ed3888 |
#toolOptionsPanel {
|
|
Jeremy Bullock |
ed3888 |
QPushButton {
|
|
Jeremy Bullock |
ed3888 |
background-color: @button-bg-color;
|
|
Kite |
521c84 |
border: 1 solid @button-border-color;
|
|
Kite |
521c84 |
border-radius: 2;
|
|
Kite |
521c84 |
color: @button-text-color;
|
|
Kite |
521c84 |
margin: 0;
|
|
Kite |
521c84 |
padding: 0;
|
|
Jeremy Bullock |
ed3888 |
&:hover {
|
|
Kite |
521c84 |
background-color: @button-bg-color-hover;
|
|
Kite |
521c84 |
border-color: @button-border-color-hover;
|
|
Kite |
521c84 |
color: @button-text-color-hover;
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
&:pressed {
|
|
Kite |
521c84 |
background-color: @button-bg-color-pressed;
|
|
Kite |
521c84 |
border-color: @button-border-color-pressed;
|
|
Kite |
521c84 |
color: @button-text-color-pressed;
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
&:checked {
|
|
Kite |
521c84 |
background-color: @button-bg-color-checked;
|
|
Kite |
521c84 |
border-color: @button-border-color-checked;
|
|
Kite |
521c84 |
color: @button-text-color-checked;
|
|
Kite |
521c84 |
&:hover {
|
|
Kite |
521c84 |
background-color: @button-bg-color-checked-hover;
|
|
Kite |
521c84 |
&:pressed {
|
|
Kite |
521c84 |
background: @button-bg-color-checked-hover-pressed;
|
|
Kite |
521c84 |
}
|
|
Jeremy Bullock |
ed3888 |
}
|
|
Jeremy Bullock |
ed3888 |
}
|
|
Kite |
521c84 |
&:disabled {
|
|
Kite |
521c84 |
background-color: @button-bg-color-disabled;
|
|
Kite |
521c84 |
border-color: @button-border-color-disabled;
|
|
Kite |
521c84 |
color: @button-text-color-disabled;
|
|
Kite |
521c84 |
}
|
|
Jeremy Bullock |
ed3888 |
}
|
|
Kite |
521c84 |
}
|