:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
#new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
#social-share-button, #open-file-button, #find-button, #developer-button,
- #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
+ #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
#history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
#email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
#copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
#new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
#social-share-button, #open-file-button, #find-button, #developer-button,
- #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
+ #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
#history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
#email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
#copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
#new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
#social-share-button, #open-file-button, #find-button, #developer-button,
- #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
+ #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
#history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
#email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
#copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
*/
/* Help SDK icons fit: */
-toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
+toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon,
+toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-badge-container > .toolbarbutton-icon {
width: 16px;
}
-#nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
+#nav-bar toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
/* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
width: 32px;
}
max-height: 16px;
}
-toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
- width: auto;
- height: auto;
- max-width: 32px;
- max-height: 24px;
-}
-
/* fixup corners for share panel */
.social-panel > .social-panel-frame {
border-radius: inherit;
background-color: #C09070;
}
-.tabbrowser-tab[remote] {
- text-decoration: underline;
-}
-
/* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
.tabbrowser-tab[visuallyselected=true] {
/* position: relative;
margin-top: 5px;
}
+/* === BEGIN notification-icons.inc.css === */
+
.popup-notification-icon {
width: 64px;
height: 64px;
list-style-image: url("chrome://browser/skin/Geolocation-64.png");
}
+.popup-notification-icon[popupid="push"] {
+ list-style-image: url(chrome://browser/skin/Push-64.png);
+}
+
.popup-notification-icon[popupid="xpinstall-disabled"],
.popup-notification-icon[popupid="addon-progress"],
.popup-notification-icon[popupid="addon-install-blocked"],
list-style-image: url("chrome://browser/skin/Geolocation-16.png");
}
+#push-notification-icon {
+ list-style-image: url(chrome://browser/skin/Push-16.png);
+}
+
#addons-notification-icon {
list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
}
margin: 0px;
}
+.translate-notification-icon,
+#translate-notification-icon {
+ list-style-image: url("chrome://browser/skin/translation-16.png");
+ -moz-image-region: rect(0px, 16px, 16px, 0px);
+}
+
+.translated-notification-icon,
+#translated-notification-icon {
+ list-style-image: url("chrome://browser/skin/translation-16.png");
+ -moz-image-region: rect(0px, 32px, 16px, 16px);
+}
+
+.popup-notification-icon[popupid="servicesInstall"] {
+ list-style-image: url("chrome://browser/skin/social/services-64.png");
+}
+#servicesInstall-notification-icon {
+ list-style-image: url("chrome://browser/skin/social/services-16.png");
+}
+
+/* EME notifications */
+
+.popup-notification-icon[popupid="drmContentPlaying"],
+#eme-notification-icon {
+ list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
+}
+
+#eme-notification-icon:hover:active {
+ list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed");
+}
+
+#eme-notification-icon[firstplay=true] {
+ animation: emeTeachingMoment 0.2s linear 0s 5 normal;
+}
+
+@keyframes emeTeachingMoment {
+ 0% {transform: translateX(0); }
+ 25% {transform: translateX(3px) }
+ 75% {transform: translateX(-3px) }
+ 100% { transform: translateX(0); }
+}
+
+/* === END notification-icons.inc.css === */
+
/* Translation infobar */
/* === BEGIN infobar.inc.css === */
}
}
+notification[value="translation"] hbox[anonid="details"] {
+ overflow: hidden;
+}
+
notification[value="translation"] button,
notification[value="translation"] menulist {
min-width: 0;
min-height: 40px;
}
-.translate-notification-icon,
-#translate-notification-icon {
- list-style-image: url("chrome://browser/skin/translation-16.png");
- -moz-image-region: rect(0px, 16px, 16px, 0px);
-}
-
-.translated-notification-icon,
-#translated-notification-icon {
- list-style-image: url("chrome://browser/skin/translation-16.png");
- -moz-image-region: rect(0px, 32px, 16px, 16px);
-}
-
.translation-menupopup {
-moz-appearance: none;
}
/* === BEGIN commandline.inc.css === */
+/* NOTE: THESE NEED TO STAY IN SYNC WITH LIGHT-THEME.CSS AND DARK-THEME.CSS.
+ We are copy/pasting variables from light-theme and dark-theme,
+ since they aren't loaded in this context (within browser.css). */
+:root #developer-toolbar {
+ --gcli-background-color: #000000; /* --theme-toolbar-background */
+ --gcli-input-background: rgba(0, 0, 0, .75); /* --theme-tab-toolbar-background */
+ --gcli-input-focused-background: #000000; /* --theme-sidebar-background */
+ --gcli-input-color: #FF9F00; /* --theme-body-color-alt */
+ --gcli-border-color: #9C9CFF; /* --theme-splitter-color */
+ --selection-background: #008484; /* --theme-selection-background */
+ --selection-color: #000000; /* --theme-selection-color */
+}
+
/* Developer toolbar */
#developer-toolbar {
- border-top: 3px solid #000000;
+ border-top: 3px solid var(--gcli-background-color);
border-bottom: none;
}
/* line-height: 32px;
outline-style: none; */
background-repeat: no-repeat;
- background-color: rgba(0, 0, 0, .75);
+ background-color: var(--gcli-input-background);
}
.gclitoolbar-input-node[focused="true"] {
- background-color: #000000;
+ background-color: var(--gcli-input-focused-background);
}
.gclitoolbar-input-node::before {
}
.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
- background-color: #008484;
- color: #000000;
- text-shadow: none;
+ background-color: var(--selection-background);
+ color: var(--selection-color);
}
.gclitoolbar-complete-node {
border: 0;
}
-.popup-notification-icon[popupid="servicesInstall"] {
- list-style-image: url("chrome://browser/skin/social/services-64.png");
-}
-#servicesInstall-notification-icon {
- list-style-image: url("chrome://browser/skin/social/services-16.png");
-}
#social-undoactivation-button {
-moz-margin-start: 0; /* override default label margin to match description margin */
}
/* === END badcontent-doorhanger.inc.css === */
-/* EME notifications */
-
-.popup-notification-icon[popupid="drmContentPlaying"],
-#eme-notification-icon {
- list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
-}
-
-#eme-notification-icon:hover:active {
- list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed");
-}
-
-#eme-notification-icon[firstplay=true] {
- animation: emeTeachingMoment 0.2s linear 0s 5 normal;
-}
-
-@keyframes emeTeachingMoment {
- 0% {transform: translateX(0); }
- 25% {transform: translateX(3px) }
- 75% {transform: translateX(-3px) }
- 100% { transform: translateX(0); }
-}
-
/* === BEGIN customizeMode.inc.css === */
/* Customization mode */
}
/* Help SDK buttons fit in. */
-toolbarpaletteitem[place="palette"] > toolbarbutton[sdk-button="true"] > .toolbarbutton-icon,
-toolbarbutton[sdk-button="true"][cui-areatype="menu-panel"] > .toolbarbutton-icon {
+toolbarpaletteitem[place="palette"] > toolbarbutton[constrain-size="true"] > .toolbarbutton-icon,
+toolbarpaletteitem[place="palette"] > toolbarbutton[constrain-size="true"] > .toolbarbutton-badge-container > .toolbarbutton-icon,
+toolbarbutton[constrain-size="true"][cui-areatype="menu-panel"] > .toolbarbutton-icon,
+toolbarbutton[constrain-size="true"][cui-areatype="menu-panel"] > .toolbarbutton-badge-container > .toolbarbutton-icon {
height: 32px;
width: 32px;
}
}
}
-/* Disabled playerWidget when the animation has ended */
-
-.finished {
- pointer-events: none;
- opacity: .5;
-}
-
/* Animation title gutter, contains the name, duration, iteration */
.animation-title {
.timeline .rate {
-moz-appearance: none;
text-align: center;
+ color: var(--theme-body-color);
border-right: 1px solid var(--theme-splitter-color);
}
* 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/. */
+/* NOTE: THESE NEED TO STAY IN SYNC WITH LIGHT-THEME.CSS AND DARK-THEME.CSS.
+ We are copy/pasting variables from light-theme and dark-theme,
+ since they aren't loaded in this context (within commandlineoutput.xhtml
+ and commandlinetooltip.xhtml). */
+:root {
+ --gcli-background-color: #000000; /* --theme-tab-toolbar-background */
+ --gcli-input-focused-background: #FFCF00; /* --theme-sidebar-background */
+ --gcli-input-focused-color: #000000;
+ --gcli-input-color: #FF9F00; /* --theme-body-color */
+ --gcli-border-color: #9C9CFF; /* --theme-splitter-color */
+ --gcli-edittext-color: #E7ADE7;
+}
+
.gcli-body {
margin: 0;
font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
- color: #FF9F00;
+ color: var(--gcli-input-color);
}
#gcli-output-root,
#gcli-tooltip-root {
- border: 1px solid #008484;
- background-color: #000000;
+ border: 1px solid var(--gcli-border-color);
border-radius: 3px;
+ background-color: var(--gcli-background-color);
}
#gcli-output-root {
margin-left: 8px;
width: 20px;
height: 10px;
- border-left: 1px solid #008484;
- border-right: 1px solid #008484;
- background-color: #000000;
+ border-left: 1px solid var(--gcli-border-color);
+ border-right: 1px solid var(--gcli-border-color);
+ background-color: var(--gcli-background-color);
}
.gcli-tt-description,
line-height: 1.2em;
border-top: none;
border-bottom: none;
- color: #9C9CFF;
+ color: var(--gcli-input-color);
}
.gcli-row-out p,
.gcli-row-out th,
.gcli-row-out strong,
.gcli-row-out pre {
- color: #FFCF00;
+ color: var(--gcli-input-color);
}
.gcli-row-out pre {
font-weight: normal;
font-size: 90%;
border-radius: 3px;
- background-color: #000000;
- color: #E7ADE7;
- border: 1px solid #8050B0;
+ background-color: var(--gcli-background-color);
+ color: var(--gcli-edittext-color);
+ border: 1px solid var(--gcli-border-color);
}
.gcli-out-shortcut:before,
.gcli-help-synopsis:before {
- color: #FFCF00;
+ color: var(--gcli-input-color);
-moz-padding-end: 2px;
}
.gcli-menu-desc {
-moz-padding-end: 8px;
- color: #FF9F00;
+ color: var(--gcli-input-color);
}
.gcli-menu-name:hover,
.gcli-menu-desc:hover {
- background-color: #FFCF00;
- color: #000000;
+ background-color: var(--gcli-input-focused-background);
+ color: var(--gcli-input-focused-color);
}
.gcli-menu-highlight,
margin: 0 5px;
}
-.devtools-toolbar {
+#root .devtools-toolbar {
width: 100%;
+ display: -moz-box;
}
.link {
* 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/. */
-/* According to:
- * https://bugzilla.mozilla.org/show_bug.cgi?id=715472#c17
+/* Colors are taken from:
+ * https://developer.mozilla.org/en-US/docs/Tools/DevToolsColors.
+ * Changes should be kept in sync with commandline.css and commandline.inc.css.
*/
:root {
--theme-body-background: #000000;
/* === BEGIN toolbars.inc.css === */
+/* CSS Variables specific to the devtools toolbar that aren't defined by the themes */
+.theme-light,
+.theme-dark {
+ --searchbox-background-color: #000000;
+ --searchbox-border-color: #9C9CFF;
+ --searcbox-no-match-background-color: #400000;
+ --searcbox-no-match-border-color: #FF0000;
+}
+
/* Toolbars */
.devtools-toolbar,
-.devtools-sidebar-tabs tabs,
-.devtools-sidebar-alltabs {
+.devtools-sidebar-tabs tabs {
}
.devtools-toolbar {
/* LCARStrek checkbox colors don't work well against toolbar background */
background-color: var(--theme-toolbar-background);
padding: 2px;
+ line-height: -moz-block-height;
}
.devtools-toolbar checkbox .checkbox-check {
}
margin-bottom: 1px;
padding: 0;*/
-moz-padding-start: 22px;
- -moz-padding-end: 12px;
+ -moz-padding-end: 4px;
background-position: 8px center;
background-size: 11px 11px;
background-repeat: no-repeat;
background-image: url("magnifying-glass.png");
}
-@media (min-resolution: 2dppx) {
- .devtools-searchinput {
- background-image: url("magnifying-glass@2x.png");
- }
-}
-
.devtools-searchinput:-moz-locale-dir(rtl) {
background-position: calc(100% - 8px) center;
}
-.devtools-searchinput > .textbox-input-box > .textbox-search-icons {
- display: none;
+.devtools-searchinput > .textbox-input-box > .textbox-search-icons > .textbox-search-icon {
+ visibility: hidden;
+}
+
+/* Searchbox is a div container element for a search input element */
+.devtools-searchbox {
+ display: -moz-box;
+ -moz-box-flex: 1;
+ position: relative;
+}
+
+.devtools-rule-searchbox {
+ -moz-box-flex: 1;
+ padding-right: 23px;
+ width: 100%;
+ font: inherit;
+}
+
+.devtools-rule-searchbox[filled] {
+ background-color: var(--searchbox-background-color);
+ border-color: var(--searchbox-border-color);
+}
+
+.devtools-style-searchbox-no-match {
+ background-color: var(--searcbox-no-match-background-color) !important;
+ border-color: var(--searcbox-no-match-border-color) !important;
}
.devtools-no-search-result {
border-color: var(--theme-highlight-red) !important;
}
+.devtools-searchinput-clear {
+ position: absolute;
+ top: 3.5px;
+ right: 7px;
+ padding: 0;
+ border: 0;
+ width: 16px;
+ height: 16px;
+ background-position: 0 0;
+ background-repeat: no-repeat;
+ background-color: transparent;
+}
+
+.devtools-searchinput-clear {
+ background-image: url("chrome://browser/skin/devtools/search-clear.svg");
+}
+
+.devtools-style-searchbox-no-match + .devtools-searchinput-clear {
+ background-image: url("chrome://browser/skin/devtools/search-clear-failed.svg") !important;
+}
+
+.devtools-searchinput-clear:hover {
+ background-position: -16px 0;
+}
+
+.devtools-searchinput > .textbox-input-box > .textbox-search-icons > .textbox-search-clear {
+ list-style-image: url("chrome://browser/skin/devtools/search-clear.svg");
+ -moz-image-region: rect(0, 16px, 16px, 0);
+}
+
+.devtools-searchinput > .textbox-input-box > .textbox-search-icons > .textbox-search-clear:hover {
+ -moz-image-region: rect(0, 32px, 16px, 16px);
+}
+
+@media (min-resolution: 2dppx) {
+ .devtools-searchinput {
+ background-image: url("magnifying-glass@2x.png");
+ }
+}
+
/* Close button */
.devtools-closebutton {
}
.devtools-sidebar-alltabs {
-/* margin: 0;
+/* height: 24px;
+ line-height: 24px;
+ padding: 0 4px;
+ margin: 0;
border-width: 0 0 1px 0;
-moz-border-start-width: 1px;
border-style: solid;*/
}
-.devtools-sidebar-alltabs dropmarker {
+.devtools-sidebar-alltabs .toolbarbutton-icon {
display: none;
}
background-image: url("chrome://browser/skin/devtools/undock@2x.png");
}
+#toolbox-dock-bottom-minimize {
+ /* Bug 1177463 - The minimize button is currently hidden until we agree on
+ the UI for it, and until bug 1173849 is fixed too. */
+ display: none;
+}
+
+#toolbox-dock-bottom-minimize > image {
+ background-image: url("chrome://browser/skin/devtools/dock-bottom-minimize@2x.png");
+}
+
+#toolbox-dock-bottom-minimize.minimized > image {
+ background-image: url("chrome://browser/skin/devtools/dock-bottom-maximize@2x.png");
+}
+
#toolbox-dock-window,
#toolbox-dock-bottom,
#toolbox-dock-side {
background-image: url("chrome://browser/skin/devtools/command-eyedropper.png");
}
+#command-button-rulers > image {
+ background-image: url("chrome://browser/skin/devtools/command-rulers.png");
+}
+
@media (min-resolution: 2dppx) {
#command-button-paintflashing > image {
background-image: url("chrome://browser/skin/devtools/command-paintflashing@2x.png");
#command-button-eyedropper > image {
background-image: url("chrome://browser/skin/devtools/command-eyedropper@2x.png");
}
+
+ #command-button-rulers > image {
+ background-image: url("chrome://browser/skin/devtools/command-rulers@2x.png");
+ }
}
/* Tabs */
visibility: collapse;
}
+.devtools-tab:not([selected])[highlighted] {
+}
+
.devtools-tab:not([selected])[highlighted] {
color: #FFCF00;
}
}
.editable {
- border-bottom: 1px dashed transparent;
+ border: 1px dashed transparent;
}
.editable:hover {
background-color: #A09090; /* dark grey */
}
+box.requests-menu-status[code="cached"] {
+ border: 2px solid #A09090; /* dark grey */
+ background-color: transparent;
+}
+
box.requests-menu-status[code^="1"] {
background-color: #9C9CFF; /* light blue */
}
font-weight: 600;
}
+#requests-menu-filter-freetext-text {
+ transition-property: max-width, -moz-padding-end, -moz-padding-start;
+ transition-duration: 250ms;
+ transition-timing-function: ease;
+}
+
+#requests-menu-filter-freetext-text:not([focused]):not([filled]) > .textbox-input-box {
+ overflow: hidden;
+}
+
+#requests-menu-filter-freetext-text:not([focused]):not([filled]) {
+ max-width: 20px !important;
+ -moz-padding-end: 5px;
+ -moz-padding-start: 22px;
+ background-position: 8px center, top left, top left;
+}
+
+#requests-menu-filter-freetext-text[focused],
+#requests-menu-filter-freetext-text[filled] {
+ max-width: 200px !important;
+}
+
/* Performance analysis buttons */
#requests-menu-network-summary-button {
width: 8px;
height: 8px;
margin: 0 8px;
- border: 1px solid;
border-radius: 1px;
- background-color: var(--bullet-bg);
- border-color: var(--bullet-border);
}
/* Recording Notice */
margin: 0;
}
+#performance-view .notice-container vbox {
+ text-align: center;
+}
+
/* Overview Panel */
.record-button {
text-decoration: underline;
}
-.call-tree-url {
+.call-tree-url, .tree-widget-item:not(.theme-selected) .opt-url {
color: var(--theme-highlight-blue);
}
-.call-tree-line {
+.call-tree-line, .tree-widget-item:not(.theme-selected) .opt-line {
color: var(--theme-highlight-orange);
}
height: 8px;
-moz-margin-start: 8px;
-moz-margin-end: 6px;
- border: 1px solid;
border-radius: 1px;
}
.waterfall-marker-bar {
height: 9px;
- border: 1px solid;
- border-radius: 1px;
transform-origin: left center;
+ border-radius: 1px;
}
.waterfall-marker-container.selected > .waterfall-sidebar,
color: var(--theme-selection-color);
}
-.waterfall-marker-container.selected .waterfall-marker-bullet,
-.waterfall-marker-container.selected .waterfall-marker-bar {
- border-color: initial !important;
-}
-
.waterfall-marker-location {
color: #3333FF;
}
.marker-details-bullet {
width: 8px;
height: 8px;
- border: 1px solid;
border-radius: 1px;
}
+#performance-filter-menupopup > menuitem.highlight-pink:before,
+.marker-details-bullet.highlight-pink,
+.waterfall-marker-bar.highlight-pink,
+.waterfall-marker-bullet.highlight-pink {
+ background-color: var(--theme-highlight-pink);
+}
+#performance-filter-menupopup > menuitem.highlight-bluegrey:before,
+.marker-details-bullet.highlight-bluegrey,
+.waterfall-marker-bar.highlight-bluegrey,
+.waterfall-marker-bullet.highlight-bluegrey {
+ background-color: var(--theme-highlight-bluegrey);
+}
+#performance-filter-menupopup > menuitem.highlight-green:before,
+.marker-details-bullet.highlight-green,
+.waterfall-marker-bar.highlight-green,
+.waterfall-marker-bullet.highlight-green {
+ background-color: var(--theme-highlight-green);
+}
+#performance-filter-menupopup > menuitem.highlight-lightorange:before,
+.marker-details-bullet.highlight-lightorange,
+.waterfall-marker-bar.highlight-lightorange,
+.waterfall-marker-bullet.highlight-lightorange {
+ background-color: var(--theme-highlight-lightorange);
+}
+#performance-filter-menupopup > menuitem.highlight-red:before,
+.marker-details-bullet.highlight-red,
+.waterfall-marker-bar.highlight-red,
+.waterfall-marker-bullet.highlight-red {
+ background-color: var(--theme-highlight-red);
+}
+
#waterfall-details > * {
padding-top: 3px;
}
transform: scale(0.75);
transform-origin: center right;
}
+
+/**
+ * JIT View
+ */
+
+#jit-optimizations-view {
+ width: 350px;
+ overflow-x: hidden;
+ overflow-y: auto;
+ min-width: 200px;
+}
+
+/* override default styles for tree widget */
+#jit-optimizations-view .tree-widget-empty-text {
+ font-size: inherit;
+ padding: 0px;
+ margin: 8px;
+}
+
+#jit-optimizations-view:not(.empty) .tree-widget-empty-text {
+ display: none;
+}
+
+#jit-optimizations-toolbar {
+ height: 18px;
+ min-height: 0px; /* override .devtools-toolbar min-height */
+}
+
+.jit-optimizations-title {
+ margin: 0px 4px;
+ font-weight: 600;
+}
+
+#jit-optimizations-raw-view {
+ font-size: 90%;
+}
+
+/* override default .tree-widget-item line-height */
+#jit-optimizations-raw-view .tree-widget-item {
+ line-height: 20px !important;
+ display: block;
+ overflow: hidden;
+}
+
+#jit-optimizations-raw-view .tree-widget-item[level="1"] {
+ font-weight: 600;
+}
+
+#jit-optimizations-view .opt-ion-type-site {
+ -moz-margin-start: 4px !important;
+ opacity: 0.6;
+}
+
+#jit-optimizations-view .opt-outcome::before {
+ content: "→";
+ margin: 4px 0px;
+ color: var(--theme-body-color);
+}
+#jit-optimizations-view .theme-selected .opt-outcome::before {
+ color: var(--theme-selection-color);
+}
+
+#jit-optimizations-view .tree-widget-item:not(.theme-selected) .opt-outcome[outcome=success] {
+ color: var(--theme-highlight-green);
+}
+#jit-optimizations-view .tree-widget-item:not(.theme-selected) .opt-outcome[outcome=failure] {
+ color: var(--theme-highlight-red);
+}
+#jit-optimizations-view .tree-widget-container {
+ -moz-margin-end: 0px;
+}
+#jit-optimizations-view .tree-widget-container > li,
+#jit-optimizations-view .tree-widget-children > li {
+ overflow: hidden;
+}
+
+.opt-line::before {
+ content: ":";
+ color: var(--theme-highlight-orange);
+}
+.theme-selected .opt-line::before {
+ color: var(--theme-selection-color);
+}
+.opt-line.header-line::before {
+ color: var(--theme-body-color);
+}
+#jit-optimizations-view.empty .opt-line.header-line::before {
+ display: none;
+}
+
+.opt-url {
+ -moz-margin-start: 4px !important;
+}
+.opt-url:hover {
+ text-decoration: underline;
+}
+.opt-url.debugger-link {
+ cursor: pointer;
+}
+
+#jit-optimizations-view .opt-icon::before {
+ content: "";
+ background-image: url(chrome://browser/skin/devtools/webconsole.png);
+ background-repeat: no-repeat;
+ background-size: 48px 40px;
+ margin: 5px 6px 0 0;
+ width: 8px;
+ height: 8px;
+ max-height: 8px;
+ display: inline-block;
+}
+
+#jit-optimizations-view .opt-icon[severity=warning]::before {
+ background-position: -16px -16px;
+}
+
+@media (min-resolution: 2dppx) {
+ #jit-optimizations-view .opt-icon::before {
+ background-image: url(chrome://browser/skin/devtools/webconsole@2x.png);
+ }
+}
* 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/. */
+/* CSS Variables specific to this panel that aren't defined by the themes */
+
+.theme-light {
+ --rule-highlight-background-color: #402800;
+}
+
.ruleview {
height: 100%;
}
cursor: default;
}
-
.ruleview-rule[uneditable=true] .ruleview-namecontainer > .ruleview-propertyname,
.ruleview-rule[uneditable=true] .ruleview-propertycontainer > .ruleview-propertyvalue {
border-bottom-color: transparent;
border-left-color: var(--theme-highlight-green);
}
+.ruleview-highlight {
+ background-color: var(--rule-highlight-background-color);
+}
+
.ruleview-namecontainer > .ruleview-propertyname,
.ruleview-propertycontainer > .ruleview-propertyvalue {
border-bottom: 1px dashed transparent;
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 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/. -->
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="16" viewBox="0 0 32 16">
+ <defs>
+ <path id="glyphShape-clear" d="M8,0C3.6,0,0,3.6,0,8c0,4.4,3.6,8,8,8s8-3.6,8-8C16,3.6,12.4,0,8,0 z M11.9,10.5l-1.4,1.4L8,9.4l-2.4,2.4l-1.4-1.4L6.6,8L4.2,5.6l1.4-1.4L8,6.6l2.4-2.4l1.4,1.4L9.4,8L11.9,10.5z"/>
+ <style>
+ .icon-state-default { fill: #FF0000; fill-opacity: 1; }
+ .icon-state-pressed { fill: #FF9F00; fill-opacity: 1; }
+ </style>
+ </defs>
+ <use xlink:href="#glyphShape-clear" class="icon-state-default"/>
+ <use xlink:href="#glyphShape-clear" class="icon-state-pressed" transform="translate(16)"/>
+</svg>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 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/. -->
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="16" viewBox="0 0 32 16">
+ <defs>
+ <path id="glyphShape-clear" d="M8,0C3.6,0,0,3.6,0,8c0,4.4,3.6,8,8,8s8-3.6,8-8C16,3.6,12.4,0,8,0 z M11.9,10.5l-1.4,1.4L8,9.4l-2.4,2.4l-1.4-1.4L6.6,8L4.2,5.6l1.4-1.4L8,6.6l2.4-2.4l1.4,1.4L9.4,8L11.9,10.5z"/>
+ <style>
+ .icon-state-default { fill: #A09090; fill-opacity: .6; }
+ .icon-state-pressed { fill: #FF9F00; fill-opacity: .8; }
+ </style>
+ </defs>
+ <use xlink:href="#glyphShape-clear" class="icon-state-default"/>
+ <use xlink:href="#glyphShape-clear" class="icon-state-pressed" transform="translate(16)"/>
+</svg>
--- /dev/null
+<!-- 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/. -->
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
+ <g fill="#9C9CFF" fill-rule="evenodd">
+ <path d="m8,1c-3.9,0-7,3.1-7,7s3.1,7 7,7c3.9,0 7-3.1 7-7s-3.1-7-7-7zm-.1,12c-2.8,0-5-2.2-5-5 0-2.8 2.2-5 5-5s5,2.2 5,5c0,2.8-2.2,5-5,5z"/>
+ <path d="m8,6.9c.6,0 1.1,.5 1.1,1.1 0,.6-.5,1.1-1.1,1.1-.6,0-1.1-.5-1.1-1.1 0-.6 .5-1.1 1.1-1.1z"/>
+ <path d="m11.3,4.6l-3.9,2.5 1.5,1.4 2.4-3.9z"/>
+ <path opacity=".4" d="m4.6,10c.7,1.2 2,2 3.4,2 1.5,0 2.7-.8 3.4-2h-6.8z"/>
+ <g opacity=".3">
+ <path d="m7.1,5.1l-.6-1.3-.9,.4 .7,1.3c.2-.1 .5-.3 .8-.4z"/>
+ <path d="m9.8,5.6l.7-1.4-.9-.4-.7,1.3c.3,.2 .6,.3 .9,.5z"/>
+ <path d="m10.8,7c.1,.3 .2,.7 .2,1h2v-1h-2.2z"/>
+ <path d="m5,8c0-.3 .1-.7 .2-1h-2.2l-.1,1h2.1z"/>
+ </g>
+ </g>
+</svg>
.pref-icon[type="geo"] {
list-style-image: url("chrome://browser/skin/Geolocation-64.png");
}
+.pref-icon[type="push"] {
+ list-style-image: url("chrome://browser/skin/Push-64.png");
+}
.pref-icon[type="indexedDB"] {
list-style-image: url("chrome://global/skin/icons/alert-question.gif");
}