|
Kite |
8c766d |
/* -----------------------------------------------------------------------------
|
|
Kite |
8c766d |
Style Editor
|
|
Kite |
8c766d |
----------------------------------------------------------------------------- */
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#StyleEditor {
|
|
Kite |
8c766d |
& #TabBarContainer {
|
|
Kite |
521c84 |
margin-left: -5px;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
& #bottomWidget {
|
|
Kite |
8c766d |
border-top: 1 solid @accent;
|
|
Kite |
8c766d |
padding: 3 2 8 3;
|
|
Kite |
8c766d |
& QPushButton {
|
|
Kite |
8c766d |
padding: 3 5;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
521c84 |
//#StyleEditorTabBar {}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#HexagonalColorWheel {
|
|
Kite |
8c766d |
qproperty-BGColor: @bg;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
/* -------------------------------------------------------------------------- */
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
/* Horizontal QSlider */
|
|
Kite |
8c766d |
#colorSlider {
|
|
Kite |
8c766d |
&::groove:horizontal {
|
|
Kite |
8c766d |
height: 1;
|
|
Kite |
8c766d |
border-image: none;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&::handle:horizontal {
|
|
Kite |
8c766d |
width: 8;
|
|
Kite |
8c766d |
margin: -8 -4;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#colorSliderAddButton,
|
|
Kite |
8c766d |
#colorSliderSubButton {
|
|
Kite |
8c766d |
background: none;
|
|
Kite |
8c766d |
border-color: transparent;
|
|
Kite |
8c766d |
image-position: center center;
|
|
Kite |
8c766d |
min-height: 16;
|
|
Kite |
8c766d |
padding: 0;
|
|
Kite |
521c84 |
min-width: 10;
|
|
Kite |
8c766d |
&:hover {
|
|
Kite |
8c766d |
&:extend(.button-tool:hover);
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:pressed {
|
|
Kite |
8c766d |
&:extend(.button-tool:pressed);
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#colorSliderAddButton {
|
|
Kite |
8c766d |
image: url('@{img-url}/scroll-right.svg');
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#colorSliderSubButton {
|
|
Kite |
8c766d |
image: url('@{img-url}/scroll-left.svg');
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#PlainColorPageParts {
|
|
Kite |
6ecce0 |
border-bottom: 1 solid @accent;
|
|
Kite |
8c766d |
& QLineEdit {
|
|
Kite |
8c766d |
max-width: 35;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
521c84 |
//#colorSliderLabel,
|
|
Kite |
521c84 |
//#colorSliderField {}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
/* -----------------------------------------------------------------------------
|
|
Kite |
8c766d |
Palette Viewer / Studio Palette
|
|
Kite |
8c766d |
----------------------------------------------------------------------------- */
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
PaletteViewer {
|
|
Kite |
8c766d |
& DvScrollWidget {
|
|
Kite |
8c766d |
& QPushButton {
|
|
Kite |
8c766d |
border-top: 0;
|
|
Kite |
b0dac2 |
margin-bottom: 0;
|
|
Kite |
8c766d |
max-width: 15;
|
|
Kite |
8c766d |
min-width: 15;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
& #ScrollLeftButton {
|
|
Kite |
8c766d |
border-radius: 0;
|
|
Kite |
b0dac2 |
margin-bottom: 0;
|
|
Kite |
8c766d |
max-width: 16;
|
|
Kite |
8c766d |
min-width: 16;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
& #ScrollRightButton {
|
|
Kite |
8c766d |
border-radius: 0;
|
|
Kite |
8c766d |
margin-left: 1;
|
|
Kite |
b0dac2 |
margin-bottom: 0;
|
|
Kite |
8c766d |
max-width: 16;
|
|
Kite |
8c766d |
min-width: 16;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
& QToolBar {
|
|
Kite |
521c84 |
background: transparent;
|
|
Kite |
8c766d |
&::separator:horizontal {
|
|
Kite |
b0dac2 |
margin: 0; // very compact space so we remove margin
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
& QToolButton {
|
|
Kite |
521c84 |
&:extend(.button-flat all); // use flat style for button
|
|
Kite |
521c84 |
padding: 0;
|
|
Kite |
521c84 |
padding-right: -2;
|
|
Kite |
521c84 |
padding-left: -1;
|
|
Kite |
521c84 |
}
|
|
Kite |
521c84 |
& #keyFrameNavigator {
|
|
Kite |
521c84 |
& #NextKey,
|
|
Kite |
521c84 |
#PreviousKey,
|
|
Kite |
521c84 |
#KeyNo,
|
|
Kite |
521c84 |
#KeyPartial,
|
|
Kite |
521c84 |
#KeyTotal {
|
|
Kite |
521c84 |
// Adjust for pixel perfect alignment
|
|
Kite |
521c84 |
max-width: 20px;
|
|
Kite |
521c84 |
max-height: 20px;
|
|
Kite |
521c84 |
padding: 1;
|
|
Kite |
521c84 |
border: 0;
|
|
Kite |
521c84 |
margin: 0;
|
|
Kite |
521c84 |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
521c84 |
// #StudioPalette {}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#PageViewer {
|
|
Kite |
8c766d |
qproperty-TextColor: @text-color;
|
|
Kite |
521c84 |
qproperty-SelectedBorderColor: @palette-SelectedBorderColor;
|
|
Kite |
521c84 |
qproperty-NumpadShortcutBgColor: @palette-NumpadShortcutBgColor;
|
|
Kite |
521c84 |
qproperty-NumpadShortcutBorderColor: @palette-NumpadShortcutBorderColor;
|
|
Kite |
521c84 |
|
|
Kite |
521c84 |
qproperty-SeparatorColor: @palette-SeparatorColor;
|
|
Kite |
521c84 |
qproperty-CurrentCellColor: @palette-CurrentCellColor;
|
|
Kite |
521c84 |
qproperty-SelectedCellColor: @palette-SelectedCellColor;
|
|
Kite |
521c84 |
qproperty-ListNumpadShortcutBorderColor: @palette-ListNumpadShortcutBorderColor;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#PaletteLockButton {
|
|
Kite |
8c766d |
border-radius: 0;
|
|
Kite |
8c766d |
&:checked {
|
|
Kite |
8c766d |
background-color: @toolbutton-lock-bg-color-checked;
|
|
Kite |
8c766d |
border-color: @toolbutton-lock-border-color-checked;
|
|
Kite |
8c766d |
&:hover {
|
|
Kite |
8c766d |
background-color: @toolbutton-lock-bg-color-checked-hover;
|
|
Kite |
8c766d |
border-color: @toolbutton-lock-border-color-checked-hover;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
/* -----------------------------------------------------------------------------
|
|
Kite |
8c766d |
Quick Renamer
|
|
Kite |
8c766d |
----------------------------------------------------------------------------- */
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#WordButton {
|
|
Kite |
8c766d |
&:extend(.QPushButton all);
|
|
Kite |
b0dac2 |
// remove horizontal padding otherwise moderate length text gets clipped
|
|
Kite |
8c766d |
padding-right: 0;
|
|
Kite |
8c766d |
padding-left: 0;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#SolidLineFrame {
|
|
Kite |
8c766d |
&:extend(.frame all);
|
|
Kite |
8c766d |
}
|