|
Kite |
8c766d |
/* -----------------------------------------------------------------------------
|
|
Kite |
8c766d |
ComboViewer / Viewer / FlipBook
|
|
Kite |
8c766d |
----------------------------------------------------------------------------- */
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#ComboViewerPanel {
|
|
Kite |
8c766d |
& Toolbar {
|
|
Kite |
8c766d |
border-bottom: 1 solid @accent; // accent line against viewport
|
|
Kite |
8c766d |
&::separator:horizontal {
|
|
Kite |
8c766d |
// workaround for first tool button
|
|
Kite |
8c766d |
// which helps with alignment
|
|
Kite |
8c766d |
margin: 0 0 0 2;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
& QToolButton {
|
|
Kite |
8c766d |
margin: 2 0 3 2;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#ComboViewerToolOptions {
|
|
Kite |
8c766d |
border-bottom: 1 solid @accent; // accent line against viewport & ToolBar
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#ComboViewer,
|
|
Kite |
8c766d |
#ViewerPanel,
|
|
Kite |
8c766d |
FlipBook {
|
|
Kite |
8c766d |
& #ToolBarContainer {
|
|
Kite |
8c766d |
background-color: transparent;
|
|
Kite |
8c766d |
border-top: 2 solid @accent;
|
|
Kite |
8c766d |
border-bottom: 1 solid @accent;
|
|
Kite |
8c766d |
padding-right: -1; // hides right border on #ScrollRightButton when
|
|
Kite |
8c766d |
// fps slider is disabled
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#flipCustomize {
|
|
Kite |
8c766d |
// options menu
|
|
Kite |
8c766d |
&:extend(.button-tool all);
|
|
Kite |
8c766d |
margin-left: 3;
|
|
Kite |
8c766d |
&::menu-button {
|
|
Kite |
8c766d |
background-color: transparent;
|
|
Kite |
8c766d |
width: 35;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&::menu-arrow {
|
|
Kite |
8c766d |
image: none;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
QToolBar#FlipConsolePlayToolBar {
|
|
Kite |
8c766d |
&::separator:horizontal {
|
|
Kite |
8c766d |
margin: 0 3;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
& QToolButton {
|
|
Kite |
8c766d |
margin-top: 2;
|
|
Kite |
8c766d |
margin-bottom: 2;
|
|
Kite |
8c766d |
height: 16;
|
|
Kite |
8c766d |
padding-left: 1;
|
|
Kite |
8c766d |
padding-right: 1;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#ViewerFpsSlider {
|
|
Kite |
8c766d |
background-color: transparent;
|
|
Kite |
8c766d |
background-image: url('@{img-url}/@{slider-groove-img}');
|
|
Kite |
8c766d |
background-position: center center;
|
|
Kite |
8c766d |
background-repeat: repeat-x;
|
|
Kite |
8c766d |
border: 0;
|
|
Kite |
8c766d |
height: 19;
|
|
Kite |
8c766d |
margin: 0 3 0 37;
|
|
Kite |
8c766d |
max-width: 300;
|
|
Kite |
8c766d |
min-width: 0;
|
|
Kite |
8c766d |
&::sub-line:horizontal {
|
|
Kite |
8c766d |
subcontrol-origin: absolute;
|
|
Kite |
8c766d |
background-color: @button-bg-color;
|
|
Kite |
8c766d |
border: 1 solid @button-border-color;
|
|
Kite |
8c766d |
border-top-left-radius: 2;
|
|
Kite |
8c766d |
border-bottom-left-radius: 2;
|
|
Kite |
8c766d |
height: 16;
|
|
Kite |
8c766d |
left: -33;
|
|
Kite |
8c766d |
width: 14;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&::add-line:horizontal {
|
|
Kite |
8c766d |
subcontrol-position: left;
|
|
Kite |
8c766d |
background-color: @button-bg-color;
|
|
Kite |
8c766d |
border: 1 solid @button-border-color;
|
|
Kite |
8c766d |
border-top-right-radius: 2;
|
|
Kite |
8c766d |
border-bottom-right-radius: 2;
|
|
Kite |
8c766d |
left: 18;
|
|
Kite |
8c766d |
height: 16;
|
|
Kite |
8c766d |
image-position: center center;
|
|
Kite |
8c766d |
width: 13;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&::sub-line:horizontal,
|
|
Kite |
8c766d |
&::add-line:horizontal {
|
|
Kite |
8c766d |
&:hover {
|
|
Kite |
8c766d |
&:extend(.Button:hover all);
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:pressed {
|
|
Kite |
8c766d |
&:extend(.Button:pressed all);
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:disabled {
|
|
Kite |
8c766d |
&:extend(.Button:disabled all);
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&::handle {
|
|
Kite |
8c766d |
&::horizontal {
|
|
Kite |
8c766d |
@size: 9;
|
|
Kite |
8c766d |
background-color: @slider-handle-bg-color;
|
|
Kite |
8c766d |
border: 1 solid @slider-handle-border-color;
|
|
Kite |
8c766d |
border-radius: 2;
|
|
Kite |
8c766d |
margin: 2 0 3 0;
|
|
Kite |
8c766d |
min-width: @size;
|
|
Kite |
8c766d |
width: @size;
|
|
Kite |
8c766d |
max-width: @size;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
FlipSlider {
|
|
Kite |
8c766d |
qproperty-PBHeight: 15;
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
// slider
|
|
Kite |
8c766d |
qproperty-PBOverlay: url('@{img-url}/@{flipslider-img}');
|
|
Kite |
8c766d |
qproperty-PBColorMarginLeft: 1;
|
|
Kite |
8c766d |
qproperty-PBColorMarginTop: 2;
|
|
Kite |
8c766d |
qproperty-PBColorMarginRight: 1;
|
|
Kite |
8c766d |
qproperty-PBColorMarginBottom: 2;
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
// marker
|
|
Kite |
8c766d |
qproperty-PBMarker: url('@{img-url}/@{flipmarker-img}');
|
|
Kite |
8c766d |
qproperty-PBMarkerMarginLeft: 3;
|
|
Kite |
8c766d |
qproperty-PBMarkerMarginRight: 3;
|
|
Kite |
8c766d |
qproperty-notStartedColor: @flipslider-notstarted-color;
|
|
Kite |
8c766d |
qproperty-startedColor: @flipslider-started-color;
|
|
Kite |
8c766d |
qproperty-baseColor: @flipslider-base-color;
|
|
Kite |
8c766d |
qproperty-finishedColor: @flipslider-finished-color;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
Ruler {
|
|
Kite |
8c766d |
qproperty-ParentBGColor: @viewer-ruler-bg-color;
|
|
Kite |
8c766d |
qproperty-ScaleColor: @viewer-ruler-scale-color;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
#RulerToolOptionValues {
|
|
Kite |
8c766d |
color: @viewer-ruler-ToolOptionValues-color;
|
|
Kite |
8c766d |
}
|