4566353fe5
* Fix build with Clang 10 * System depend code deduplication * Improve multi-layer style picker. Allows clicking anywhere on a stroke in another layer to pick it - not just the center. Fixes #2843. * Get actual pixel size instead of hard-coding to 1.0. * Rehide features * fix pegbar restoring * gui tweaks tweaks the gui, makes tpaneltitlebarbutton color states changable in stylesheets * fix styleeditor chandle mouse event allow handle to be grabbed properly without slipping Co-authored-by: Rodney <rodney.baker@gmail.com> Co-authored-by: Rozhuk Ivan <rozhuk.im@gmail.com> Co-authored-by: Martin van Zijl <martin.vanzijl@gmail.com> Co-authored-by: shun-iwasawa <shun.iwasawa@ghibli.jp> Co-authored-by: Kite <konero@users.noreply.github.com>
102 lines
2.5 KiB
Text
102 lines
2.5 KiB
Text
/* -----------------------------------------------------------------------------
|
|
File Browser
|
|
----------------------------------------------------------------------------- */
|
|
|
|
/* Left Pane
|
|
----------------------------------------------------------------------------- */
|
|
|
|
#DirTreeView {
|
|
background-color: @browser-listview-bg-color;
|
|
alternate-background-color: @browser-listview-bg-color;
|
|
border: 1 solid @accent;
|
|
border-right: 0;
|
|
}
|
|
|
|
/* Right Pane
|
|
----------------------------------------------------------------------------- */
|
|
|
|
DvItemViewerPanel {
|
|
qproperty-TextColor: @text-color;
|
|
qproperty-AlternateBackground: @browser-itemview-bg-color-alt;
|
|
qproperty-SelectedTextColor: @hl-text-color;
|
|
qproperty-FolderTextColor: @browser-folder-text-color;
|
|
qproperty-SelectedItemBackground: @hl-bg-color;
|
|
}
|
|
DvItemViewerTitleBar {
|
|
qproperty-ColColor: @browser-itemview-col-color;
|
|
qproperty-ColSortedColor: @browser-itemview-col-color-sorted;
|
|
qproperty-ColTextColor: @browser-itemview-col-text-color;
|
|
qproperty-ColBorderColor: @browser-itemview-col-border-color;
|
|
qproperty-ColReliefColor: @browser-itemview-col-relief-color;
|
|
}
|
|
#FileBrowser {
|
|
& DvItemViewerPanel {
|
|
background-color: @browser-itemview-bg-color;
|
|
}
|
|
#castFrame {
|
|
border-top: 1 solid @accent;
|
|
border-right: 1 solid @accent;
|
|
border-bottom: 1 solid @accent;
|
|
margin: 0;
|
|
}
|
|
& QToolButton {
|
|
padding: 1;
|
|
}
|
|
}
|
|
|
|
#DvItemViewerButtonBar {
|
|
// Placeholder
|
|
}
|
|
|
|
#LoadLevelFrame {
|
|
&:extend(.frame all);
|
|
}
|
|
|
|
#LoadLevelShowButton {
|
|
&:extend(.button-show all);
|
|
}
|
|
|
|
#PsdSettingsGroupBox {
|
|
&:extend(.frame all);
|
|
}
|
|
|
|
StyledTreeView {
|
|
qproperty-TextColor: @text-color;
|
|
qproperty-SelectedTextColor: @hl-text-color;
|
|
qproperty-SelectedItemBackground: @hl-bg-color;
|
|
qproperty-FolderTextColor: @browser-folder-text-color;
|
|
qproperty-SelectedFolderTextColor: @browser-folder-text-color-selected;
|
|
alternate-background-color: @tree-bg-color-alt;
|
|
background-color: @tree-bg-color;
|
|
border: 1 solid @accent;
|
|
}
|
|
|
|
#FileDoesNotExistLabel {
|
|
color: @label-error;
|
|
}
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
Scene Cast
|
|
----------------------------------------------------------------------------- */
|
|
|
|
#SceneCast {
|
|
&:extend(#FileBrowser all);
|
|
& QToolBar {
|
|
border-top: 1 solid @accent;
|
|
}
|
|
& QToolButton {
|
|
margin: 3 1 2 1;
|
|
padding: 1;
|
|
}
|
|
}
|
|
|
|
#CastBrowser {
|
|
border: 0;
|
|
margin: 0;
|
|
& QSplitter::handle {
|
|
height: 4;
|
|
}
|
|
}
|
|
#CastBrowserFolderName {
|
|
border-bottom: 1px solid @accent;
|
|
}
|