2013-10-25 11:18:41 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
/* Reload and waiting notices */
|
|
|
|
|
|
|
|
.notice-container {
|
|
|
|
margin-top: -50vh;
|
2014-11-20 23:10:32 +03:00
|
|
|
color: var(--theme-body-color-alt);
|
2013-10-25 11:18:41 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#reload-notice {
|
|
|
|
font-size: 120%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#waiting-notice {
|
|
|
|
font-size: 110%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Shaders pane */
|
|
|
|
|
|
|
|
#shaders-pane {
|
|
|
|
min-width: 150px;
|
|
|
|
}
|
|
|
|
|
2014-01-07 13:58:07 +04:00
|
|
|
.program-item {
|
|
|
|
padding: 2px 0px;
|
|
|
|
}
|
|
|
|
|
2013-10-25 11:18:41 +04:00
|
|
|
.side-menu-widget-item-checkbox {
|
2017-05-22 16:45:31 +03:00
|
|
|
-moz-appearance: none; appearance: none;
|
2013-10-25 11:18:41 +04:00
|
|
|
opacity: 0;
|
|
|
|
transition: opacity .15s ease-out 0s;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Only show the checkbox when the source is hovered over, is selected, or if it
|
|
|
|
* is not checked. */
|
|
|
|
.side-menu-widget-item:hover > .side-menu-widget-item-checkbox,
|
|
|
|
.side-menu-widget-item.selected > .side-menu-widget-item-checkbox,
|
|
|
|
.side-menu-widget-item-checkbox:not([checked]) {
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity .15s ease-out 0s;
|
|
|
|
}
|
|
|
|
|
2013-10-27 22:44:02 +04:00
|
|
|
.side-menu-widget-item-checkbox .checkbox-check {
|
2017-05-22 16:45:31 +03:00
|
|
|
-moz-appearance: none; appearance: none;
|
2016-10-19 23:59:09 +03:00
|
|
|
background-image: url(images/item-toggle.svg);
|
2014-05-29 23:42:00 +04:00
|
|
|
background-color: transparent;
|
2013-10-25 11:18:41 +04:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2016-08-27 20:45:07 +03:00
|
|
|
.side-menu-widget-item-checkbox:not([checked]) .checkbox-check,
|
|
|
|
.side-menu-widget-item-checkbox:not([checked]) + vbox {
|
|
|
|
opacity: 0.3;
|
2013-10-25 11:18:41 +04:00
|
|
|
}
|
|
|
|
|
2016-07-29 15:37:00 +03:00
|
|
|
.side-menu-widget-item:not(.selected) .checkbox-check {
|
|
|
|
filter: var(--icon-filter);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Make sure icon is white when the item is selected */
|
|
|
|
.side-menu-widget-item.selected .checkbox-check {
|
2015-11-11 23:21:28 +03:00
|
|
|
filter: invert(1);
|
2014-05-20 16:09:00 +04:00
|
|
|
}
|
|
|
|
|
2013-10-25 11:18:41 +04:00
|
|
|
/* Shader source editors */
|
|
|
|
|
|
|
|
.editor-label {
|
|
|
|
padding: 1px 12px;
|
2014-01-30 23:25:51 +04:00
|
|
|
border-top: 1px solid;
|
2013-10-25 11:18:41 +04:00
|
|
|
}
|
|
|
|
|
2014-11-20 23:10:32 +03:00
|
|
|
.editor-label {
|
|
|
|
background: var(--theme-toolbar-background);
|
|
|
|
border-color: var(--theme-splitter-color);
|
|
|
|
color: var(--theme-body-color-alt);
|
2014-01-30 23:25:51 +04:00
|
|
|
}
|
|
|
|
|
2014-11-20 23:10:32 +03:00
|
|
|
.editor-label[selected] {
|
|
|
|
background-color: var(--theme-selection-background);
|
|
|
|
color: var(--theme-selection-color);
|
2013-10-25 11:18:41 +04:00
|
|
|
}
|
2013-10-26 14:19:08 +04:00
|
|
|
|
|
|
|
/* Responsive sidebar */
|
|
|
|
|
|
|
|
@media (max-width: 700px) {
|
|
|
|
#shaders-pane {
|
|
|
|
max-height: 60vh;
|
|
|
|
}
|
|
|
|
|
2014-01-30 23:25:51 +04:00
|
|
|
#editors-splitter {
|
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
|
2013-10-26 14:19:08 +04:00
|
|
|
.side-menu-widget-container {
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.side-menu-widget-item-arrow {
|
|
|
|
background-image: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-label {
|
|
|
|
-moz-box-ordinal-group: 0;
|
2014-01-30 23:25:51 +04:00
|
|
|
border-bottom: 1px solid;
|
2013-10-26 14:19:08 +04:00
|
|
|
}
|
|
|
|
}
|