Advertisement
Guest User

Pixinsight default theme

a guest
Oct 6th, 2024
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 51.60 KB | None | 0 0
  1. /* _____________       ________            _____        ______ _____
  2.  * ___  __ \__(_)___  _____  _/_______________(_)______ ___  /___  /_
  3.  * __  /_/ /_  /__  |/_/__  /__  __ \_  ___/_  /__  __ `/_  __ \  __/
  4.  * _  ____/_  / __>  < __/ / _  / / /(__  )_  / _  /_/ /_  / / / /_
  5.  * /_/     /_/  /_/|_| /___/ /_/ /_//____/ /_/  _\__, / /_/ /_/\__/
  6.  *                                              /____/
  7.  * ----------------------------------------------------------------------------
  8.  * PixInsight Core Application version 1.8.9 Ripley
  9.  * ----------------------------------------------------------------------------
  10.  * Multiplatform Core Style Sheet
  11.  * /PixInsight/rsc/qss/core-standard.qss
  12.  * Released 2023 August 23 - core version 1.8.9-2
  13.  * ----------------------------------------------------------------------------
  14.  * Copyright (c) 2003-2023 Pleiades Astrophoto S.L. All Rights Reserved.
  15.  * ----------------------------------------------------------------------------
  16.  */
  17.  
  18. /*
  19.  * Global rules
  20.  */
  21.  
  22. :focus {
  23.    outline: 0; /* get rid of all focus rects */
  24. }
  25.  
  26. * {
  27.    font-family: "<core_sans_font>", DejaVu Sans, Open Sans;
  28.    @platform x11 osx {
  29.       font-size: 9pt;
  30.    }
  31.    @platform windows {
  32.       font-size: 8pt;
  33.    }
  34.    color: black;
  35. }
  36.  
  37. /*
  38.  * QAbstractScrollArea
  39.  */
  40.  
  41. QAbstractScrollArea {
  42.    border: 1px solid gray;
  43.    margin: 1px;
  44. }
  45.  
  46. QAbstractScrollArea:focus {
  47.    border: 2px solid #87B3FF;
  48.    margin: 0;
  49. }
  50.  
  51. QAbstractScrollArea:disabled {
  52.    color: gray;
  53.    background: lightgray;
  54.    alternate-background-color: lightgray;
  55. }
  56.  
  57. QAbstractScrollArea::corner {
  58.    background: #C0C0C0;
  59. }
  60.  
  61. pi--ImageWindow QAbstractScrollArea::corner, QComboBox QAbstractScrollArea::corner, QWidget#WSCornerWidget {
  62.    background: #6E6E6E;
  63. }
  64.  
  65. pi--ImageWindow QAbstractScrollArea, pi--ImageWindow QAbstractScrollArea:focus {
  66.    border: none;
  67.    margin: 0;
  68. }
  69.  
  70. /*
  71.  * QCheckBox
  72.  */
  73.  
  74. QCheckBox {
  75.    spacing: 6px;
  76. }
  77.  
  78. QCheckBox::indicator {
  79.    width: 13px;
  80.    height: 13px;
  81.    margin-bottom: 1px;
  82. }
  83.  
  84. QCheckBox::indicator:unchecked {
  85.    image: url(:/qss/checkbox-unchecked.png);
  86. }
  87.  
  88. QCheckBox::indicator:unchecked:disabled {
  89.    image: url(:/qss/checkbox-disabled-unchecked.png);
  90. }
  91.  
  92. QCheckBox::indicator:unchecked:hover {
  93.    image: url(:/qss/checkbox-unchecked-hover.png);
  94. }
  95.  
  96. QCheckBox::indicator:unchecked:pressed, QCheckBox::indicator:unchecked:focus {
  97.    image: url(:/qss/checkbox-unchecked-pressed.png);
  98. }
  99.  
  100. QCheckBox::indicator:checked {
  101.    image: url(:/qss/checkbox-checked.png);
  102. }
  103.  
  104. QCheckBox::indicator:checked:disabled {
  105.    image: url(:/qss/checkbox-disabled-checked.png);
  106. }
  107.  
  108. QCheckBox::indicator:checked:hover {
  109.    image: url(:/qss/checkbox-checked-hover.png);
  110. }
  111.  
  112. QCheckBox::indicator:checked:pressed, QCheckBox::indicator:checked:focus {
  113.    image: url(:/qss/checkbox-checked-pressed.png);
  114. }
  115.  
  116. QCheckBox::indicator:indeterminate {
  117.    image: url(:/qss/checkbox-indeterminate.png);
  118. }
  119.  
  120. QCheckBox::indicator:indeterminate:disabled {
  121.    image: url(:/qss/checkbox-disabled-indeterminate.png);
  122. }
  123.  
  124. QCheckBox::indicator:indeterminate:hover {
  125.    image: url(:/qss/checkbox-indeterminate-hover.png);
  126. }
  127.  
  128. QCheckBox::indicator:indeterminate:pressed, QCheckBox::indicator:indeterminate:focus {
  129.    image: url(:/qss/checkbox-indeterminate-pressed.png);
  130. }
  131.  
  132. /*
  133.  * QComboBox
  134.  */
  135.  
  136. QComboBox {
  137.    border-width: 2px;
  138.    border-image: url(:/qss/border.png) 33% repeat;
  139.    padding: 0 15px 0 4px; /* make room for the arrow */
  140.    color: black;
  141. }
  142.  
  143. QComboBox:hover {
  144.    border-image: url(:/qss/border-hover.png) 33% repeat;
  145.    background: #C7D4E9;
  146. }
  147.  
  148. QComboBox:focus {
  149.    @platform x11 windows {
  150.       border-image: url(:/qss/border-focus.png) 33% repeat;
  151.    }
  152.    @platform osx {
  153.       border-image: none;
  154.       border: 2px solid #87B3FF;
  155.    }
  156. }
  157.  
  158. QComboBox:focus:hover {
  159.    @platform x11 windows {
  160.       border-image: url(:/qss/border-focus.png) 33% repeat;
  161.    }
  162.    @platform osx {
  163.       border-image: none;
  164.       border: 2px solid #87B3FF;
  165.    }
  166.    background: #C7D4E9;
  167. }
  168.  
  169. QComboBox:editable {
  170.    background: white;
  171.    selection-color: white;
  172.    selection-background-color: #5A99F0;
  173. }
  174.  
  175. QComboBox:editable:hover {
  176.    border-image: url(:/qss/border-hover.png) 33% repeat;
  177.    background: white;
  178. }
  179.  
  180. QComboBox:editable:focus:hover {
  181.    @platform x11 windows {
  182.       border-image: url(:/qss/border-focus.png) 33% repeat;
  183.    }
  184.    @platform osx {
  185.       border-image: none;
  186.       border: 2px solid #87B3FF;
  187.    }
  188.    background: white;
  189. }
  190.  
  191. QComboBox:!editable, QComboBox::drop-down:editable {
  192.    background: qlineargradient( x1:0, y1:0, x2:0, y2:1, stop: 0 #FAFAFA, stop: 1 #C8C8C8 );
  193. }
  194.  
  195. QComboBox:!editable:hover, QComboBox::drop-down:hover, QComboBox:on {
  196.    background: #C7D4E9;
  197. }
  198.  
  199. QComboBox:on {
  200.    border-image: url(:/qss/border.png) 33% repeat;
  201. }
  202.  
  203. QComboBox:disabled {
  204.    color: gray;
  205.    background: lightgray;
  206. }
  207.  
  208. QComboBox::drop-down {
  209.    subcontrol-origin: padding;
  210.    subcontrol-position: top right;
  211.    width: 15px;
  212.    border-left: 1px solid darkgray;
  213. }
  214.  
  215. QComboBox::down-arrow {
  216.    image: url(:/qss/combobox-down-arrow-dark.png);
  217. }
  218.  
  219. QComboBox::down-arrow:disabled {
  220.    image: url(:/qss/combobox-disabled-down-arrow.png);
  221. }
  222.  
  223. QComboBox QAbstractItemView, QComboBox QAbstractItemView:focus {
  224.    border: 1px solid #303030;
  225.    color: white;
  226.    background: #707070;
  227. }
  228.  
  229. QComboBox QAbstractItemView::item {
  230.    border: none;
  231.    color: white;
  232.    padding-top: 0.3ex;
  233.    padding-bottom: 0.3ex;
  234. }
  235.  
  236. QComboBox QAbstractItemView::item:selected {
  237.    border: none;
  238.    color: black;
  239.    background: qlineargradient( x1:0, y1:0, x2:1, y2:0, stop: 0 #E0E0E0, stop: 1 #707070 );
  240. }
  241.  
  242. QComboBox#ChannelSelector {
  243.    min-width: 11em;
  244. }
  245.  
  246. pi--ViewList QAbstractItemView, pi--ViewList QAbstractItemView:focus {
  247.    border: 1px solid #707070;
  248.    color: black;
  249.    background: #B0B0B0;
  250. }
  251.  
  252. pi--ViewList QAbstractItemView::item {
  253.    color: black;
  254. }
  255.  
  256. pi--ViewList QAbstractItemView::item:selected {
  257.    color: black;
  258.    background: qlineargradient( x1:0, y1:0, x2:1, y2:0, stop: 0 #FFFFFF, stop: 1 #B0B0B0 );
  259. }
  260.  
  261. /*
  262.  * QDialog
  263.  */
  264.  
  265. QDialog {
  266.    dialogbuttonbox-buttons-have-icons: 0;
  267. }
  268.  
  269. QDialogButtonBox {
  270.    dialogbuttonbox-buttons-have-icons: 0;
  271. }
  272.  
  273. /*
  274.  * QFileDialog
  275.  */
  276.  
  277. QFileDialog {
  278.    /* Placeholder */
  279. }
  280.  
  281. /*
  282.  * QGroupBox
  283.  */
  284.  
  285. QGroupBox,
  286. /* Fix a strange problem with QGroupBox widgets created from PJSR - See JS_GroupBox.cpp */
  287. *[bugfix_JS_GroupBox="true"] {
  288.    border: 1px solid #909090;
  289.    border-radius: 0;
  290.    background: transparent;
  291.    @platform x11 osx {
  292.       margin-top: 1.1ex; /* leave space at the top for the title */
  293.    }
  294.    @platform windows {
  295.       margin-top: 2.8ex; /* bugfix: wrong QGroupBox title spacing on Windows */
  296.    }
  297.    padding-top: 2ex;
  298.    font-weight: bold; /* for the group's title only */
  299. }
  300.  
  301. QGroupBox::title {
  302.    subcontrol-origin: margin;
  303.    subcontrol-position: top left;
  304.    left: 16px;
  305.    margin-left: 2px;
  306.    margin-right: 2px;
  307. }
  308.  
  309. QGroupBox::title:enabled {
  310.    color: #0050A0;
  311. }
  312.  
  313. QGroupBox::title:disabled {
  314.    color: gray;
  315. }
  316.  
  317. QGroupBox::indicator {
  318.    width: 15px;
  319.    height: 15px;
  320.    spacing: 6px;
  321. }
  322.  
  323. QGroupBox::indicator:unchecked {
  324.    image: url(:/qss/checkbox-unchecked.png);
  325. }
  326.  
  327. QGroupBox::indicator:unchecked:disabled {
  328.    image: url(:/qss/checkbox-disabled-unchecked.png);
  329. }
  330.  
  331. QGroupBox::indicator:unchecked:hover {
  332.    image: url(:/qss/checkbox-unchecked-hover.png);
  333. }
  334.  
  335. QGroupBox::indicator:unchecked:pressed {
  336.    image: url(:/qss/checkbox-unchecked-pressed.png);
  337. }
  338.  
  339. QGroupBox::indicator:checked {
  340.    image: url(:/qss/checkbox-checked.png);
  341. }
  342.  
  343. QGroupBox::indicator:checked:disabled {
  344.    image: url(:/qss/checkbox-disabled-checked.png);
  345. }
  346.  
  347. QGroupBox::indicator:checked:hover {
  348.    image: url(:/qss/checkbox-checked-hover.png);
  349. }
  350.  
  351. QGroupBox::indicator:checked:pressed {
  352.    image: url(:/qss/checkbox-checked-pressed.png);
  353. }
  354.  
  355. /*
  356.  * QHeaderView
  357.  */
  358.  
  359. QHeaderView {
  360.    border: none;
  361.    margin: 0;
  362.    qproperty-defaultAlignment: 'AlignLeft | AlignVCenter';
  363. }
  364.  
  365. QHeaderView::section {
  366.    border: none;
  367.    border-bottom: 1px solid gray;
  368.    margin: 0;
  369.    padding: 2px 4px 2px 4px;
  370.    background: qlineargradient( x1:0, y1:0, x2:0, y2:1, stop: 0 #FAFAFA, stop: 1 #B8B8B8 );
  371. }
  372.  
  373. QHeaderView::section:middle, QHeaderView::section:last {
  374.    border-left: 1px solid gray;
  375. }
  376.  
  377. QHeaderView::section:only-one {
  378.    border-left: none;
  379. }
  380.  
  381. QHeaderView::down-arrow {
  382.    image: url(:/qss/header-up-arrow-dark.png);
  383. }
  384.  
  385. QHeaderView::up-arrow {
  386.    image: url(:/qss/header-down-arrow-dark.png);
  387. }
  388.  
  389. /*
  390.  * INTERNAL USE -- DO NOT CHANGE
  391.  */
  392.  
  393. QLabel#FEDirSelectorName, QLabel#FEDirSelectorPopup {
  394.    border: none;
  395.    margin: 0;
  396.    padding: 4px 0 4px 0;
  397.    background: transparent;
  398. }
  399.  
  400. QLabel#FEDirSelectorName:hover, QLabel#FEDirSelectorPopup:hover {
  401.    background: white;
  402. }
  403.  
  404. QLabel#FEDirSelectorName:pressed, QLabel#FEDirSelectorPopup:pressed {
  405.    background: #FFC68C;
  406. }
  407.  
  408. QLabel#FEPreviewThumbnail {
  409.    border: 1px solid gray;
  410.    background-image: url(:/image-window/transparent-small.png);
  411.    background-repeat: repeat-xy;
  412. }
  413.  
  414. QLabel#FEPreviewHistogram {
  415.    border: 1px solid gray;
  416. }
  417.  
  418. QTreeView#FEPreviewInformation {
  419. }
  420.  
  421. QLabel#DSAInfoLabel {
  422.    border: 1px solid #70A0FF;
  423.    padding: 8px;
  424.    min-width: 500px;
  425. }
  426.  
  427. /*
  428.  * QLineEdit
  429.  */
  430.  
  431. QLineEdit {
  432.    border-width: 2px;
  433.    border-image: url(:/qss/border.png) 33% repeat;
  434.    padding: 0 2px 0 2px;
  435.    color: black;
  436.    background: white;
  437.    selection-color: white;
  438.    selection-background-color: #5A99F0;
  439. }
  440.  
  441. QLineEdit:hover {
  442.    border-image: url(:/qss/border-hover.png) 33% repeat;
  443. }
  444.  
  445. QLineEdit:focus, QLineEdit:focus:hover {
  446.    @platform x11 windows {
  447.       border-image: url(:/qss/border-focus.png) 33% repeat;
  448.    }
  449.    @platform osx {
  450.       border-image: none;
  451.       border: 2px solid #87B3FF;
  452.    }
  453. }
  454.  
  455. QLineEdit:read-only {
  456.    color: black;
  457.    background: lightgray;
  458. }
  459.  
  460. QLineEdit:disabled {
  461.    color: gray;
  462.    background: lightgray;
  463. }
  464.  
  465. /*
  466.  * QTextEdit, QPlainTextEdit
  467.  */
  468.  
  469. QTextEdit, QPlainTextEdit {
  470.    selection-color: white;
  471.    selection-background-color: #5A99F0;
  472. }
  473.  
  474. QTextEdit#DWCode, QLabel#DWCode {
  475.    font-family: "<core_mono_font>", Hack, DejaVu Sans Mono, "M+ 1m", Vera Sans Mono, Courier New, Courier, Monospace;
  476.    font-size: 9.5pt;
  477. }
  478.  
  479. /*
  480.  * QMenu
  481.  */
  482.  
  483. QMenu {
  484.    border: none;
  485.    border-left: 30px solid #B0B0B0;
  486.    color: white;
  487.    background: rgba( 100, 100, 100, 90% );
  488.    padding: -20px 4px -20px -26px;
  489. }
  490.  
  491. QMenu::item {
  492.    border: 1px solid transparent;
  493.    background: transparent;
  494.    padding-top: 4px;
  495.    padding-left: 34px;
  496.    padding-bottom: 4px;
  497.    padding-right: 40px;
  498. }
  499.  
  500. QMenu::item#MNExtraWide {
  501.    /*
  502.     * We may need this for new Qt bug workarounds. New (and old) Qt bugs
  503.     * related to style sheets always appear, so better don't delete this yet.
  504.     */
  505.   /*padding-right: 80px;*/
  506. }
  507.  
  508. QMenu::item:disabled {
  509.    color: #B0B0B0;
  510. }
  511.  
  512. QMenu::item:selected {
  513.    color: black;
  514.    background: qlineargradient( x1:0, y1:0, x2:1, y2:0, stop: 0 #E0E0E0, stop: 1 #707070 );
  515. }
  516.  
  517. QMenu::item:disabled:selected {
  518.    color: #808080;
  519. }
  520.  
  521. QMenu::item:checked {
  522.    border: 1px solid #E0E0E0;
  523. }
  524.  
  525. /*
  526. QMenu::item:unchecked {
  527.    font-style: italic;
  528. }
  529. */
  530.  
  531. QMenu::icon {
  532.    border: 3px solid transparent;
  533.    background: transparent;
  534. }
  535.  
  536. /*
  537.  * From Qt 5.12.0 to 5.12.5, the way checkable menu items are drawn has
  538.  * changed in each Qt version, and each change has been either a bug or a bug
  539.  * over existing bugs.
  540.  *
  541.  * Since Qt 5.12.0: Checkable menu items show now indicators (i.e. check marks)
  542.  * always, even for menu items with icons. There is no option to disable or
  543.  * control this behavior, which is a mistake in our opinion.
  544.  *
  545.  * Qt 5.12.2: Icons are drawn misaligned (behind the item's text) for checked
  546.  * menu items. This ugly error can be fixed with the following negative offsets
  547.  * since, fortunately, icons are drawn _after_ indicators, so we can simply
  548.  * overwrite the check marks. Fingers crossed that this won't change again!
  549.  *
  550.  * Qt 5.12.5, Qt 5.13.2: The bug described above seems to be fixed. However, a
  551.  * new bug has been introduced:
  552.  *
  553.  * https://bugreports.qt.io/browse/QTBUG-78238
  554.  *
  555.  * We have no workaround to this one, so we'll have to live with it for now.
  556.  * Fortunately, this bug is not excessively important; at least readability of
  557.  * menu items is not being compromised. Again, fingers crossed.
  558.  */
  559.  
  560. QMenu::icon:unchecked {
  561.    @platform freebsd {
  562.       left: -20px; /* bugfix for Qt 5.12.2, not valid for newer versions */
  563.    }
  564. }
  565.  
  566. QMenu::icon:checked {
  567.    @platform freebsd {
  568.       left: -20px; /* bugfix for Qt 5.12.2, not valid for newer versions */
  569.    }
  570. }
  571.  
  572. QMenu::separator {
  573.    height: 1px;
  574.    background: #404040;
  575.    margin-top: 2px;
  576.    margin-left: 30px;
  577.    margin-bottom: 2px;
  578.    margin-right: 0;
  579. }
  580.  
  581. QMenu::indicator {
  582.    width: 13px;
  583.    height: 13px;
  584.    margin-left: 6px;
  585. }
  586.  
  587. QMenu::indicator:checked {
  588.    image: url(:/qss/menu-checked.png);
  589. }
  590.  
  591. QMenu::indicator:checked:disabled {
  592.    image: url(:/qss/menu-disabled-checked.png);
  593. }
  594.  
  595. QMenu::right-arrow {
  596.    width: 13px;
  597.    height: 13px;
  598. }
  599.  
  600. /*
  601.  * QMenuBar
  602.  */
  603.  
  604. QMenuBar {
  605.    background: #F0F0F0;
  606.    border: 0;
  607.    padding: 2px;
  608.    padding-top: 4px;
  609.    padding-bottom: 4px;
  610.    font-family: "<core_sans_font>", Open Sans, DejaVu Sans;
  611.    @platform x11 osx {
  612.       font-size: 9.5pt;
  613.    }
  614.    @platform windows {
  615.       font-size: 8.5pt; /* Windows users expect smaller menus... */
  616.    }
  617. }
  618.  
  619. QMenuBar::item {
  620.    spacing: 2px;
  621.    margin: 0 6px 0 12px;
  622.    padding: 2px 8px;
  623.    color: black;
  624.    background: transparent;
  625. }
  626.  
  627. QMenuBar::item:selected {
  628.    background: #C0C0C0;
  629. }
  630.  
  631. QMenuBar::item:pressed {
  632.    color: white;
  633.    background: #707070;
  634. }
  635.  
  636. /*
  637.  * QMessageBox
  638.  */
  639.  
  640. QMessageBox {
  641.    dialogbuttonbox-buttons-have-icons: 0;
  642.    messagebox-text-interaction-flags: 1;  /* Qt::TextSelectableByMouse */
  643.    messagebox-critical-icon:    url(:/qss/messagebox-critical-icon.png);
  644.    messagebox-information-icon: url(:/qss/messagebox-information-icon.png);
  645.    messagebox-question-icon:    url(:/qss/messagebox-question-icon.png);
  646.    messagebox-warning-icon:     url(:/qss/messagebox-warning-icon.png);
  647.    icon-size: 48px;
  648. }
  649.  
  650. QMessageBox QLabel {
  651.    font-weight: normal;
  652. }
  653.  
  654. /*
  655.  * QProgressBar
  656.  */
  657.  
  658. QProgressBar {
  659.    background: #F0F0F0;
  660.    border: 1px solid gray;
  661.    color: black;
  662.    text-align: center;
  663. }
  664.  
  665. QProgressBar::chunk {
  666.    background: qlineargradient( x1:0, y1:0, x2:1, y2:0, stop: 0 white, stop: 1 #FFA858 );
  667. }
  668.  
  669. /*
  670.  * QSplitter
  671.  */
  672.  
  673. QSplitter::handle {
  674.    background: #DFDFDF;
  675. }
  676.  
  677. QSplitter::handle:horizontal {
  678. }
  679.  
  680. QSplitter::handle:vertical {
  681. }
  682.  
  683. /*
  684.  * QToolBar
  685.  */
  686.  
  687. QToolBar {
  688.    background: #F0F0F0;
  689.    spacing: 4px;
  690.    border: 0;
  691.    padding: 2px;
  692. }
  693.  
  694. QToolBar:top, QToolBar:bottom {
  695.    min-height: 24px;
  696. }
  697.  
  698. QToolBar:left, QToolBar:right {
  699.    min-width: 24px;
  700. }
  701.  
  702. QToolBar::handle:top, QToolBar::handle:bottom {
  703.    image: url(:/qss/toolbar-handle-horizontal.png);
  704.    margin-left: 4px;
  705.    margin-right: 8px;
  706. }
  707.  
  708. QToolBar::handle:left, QToolBar::handle:right {
  709.    image: url(:/qss/toolbar-handle-vertical.png);
  710.    margin-top: 8px;
  711.    margin-bottom: 4px;
  712. }
  713.  
  714. pi--WebBrowserWidget QToolBar, pi--ScriptEditor QToolBar {
  715.    background: #F0F0F0;
  716. }
  717.  
  718. pi--WebBrowserWidget QWidget#WBTitleBar {
  719.    padding: 1px;
  720. }
  721.  
  722. /*
  723.  * QRadioButton
  724.  */
  725.  
  726. QRadioButton {
  727.    spacing: 6px;
  728. }
  729.  
  730. QRadioButton::indicator {
  731.    width: 13px;
  732.    height: 13px;
  733.    margin-bottom: 1px;
  734. }
  735.  
  736. QRadioButton::indicator::unchecked {
  737.    image: url(:/qss/radiobutton-unchecked.png);
  738. }
  739.  
  740. QRadioButton::indicator::unchecked:disabled {
  741.    image: url(:/qss/radiobutton-disabled-unchecked.png);
  742. }
  743.  
  744. QRadioButton::indicator:unchecked:hover {
  745.    image: url(:/qss/radiobutton-unchecked-hover.png);
  746. }
  747.  
  748. QRadioButton::indicator:unchecked:pressed, QRadioButton::indicator:unchecked:focus {
  749.    image: url(:/qss/radiobutton-unchecked-pressed.png);
  750. }
  751.  
  752. QRadioButton::indicator::checked {
  753.    image: url(:/qss/radiobutton-checked.png);
  754. }
  755.  
  756. QRadioButton::indicator::checked:disabled {
  757.    image: url(:/qss/radiobutton-disabled-checked.png);
  758. }
  759.  
  760. QRadioButton::indicator:checked:hover {
  761.    image: url(:/qss/radiobutton-checked-hover.png);
  762. }
  763.  
  764. QRadioButton::indicator:checked:pressed, QRadioButton::indicator:checked:focus {
  765.    image: url(:/qss/radiobutton-checked-pressed.png);
  766. }
  767.  
  768. /*
  769.  * QSizeGrip
  770.  */
  771.  
  772. QSizeGrip {
  773.    image: url(:/qss/size-grip.png);
  774.    width: 13px;
  775.    height: 13px;
  776. }
  777.  
  778. /*
  779.  * QSlider
  780.  */
  781.  
  782. QSlider::groove:horizontal {
  783.    border: 1px solid gray;
  784.    height: 3px; /* The groove expands to the size of the slider by default. By giving it a height, it has a fixed size */
  785.    background: #E8E8E8;
  786. }
  787.  
  788. QSlider::handle {
  789.    image: url(:/qss/slider-handle.png);
  790. }
  791.  
  792. QSlider::handle:hover {
  793.    image: url(:/qss/slider-handle-hover.png)
  794. }
  795.  
  796. QSlider::handle:disabled {
  797.    image: url(:/qss/slider-disabled-handle.png)
  798. }
  799.  
  800. QSlider::handle:horizontal {
  801.    margin: -4px -1px; /* The handle is placed by default on the contents rect of the groove. Let it go 1px outside the groove */
  802. }
  803.  
  804. QSlider::add-page {
  805.    background: transparent;
  806. }
  807.  
  808. QSlider::sub-page {
  809.    border: 1px solid gray;
  810.    background: #A8A8A8;
  811. }
  812.  
  813. /*
  814.  * QSpinBox, QDoubleSpinBox
  815.  */
  816.  
  817. QSpinBox, QDoubleSpinBox {
  818.    border-width: 2px;
  819.    border-image: url(:/qss/border.png) 33% repeat;
  820.    padding: 0 2px 0 2px;
  821.    color: black;
  822.    background: white;
  823.    selection-color: white;
  824.    selection-background-color: #5A99F0;
  825. }
  826.  
  827. QSpinBox:hover, QDoubleSpinBox:hover {
  828.    border-image: url(:/qss/border-hover.png) 33% repeat;
  829. }
  830.  
  831. QSpinBox:focus, QSpinBox:focus:hover, QDoubleSpinBox:focus, QDoubleSpinBox:focus:hover {
  832.    @platform x11 windows {
  833.       border-image: url(:/qss/border-focus.png) 33% repeat;
  834.    }
  835.    @platform osx {
  836.       border-image: none;
  837.       border: 2px solid #87B3FF;
  838.    }
  839. }
  840.  
  841. QSpinBox:read-only, QDoubleSpinBox:read-only {
  842.    background: lightgray;
  843. }
  844.  
  845. QSpinBox:disabled, QDoubleSpinBox:disabled {
  846.    color: gray;
  847.    background: lightgray;
  848. }
  849.  
  850. QSpinBox::up-button, QDoubleSpinBox::up-button {
  851.    subcontrol-origin: padding;
  852.    subcontrol-position: top right;
  853.    width: 13px;
  854.    border-left: 1px solid lightgray;
  855.    margin: -1px -1px 0 0;
  856.    background: qlineargradient( x1:0, y1:0, x2:0, y2:1, stop: 0 #FAFAFA, stop: 1 #C8C8C8 );
  857. }
  858.  
  859. QSpinBox::up-arrow, QDoubleSpinBox::up-arrow {
  860.    image: url(:/qss/spinbox-up-arrow-dark.png);
  861.    image-position: bottom center;
  862. }
  863.  
  864. QSpinBox::up-arrow:disabled, QDoubleSpinBox::up-arrow:disabled {
  865.    image: url(:/qss/spinbox-disabled-up-arrow.png);
  866. }
  867.  
  868. QSpinBox::down-button, QDoubleSpinBox::down-button {
  869.    subcontrol-origin: padding;
  870.    subcontrol-position: bottom right;
  871.    width: 13px;
  872.    border-left: 1px solid lightgray;
  873.    margin: 0 -1px -1px 0;
  874.    background: qlineargradient( x1:0, y1:0, x2:0, y2:1, stop: 0 #FAFAFA, stop: 1 #C8C8C8 );
  875. }
  876.  
  877. QSpinBox::down-arrow, QDoubleSpinBox::down-arrow {
  878.    image: url(:/qss/spinbox-down-arrow-dark.png);
  879.    image-position: top center;
  880. }
  881.  
  882. QSpinBox::down-arrow:disabled, QDoubleSpinBox::down-arrow:disabled {
  883.    image: url(:/qss/spinbox-disabled-down-arrow.png);
  884. }
  885.  
  886. QSpinBox::up-button:hover, QSpinBox::up-button:pressed,
  887. QSpinBox::down-button:hover, QSpinBox::down-button:pressed,
  888. QDoubleSpinBox::up-button:hover, QDoubleSpinBox::up-button:pressed,
  889. QDoubleSpinBox::down-button:hover, QDoubleSpinBox::down-button:pressed {
  890.    background: qlineargradient( x1:0, y1:0, x2:0, y2:1, stop: 0 #FAFAFA, stop: 0.6 #D4D4D4, stop: 1 #87B3FF );
  891. }
  892.  
  893. /*
  894.  * QPushButton
  895.  */
  896.  
  897. QPushButton {
  898.    min-width: 5em;
  899.    border-width: 2px;
  900.    border-image: url(:/qss/border.png) 33% repeat;
  901.    padding-left: 2ex;
  902.    padding-right: 2ex;
  903.    padding-top: 2px;
  904.    padding-bottom: 2px;
  905.    color: black;
  906.    background: qlineargradient( x1:0, y1:0, x2:0, y2:1, stop: 0 #FAFAFA, stop: 1 #C8C8C8 );
  907. }
  908.  
  909. QPushButton:hover {
  910.    border-image: url(:/qss/border-hover.png) 33% repeat;
  911.    background: #C7D4E9;
  912. }
  913.  
  914. QPushButton:focus, QPushButton:default {
  915.    @platform x11 windows {
  916.       border-image: url(:/qss/border-focus.png) 33% repeat;
  917.    }
  918.    @platform osx {
  919.       border-image: none;
  920.       border: 2px solid #87B3FF;
  921.    }
  922. }
  923.  
  924. QPushButton:focus:hover, QPushButton:default:hover, QPushButton:selected {
  925.    @platform x11 windows {
  926.       border-image: url(:/qss/border-focus.png) 33% repeat;
  927.    }
  928.    @platform osx {
  929.       border-image: none;
  930.       border: 2px solid #87B3FF;
  931.    }
  932.    background: #C7D4E9;
  933. }
  934.  
  935. QPushButton:focus:pressed, QPushButton:selected:pressed {
  936.    border-image: url(:/qss/border-pressed.png) 33% repeat;
  937.    background: qlineargradient( x1:0, y1:0, x2:0, y2:1, stop: 0 #C4C5C8, stop: 1 #E0E1E4 );
  938. }
  939.  
  940. QPushButton:disabled {
  941.    color: gray;
  942.    background: lightgray;
  943. }
  944.  
  945. QPushButton:flat {
  946.    border: none;
  947. }
  948.  
  949. /*
  950.  * QStatusBar
  951.  */
  952.  
  953. QStatusBar {
  954.    /* Placeholder */
  955. }
  956.  
  957. QStatusBar::item {
  958.    border: 1px solid gray;
  959. }
  960.  
  961. /*
  962.  * QToolButton
  963.  */
  964.  
  965. QToolButton {
  966.    border: 1px solid transparent;
  967.    padding: 0;
  968.    background: transparent;
  969. }
  970.  
  971. QToolButton:hover {
  972.    border: 1px solid #87B3FF;
  973.    background: #C7D4E9;
  974. }
  975.  
  976. QToolButton:!hover {
  977.    background: transparent;
  978. }
  979.  
  980. QToolButton:checked {
  981.    border: 1px solid gray;
  982.    background: white;
  983. }
  984.  
  985. QToolButton:checked:disabled {
  986.    background: lightgray;
  987. }
  988.  
  989. QToolButton:pressed {
  990.    border: 1px solid #505050;
  991.    background: qlineargradient( x1:0, y1:0, x2:0, y2:1, stop: 0 #C4C5C8, stop: 1 #E0E1E4 );
  992. }
  993.  
  994. QToolBar QToolButton {
  995.    width: 24px;
  996.    height: 24px;
  997. }
  998.  
  999. /*
  1000.  * Disable all state-dependent styles for New Instance icons in
  1001.  * ProcessInterface::ControlBar controls. These tool buttons initiate drag
  1002.  * operations when pressed, which captures the mouse and hence prevents
  1003.  * reverting their hover states.
  1004.  */
  1005. QToolButton#IWNewInstance,
  1006. QToolButton#IWNewInstance:hover,
  1007. QToolButton#IWNewInstance:checked,
  1008. QToolButton#IWNewInstance:pressed {
  1009.    border: 1px solid transparent;
  1010.    border-image: none;
  1011.    background: transparent;
  1012. }
  1013.  
  1014. /*
  1015.  * ExtensibleWidget > QToolButton
  1016.  */
  1017. /*
  1018. QToolButton#EWExtendButton {
  1019.    border: 1px solid gray;
  1020. }
  1021. */
  1022.  
  1023. /*
  1024.  * FloatingWindow
  1025.  */
  1026.  
  1027. QWidget#FWContainer {
  1028.    background: rgba( 0, 0, 0, 70% );
  1029.    border: 1px solid gray;
  1030.    color: white;
  1031.    padding: 8px;
  1032. }
  1033.  
  1034. QWidget#FWTitle {
  1035.    background: transparent;
  1036.    color: white;
  1037.    font-weight: bold;
  1038. }
  1039.  
  1040. QWidget#FWText {
  1041.    background: transparent;
  1042.    color: white;
  1043. }
  1044.  
  1045. QWidget#FWThumbnail {
  1046.    border: 1px solid gray;
  1047. }
  1048.  
  1049. QWidget#FWConsole {
  1050.    background: rgba( 255, 255, 255, 80% );
  1051. }
  1052.  
  1053. QToolButton#FWButton {
  1054.    border: none;
  1055.    border-image: none;
  1056.    color: white;
  1057.    background: transparent;
  1058. }
  1059.  
  1060. QPushButton#FWButton {
  1061.    border: 1px solid gray;
  1062.    border-image: none;
  1063.    color: white;
  1064.    background: transparent;
  1065. }
  1066.  
  1067. QToolButton#FWButton:hover, QPushButton#FWButton:hover {
  1068.    background: #505050;
  1069. }
  1070.  
  1071. QToolButton#FWButton:!hover, QPushButton#FWButton:!hover {
  1072.    background: transparent;
  1073. }
  1074.  
  1075. QToolButton#FWButton:pressed, QPushButton#FWButton:pressed {
  1076.    background: #3C3C3C;
  1077. }
  1078.  
  1079. /*
  1080.  * QTreeView, QListView
  1081.  */
  1082.  
  1083. QTreeView, QListView {
  1084.    color: black;
  1085.    background: white;
  1086.    alternate-background-color: #F0F5FF;
  1087.    paint-alternating-row-colors-for-empty-area: 1;
  1088.    show-decoration-selected: 1;
  1089. }
  1090.  
  1091. QTreeView::item, QListView::item {
  1092.    padding: 1px 2px 1px 2px;
  1093. }
  1094.  
  1095. QTreeView::item {
  1096.    border: none;
  1097.    border-top: 1px solid transparent;
  1098.    border-bottom: 1px solid transparent;
  1099. }
  1100.  
  1101. QTreeView::item:middle, QTreeView::item:last {
  1102.    border-left: 1px solid #D9D9D9; /* vertical separator */
  1103. }
  1104.  
  1105. QTreeView::item:middle:disabled, QTreeView::item:last:disabled {
  1106.    border-left: 1px solid gray; /* vertical separator, disabled panel */
  1107. }
  1108.  
  1109. QTreeView::item:first {
  1110.    border-left: 1px solid transparent;
  1111. }
  1112.  
  1113. QTreeView::item:last {
  1114.    border-right: 1px solid transparent;
  1115. }
  1116.  
  1117. QListView::item {
  1118.    border: 1px solid transparent;
  1119. }
  1120.  
  1121. QTreeView::item:hover, QListView::item:hover {
  1122.    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #E7EFFD, stop: 1 #CBDAF1);
  1123. }
  1124.  
  1125. QTreeView::item:hover {
  1126.    border-top: 1px solid #BFCDE4;
  1127.    border-bottom: 1px solid #BFCDE4;
  1128. }
  1129.  
  1130. QTreeView::item:first:hover {
  1131.    border-left: 1px solid #BFCDE4;
  1132. }
  1133.  
  1134. QTreeView::item:last:hover {
  1135.    border-right: 1px solid #BFCDE4;
  1136. }
  1137.  
  1138. QListView::item:hover {
  1139.    border: 1px solid #BFCDE4;
  1140. }
  1141.  
  1142. QTreeView::item:selected, QListView::item:selected {
  1143.    color: black;
  1144.    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #FFC68C, stop: 1 #FFAE5B );
  1145. }
  1146.  
  1147. QTreeView::item:selected:disabled, QListView::item:selected:disabled {
  1148.    color: gray;
  1149.    background: #C0C0C0;
  1150. }
  1151.  
  1152. QTreeView::branch:selected {
  1153.    background: white;
  1154. }
  1155.  
  1156. QTreeView::branch:alternate:selected {
  1157.    background: #F0F5FF;
  1158. }
  1159.  
  1160. /*
  1161.  * ### Uncomment the background properties (with urls) below to show decoration
  1162.  *     lines on tree views.
  1163.  */
  1164.  
  1165. QTreeView::branch:has-siblings:!adjoins-item {
  1166.    /*background: white url(:/qss/treeview-branch-line.png) no-repeat center;*/
  1167.    background: white;
  1168. }
  1169.  
  1170. QTreeView::branch:alternate:has-siblings:!adjoins-item {
  1171.    /*background: #F0F5FF url(:/qss/treeview-branch-line.png) no-repeat center;*/
  1172.    background: #F0F5FF;
  1173. }
  1174.  
  1175. QTreeView::branch:has-siblings:adjoins-item {
  1176.    /*background: white url(:/qss/treeview-branch-more.png) no-repeat center;*/
  1177.    background: white;
  1178. }
  1179.  
  1180. QTreeView::branch:alternate:has-siblings:adjoins-item {
  1181.    /*background: #F0F5FF url(:/qss/treeview-branch-more.png) no-repeat center;*/
  1182.    background: #F0F5FF;
  1183. }
  1184.  
  1185. QTreeView::branch:!has-children:!has-siblings:adjoins-item {
  1186.    /*background: white url(:/qss/treeview-branch-end.png) no-repeat center;*/
  1187.    background: white;
  1188. }
  1189.  
  1190. QTreeView::branch:alternate:!has-children:!has-siblings:adjoins-item {
  1191.    /*background: #F0F5FF url(:/qss/treeview-branch-end.png) no-repeat center;*/
  1192.    background: #F0F5FF;
  1193. }
  1194.  
  1195. QTreeView::branch:has-children:closed:has-siblings {
  1196.    /*background: white url(:/qss/treeview-branch-line-children.png) no-repeat center;*/
  1197.    background: white;
  1198.    image: url(:/qss/treeview-branch-closed-dark.svg);
  1199. }
  1200.  
  1201. QTreeView::branch:has-children:closed:!has-siblings {
  1202.    /*background: white url(:/qss/treeview-branch-line-children-end.png) no-repeat center;*/
  1203.    background: white;
  1204.    image: url(:/qss/treeview-branch-closed-dark.svg);
  1205. }
  1206.  
  1207. QTreeView::branch:alternate:has-children:closed:has-siblings {
  1208.    /*background: #F0F5FF url(:/qss/treeview-branch-line-children.png) no-repeat center;*/
  1209.    background: #F0F5FF;
  1210.    image: url(:/qss/treeview-branch-closed-dark.svg);
  1211. }
  1212.  
  1213. QTreeView::branch:alternate:has-children:closed:!has-siblings {
  1214.    /*background: #F0F5FF url(:/qss/treeview-branch-line-children-end.png) no-repeat center;*/
  1215.    background: #F0F5FF;
  1216.    image: url(:/qss/treeview-branch-closed-dark.svg);
  1217. }
  1218.  
  1219. QTreeView::branch:has-children:open:has-siblings {
  1220.    /*background: white url(:/qss/treeview-branch-line-children.png) no-repeat center;*/
  1221.    background: white;
  1222.    image: url(:/qss/treeview-branch-open-dark.svg);
  1223. }
  1224.  
  1225. QTreeView::branch:has-children:open:!has-siblings {
  1226.    /*background: white url(:/qss/treeview-branch-line-children-end.png) no-repeat center;*/
  1227.    background: white;
  1228.    image: url(:/qss/treeview-branch-open-dark.svg);
  1229. }
  1230.  
  1231. QTreeView::branch:alternate:has-children:open:has-siblings {
  1232.    /*background: #F0F5FF url(:/qss/treeview-branch-line-children.png) no-repeat center;*/
  1233.    background: #F0F5FF;
  1234.    image: url(:/qss/treeview-branch-open-dark.svg);
  1235. }
  1236.  
  1237. QTreeView::branch:alternate:has-children:open:!has-siblings {
  1238.    /*background: #F0F5FF url(:/qss/treeview-branch-line-children-end.png) no-repeat center;*/
  1239.    background: #F0F5FF;
  1240.    image: url(:/qss/treeview-branch-open-dark.svg);
  1241. }
  1242.  
  1243. QTreeView::branch:disabled, QTreeView::branch:alternate:disabled {
  1244.    background: #C0C0C0;
  1245. }
  1246.  
  1247. /*
  1248.  * QTreeView, QListView (Explorer windows / object tree/list components)
  1249.  */
  1250. /*
  1251. QTreeView#EWObjectTree, QListView#EWObjectList {
  1252.    color: white;
  1253.    background: #606060;
  1254.    alternate-background-color: #646464;
  1255. }
  1256.  
  1257. QTreeView#EWObjectTree::item:hover, QListView#EWObjectList::item:hover {
  1258.    color: black;
  1259.    background: #C8C8C8;
  1260.    border: 1px solid #BFCDE4;
  1261. }
  1262.  
  1263. QTreeView#EWObjectTree::item:selected, QListView#EWObjectList::item:selected {
  1264.    color: black;
  1265.    background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop: 0 #B2D6FF, stop: 1 #A2C9FF);
  1266. }
  1267.  
  1268. QTreeView#EWObjectTree::item, QTreeView#EWObjectTree::item:hover, QTreeView#EWObjectTree::item:selected {
  1269.    border-right: 1px solid transparent;
  1270. }
  1271. */
  1272.  
  1273. /*
  1274.  * QTabWidget
  1275.  */
  1276.  
  1277. QTabWidget::pane { /* The tab widget frame */
  1278.    background: transparent;
  1279.    border: 1px solid gray;
  1280.    padding: 4px;
  1281. }
  1282.  
  1283. QTabWidget::tab-bar {
  1284.    alignment: left;
  1285. }
  1286.  
  1287. QTabBar {
  1288.    background: transparent;
  1289. }
  1290.  
  1291. QTabBar::tab {
  1292.    background: qlineargradient( x1:0, y1:0, x2:0, y2:1, stop: 0 #E0E0E0, stop: 1 #D3D3D3 );
  1293.    border: 1px solid gray;
  1294.    border-bottom: none;
  1295.    min-width: 8ex;
  1296.    padding: 4px 8px 4px 8px;
  1297. }
  1298.  
  1299. QTabBar::tab:first:!only-one, QTabBar::tab:middle {
  1300.    border-right: none;
  1301. }
  1302.  
  1303. QTabBar::tab:hover {
  1304.    background: #C7D4E9;
  1305. }
  1306.  
  1307. QTabBar::tab:selected {
  1308.    background: qlineargradient( x1:0, y1:0, x2:0, y2:1, stop: 0 #FFFFFF, stop: 1 #CACACA );
  1309.    padding-top: 6px;
  1310. }
  1311.  
  1312. QTabBar::tab:selected:first:!only-one, QTabBar::tab:selected:middle {
  1313.    margin-right: -1px;
  1314.    border-right: 1px solid gray;
  1315. }
  1316.  
  1317. QTabBar::tab:selected:last {
  1318.    margin-right: 0;
  1319.    border-right: 1px solid gray;
  1320. }
  1321.  
  1322. QTabBar::tab:!selected {
  1323.    margin-top: 2px; /* make non-selected tabs smaller */
  1324. }
  1325.  
  1326. QTabWidget QToolButton:hover, QTabBar QToolButton:hover {
  1327.    border: 1px solid gray;
  1328.    border-image: none;
  1329.    background: qlineargradient( x1:0, y1:0, x2:0, y2:1, stop: 0 #DADBDE, stop: 1 #F6F7FA );
  1330. }
  1331.  
  1332. QTabWidget QToolButton:pressed, QTabBar QToolButton:pressed {
  1333.    border: 2px solid #87B3FF;
  1334.    border-image: none;
  1335.    background: qlineargradient( x1:0, y1:0, x2:0, y2:1, stop: 0 #C4C5C8, stop: 1 #E0E1E4 );
  1336. }
  1337.  
  1338. /*
  1339.  * QToolTip
  1340.  */
  1341.  
  1342. QToolTip {
  1343.    border: 1px solid gray;
  1344.    padding: 2px;
  1345.    color: white;
  1346.    background: black;
  1347.    opacity: 200;
  1348. }
  1349.  
  1350. QTreeView#EWObjectTree QToolTip {
  1351.    font-family: "<core_mono_font>", Hack, DejaVu Sans Mono, "M+ 1m", Vera Sans Mono, Verdana, Courier, Monospace;
  1352. }
  1353.  
  1354. /*
  1355.  * QScrollBar
  1356.  */
  1357.  
  1358. QScrollBar {
  1359.    border: none;
  1360.    background: #C0C0C0;
  1361. }
  1362.  
  1363. QScrollBar::handle {
  1364.    border: 2px solid #A0A0A0;
  1365.    background: #E0E0E0;
  1366. }
  1367.  
  1368. QScrollBar::handle:hover, QScrollBar::handle:pressed {
  1369.    border-color: #87B3FF;
  1370.    background: #E8E8E8;
  1371. }
  1372.  
  1373. QScrollBar::add-line, QScrollBar::sub-line {
  1374.    background: #C0C0C0;
  1375. }
  1376.  
  1377. QScrollBar::add-page, QScrollBar::sub-page {
  1378.    background: none;
  1379. }
  1380.  
  1381. /*
  1382.  * ### Workarounds for Qt rendering bugs on OS X in high-dpi modes
  1383.  */
  1384. @platform x11 osx1x windows {
  1385.  
  1386.    QScrollBar::left-arrow {
  1387.       background-image: url(:/qss/scrollbar-left-arrow-dark.png);
  1388.       background-repeat: no-repeat;
  1389.       background-position: center;
  1390.    }
  1391.  
  1392.    QScrollBar::right-arrow {
  1393.       background-image: url(:/qss/scrollbar-right-arrow-dark.png);
  1394.       background-repeat: no-repeat;
  1395.       background-position: center;
  1396.    }
  1397.  
  1398.    QScrollBar::up-arrow {
  1399.       background-image: url(:/qss/scrollbar-up-arrow-dark.png);
  1400.       background-repeat: no-repeat;
  1401.       background-position: center;
  1402.    }
  1403.  
  1404.    QScrollBar::down-arrow {
  1405.       background-image: url(:/qss/scrollbar-down-arrow-dark.png);
  1406.       background-repeat: no-repeat;
  1407.       background-position: center;
  1408.    }
  1409. }
  1410. @platform osx2x {
  1411.  
  1412.    QScrollBar::left-arrow {
  1413.       width: 15px;
  1414.       height: 13px;
  1415.       image: url(:/qss/scrollbar-left-arrow-dark.png);
  1416.       image-position: center center;
  1417.    }
  1418.  
  1419.    QScrollBar::right-arrow {
  1420.       width: 15px;
  1421.       height: 13px;
  1422.       image: url(:/qss/scrollbar-right-arrow-dark.png);
  1423.       image-position: center center;
  1424.    }
  1425.  
  1426.    QScrollBar::up-arrow {
  1427.       width: 13px;
  1428.       height: 15px;
  1429.       image: url(:/qss/scrollbar-up-arrow-dark.png);
  1430.       image-position: center center;
  1431.    }
  1432.  
  1433.    QScrollBar::down-arrow {
  1434.       width: 13px;
  1435.       height: 15px;
  1436.       image: url(:/qss/scrollbar-down-arrow-dark.png);
  1437.       image-position: center center;
  1438.    }
  1439. }
  1440.  
  1441. QScrollBar::left-arrow,
  1442. QScrollBar::right-arrow,
  1443. QScrollBar::up-arrow,
  1444. QScrollBar::down-arrow {
  1445.    border: 2px solid transparent;
  1446. }
  1447.  
  1448. QScrollBar::left-arrow:hover, QScrollBar::left-arrow:pressed,
  1449. QScrollBar::right-arrow:hover, QScrollBar::right-arrow:pressed,
  1450. QScrollBar::up-arrow:hover, QScrollBar::up-arrow:pressed,
  1451. QScrollBar::down-arrow:hover, QScrollBar::down-arrow:pressed {
  1452.    border: 2px solid #87B3FF;
  1453.    background-color: #E8E8E8;
  1454. }
  1455.  
  1456. /*
  1457.  * QScrollBar (horizontal)
  1458.  */
  1459.  
  1460. QScrollBar:horizontal {
  1461.    height: 15px;
  1462.    margin: 0 34px 0 0;
  1463. }
  1464.  
  1465. QScrollBar::handle:horizontal {
  1466.    min-width: 15px;
  1467. }
  1468.  
  1469. QScrollBar::add-line:horizontal {
  1470.    width: 17px;
  1471.    subcontrol-position: right;
  1472.    subcontrol-origin: margin;
  1473. }
  1474.  
  1475. QScrollBar::sub-line:horizontal {
  1476.    width: 17px;
  1477.    subcontrol-position: top right;
  1478.    subcontrol-origin: margin;
  1479.    position: absolute;
  1480.    right: 17px;
  1481. }
  1482.  
  1483. /*
  1484.  * QScrollBar (vertical)
  1485.  */
  1486.  
  1487. QScrollBar:vertical {
  1488.    width: 15px;
  1489.    margin: 0 0 34px 0;
  1490. }
  1491.  
  1492. QScrollBar::handle:vertical {
  1493.    min-height: 15px;
  1494. }
  1495.  
  1496. QScrollBar::add-line:vertical {
  1497.    height: 17px;
  1498.    subcontrol-position: bottom;
  1499.    subcontrol-origin: margin;
  1500. }
  1501.  
  1502. QScrollBar::sub-line:vertical {
  1503.    height: 17px;
  1504.    subcontrol-position: bottom right;
  1505.    subcontrol-origin: margin;
  1506.    position: absolute;
  1507.    bottom: 17px;
  1508. }
  1509.  
  1510. /*
  1511.  * ImageWindow|Workspace|QComboBox > QScrollBar
  1512.  */
  1513.  
  1514. pi--ImageWindow QScrollBar, QScrollBar#WSHScrollBar, QScrollBar#WSVScrollBar, QComboBox QAbstractItemView QScrollBar {
  1515.    border: none;
  1516.    background: #6E6E6E;
  1517. }
  1518.  
  1519. pi--ImageWindow QScrollBar::handle, QScrollBar#WSHScrollBar::handle, QScrollBar#WSVScrollBar::handle, QComboBox QAbstractItemView QScrollBar::handle {
  1520.    border: 2px solid #C8C8C8;
  1521.    background: #B0B0B0;
  1522. }
  1523.  
  1524. pi--ImageWindow QScrollBar::handle:hover, QScrollBar#WSHScrollBar::handle:hover, QScrollBar#WSVScrollBar::handle:hover, QComboBox QAbstractItemView QScrollBar::handle:hover,
  1525. pi--ImageWindow QScrollBar::handle:pressed, QScrollBar#WSHScrollBar::handle:pressed, QScrollBar#WSVScrollBar::handle:pressed, QComboBox QAbstractItemView QScrollBar::handle:pressed {
  1526.    border-color: #87B3FF;
  1527.    background: #A0A0A0;
  1528. }
  1529.  
  1530. pi--ImageWindow QScrollBar::add-line, QScrollBar#WSHScrollBar::add-line, QScrollBar#WSVScrollBar::add-line, QComboBox QAbstractItemView QScrollBar::add-line,
  1531. pi--ImageWindow QScrollBar::sub-line, QScrollBar#WSHScrollBar::sub-line, QScrollBar#WSVScrollBar::sub-line, QComboBox QAbstractItemView QScrollBar::sub-line {
  1532.    background: #6E6E6E;
  1533. }
  1534.  
  1535. /*
  1536.  * ### Workarounds for Qt rendering bugs on OS X in high-dpi modes
  1537.  */
  1538. @platform x11 osx1x windows {
  1539.  
  1540.    pi--ImageWindow QScrollBar::left-arrow, QScrollBar#WSHScrollBar::left-arrow, QScrollBar#WSVScrollBar::left-arrow, QComboBox QAbstractItemView QScrollBar::left-arrow {
  1541.       background-image: url(:/qss/scrollbar-left-arrow-light.png);
  1542.       background-repeat: no-repeat;
  1543.       background-position: center;
  1544.    }
  1545.  
  1546.    pi--ImageWindow QScrollBar::right-arrow, QScrollBar#WSHScrollBar::right-arrow, QScrollBar#WSVScrollBar::right-arrow, QComboBox QAbstractItemView QScrollBar::right-arrow {
  1547.       background-image: url(:/qss/scrollbar-right-arrow-light.png);
  1548.       background-repeat: no-repeat;
  1549.       background-position: center;
  1550.    }
  1551.  
  1552.    pi--ImageWindow QScrollBar::up-arrow, QScrollBar#WSHScrollBar::up-arrow, QScrollBar#WSVScrollBar::up-arrow, QComboBox QAbstractItemView QScrollBar::up-arrow {
  1553.       background-image: url(:/qss/scrollbar-up-arrow-light.png);
  1554.       background-repeat: no-repeat;
  1555.       background-position: center;
  1556.    }
  1557.  
  1558.    pi--ImageWindow QScrollBar::down-arrow, QScrollBar#WSHScrollBar::down-arrow, QScrollBar#WSVScrollBar::down-arrow, QComboBox QAbstractItemView QScrollBar::down-arrow {
  1559.       background-image: url(:/qss/scrollbar-down-arrow-light.png);
  1560.       background-repeat: no-repeat;
  1561.       background-position: center;
  1562.    }
  1563. }
  1564. @platform osx2x {
  1565.  
  1566.    pi--ImageWindow QScrollBar::left-arrow, QScrollBar#WSHScrollBar::left-arrow, QScrollBar#WSVScrollBar::left-arrow, QComboBox QAbstractItemView QScrollBar::left-arrow {
  1567.       width: 15px;
  1568.       height: 13px;
  1569.       image: url(:/qss/scrollbar-left-arrow-light.png);
  1570.       image-position: center center;
  1571.    }
  1572.  
  1573.    pi--ImageWindow QScrollBar::right-arrow, QScrollBar#WSHScrollBar::right-arrow, QScrollBar#WSVScrollBar::right-arrow, QComboBox QAbstractItemView QScrollBar::right-arrow {
  1574.       width: 15px;
  1575.       height: 13px;
  1576.       image: url(:/qss/scrollbar-right-arrow-light.png);
  1577.       image-position: center center;
  1578.    }
  1579.  
  1580.    pi--ImageWindow QScrollBar::up-arrow, QScrollBar#WSHScrollBar::up-arrow, QScrollBar#WSVScrollBar::up-arrow, QComboBox QAbstractItemView QScrollBar::up-arrow {
  1581.       width: 13px;
  1582.       height: 15px;
  1583.       image: url(:/qss/scrollbar-up-arrow-light.png);
  1584.       image-position: center center;
  1585.    }
  1586.  
  1587.    pi--ImageWindow QScrollBar::down-arrow, QScrollBar#WSHScrollBar::down-arrow, QScrollBar#WSVScrollBar::down-arrow, QComboBox QAbstractItemView QScrollBar::down-arrow {
  1588.       width: 13px;
  1589.       height: 15px;
  1590.       image: url(:/qss/scrollbar-down-arrow-light.png);
  1591.       image-position: center center;
  1592.    }
  1593. }
  1594.  
  1595. pi--ImageWindow QScrollBar::left-arrow:hover, QScrollBar#WSHScrollBar::left-arrow:hover, QScrollBar#WSVScrollBar::left-arrow:hover, QComboBox QAbstractItemView QScrollBar::left-arrow:hover,
  1596. pi--ImageWindow QScrollBar::left-arrow:pressed, QScrollBar#WSHScrollBar::left-arrow:pressed, QScrollBar#WSVScrollBar::left-arrow:pressed, QComboBox QAbstractItemView QScrollBar::left-arrow:pressed,
  1597. pi--ImageWindow QScrollBar::right-arrow:hover, QScrollBar#WSHScrollBar::right-arrow:hover, QScrollBar#WSVScrollBar::right-arrow:hover, QComboBox QAbstractItemView QScrollBar::right-arrow:hover,
  1598. pi--ImageWindow QScrollBar::right-arrow:pressed, QScrollBar#WSHScrollBar::right-arrow:pressed, QScrollBar#WSVScrollBar::right-arrow:pressed, QComboBox QAbstractItemView QScrollBar::right-arrow:pressed,
  1599. pi--ImageWindow QScrollBar::up-arrow:hover, QScrollBar#WSHScrollBar::up-arrow:hover, QScrollBar#WSVScrollBar::up-arrow:hover, QComboBox QAbstractItemView QScrollBar::up-arrow:hover,
  1600. pi--ImageWindow QScrollBar::up-arrow:pressed, QScrollBar#WSHScrollBar::up-arrow:pressed, QScrollBar#WSVScrollBar::up-arrow:pressed, QComboBox QAbstractItemView QScrollBar::up-arrow:pressed,
  1601. pi--ImageWindow QScrollBar::down-arrow:hover, QScrollBar#WSHScrollBar::down-arrow:hover, QScrollBar#WSVScrollBar::down-arrow:hover, QComboBox QAbstractItemView QScrollBar::down-arrow:hover,
  1602. pi--ImageWindow QScrollBar::down-arrow:pressed, QScrollBar#WSHScrollBar::down-arrow:pressed, QScrollBar#WSVScrollBar::down-arrow:pressed, QComboBox QAbstractItemView QScrollBar::down-arrow:pressed {
  1603.    border: 2px solid #87B3FF;
  1604.    background-color: #909090;
  1605. }
  1606.  
  1607. /*
  1608.  * ImageView
  1609.  */
  1610.  
  1611. QWidget#IVContainer, QWidget#RTPRender {
  1612.    background: #505050;
  1613.    color: white;
  1614.    selection-background-color: rgba( 255, 255, 255, 20 );
  1615.    selection-color: white;
  1616. }
  1617.  
  1618. QWidget#IVPreviewText {
  1619.    background: transparent;
  1620.    color: white;
  1621.    font-family: "<core_sans_font>", DejaVu Sans, Vera Sans, Verdana, Helvetica, Sans Serif;
  1622.    font-size: 8pt;
  1623. }
  1624.  
  1625. QWidget#IVPreviewFrame {
  1626.    background: transparent;
  1627.    color: white;
  1628.    selection-color: #00FF00;
  1629. }
  1630.  
  1631. QWidget#IVPreviewEditFrame {
  1632.    background: transparent;
  1633.    color: #C8C800;
  1634.    selection-color: #C8C800;
  1635. }
  1636.  
  1637. QWidget#IVCursor0 {
  1638.    color: white;
  1639. }
  1640. QWidget#IVCursor1 {
  1641.    color: #808080;
  1642. }
  1643. QWidget#IVCursor2 {
  1644.    color: white;
  1645. }
  1646. QWidget#IVCursor3 {
  1647.    color: white;
  1648. }
  1649.  
  1650. QWidget#IVViewSelector {
  1651.    background: #A9A9A9;
  1652.    color: black;
  1653.    selection-background-color: #505050;
  1654.    selection-color: #DCDCDC;
  1655.    font-family: "<core_sans_font>", DejaVu Sans, Vera Sans, Verdana, Helvetica, Sans Serif;
  1656.    font-size: 8pt;
  1657. }
  1658.  
  1659. QWidget#IVViewSelectorFrame {
  1660.    color: #3C3C3C;
  1661.    selection-color: #3C3C3C;
  1662. }
  1663.  
  1664. QWidget#IVMaskedViewSelector {
  1665.    background: #BEAC82;
  1666.    color: black;
  1667.    selection-background-color: #724C36;
  1668.    selection-color: #DCDCDC;
  1669. }
  1670.  
  1671. QWidget#IVMaskedViewSelectorFrame {
  1672.    color: #3C3C3C;
  1673.    selection-color: #3C3C3C;
  1674. }
  1675.  
  1676. QWidget#IVSTFActiveViewSelectorFrame {
  1677.    color: #02B45A;
  1678.    selection-color: #02B45A;
  1679. }
  1680.  
  1681. QWidget#IVViewSelectorTray, QWidget#IVToolsContainer {
  1682.    background: #6E6E6E;
  1683. }
  1684.  
  1685. /*
  1686.  * Pixel Readout Preview
  1687.  */
  1688.  
  1689. QLabel#FWReadoutInfo {
  1690.    background: transparent;
  1691.    color: white;
  1692.    font-family: "<core_mono_font>", Hack, DejaVu Sans Mono, "M+ 1m", Vera Sans Mono, Courier New, Courier, Monospace;
  1693.    font-size: 9.5pt;
  1694. }
  1695.  
  1696. QLabel#FWReadoutPreview {
  1697.    border: 1px solid gray;
  1698. }
  1699.  
  1700. /*
  1701.  * Real-Time Preview
  1702.  */
  1703.  
  1704. pi--PixInsightRealTimePreview QWidget {
  1705.    background: #A0A0A0;
  1706.    color: black;
  1707. }
  1708.  
  1709. /*
  1710.  * Console Window
  1711.  */
  1712.  
  1713. pi--PixInsightConsole {
  1714.    background: white;
  1715.    color: black;
  1716.    font-family: "<core_mono_font>", Hack, DejaVu Sans Mono, "M+ 1m", Vera Sans Mono, Courier New, Courier, Monospace;
  1717.    font-size: 9.5pt;
  1718. }
  1719.  
  1720. pi--TextBox, pi--JSTextBoxControl {
  1721.    background: white;
  1722.    color: black;
  1723.    font-family: "<core_sans_font>", DejaVu Sans, Vera Sans, Verdana, Helvetica, Sans Serif;
  1724.    font-size: 9pt;
  1725. }
  1726.  
  1727. QWidget#CWConsole, QWidget#CWCommandLine, pi--TextBox#CWConsole, pi--JSTextBoxControl#CWConsole {
  1728.    background: #141414;
  1729.    color: #E8E8E8;
  1730.    /* The following are for modules that want to override TextBox style */
  1731.    font-family: "<core_mono_font>", Hack, DejaVu Sans Mono, "M+ 1m", Vera Sans Mono, Courier New, Courier, Monospace;
  1732.    font-size: 9.5pt;
  1733. }
  1734.  
  1735. QAbstractScrollArea#CWConsole, QAbstractScrollArea#CWConsole:focus,
  1736. QAbstractScrollArea#CWCommandLine, QAbstractScrollArea#CWCommandLine:focus {
  1737.    border: none;
  1738.    margin: 0;
  1739.    padding: 0;
  1740. }
  1741.  
  1742. QWidget#CWCommandLine {
  1743.    background: #323232;
  1744.    min-height: 1.75em;
  1745. }
  1746.  
  1747. QSplitter#CWSplitter {
  1748.    border: none;
  1749.    padding: 0;
  1750. }
  1751.  
  1752. QSplitter#CWSplitter::handle {
  1753.    background: #323232;
  1754. }
  1755.  
  1756. QSplitter#CWSplitter::handle:vertical {
  1757.    height: 2px;
  1758. }
  1759.  
  1760. /*
  1761.  * ANSI terminal colors
  1762.  */
  1763. QWidget#CWTerminalColor0 { /* black */
  1764.    background: #000000;
  1765.    color: #000000;
  1766. }
  1767. QWidget#CWTerminalColor1 { /* red */
  1768.    background: #E83F3F;
  1769.    color: #FF4545;
  1770. }
  1771. QWidget#CWTerminalColor2 { /* green */
  1772.    background: #18B218;
  1773.    color: #50FF50;
  1774. }
  1775. QWidget#CWTerminalColor3 { /* yellow */
  1776.    background: #B2B218;
  1777.    color: #FFFF50;
  1778. }
  1779. QWidget#CWTerminalColor4 { /* blue */
  1780.    background: #7878FF;
  1781.    color: #8C8CFF;
  1782. }
  1783. QWidget#CWTerminalColor5 { /* magenta */
  1784.    background: #F050F0;
  1785.    color: #FF50FF;
  1786. }
  1787. QWidget#CWTerminalColor6 { /* cyan */
  1788.    background: #50F0F0;
  1789.    color: #50FFFF;
  1790. }
  1791. QWidget#CWTerminalColor7 { /* white */
  1792.    background: #DCDCDC;
  1793.    color: #FFFFFF;
  1794. }
  1795.  
  1796. /*
  1797.  * Explorer Window
  1798.  */
  1799.  
  1800. QWidget#EWFileExplorer, QWidget#EWFileExplorer *[pi_propagateCSSFont="true"],
  1801. QWidget#EWFormatExplorer, QWidget#EWFormatExplorer *[pi_propagateCSSFont="true"],
  1802. QWidget#EWHistoryExplorer, QWidget#EWHistoryExplorer *[pi_propagateCSSFont="true"],
  1803. QWidget#EWObjectExplorer, QWidget#EWObjectExplorer *[pi_propagateCSSFont="true"],
  1804. QWidget#EWProcessExplorer, QWidget#EWProcessExplorer *[pi_propagateCSSFont="true"],
  1805. QWidget#EWViewExplorer, QWidget#EWViewExplorer *[pi_propagateCSSFont="true"] {
  1806.    font-family: "<core_sans_font>", DejaVu Sans, Vera Sans, Verdana, Sans Serif;
  1807.    @platform x11 osx {
  1808.       font-size: 9pt;
  1809.    }
  1810.    @platform windows {
  1811.       font-size: 8pt;
  1812.    }
  1813. }
  1814.  
  1815. QWidget#EWTreeRootItem {
  1816.    font-weight: bold;
  1817. }
  1818.  
  1819. QWidget#EWTreeChildItem {
  1820.    /* Placeholder */
  1821. }
  1822.  
  1823. /*
  1824.  * AutoHide Window
  1825.  */
  1826.  
  1827. QWidget#AHWContainer {
  1828.    background: #DFDFE1;
  1829.    border: 1px solid #707070;
  1830.    color: black;
  1831. }
  1832.  
  1833. QWidget#AHWContainer QToolBar {
  1834.    background: #F0F0F0;
  1835. }
  1836.  
  1837. QWidget#AHWTitleBar {
  1838.    background: #DFDFE1;
  1839. }
  1840.  
  1841. QWidget#AHWTitle {
  1842.    color: black;
  1843.    font-family: "<core_sans_font>", DejaVu Sans, Vera Sans, Verdana, Helvetica, Sans Serif;
  1844.    font-weight: bold;
  1845.    @platform x11 osx {
  1846.       font-size: 9pt;
  1847.    }
  1848.    @platform windows {
  1849.       font-size: 8pt;
  1850.    }
  1851. }
  1852.  
  1853. pi--AutoHideWidget *[border="true"] {
  1854.    background: transparent;
  1855.    border: none;
  1856. }
  1857.  
  1858. /* top */
  1859. pi--AutoHideWidget *[topBorder="true"] {
  1860.    border-top: 1px solid #707070;
  1861. }
  1862.  
  1863. /* left */
  1864. pi--AutoHideWidget *[leftBorder="true"] {
  1865.    border-left: 1px solid #707070;
  1866. }
  1867.  
  1868. /* bottom */
  1869. pi--AutoHideWidget *[bottomBorder="true"] {
  1870.    border-bottom: 1px solid #707070;
  1871. }
  1872.  
  1873. /* right */
  1874. pi--AutoHideWidget *[rightBorder="true"] {
  1875.    border-right: 1px solid #707070;
  1876. }
  1877.  
  1878. /*
  1879.  * AutoHide Window Selector
  1880.  */
  1881.  
  1882. QWidget#AHWSelector {
  1883.    font-family: "<core_sans_font>", DejaVu Sans, Vera Sans, Verdana, Helvetica, Sans Serif;
  1884.    font-size: 8pt;
  1885. }
  1886.  
  1887. QWidget#AHWSelector[selected="false"] {
  1888.    background: #505050;
  1889.    border: 1px solid #3C3C3C;
  1890.    color: #DCDCDC;
  1891. }
  1892.  
  1893. QWidget#AHWSelector[selected="true"] {
  1894.    background: #6E6E6E;
  1895.    border: 1px solid #C0C0C0;
  1896.    color: #F5F5F5;
  1897. }
  1898.  
  1899. /*
  1900.  * AutoHide Selector Tray
  1901.  */
  1902.  
  1903. QWidget#AHWSelectorTray {
  1904.    background: #6E6E6E;
  1905. }
  1906.  
  1907. /*
  1908.  * MainWindow
  1909.  */
  1910.  
  1911. QMainWindow, QWidget#MWContainer {
  1912.    background: #404040;
  1913. }
  1914.  
  1915. QWidget#MWPositionToolBar, QWidget#MWReadoutToolBar, QWidget#MWInformationToolBar, QWidget#MWViewSelector {
  1916.    font-family: "<core_mono_font>", Hack, DejaVu Sans Mono, "M+ 1m", Vera Sans Mono, Courier New, Courier, Monospace;
  1917.    font-size: 8pt;
  1918. }
  1919.  
  1920. QWidget#MWPositionToolBar, QWidget#MWReadoutToolBar, QWidget#MWInformationToolBar {
  1921.    padding: 4px 8px 4px 8px;
  1922. }
  1923.  
  1924. QWidget#MWViewSelector {
  1925.    min-width: 18em;
  1926. }
  1927.  
  1928. QWidget#MWPositionToolBar {
  1929.    min-width: 12em;
  1930. }
  1931.  
  1932. QWidget#MWReadoutToolBar {
  1933.    min-width: 28em;
  1934. }
  1935.  
  1936. /*
  1937.  * Workspace
  1938.  */
  1939.  
  1940. QWidget#WSWorkspace {
  1941.    background: #404040;
  1942.    selection-background-color: rgba( 255, 255, 255, 20 );
  1943.    selection-color: rgba( 128, 160, 255, 255 );
  1944.    alternate-background-color: rgba( 208, 160, 106, 255 ); /* maximization limit */
  1945. }
  1946.  
  1947. /*
  1948.  * Icons
  1949.  */
  1950.  
  1951. QLabel#ICNProcess, QLabel#ICNImage, QLabel#ICNImageContainer, QLabel#ICNProjectDocumentation {
  1952.    font-family: "<core_sans_font>", DejaVu Sans, Vera Sans, Verdana, Helvetica, Sans Serif;
  1953.    font-size: 8pt;
  1954. }
  1955.  
  1956. QSvgWidget#ICNProjectDocumentation {
  1957.    min-width: 40px;
  1958.    min-height: 40px;
  1959.    max-width: 40px;
  1960.    max-height: 40px;
  1961. }
  1962.  
  1963. QWidget#ICNProcess[selected="false"], QWidget#ICNImageContainer[selected="false"] {
  1964.    background: #B0B0B0;
  1965. }
  1966. QLabel#ICNProcess[selected="false"], QLabel#ICNImageContainer[selected="false"] {
  1967.    background: transparent;
  1968.    color: black;
  1969. }
  1970.  
  1971. QWidget#ICNProjectDocumentation[selected="false"] {
  1972.    background: transparent;
  1973. }
  1974. QLabel#ICNProjectDocumentation[selected="false"] {
  1975.    background: transparent;
  1976.    color: white;
  1977. }
  1978.  
  1979. QWidget#ICNProcess[selected="true"], QWidget#ICNImageContainer[selected="true"] {
  1980.    background: #6E80E0;
  1981. }
  1982. QLabel#ICNProcess[selected="true"], QLabel#ICNImageContainer[selected="true"] {
  1983.    background: transparent;
  1984.    color: white;
  1985. }
  1986.  
  1987. QWidget#ICNProjectDocumentation[selected="true"] {
  1988.    background: #6E80E0;
  1989. }
  1990. QLabel#ICNProjectDocumentation[selected="true"] {
  1991.    background: transparent;
  1992.    color: white;
  1993. }
  1994.  
  1995. QWidget#ICNProcessFrame, QWidget#ICNImageContainerFrame {
  1996.    color: #707070;
  1997.    selection-color: #404A82;
  1998. }
  1999.  
  2000. QWidget#ICNImage[selected="false"] {
  2001.    background: #B0B0B0;
  2002. }
  2003. QLabel#ICNImage[selected="false"] {
  2004.    background: transparent;
  2005.    color: black;
  2006. }
  2007.  
  2008. QWidget#ICNImage[selected="true"] {
  2009.    background: #6E80E0;
  2010. }
  2011. QLabel#ICNImage[selected="true"] {
  2012.    background: transparent;
  2013.    color: white;
  2014. }
  2015.  
  2016. QWidget#ICNImageFrame {
  2017.    color: #707070;
  2018.    selection-color: #404A82;
  2019. }
  2020.  
  2021. QToolButton#ICNRenameTool, QToolButton#ICNDescriptionTool {
  2022.    border: none;
  2023.    border-image: none;
  2024.    padding: 0;
  2025.    background: transparent;
  2026. }
  2027.  
  2028. QToolButton#ICNRenameTool:hover, QToolButton#ICNDescriptionTool:hover {
  2029.    background: #F0F0F0;
  2030. }
  2031.  
  2032. QToolButton#ICNRenameTool:!hover, QToolButton#ICNDescriptionTool:!hover {
  2033.    background: transparent;
  2034. }
  2035.  
  2036. /*
  2037.  * Workspace Selectors
  2038.  */
  2039.  
  2040. QWidget#WSWorkspaceSelectorTray {
  2041. }
  2042.  
  2043. QWidget#WSWorkspaceSelector {
  2044.    background: #F0F0F0;
  2045.    selection-background-color: #FFAE5B;
  2046. }
  2047.  
  2048. QWidget#WSWorkspaceSelectorFrame {
  2049.    color: #3C3C3C;
  2050.    selection-color: #3C3C3C;
  2051. }
  2052.  
  2053. QWidget#WSWorkspaceSelectorImageIndicator {
  2054.    background: green;
  2055.    selection-background-color: green;
  2056. }
  2057.  
  2058. QWidget#WSWorkspaceSelectorIconIndicator {
  2059.    background: green;
  2060.    selection-background-color: green;
  2061. }
  2062.  
  2063. QWidget#WSWorkspaceSelectorToolIndicator {
  2064.    background: green;
  2065.    selection-background-color: green;
  2066. }
  2067.  
  2068. /*
  2069.  * Workspace Window
  2070.  */
  2071.  
  2072. QWidget#WSWTitleBar {
  2073.    font-family: "<core_sans_font>", DejaVu Sans, Vera Sans, Verdana, Helvetica, Sans Serif;
  2074.    font-weight: bold;
  2075.    font-size: 9pt;
  2076. }
  2077.  
  2078. QWidget#WSWTitleBar[active="false"], pi--WorkspaceWindow *[activeBorder="false"] {
  2079.    background: #6E6E6E;
  2080. }
  2081.  
  2082. QWidget#WSWTitleBar[active="true"], pi--WorkspaceWindow *[activeBorder="true"] {
  2083.    background: #5664AF;
  2084. }
  2085.  
  2086. QWidget#WSWTitle {
  2087.    font-family: "<core_sans_font>", DejaVu Sans, Vera Sans, Verdana, Helvetica, Sans Serif;
  2088.    font-weight: bold;
  2089.    font-size: 9pt;
  2090. }
  2091.  
  2092. QWidget#WSWTitle[active="false"] {
  2093.    color: #D0D0D0;
  2094. }
  2095.  
  2096. QWidget#WSWTitle[active="true"] {
  2097.    color: white;
  2098. }
  2099.  
  2100. /* top */
  2101. pi--WorkspaceWindow *[topBorder="true"][active="false"] {
  2102.    border-top: 1px solid #3A3A3A;
  2103. }
  2104. pi--WorkspaceWindow *[topBorder="true"][active="true"] {
  2105.    border-top: 1px solid #363F6E;
  2106. }
  2107.  
  2108. /* left */
  2109. pi--WorkspaceWindow *[leftBorder="true"][active="false"] {
  2110.    border-left: 1px solid #3A3A3A;
  2111. }
  2112. pi--WorkspaceWindow *[leftBorder="true"][active="true"] {
  2113.    border-left: 1px solid #363F6E;
  2114. }
  2115.  
  2116. /* bottom */
  2117. pi--WorkspaceWindow *[bottomBorder="true"][active="false"] {
  2118.    border-bottom: 1px solid #3A3A3A;
  2119. }
  2120. pi--WorkspaceWindow *[bottomBorder="true"][active="true"] {
  2121.    border-bottom: 1px solid #363F6E;
  2122. }
  2123.  
  2124. /* right */
  2125. pi--WorkspaceWindow *[rightBorder="true"][active="false"] {
  2126.    border-right: 1px solid #3A3A3A;
  2127. }
  2128. pi--WorkspaceWindow *[rightBorder="true"][active="true"] {
  2129.    border-right: 1px solid #363F6E;
  2130. }
  2131.  
  2132. /*
  2133.  * Interface Window
  2134.  */
  2135.  
  2136. QWidget#IWContainer, QWidget#ICContainer, QWidget#RTPContainer {
  2137.    background: #DFDFE1;
  2138.    color: black;
  2139.    font-family: "<core_sans_font>", DejaVu Sans, Vera Sans, Verdana, Helvetica, Sans Serif;
  2140.    font-size: 8pt;
  2141. }
  2142.  
  2143. QWidget#IWContainer *[pi_propagateCSSFont="true"],
  2144. QWidget#ICContainer *[pi_propagateCSSFont="true"],
  2145. QWidget#RTPContainer *[pi_propagateCSSFont="true"] {
  2146.    font-family: "<core_sans_font>", DejaVu Sans, Vera Sans, Verdana, Helvetica, Sans Serif;
  2147.    font-size: 8pt;
  2148. }
  2149.  
  2150. QWidget#IWContainer QToolTip, QWidget#ICContainer QToolTip, QWidget#RTPContainer QToolTip {
  2151.    font-size: 8pt;
  2152. }
  2153.  
  2154. QWidget#IWContainer QMenu, QWidget#ICContainer QMenu, QWidget#RTPContainer QMenu {
  2155.    font-size: 8pt;
  2156. }
  2157.  
  2158. QWidget#IWControlBar, QWidget#ICControlBar {
  2159.    background: #C4C1B8;
  2160.    color: black;
  2161. }
  2162.  
  2163. QWidget#IWSectionBar {
  2164.    background: #C4C1B8;
  2165. }
  2166.  
  2167. QWidget#IWSectionBar QLabel {
  2168.    color: #025AB4;
  2169.    font-weight: bold;
  2170. }
  2171.  
  2172. QWidget#IWSectionBar QLabel:disabled {
  2173.    color: gray;
  2174. }
  2175.  
  2176. /*
  2177.  * Web Browser
  2178.  */
  2179.  
  2180. QWidget#WBWindow {
  2181. }
  2182.  
  2183. QWidget#WBDownloadsWindow {
  2184. }
  2185.  
  2186. QWidget#WBDownloadsContainer {
  2187. }
  2188.  
  2189. QWidget#WBDownloadsItem {
  2190.    padding: 2px;
  2191.    background: #F0F0F0;
  2192.    border: 1px solid #A0A0A0;
  2193. }
  2194.  
  2195. QWidget#WBDownloadsItemSrcURL {
  2196.    font-weight: bold;
  2197. }
  2198.  
  2199. QWidget#WBDownloadsItemDstPath {
  2200. }
  2201.  
  2202. QWidget#WBDownloadsItemInfo {
  2203. }
  2204.  
  2205. QWidget#WBContainer {
  2206. }
  2207.  
  2208. QWidget#WBURLLabel {
  2209.    border: 1px solid #808080;
  2210.    padding: 2px;
  2211.    background: #F0F0F0;
  2212.    color: black;
  2213. }
  2214.  
  2215. QWidget#WBTitleBar {
  2216. }
  2217.  
  2218. QWidget#WBToolBar {
  2219. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement