123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524 |
- /* ============================================================= */
- /* Global styles */
- /* ============================================================= */
- *
- {
- background-color: @WindowBackgroundColor;
- color: @TextColor;
- }
- QMainWindow, QDialog
- {
- color: @TextColor;
- background-color: @WindowBackgroundColor;
- }
- QDockWidget
- {
- color: @DockWidgetTextColor;
- background-color: @WindowBackgroundColor;
- }
- QDockWidget::title {
- text-align: left;
- background: @DockWindowTitleBarColor;
- padding-left: 5px;
- }
- QLabel
- {
- color: @TextColor;
- background-color: @WindowBackgroundColor;
- }
- QTreeView
- {
- color: @TextColor;
- background: @PanelBackgroundColor;
- }
- QLineEdit, QTextEdit, QComboBox
- {
- color: @TextColor;
- border: 1px solid @PanelBackgroundColor;
- background: @PanelBackgroundColor;
- }
- QTextEdit[class='CloudCanvas']
- {
- background: #212225;
- }
- /* ----------- Primary button: ---------- */
- QPushButton[class='Primary']
- {
- font-size: 0.875em;
- font-weight: 600;
- border: 1px solid rgb(33, 34, 35);
- border-radius: 3px;
- padding-left: 6px;
- padding-right: 6px;
- padding-top: 2px;
- padding-bottom: 2px;
- height: 15px;
- }
- QPushButton[class='Primary']:!pressed
- {
- background-color: qlineargradient(spread:pad, x1:0 y1:0, x2:0 y2:1, stop:0 rgb(243, 129, 29), stop:1 rgb(229, 113, 11));
- }
- QPushButton[class='Primary']:hover
- {
- background-color: qlineargradient(spread:pad, x1:0 y1:0, x2:0 y2:1, stop:0 rgb(244, 142, 52), stop:1 rgb(232, 127, 35));
- }
- QPushButton[class='Primary']:pressed
- {
- background-color: qlineargradient(spread:pad, x1:0 y1:0, x2:0 y2:1, stop:0 rgb(201, 110, 31), stop:1 rgb(190, 97, 17));
- }
- /* --------- Primary Disabled Button -------------- */
- QPushButton[class='Primary']:disabled
- {
- background-color: qlineargradient(spread:pad, x1:0 y1:0, x2:0 y2:1, stop:0 rgb(201, 110, 31), stop:1 rgb(190, 97, 17));
- color: @PushButtonDisabledColor;
- }
- QPushButton
- {
- color: @TextColor;
- background-color: @WindowBackgroundColor;
- }
- QPushButton:disabled
- {
- color: @PushButtonDisabledColor;
- }
- QToolButton
- {
- color: @TextColor;
- background-color: @WindowBackgroundColor;
- border: 1px solid "transparent";
- }
- QToolButton[popupMode="1"]
- {
- padding-right:20px;
- }
- QToolButton:hover
- {
- background-color: @ToolButtonHoverBackgroundColor;
- border: 1px solid @ToolButtonPressedBorderColor;
- }
- QToolButton:pressed
- {
- background-color: @ToolButtonPressedBackgroundColor;
- border: 1px solid @ToolButtonPressedBorderColor;
- }
- QToolButton:checked
- {
- background-color: @ToolButtonCheckedBackgroundColor;
- border: 1px solid @ToolButtonPressedBorderColor;
- }
- QToolBar
- {
- background: @WindowBackgroundColor;
- }
- QMenuBar
- {
- color: @TextColor;
- background: @WindowBackgroundColor;
- }
- QMenu
- {
- color: @TextColor;
- border: 1px solid @ScrollbarHandleBorderColor;
- }
- QMenu::item
- {
- color: @MenuEnabledTextColor;
- padding: 2px 25px 2px 20px;
- border: 1px solid transparent;
- }
- QMenu::item:selected
- {
- border: 1px solid @MenuItemSelectedColor;
- }
- QMenu::item:disabled
- {
- color: @MenuDisabledTextColor;
- border: 1px solid transparent;
- }
- QToolBar::separator
- {
- background: @TextColor;
- margin-left: 3px;
- margin-right: 3px;
- width: 1px;
- }
- QScrollBar:vertical
- {
- border: 0px solid @ScrollbarBorderColor;
- background-color: @ScrollbarBackgroundColor;
- margin: 14px 0 14px 0;
- }
- QScrollBar::handle:vertical
- {
- background-color: @ScrollbarHandleBackgroundColor;
- border: 1px solid @ScrollbarHandleBorderColor;
- min-height: 20px;
- margin: 2px 2px 2px 2px;
- }
- QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
- {
- background-color: @ScrollbarBackgroundColor;
- }
- QScrollBar::add-line:vertical
- {
- border: 1px solid @ScrollbarHandleBorderColor;
- background-color: @ScrollbarBackgroundColor;
- height: 12px;
- width: 12px;
- subcontrol-position: bottom;
- subcontrol-origin: margin;
- }
- QScrollBar::sub-line:vertical
- {
- border: 1px solid @MenuBorderColor;
- background-color: @ScrollbarBackgroundColor;
- height: 12px;
- width: 12px;
- subcontrol-position: top;
- subcontrol-origin: margin;
- }
- QScrollBar::up-arrow:vertical
- {
- border: 1px solid @MenuBorderColor;
- border-image: url(Editor/Styles/StyleSheetImages/arrow_up_V2.png) 0 0 0 0 stretch stretch;
- }
- QScrollBar::down-arrow:vertical
- {
- border: 1px solid @MenuBorderColor;
- border-image: url(Editor/Styles/StyleSheetImages/arrow_down_V2.png) 0 0 0 0 stretch stretch;
- }
- QScrollBar:horizontal
- {
- border: 0px solid black;
- background-color: @ScrollbarBackgroundColor;
- margin: 0px 14px 0px 14px;
- }
- QScrollBar::handle:horizontal
- {
- background-color: @ScrollbarHandleBackgroundColor;
- border: 1px solid @ScrollbarHandleBorderColor;
- min-width: 20px;
- margin: 2px 2px 2px 2px;
- }
- QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
- {
- background-color: @ScrollbarBackgroundColor;
- }
- QScrollBar::add-line:horizontal
- {
- border: 1px solid @ScrollbarHandleBorderColor;
- background-color: @ScrollbarBackgroundColor;
- height: 12px;
- width: 12px;
- subcontrol-position: right;
- subcontrol-origin: margin;
- }
- QScrollBar::sub-line:horizontal
- {
- border: 1px solid @ScrollbarHandleBorderColor;
- background-color: @ScrollbarBackgroundColor;
- height: 12px;
- width: 12px;
- subcontrol-position: left;
- subcontrol-origin: margin;
- }
- QScrollBar::left-arrow:horizontal
- {
- border: 1px solid @ScrollbarHandleBorderColor;
- border-image: url(Editor/Styles/StyleSheetImages/arrow_left_V2.png) 0 0 0 0 stretch stretch;
- }
- QScrollBar::right-arrow:horizontal
- {
- border: 1px solid @ScrollbarHandleBorderColor;
- border-image: url(Editor/Styles/StyleSheetImages/arrow_right_V2.png) 0 0 0 0 stretch stretch;
- }
- QSlider::handle:horizontal
- {
- background-color: @ScrollbarHandleBackgroundColor;
- border: 1px solid @ScrollbarHandleBorderColor;
- border-radius: 2px;
- margin: -4px 0px -4px 0px;
- width: 9px;
- }
- QSlider:groove:horizontal
- {
- border: 1px solid @ScrollbarBorderColor;
- height: 3px;
- }
- QSlider::add-page:horizontal
- {
- border: 1px solid @ScrollbarHandleBorderColor;
- margin: 1px;
- }
- QSlider::sub-page:horizontal
- {
- border: 1px solid @ScrollbarHandleBorderColor;
- margin: 1px;
- }
- QSlider::handle:vertical
- {
- background-color: @ScrollbarHandleBackgroundColor;
- border: 1px solid @ScrollbarHandleBorderColor;
- border-radius: 2px;
- margin: 0px -4px 0px -4px;
- height: 9px;
- }
- QSlider:groove:vertical
- {
- border: 1px solid @ScrollbarBorderColor;
- width: 3px;
- }
- QSlider::add-page:vertical
- {
- border: 1px solid @ScrollbarHandleBorderColor;
- margin: 1px;
- }
- QSlider::sub-page:vertical
- {
- border: 1px solid @ScrollbarHandleBorderColor;
- margin: 1px;
- }
- QHeaderView::section
- {
- background-color: @WindowBackgroundColor;
- color: @TextColor;
- }
- QGroupBox::title
- {
- color: @TextColor;
- font-weight:bold;
- font-size: 16pt;
- }
- WelcomeScreenDialog QListView::item::hover
- {
- color: @MenuItemSelectedColor;
- }
- /* Style for checkboxes */
- QCheckBox {
- spacing: 5px;
- }
- QCheckBox::indicator {
- width: 15px;
- height: 15px;
- }
- QCheckBox::indicator:unchecked {
- image: url(STYLESHEETIMAGES:checkbox_unchecked.png);
- }
- QCheckBox::indicator:unchecked:hover {
- image: url(STYLESHEETIMAGES:checkbox_unchecked_hover.png);
- }
- QCheckBox::indicator:unchecked:pressed {
- image: url(STYLESHEETIMAGES:checkbox_unchecked_pressed.png);
- }
- QCheckBox::indicator:checked {
- image: url(STYLESHEETIMAGES:checkbox_checked.png);
- }
- QCheckBox::indicator:checked:hover {
- image: url(STYLESHEETIMAGES:checkbox_checked_hover.png);
- }
- QCheckBox::indicator:checked:pressed {
- image: url(STYLESHEETIMAGES:checkbox_checked_pressed.png);
- }
- QCheckBox::indicator:indeterminate:hover {
- image: url(STYLESHEETIMAGES:checkbox_indeterminate_hover.png);
- }
- QCheckBox::indicator:indeterminate:pressed {
- image: url(STYLESHEETIMAGES:checkbox_indeterminate_pressed.png);
- }
- /* Style for delineating component blocks in the entity property editor */
- AzToolsFramework--ReflectedPropertyEditor[ComponentBlock="true"]
- {
- margin: 2px;
- padding: 2px 2px 4px 2px;
- border-width: 0px 0px 2px 0px;
- border-color: @PanelBackgroundColor;
- border-style: solid;
- }
- /* ============================================================= */
- /* Styles applied through programmatically-set QT properties */
- /* ============================================================= */
- /* Style for pulse highlight widgets (outliner highlight, etc) */
- AzToolsFramework--OutlinerView QWidget[PulseHighlight="true"]
- {
- background-color: @MenuItemSelectedColor;
- }
- /* Style for highlighting valid drag-drops (entity references, etc) */
- AzToolsFramework--PropertyEntityIdCtrl AzToolsFramework--EntityIdQLabel[DropHighlight="true"]
- {
- background-color: @MenuItemSelectedColor;
- }
- AzToolsFramework--PropertyAssetCtrl QLabel[DropHighlight="true"]
- {
- background-color: @MenuItemSelectedColor;
- }
- /* Style for delineating component blocks in the entity property editor */
- AzToolsFramework--ReflectedPropertyEditor[ComponentBlock="true"]
- {
- margin: 2px;
- padding: 2px 2px 4px 2px;
- border-width: 0px 0px 2px 0px;
- border-color: @PanelBackgroundColor;
- border-style: solid;
- }
- /* Style for visualizing property values overridden from their prefab values */
- AzToolsFramework--PropertyRowWidget[IsOverridden="true"] QLabel#Name
- {
- font-weight: bold;
- color: @MenuItemSelectedColor;
- }
- /* Style for visualizing the root of components in the prop grid */
- /*
- AzToolsFramework--ReflectedPropertyEditor[ComponentBlock="true"] AzToolsFramework--PropertyRowWidget[Root="true"]
- {
- min-height: 30px;
- text-align: middle;
- }
- */
- AzToolsFramework--ReflectedPropertyEditor[ComponentBlock="true"] AzToolsFramework--PropertyRowWidget[Root="true"] *
- {
- font-weight: bold;
- }
- /* In the permissions and deployments window controls the edit boxes for profile name, access key id, and secret access key */
- QAWSQTControls--QAWSProfileLineEdit
- {
- border: 1px solid black;
- }
- QLabel#AboutPixmap
- {
- qproperty-pixmap: url(Editor/Styles/StyleSheetImages/@AboutPixmap);
- }
- Amazon--LoginDialog
- {
- background-color: #F8F8F8;
- }
- Amazon--LoginWelcomeTitle
- {
- color: #444444;
- background-color: #F8F8F8;
- font-size: 21px;
- qproperty-alignment: AlignCenter;
- font-family: "Open Sans Semibold";
- }
- Amazon--LoginWelcomeText
- {
- color: #444444;
- background-color: #F8F8F8;
- font-size: 13px;
- qproperty-alignment: AlignLeft;
- font-family: "Open Sans";
- }
- Amazon--LoginFooterText
- {
- color: #999999;
- background-color: #F8F8F8;
- font-size: 13px;
- qproperty-alignment: AlignCenter;
- font-family: "Open Sans";
- }
- Amazon--LoginWebViewFrame
- {
- border: 2px solid #EEEEEE;
- }
- Amazon--LoginWebView
- {
- background-color: #F8F8F8;
- }
- QLabel[class='Paragraph'] {font-size: 14px}
- QLabel[class='Heading1'] {font-size: 16px; font-weight:bold}
- QLabel[class='Heading2'] {font-size: 14px; font-weight:bold}
- QLabel[class='Error'] {color: @ResourceProgressError; }
- QLabel[class='Working'] {color: @ResourceProgressWorking; }
- QPushButton[class='Link'] { color: @LinkColor; }
|