summaryrefslogtreecommitdiffstats
path: root/toolkit/themes/osx/global/preferences.css
blob: d0b82a819cca629d0bef80ede35a8ff3fca878d5 (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
/* 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/. */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

prefwindow {
  padding: 0;
  font: -moz-dialog !important;
}

prefpane {
  padding: 12px 12px 0 12px;
}

prefwindow[type="child"] > prefpane {
  padding: 0;
}

.prefWindow-dlgbuttons {
  margin: 0 12px 12px;
  padding-top: 0 !important;
}

.paneSelector {
  font: message-box;
  padding: 1px 4px;
  -moz-appearance: toolbar;
  margin: 0;
}

radio[pane] {
  border: solid transparent;
  border-width: 0 2px;
  padding: 5px 4px 3px;
  margin: 0;
  -moz-appearance: none;
  text-shadow: rgba(255, 255, 255, 0.4) 0 1px;
}

radio[pane]:active:hover {
  text-shadow: none;
}

radio[pane] > .paneButtonIcon {
  /* preload external filter file */
  background-image: url("chrome://global/skin/filters.svg");
}

radio[pane]:active:hover > .paneButtonIcon {
  filter: url("chrome://global/skin/filters.svg#iconPressed");
}

radio[pane][selected="true"] {
  -moz-border-image: url("chrome://global/skin/icons/panebutton-active.png") 0 2 fill repeat stretch;
}

radio[pane][selected="true"]:-moz-window-inactive {
  -moz-border-image: url("chrome://global/skin/icons/panebutton-inactive.png") 0 2 fill repeat stretch;
}

.paneButtonLabel {
  margin: 0 !important;
}