* 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/. */
-/* Toolbar and Toolbar items */
+/* LCARS-specific rules that should be limited to toolbox but there's no other place to put them */
+window {
+ padding: 0;
+}
+
+notification {
+ margin-bottom: 3px;
+}
+
+/* End LCARStrek toolbox rules */
+
-.devtools-toolbar {
+/* Font for code */
+.devtools-monospace {
+ font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
+}
+
+/* Splitters */
+
+.devtools-horizontal-splitter {
+ min-height: 3px;
+ height: 3px;
+ position: relative;
}
-.devtools-menulist,
-.devtools-toolbarbutton {
+#devtools-side-splitter {
+ min-width: 0;
+ width: 3px;
+ border: none;
+ margin: 0 3px;
+ position: relative;
+ cursor: e-resize;
}
-devtools-menulist:-moz-focusring,
-.devtools-toolbarbutton:-moz-focusring {
- outline: 1px dotted #008484;
- outline-offset: -4px;
+/* In-tools sidebar */
+
+.devtools-toolbox-side-iframe {
+ min-width: 465px;
}
-.devtools-toolbarbutton > .toolbarbutton-icon {
+/* === BEGIN common.inc.css === */
+
+/* Autocomplete Popup */
+/* Dark and light theme */
+
+.devtools-autocomplete-popup {
+ border: 1px solid #FF9F00;
+ background-color: #000000;
+ border-radius: 3px;
+ overflow-x: hidden;
+ max-height: 40rem;
}
-.devtools-toolbarbutton:not([label]) {
- min-width: 20px;
+.devtools-autocomplete-listbox {
+ background-color: transparent;
+ border-width: 0px !important;
}
-.devtools-toolbarbutton:not([checked=true]):hover:active {
+.devtools-autocomplete-listbox > richlistitem,
+.devtools-autocomplete-listbox > richlistitem[selected] {
+ width: 100%;
+ background-color: transparent;
+ border-radius: 4px;
}
-.devtools-menulist[open=true],
-.devtools-toolbarbutton[checked=true] {
+.devtools-autocomplete-listbox.dark-theme > richlistitem[selected],
+.devtools-autocomplete-listbox.dark-theme > richlistitem:hover {
+/* background-color: rgba(0,0,0,0.5); */
}
-.devtools-toolbarbutton[checked=true]:hover:active {
+.devtools-autocomplete-listbox.dark-theme > richlistitem[selected] > .autocomplete-value,
+.devtools-autocomplete-listbox:focus.dark-theme > richlistitem[selected] > .initial-value {
+/* color: hsl(208,100%,60%);*/
}
-.devtools-menulist > .menulist-label-box {
- text-align: center;
+.devtools-autocomplete-listbox.dark-theme > richlistitem[selected] > label {
+/* color: #eee;*/
}
-.devtools-menulist > .menulist-dropmarker {
+.devtools-autocomplete-listbox.dark-theme > richlistitem > label {
+/* color: #ccc;*/
}
-.devtools-menulist:focus:not([open="true"]):not(.menulist-compact) > .menulist-label-box {
+.devtools-autocomplete-listbox > richlistitem > .initial-value,
+.devtools-autocomplete-listbox > richlistitem > .autocomplete-value {
+ margin: 0;
+ padding: 1px 0;
}
-/* LCARStrek checkbox colors don't work well against toolbar background */
-.devtools-toolbar > checkbox {
- background-color: #000000;
- padding: 2px;
+.devtools-autocomplete-listbox > richlistitem > .autocomplete-count {
+ text-align: right;
}
-/* Search input */
+/* Rest of the light theme */
-/*
-.devtools-searchinput {
- -moz-appearance: none;
- margin: 0 3px;
- border: 1px solid hsla(211,68%,6%,.6);
- box-shadow: inset 0 1px 0 hsla(211,68%,6%,.05), 0 0 0 1px hsla(210,40%,83%,.1);
- border-radius: 2px;
- background-color: transparent;
- background-image: url(magnifying-glass.png), -moz-linear-gradient(hsla(210,16%,76%,.15), hsla(210,16%,76%,.35));
- background-repeat: no-repeat;
- background-position: 4px center, top left, top left;
- padding-top: 0;
- padding-bottom: 0;
- -moz-padding-start: 18px;
- -moz-padding-end: 12px;
- -moz-transition-property: background-color, border-color, box-shadow;
- -moz-transition-duration: 150ms;
- -moz-transition-timing-function: ease;
- color: inherit;
+.devtools-autocomplete-popup.light-theme {
}
-.devtools-searchinput[focused] {
- border-color: hsl(200,70%,40%) hsl(200,75%,37%) hsl(200,80%,35%);
- background-origin: padding-box;
- background-clip: padding-box;
- box-shadow: inset 0 0 0 1px hsla(211,68%,6%,.1);
+.devtools-autocomplete-listbox.light-theme > richlistitem[selected],
+.devtools-autocomplete-listbox.light-theme > richlistitem:hover {
+/* background-color: rgba(128,128,128,0.3); */
}
-.devtools-searchinput:-moz-locale-dir(rtl) {
- background-position: -moz-calc(100% - 4px) 3px, top left, top left;
+.devtools-autocomplete-listbox.light-theme > richlistitem[selected] > .autocomplete-value,
+.devtools-autocomplete-listbox:focus.light-theme > richlistitem[selected] > .initial-value {
+/* color: #222;*/
}
-.devtools-searchinput > .textbox-input-box > .textbox-search-icons {
- display: none;
+.devtools-autocomplete-listbox.light-theme > richlistitem > label {
+/* color: #666;*/
}
-.devtools-searchinput > .textbox-input-box > .textbox-input:-moz-placeholder {
- color: hsl(208,10%,66%);
+/* Responsive container */
+
+.devtools-responsive-container {
+ -moz-box-orient: horizontal;
}
-*/
-/* Close button */
+@media (max-width: 700px) {
+ .devtools-responsive-container {
+ -moz-box-orient: vertical;
+ }
+
+ .devtools-responsive-container > .devtools-side-splitter {
+ border: 0;
+ margin: 3px 0;
+ min-height: 3px;
+ height: 3px;
+ /* In some edge case the cursor is not changed to n-resize */
+ cursor: n-resize;
+ }
-.devtools-closebutton {
- list-style-image: url("chrome://global/skin/icons/close-button.gif");
- min-width: 16px;
- width: 16px;
+ .devtools-responsive-container > .devtools-sidebar-tabs {
+ min-height: 35vh;
+ max-height: 75vh;
+ }
}
-.devtools-closebutton > .toolbarbutton-text {
- display: none;
+/* Tooltip widget (see browser/devtools/shared/widgets/Tooltip.js) */
+
+.devtools-tooltip.devtools-tooltip-tooltip {
+ /* If the tooltip uses a <tooltip> XUL element */
+ padding: 4px;
+ background: #A09090;
+ border-radius: 3px;
}
-.devtools-closebutton:hover,
-.devtools-closebutton:hover:active {
- list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
+.devtools-tooltip .panel-arrowcontent {
+ /* If the tooltip uses a <panel> XUL element instead */
+ padding: 4px;
}
-/* Splitters */
+.devtools-tooltip .panel-arrowcontainer {
+ /* Reseting the transition used when panels are shown */
+ transition: none;
+ /* Panels slide up/down/left/right when they appear using a transform.
+ Since we want to remove the transition, we don't need to transform anymore
+ plus it can interfeer by causing mouseleave events on the underlying nodes */
+ transform: none;
+}
-.devtools-horizontal-splitter {
+.devtools-tooltip[clamped-dimensions] {
+ min-height: 100px;
+ max-height: 400px;
+ min-width: 100px;
+ max-width: 400px;
+}
+.devtools-tooltip[clamped-dimensions] .panel-arrowcontent {
+ overflow: hidden;
+}
+
+/* Tooltip: Simple Text */
+
+.devtools-tooltip-simple-text {
+ background: #000000;
+ max-width: 400px;
+ margin: 0 -4px; /* Compensate for the .panel-arrowcontent padding. */
+ padding: 8px 12px;
+ white-space: pre-wrap;
+}
+
+.devtools-tooltip-simple-text:first-child {
+ margin-top: -4px;
+}
+
+.devtools-tooltip-simple-text:last-child {
+ margin-bottom: -4px;
+}
+
+.devtools-tooltip-simple-text {
+ background-color: #000000;
+ max-width: 400px;
+ margin: 0 -4px; /* Compensate for the .panel-arrowcontent padding. */
+ padding: 8px 12px;
+ white-space: pre-wrap;
+}
+
+.devtools-tooltip-simple-text:first-child {
+ margin-top: -4px;
+}
+
+.devtools-tooltip-simple-text:last-child {
+ margin-bottom: -4px;
+}
+
+/* Tooltip: Font Family Previewer Text */
+.devtools-tooltip-font-previewer-text {
+ max-width: 400px;
+ line-height: 1.5;
+ font-size: 150%;
+ text-align: center;
+}
+
+/* Tooltip: Alert Icon */
+
+.devtools-tooltip-alert-icon {
+ width: 32px;
+ height: 32px;
+ margin: 6px;
+ -moz-margin-end: 20px;
+}
+
+.devtools-tooltip-alert-icon {
+ list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
+}
+
+/* Tooltip: Variables View */
+
+.devtools-tooltip-variables-view-box {
+ margin: -4px; /* Compensate for the .panel-arrowcontent padding. */
+}
+
+/* Tooltip: Tiles */
+
+.devtools-tooltip-tiles {
+ background-color: #A09090;
+ background-image: linear-gradient(45deg, #9C9CFF 25%, transparent 25%, transparent 75%, #9C9CFF 75%, #9C9CFF),
+ linear-gradient(45deg, #9C9CFF 25%, transparent 25%, transparent 75%, #9C9CFF 75%, #9C9CFF);
+ background-size: 20px 20px;
+ background-position: 0 0, 10px 10px;
+}
+
+.devtools-tooltip-iframe {
border: none;
- min-height: 3px;
- height: 3px;
- position: relative;
+ background: transparent;
}
-#devtools-side-splitter {
- border: 0;
- min-width: 0;
- width: 3px;
- position: relative;
+/* Eyedropper Widget */
+
+.devtools-eyedropper-panel {
+ pointer-events: none;
+ -moz-appearance: none;
+ width: 156px;
+ height: 120px;
+ background-color: transparent;
+ border: none;
}
+
+/* === END common.inc.css === */