tahoma2d/stuff/config/qss/Default/less/layouts/popups.less

94 lines
2.2 KiB
Text
Raw Normal View History

/* -----------------------------------------------------------------------------
Popup Windows
----------------------------------------------------------------------------- */
QDialog {
background-color: @bg;
& #dialogButtonFrame {
2017-08-29 06:40:43 +12:00
background-color: @dialogButtonFrame-bg-color;
border-top: 1px solid @dialogButtonFrame-border-color;
& QPushButton {
&:focus {
background-color: @button-bg-color-focus;
color: @button-text-color-focus;
&:hover {
background-color: @button-bg-color-focus-hover;
}
&:pressed {
background-color: @button-bg-color-pressed;
}
}
}
}
}
/* -----------------------------------------------------------------------------
Scene Settings
----------------------------------------------------------------------------- */
#SceneSettings {
& QLabel {
color: @label-title;
}
}
/* -----------------------------------------------------------------------------
Preferences
----------------------------------------------------------------------------- */
#PreferencesPopup {
& QListWidget {
2017-08-29 06:40:43 +12:00
background-color: @tree-bg-color;
alternate-background-color: @tree-bg-color;
border: 1px solid @accent;
2017-08-31 00:19:59 +12:00
font-size: 13px;
&::item {
2017-08-29 06:40:43 +12:00
border: 0; // remove indent on hover
padding: 3px;
&:hover {
2017-08-29 06:40:43 +12:00
.selected-secondary;
}
&:selected {
2017-08-29 06:40:43 +12:00
.selected-primary;
}
}
}
}
/* -----------------------------------------------------------------------------
Keyboard Shortcuts
----------------------------------------------------------------------------- */
#ShortcutTree {
&::item {
padding: 1px 0;
}
2017-08-29 06:40:43 +12:00
&:extend(.tree-list all);
&::branch {
2017-08-29 06:40:43 +12:00
&:extend(.branch-17 all);
}
2017-08-29 06:40:43 +12:00
border: 1px solid @accent;
& QScrollBar {
&:vertical {
width: 16px;
margin-right: -1px;
}
}
}
/* -----------------------------------------------------------------------------
New Project / Configure Project Window
----------------------------------------------------------------------------- */
ProjectPopup {
& QLabel {
color: @label-title;
}
& QTreeView {
2017-08-29 06:40:43 +12:00
&:extend(.tree-list all);
&::branch {
2017-08-29 06:40:43 +12:00
&:extend(.branch-22 all);
}
}
}