summaryrefslogtreecommitdiffstats
path: root/themes/linux/searchbar.css
blob: cb6ecffcc043980651fcd2fd4ef6f361399e138d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/* 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/. */

.searchbar-textbox {
  min-height: 22px;
  width: 6em;
  min-width: 6em;
  background-color: -moz-field;
}

.autocomplete-textbox-container {
  -moz-box-align: stretch;
}

.textbox-input-box {
  margin: 0;
}

.searchbar-engine-menuitem[selected="true"] > .menu-iconic-text {
  font-weight: bold;
}

/* Engine button */
.searchbar-engine-image {
  height: 16px;
  width: 16px;
  list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
  -moz-margin-start: 2px;
}

.searchbar-engine-button {
  -moz-appearance: none;
  min-width: 0;
  margin: 0;
  border: 0;
  -moz-box-align: center;
  background-color: transparent;
}

.searchbar-engine-button > .button-box {
  -moz-appearance: none;
  padding: 2px 0;
  -moz-padding-end: 2px;
  border: 0;
}

.searchbar-dropmarker-image {
  -moz-appearance: toolbarbutton-dropdown !important;
  width: 12px;
  height: 12px;
}

/* Search go button */
.search-go-container {
  -moz-box-align: center;
}

.search-go-button {
  padding: 1px;
  list-style-image: url(moz-icon://stock/gtk-find?size=menu);
  cursor: pointer;
}

menuitem[cmd="cmd_clearhistory"] {
  list-style-image: url("moz-icon://stock/gtk-clear?size=menu");
}

menuitem[cmd="cmd_clearhistory"][disabled] {
  list-style-image: url("moz-icon://stock/gtk-clear?size=menu&state=disabled");
}