Commit | Line | Data |
---|---|---|
9099c61d RK |
1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this | |
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
8ad8bf83 | 4 | |
a5cb6e53 RK |
5 | /* NOTE: THESE NEED TO STAY IN SYNC WITH LIGHT-THEME.CSS AND DARK-THEME.CSS. |
6 | We are copy/pasting variables from light-theme and dark-theme, | |
7 | since they aren't loaded in this context (within commandlineoutput.xhtml | |
8 | and commandlinetooltip.xhtml). */ | |
9 | :root { | |
10 | --gcli-background-color: #000000; /* --theme-tab-toolbar-background */ | |
11 | --gcli-input-focused-background: #FFCF00; /* --theme-sidebar-background */ | |
12 | --gcli-input-focused-color: #000000; | |
13 | --gcli-input-color: #FF9F00; /* --theme-body-color */ | |
14 | --gcli-border-color: #9C9CFF; /* --theme-splitter-color */ | |
15 | --gcli-edittext-color: #E7ADE7; | |
16 | } | |
17 | ||
37953ab4 | 18 | .gcli-body { |
85cfb236 | 19 | margin: 0; |
85cfb236 | 20 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; |
a5cb6e53 | 21 | color: var(--gcli-input-color); |
37953ab4 RK |
22 | } |
23 | ||
24 | #gcli-output-root, | |
25 | #gcli-tooltip-root { | |
a5cb6e53 | 26 | border: 1px solid var(--gcli-border-color); |
37953ab4 | 27 | border-radius: 3px; |
a5cb6e53 | 28 | background-color: var(--gcli-background-color); |
37953ab4 RK |
29 | } |
30 | ||
31 | #gcli-output-root { | |
32 | padding: 5px 10px; | |
33 | border-bottom-left-radius: 0; | |
34 | border-bottom-right-radius: 0; | |
35 | border-bottom: 0; | |
36 | } | |
37 | ||
38 | #gcli-tooltip-root { | |
39 | padding: 5px 0px; | |
40 | } | |
41 | ||
42 | #gcli-tooltip-connector { | |
43 | margin-top: -1px; | |
44 | margin-left: 8px; | |
45 | width: 20px; | |
46 | height: 10px; | |
a5cb6e53 RK |
47 | border-left: 1px solid var(--gcli-border-color); |
48 | border-right: 1px solid var(--gcli-border-color); | |
49 | background-color: var(--gcli-background-color); | |
37953ab4 RK |
50 | } |
51 | ||
52 | .gcli-tt-description, | |
53 | .gcli-tt-error { | |
54 | padding: 0 10px; | |
8ad8bf83 RK |
55 | } |
56 | ||
85cfb236 RK |
57 | .gcli-row-out { |
58 | padding: 0 5px; | |
59 | line-height: 1.2em; | |
60 | border-top: none; | |
61 | border-bottom: none; | |
a5cb6e53 | 62 | color: var(--gcli-input-color); |
8ad8bf83 RK |
63 | } |
64 | ||
85cfb236 RK |
65 | .gcli-row-out p, |
66 | .gcli-row-out h1, | |
67 | .gcli-row-out h2, | |
68 | .gcli-row-out h3 { | |
69 | margin: 5px 0; | |
8ad8bf83 RK |
70 | } |
71 | ||
37953ab4 RK |
72 | .gcli-row-out h1, |
73 | .gcli-row-out h2, | |
74 | .gcli-row-out h3, | |
75 | .gcli-row-out h4, | |
76 | .gcli-row-out h5, | |
77 | .gcli-row-out th, | |
7bc075b6 RK |
78 | .gcli-row-out strong, |
79 | .gcli-row-out pre { | |
a5cb6e53 | 80 | color: var(--gcli-input-color); |
8ad8bf83 RK |
81 | } |
82 | ||
7bc075b6 RK |
83 | .gcli-row-out pre { |
84 | font-size: 80%; | |
85 | } | |
86 | ||
f9fc08c7 RK |
87 | .gcli-row-out td { |
88 | white-space: nowrap; | |
89 | } | |
90 | ||
37953ab4 | 91 | .gcli-out-shortcut, |
85cfb236 | 92 | .gcli-help-synopsis { |
85cfb236 | 93 | padding: 0 3px; |
37953ab4 RK |
94 | margin: 0 4px; |
95 | font-weight: normal; | |
96 | font-size: 90%; | |
85cfb236 | 97 | border-radius: 3px; |
a5cb6e53 RK |
98 | background-color: var(--gcli-background-color); |
99 | color: var(--gcli-edittext-color); | |
100 | border: 1px solid var(--gcli-border-color); | |
8ad8bf83 RK |
101 | } |
102 | ||
37953ab4 | 103 | .gcli-out-shortcut:before, |
85cfb236 | 104 | .gcli-help-synopsis:before { |
a5cb6e53 | 105 | color: var(--gcli-input-color); |
37953ab4 RK |
106 | -moz-padding-end: 2px; |
107 | } | |
108 | ||
109 | .gcli-help-arrow { | |
110 | color: #008484; | |
8ad8bf83 RK |
111 | } |
112 | ||
85cfb236 RK |
113 | .gcli-help-description { |
114 | margin: 0 20px; | |
115 | padding: 0; | |
8ad8bf83 RK |
116 | } |
117 | ||
85cfb236 RK |
118 | .gcli-help-parameter { |
119 | margin: 0 30px; | |
120 | padding: 0; | |
8ad8bf83 RK |
121 | } |
122 | ||
85cfb236 RK |
123 | .gcli-help-header { |
124 | margin: 10px 0 6px; | |
8ad8bf83 RK |
125 | } |
126 | ||
85cfb236 RK |
127 | .gcli-menu-name { |
128 | -moz-padding-start: 8px; | |
8ad8bf83 RK |
129 | } |
130 | ||
85cfb236 RK |
131 | .gcli-menu-desc { |
132 | -moz-padding-end: 8px; | |
a5cb6e53 | 133 | color: var(--gcli-input-color); |
8ad8bf83 RK |
134 | } |
135 | ||
589b5528 RK |
136 | .gcli-menu-name:hover, |
137 | .gcli-menu-desc:hover { | |
a5cb6e53 RK |
138 | background-color: var(--gcli-input-focused-background); |
139 | color: var(--gcli-input-focused-color); | |
8ad8bf83 RK |
140 | } |
141 | ||
589b5528 RK |
142 | .gcli-menu-highlight, |
143 | .gcli-menu-highlight:hover { | |
85cfb236 | 144 | background-color: #795900; |
8ad8bf83 RK |
145 | } |
146 | ||
85cfb236 | 147 | .gcli-menu-typed { |
8ad8bf83 RK |
148 | color: #008484; |
149 | } | |
889649fd RK |
150 | |
151 | .gcli-menu-more { | |
152 | font-size: 80%; | |
a21f2959 | 153 | text-align: end; |
889649fd RK |
154 | -moz-padding-end: 8px; |
155 | } | |
156 | ||
157 | .gcli-addon-disabled { | |
158 | opacity: 0.6; | |
159 | text-decoration: line-through; | |
160 | } | |
ed1a91c6 RK |
161 | |
162 | .gcli-breakpoint-label { | |
163 | font-weight: bold; | |
164 | } | |
165 | ||
166 | .gcli-breakpoint-lineText { | |
167 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; | |
168 | } |