browser/themes/shared/devtools/shadereditor.inc.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
michael@0 3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 /* Reload and waiting notices */
michael@0 6
michael@0 7 .notice-container {
michael@0 8 margin-top: -50vh;
michael@0 9 }
michael@0 10
michael@0 11 .theme-dark .notice-container {
michael@0 12 background: url(background-noise-toolbar.png), #343c45; /* Toolbars */
michael@0 13 color: #f5f7fa; /* Light foreground text */
michael@0 14 }
michael@0 15
michael@0 16 .theme-light .notice-container {
michael@0 17 background: url(background-noise-toolbar.png), #f0f1f2; /* Toolbars */
michael@0 18 color: #585959; /* Grey foreground text */
michael@0 19 }
michael@0 20
michael@0 21 #reload-notice {
michael@0 22 font-size: 120%;
michael@0 23 }
michael@0 24
michael@0 25 #waiting-notice {
michael@0 26 font-size: 110%;
michael@0 27 }
michael@0 28
michael@0 29 #waiting-notice::before {
michael@0 30 display: inline-block;
michael@0 31 content: "";
michael@0 32 background: url("chrome://global/skin/icons/loading_16.png") center no-repeat;
michael@0 33 width: 16px;
michael@0 34 height: 16px;
michael@0 35 -moz-margin-end: 6px;
michael@0 36 }
michael@0 37
michael@0 38 #requests-menu-reload-notice-button {
michael@0 39 min-height: 2em;
michael@0 40 }
michael@0 41
michael@0 42 /* Shaders pane */
michael@0 43
michael@0 44 #shaders-pane {
michael@0 45 min-width: 150px;
michael@0 46 }
michael@0 47
michael@0 48 #shaders-pane + .devtools-side-splitter {
michael@0 49 border-color: transparent;
michael@0 50 }
michael@0 51
michael@0 52 .program-item {
michael@0 53 padding: 2px 0px;
michael@0 54 }
michael@0 55
michael@0 56 .side-menu-widget-item-checkbox {
michael@0 57 -moz-appearance: none;
michael@0 58 opacity: 0;
michael@0 59 transition: opacity .15s ease-out 0s;
michael@0 60 }
michael@0 61
michael@0 62 /* Only show the checkbox when the source is hovered over, is selected, or if it
michael@0 63 * is not checked. */
michael@0 64 .side-menu-widget-item:hover > .side-menu-widget-item-checkbox,
michael@0 65 .side-menu-widget-item.selected > .side-menu-widget-item-checkbox,
michael@0 66 .side-menu-widget-item-checkbox:not([checked]) {
michael@0 67 opacity: 1;
michael@0 68 transition: opacity .15s ease-out 0s;
michael@0 69 }
michael@0 70
michael@0 71 .side-menu-widget-item-checkbox .checkbox-check {
michael@0 72 -moz-appearance: none;
michael@0 73 background: url(itemToggle.png);
michael@0 74 background-repeat: no-repeat;
michael@0 75 background-clip: content-box;
michael@0 76 background-size: 32px 16px;
michael@0 77 background-position: -16px 0;
michael@0 78 width: 16px;
michael@0 79 height: 16px;
michael@0 80 border: 0;
michael@0 81 }
michael@0 82
michael@0 83 .side-menu-widget-item-checkbox[checked] .checkbox-check {
michael@0 84 background-position: 0 0;
michael@0 85 }
michael@0 86
michael@0 87 /* Shader source editors */
michael@0 88
michael@0 89 .editor-label {
michael@0 90 padding: 1px 12px;
michael@0 91 border-top: 1px solid;
michael@0 92 }
michael@0 93
michael@0 94 .theme-dark .editor-label {
michael@0 95 background: #343c45; /* Dark toolbars */
michael@0 96 border-color: #000; /* Match the splitter color. */
michael@0 97 color: #f5f7fa; /* Light foreground text */
michael@0 98 }
michael@0 99
michael@0 100 .theme-light .editor-label {
michael@0 101 background: #f0f1f2; /* Light toolbars */
michael@0 102 border-color: #aaa; /* Match the splitter color. */
michael@0 103 color: #585959; /* Grey foreground text */
michael@0 104 }
michael@0 105
michael@0 106 .theme-dark .editor-label[selected] {
michael@0 107 background-color: #1d4f73; /* Select Highlight Blue */
michael@0 108 color: #f5f7fa; /* Light foreground text */
michael@0 109 }
michael@0 110
michael@0 111 .theme-light .editor-label[selected] {
michael@0 112 background-color: #4c9ed9; /* Select Highlight Blue */
michael@0 113 color: #f5f7fa; /* Light foreground text */
michael@0 114 }
michael@0 115
michael@0 116 /* Responsive sidebar */
michael@0 117
michael@0 118 @media (max-width: 700px) {
michael@0 119 #shaders-pane {
michael@0 120 max-height: 60vh;
michael@0 121 }
michael@0 122
michael@0 123 #editors-splitter {
michael@0 124 border-color: transparent;
michael@0 125 }
michael@0 126
michael@0 127 .side-menu-widget-container {
michael@0 128 box-shadow: none !important;
michael@0 129 }
michael@0 130
michael@0 131 .side-menu-widget-item-arrow {
michael@0 132 background-image: none !important;
michael@0 133 }
michael@0 134
michael@0 135 .editor-label {
michael@0 136 -moz-box-ordinal-group: 0;
michael@0 137 border-bottom: 1px solid;
michael@0 138 }
michael@0 139 }

mercurial