Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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/. */
5 /* ===== textbox.css ==================================================
6 == Styles used by the XUL textbox element.
7 ======================================================================= */
9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10 @namespace html url("http://www.w3.org/1999/xhtml");
12 /* ::::: textbox ::::: */
14 textbox {
15 cursor: text;
16 margin: 2px 4px;
17 border: 1px solid #555555;
18 padding: 2px 3px 3px;
19 -moz-padding-start: 5px;
20 background-color: white;
21 color: black;
22 }
24 html|*.textbox-input,
25 html|*.textbox-textarea {
26 margin: 0px !important;
27 border: none !important;
28 padding: 0px !important;
29 background-color: inherit;
30 color: inherit;
31 font: inherit;
32 }
34 .textbox-contextmenu {
35 cursor: default;
36 }
38 /* ..... readonly state ..... */
40 textbox[readonly="true"] {
41 background-color: -moz-Dialog;
42 color: -moz-DialogText;
43 }
45 /* ..... disabled state ..... */
47 textbox[disabled="true"] {
48 cursor: default;
49 background-color: -moz-Dialog;
50 color: GrayText;
51 }
53 /* ::::: plain textbox ::::: */
55 textbox.plain {
56 background-color: transparent;
57 padding: 0px !important;
58 margin: 0px !important;
59 border: none !important;
60 }
62 /* ::::: search textbox ::::: */
64 .textbox-search-icon {
65 list-style-image: url(chrome://global/skin/icons/Search-glass.png);
66 -moz-image-region: rect(0, 16px, 16px, 0);
67 }
69 .textbox-search-icon:-moz-locale-dir(rtl) {
70 transform: scaleX(-1);
71 }
73 .textbox-search-icon[searchbutton]:not([disabled]) {
74 cursor: pointer;
75 }
77 .textbox-search-clear {
78 list-style-image: url(chrome://global/skin/icons/Search-close.png);
79 -moz-image-region: rect(0, 16px, 16px, 0);
80 }
82 .textbox-search-clear:not([disabled]) {
83 cursor: default;
84 }
86 .textbox-search-clear:not([disabled]):hover ,
87 .textbox-search-icon[searchbutton]:not([disabled]):hover {
88 -moz-image-region: rect(0, 32px, 16px, 16px);
89 }
91 .textbox-search-clear:not([disabled]):hover:active ,
92 .textbox-search-icon[searchbutton]:not([disabled]):hover:active {
93 -moz-image-region: rect(0, 48px, 16px, 32px);
94 }
96 /* ::::: textboxes inside toolbarpaletteitems ::::: */
98 toolbarpaletteitem > toolbaritem > textbox > .textbox-input-box > html|*.textbox-input {
99 visibility: hidden;
100 }