toolkit/themes/linux/global/console/console.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/themes/linux/global/console/console.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,156 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +/* ===== console.css ====================================================
     1.9 +   == Styles used by the Error Console window.
    1.10 +   ====================================================================== */
    1.11 +
    1.12 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    1.13 +
    1.14 +.console-box {
    1.15 +  background-color: -moz-Field;
    1.16 +  color: -moz-FieldText;
    1.17 +}
    1.18 +
    1.19 +/* ::::: console rows ::::: */
    1.20 +
    1.21 +.console-row {
    1.22 +  border-bottom: 1px dotted threedshadow;
    1.23 +  padding: 4px 0px;
    1.24 +}
    1.25 +
    1.26 +.console-row-icon {
    1.27 +  padding: 4px;
    1.28 +  -moz-padding-start: 5px;
    1.29 +  -moz-box-align: start !important;
    1.30 +}
    1.31 +
    1.32 +.console-row-msg > label:first-child,
    1.33 +.console-row-file > label:first-child {
    1.34 +  display: none;
    1.35 +}
    1.36 +
    1.37 +.console-time {
    1.38 +  font-weight: normal !important;
    1.39 +}
    1.40 +
    1.41 +.console-icon {
    1.42 +  list-style-image: inherit;
    1.43 +}
    1.44 +
    1.45 +.console-error-msg {
    1.46 +  margin-bottom: 2px;
    1.47 +}
    1.48 +
    1.49 +/* ..... error rows ..... */
    1.50 +
    1.51 +.console-row-code {
    1.52 +  padding-top: 3px;
    1.53 +  padding-bottom: 3px;
    1.54 +  -moz-padding-start: 3px;
    1.55 +  -moz-padding-end: 0px;
    1.56 +  color: #0000BB;
    1.57 +  font-size: larger;
    1.58 +}
    1.59 +
    1.60 +.console-dots,
    1.61 +.console-caret {
    1.62 +  height: 9px;
    1.63 +}
    1.64 +
    1.65 +.console-dots {
    1.66 +  background: url("chrome://global/skin/console/console-error-dash.gif") repeat-x top;
    1.67 +}
    1.68 +
    1.69 +.console-caret {
    1.70 +  width: 7px;
    1.71 +  background: url("chrome://global/skin/console/console-error-caret.gif") no-repeat top;
    1.72 +}
    1.73 +
    1.74 +/* ..... message rows ..... */
    1.75 +
    1.76 +.console-row[type="message"] {
    1.77 +  font-family: monospace;
    1.78 +}
    1.79 +
    1.80 +/* ..... selected state ..... */
    1.81 +
    1.82 +.console-row[selected="true"] {
    1.83 +    background-image: url("chrome://global/skin/console/itemSelected.png");
    1.84 +}
    1.85 +
    1.86 +.console-row-code[selected="true"],
    1.87 +.console-row-content[selected="true"] > .console-row-file > .console-error-source > .text-link {
    1.88 +  color: inherit !important;
    1.89 +}
    1.90 +
    1.91 +/* ::::: icons ::::: */
    1.92 +
    1.93 +.console-row[type="error"],
    1.94 +.console-row[type="exception"] {
    1.95 +  list-style-image: url("moz-icon://stock/gtk-dialog-error?size=menu");
    1.96 +}
    1.97 +
    1.98 +.console-row[type="error"] .console-row-msg,
    1.99 +.console-row[type="exception"] .console-row-msg {
   1.100 +  font-weight: bold;
   1.101 +}
   1.102 +
   1.103 +.console-row[type="warning"] {
   1.104 +  list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=menu");
   1.105 +}
   1.106 +
   1.107 +.console-row[type="message"] {
   1.108 +  list-style-image: url("moz-icon://stock/gtk-dialog-info?size=menu");
   1.109 +}
   1.110 +
   1.111 +/* ::::: toolbars ::::: */
   1.112 +
   1.113 +#TextboxEval {
   1.114 +  margin: 2px !important;
   1.115 +}
   1.116 +
   1.117 +#ButtonEval {
   1.118 +  margin-top: 2px !important;
   1.119 +  margin-bottom: 2px !important;
   1.120 +  -moz-margin-start: 0px !important;
   1.121 +  -moz-margin-end: 2px !important;
   1.122 +}
   1.123 +
   1.124 +/* Toolbar icons */
   1.125 +
   1.126 +toolbar#ToolbarMode toolbarbutton {
   1.127 +  -moz-box-orient: horizontal;
   1.128 +}
   1.129 +
   1.130 +#Console\:modeAll {
   1.131 +  list-style-image: url("chrome://global/skin/console/console-toolbar.png");
   1.132 +}
   1.133 +
   1.134 +#Console\:modeErrors {
   1.135 +  list-style-image: url("moz-icon://stock/gtk-dialog-error?size=toolbar");
   1.136 +}
   1.137 +
   1.138 +#Console\:modeWarnings {
   1.139 +  list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=toolbar");
   1.140 +}
   1.141 +
   1.142 +#Console\:modeMessages {
   1.143 +  list-style-image: url("moz-icon://stock/gtk-dialog-info?size=toolbar");
   1.144 +}
   1.145 +
   1.146 +#Console\:clear {
   1.147 +  list-style-image: url("moz-icon://stock/gtk-clear?size=toolbar");
   1.148 +}
   1.149 +
   1.150 +toolbar#ToolbarMode .toolbarbutton-text {
   1.151 +  -moz-padding-end: 4px;
   1.152 +}
   1.153 +
   1.154 +/* ::::: Fix Error Console toolbar button text spacing ::::: */
   1.155 +
   1.156 +.toolbarbutton-text {
   1.157 +  -moz-padding-start: 0px;
   1.158 +  -moz-padding-end: 5px;
   1.159 +}

mercurial