summaryrefslogtreecommitdiffstats
path: root/comm/suite/themes/classic/mac/editor/editorModeToolbar.css
blob: 79762cc44641443f1b2761cf0e3753365cc24252 (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
73
74
75
76
/* 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");

/* ::::: edit mode toolbar ::::: */

#EditModeToolbar {
  -moz-box-align: start;
  min-width: 1px;
}

#NormalModeButton {
  list-style-image: url("chrome://editor/skin/icons/editmode-normal.png");
}

#TagModeButton {
  list-style-image: url("chrome://editor/skin/icons/editmode-tags.png");
}

#SourceModeButton {
  list-style-image: url("chrome://editor/skin/icons/editmode-html.png");
}

#PreviewModeButton {
  list-style-image: url("chrome://editor/skin/icons/editmode-preview.png"); 
}

#EditModeTabs {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 0;
  margin: 0;
  border-top: 1px solid #888;
  -moz-box-align: start;
  font: message-box;
}
#EditModeTabs > .tabs-left {
  -moz-box-flex: 0;
}

.tab-bottom {
  -moz-appearance: none;
  margin: -1px 0 0;
  padding: 0 0 2px 0;
  position: relative;
  border-inline-end: 1px solid rgba(0, 0, 0, 0.19);
}

.tab-bottom:first-of-type {
  border-inline-start: 1px solid rgba(0, 0, 0, 0.19);
}

.tab-bottom > .tab-middle {
  padding: 1px 2px 0 2px;
}

.tab-bottom:not([visuallyselected=true]):hover {
  background-color: rgba(0, 0, 0, 0.1);
  border-inline-end-color: rgba(0, 0, 0, 0.1);
}

.tab-bottom[visuallyselected=true] {
  color: #000;
  text-shadow: none;
  border: solid #888;
  border-width: 0 1px 1px;
  border-radius: 2px;
  margin-inline-end: -1px;
  margin-bottom: 1px;
  padding: 0;
}

.tab-bottom[visuallyselected=true] > .tab-middle {
  -moz-appearance: dialog;
}