summaryrefslogtreecommitdiff
path: root/src/chrome
diff options
context:
space:
mode:
authorLootyhoof <lootyhoofer@gmail.com>2018-05-18 20:19:55 +0100
committerLootyhoof <lootyhoofer@gmail.com>2018-05-18 20:19:55 +0100
commit2dd7c191d4ffb2b4660898dd9de181f033d1c55d (patch)
tree66d44ec074dd7f2bca21d211a1240a8d69b6e8df /src/chrome
parentb2f889f660b47bf88bea4010956ed2050f367811 (diff)
Remove redundant files
Diffstat (limited to 'src/chrome')
-rw-r--r--src/chrome/os/darwin/tabbox.css150
-rw-r--r--src/chrome/os/linux/tabbox.css111
-rw-r--r--src/chrome/os/winnt/tabbox.css133
3 files changed, 0 insertions, 394 deletions
diff --git a/src/chrome/os/darwin/tabbox.css b/src/chrome/os/darwin/tabbox.css
deleted file mode 100644
index d65d11c..0000000
--- a/src/chrome/os/darwin/tabbox.css
+++ /dev/null
@@ -1,150 +0,0 @@
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/. */
4
5/*
6 The default style of these tabs is that of an NSTabView with tabs at
7 the top in the "regular" size. These tabs can be used with or without
8 a tabbox element.
9 For bottom tabs you should use the "tabs-bottom" class on the tabbox
10 or the tabs element. Bottom tabs use a style that's similar to the
11 one used in Adium.
12*/
13
14@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
15
16tabbox {
17 margin: 0 5px;
18}
19
20tabpanels {
21 -moz-appearance: tabpanels;
22 padding: 33px 15px 15px;
23}
24
25tabs {
26 -moz-box-align: center;
27 font: menu;
28}
29
30tabbox > tabs {
31 padding: 0 10px;
32 margin-bottom: -12px;
33 position: relative;
34}
35
36tab {
37 -moz-appearance: tab;
38}
39
40tab:-moz-focusring {
41 /* Tab focus rings need to overlay adjacent tabs. */
42 position: relative;
43}
44
45tab:first-of-type {
46 -moz-padding-start: 2px;
47}
48
49tab:last-of-type {
50 -moz-padding-end: 2px;
51}
52
53@media (-moz-mac-lion-theme) {
54 tab[selected="true"] {
55 color: #FFF;
56 text-shadow: rgba(0, 0, 0, 0.4) 0 1px;
57 }
58}
59
60.tab-middle {
61 padding: 1px 6px 2px;
62}
63
64.tabs-left,
65.tabs-right {
66 -moz-box-flex: 1;
67}
68
69/* Tabs at the bottom
70 * These tabs are smaller, left aligned and don't extend into the tabpanel.
71 */
72
73tabbox.tabs-bottom > tabpanels {
74 padding: 10px;
75}
76
77tabbox.tabs-bottom > tabs,
78tabs.tabs-bottom {
79 background-color: rgba(0, 0, 0, 0.1);
80 padding: 0;
81 margin: 0;
82 border-top: 2px solid;
83 -moz-border-top-colors: #888 rgba(0, 0, 0, 0.08);
84 -moz-box-align: start;
85 font: message-box;
86}
87
88tabbox.tabs-bottom > tabs > .tabs-left,
89tabs.tabs-bottom > .tabs-left {
90 -moz-box-flex: 0;
91}
92
93tabbox.tabs-bottom > tabs > tab,
94tabs.tabs-bottom > tab {
95 -moz-appearance: none;
96 margin: -1px 0 0;
97 padding: 0 0 2px 0;
98 position: relative;
99 -moz-border-end: 1px solid rgba(0, 0, 0, 0.19);
100}
101
102tabbox.tabs-bottom > tabs > tab > .tab-middle,
103tabs.tabs-bottom > tab > .tab-middle {
104 padding: 1px 2px 0 2px;
105}
106
107tabbox.tabs-bottom > tabs > tab:not([selected=true]):hover,
108tabs.tabs-bottom > tab:not([selected=true]):hover {
109 background-color: rgba(0, 0, 0, 0.1);
110 -moz-border-end-color: rgba(0, 0, 0, 0.1);
111}
112
113tabbox.tabs-bottom > tabs > tab[selected=true],
114tabs.tabs-bottom > tab[selected=true] {
115 color: #000;
116 text-shadow: none;
117 border: solid #888;
118 border-width: 0 2px 2px;
119 border-radius: 2px;
120 -moz-border-left-colors: rgba(0, 0, 0, 0.08) #888;
121 -moz-border-right-colors: rgba(0, 0, 0, 0.08) #888;
122 -moz-border-bottom-colors: rgba(0, 0, 0, 0.08) #888;
123 -moz-margin-end: -1px;
124 margin-top: -2px;
125 margin-bottom: 1px;
126 padding: 0;
127}
128
129tabbox.tabs-bottom > tabs > tab[beforeselected=true],
130tabs.tabs-bottom > tab[beforeselected=true] {
131 -moz-border-end-color: transparent;
132 -moz-margin-end: -2px;
133}
134
135tabbox.tabs-bottom > tabs > tab:first-of-type:not([selected=true]),
136tabs.tabs-bottom > tab:first-of-type:not([selected=true]) {
137 -moz-border-start: 4px solid transparent;
138}
139
140tabbox.tabs-bottom > tabs > tab:first-of-type[selected=true],
141tabs.tabs-bottom > tab:first-of-type[selected=true] {
142 -moz-margin-start: 2px;
143}
144
145tabbox.tabs-bottom,
146tabbox.tabs-bottom > tabpanels,
147tabbox.tabs-bottom > tabs > tab[selected=true] > .tab-middle,
148tabs.tabs-bottom > tab[selected=true] > .tab-middle {
149 -moz-appearance: dialog;
150}
diff --git a/src/chrome/os/linux/tabbox.css b/src/chrome/os/linux/tabbox.css
deleted file mode 100644
index bc6c740..0000000
--- a/src/chrome/os/linux/tabbox.css
+++ /dev/null
@@ -1,111 +0,0 @@
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/. */
4
5/* ===== tabbox.css =================================================
6 == Styles used by XUL tab-related elements.
7 ======================================================================= */
8
9@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10
11
12/* ::::: tabs ::::: */
13
14tabs {
15 position: relative;
16 z-index: 0;
17}
18
19/* ::::: tabpanels ::::: */
20
21tabpanels {
22 -moz-appearance: none;
23 border-right: 1px solid;
24 border-bottom: 1px solid;
25 border-left: 1px solid;
26 -moz-border-right-colors: rgb(75,75,75);
27 -moz-border-bottom-colors: rgb(75,75,75);
28 -moz-border-left-colors: rgb(75,75,75);
29 padding: 8px;
30 background-color: rgb(43,43,43);
31 color: #fff;
32}
33
34/* ::::: tab ::::: */
35
36tab {
37 position: relative;
38 -moz-appearance: tab;
39 margin-top: 2px;
40 border-top: 1px solid;
41 border-right: 1px solid;
42 border-left: 1px solid;
43 border-bottom: 1px solid rgb(75,75,75);
44 -moz-border-top-colors: rgb(75,75,75);
45 -moz-border-right-colors: rgb(75,75,75);
46 -moz-border-left-colors: rgb(75,75,75);
47 border-top-left-radius: 2px;
48 border-top-right-radius: 2px;
49 padding: 1px 4px 2px 4px;
50 background-color: rgb(23,23,23);
51 color: #fff;
52}
53
54tab[selected="true"] {
55 z-index: 1;
56 margin-top: 0;
57 background-color: rgb(43,43,43);
58 border-bottom-color: transparent;
59 padding: 1px 6px 4px 6px;
60}
61
62tab + tab {
63 -moz-margin-start: -2px;
64}
65
66.tab-text {
67 margin: 0 !important;
68}
69
70/* ::::: tab-bottom ::::::::::
71 :: Tabs that are attached to the bottom of a panel, but not necessarily
72 :: a tabpanels.
73 ::::: */
74
75.tab-bottom {
76 margin-top: 0;
77 margin-bottom: 2px;
78 border-top: 1px solid;
79 border-bottom: 1px solid;
80 -moz-border-top-colors: rgb(75,75,75);
81 -moz-border-bottom-colors: rgb(75,75,75);
82 border-top-left-radius: 0;
83 border-top-right-radius: 0;
84 border-bottom-right-radius: 2px;
85 border-bottom-left-radius: 2px;
86 padding: 2px 4px 1px 4px;
87}
88
89.tab-bottom[selected="true"] {
90 margin-bottom: 0;
91 -moz-border-top-colors: rgb(110,110,110);
92 padding: 4px 6px 1px 6px;
93}
94
95.tab-bottom[beforeselected="true"]:-moz-locale-dir(ltr),
96.tab-bottom[selected="true"]:-moz-locale-dir(rtl) + .tab-bottom {
97 border-bottom-right-radius: 0;
98}
99
100.tab-bottom[selected="true"]:-moz-locale-dir(ltr) + .tab-bottom,
101.tab-bottom[beforeselected="true"]:-moz-locale-dir(rtl) {
102 border-bottom-left-radius: 0;
103}
104
105/* ::::: tabs-bottom ::::: */
106
107.tabs-bottom > .tabs-left,
108.tabs-bottom > .tabs-right {
109 border-top: 1px solid rgb(75,75,75);
110 border-bottom: none;
111}
diff --git a/src/chrome/os/winnt/tabbox.css b/src/chrome/os/winnt/tabbox.css
deleted file mode 100644
index 173643b..0000000
--- a/src/chrome/os/winnt/tabbox.css
+++ /dev/null
@@ -1,133 +0,0 @@
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/. */
4
5/* ===== tabbox.css =================================================
6 == Styles used by XUL tab-related elements.
7 ======================================================================= */
8
9@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10
11/* ::::: tabs ::::: */
12
13.tabs-left,
14.tabs-right {
15 border-bottom: 1px solid;
16 -moz-border-bottom-colors: rgb(75,75,75);
17}
18
19/* ::::: tabpanels ::::: */
20
21tabpanels {
22 -moz-appearance: none;
23 border-right: 1px solid;
24 border-bottom: 1px solid;
25 border-left: 1px solid;
26 -moz-border-right-colors: rgb(75,75,75);
27 -moz-border-bottom-colors: rgb(75,75,75);
28 -moz-border-left-colors: rgb(75,75,75);
29 padding: 8px;
30 background-color: rgb(43,43,43);
31 color: #fff;
32}
33
34/* ::::: tab ::::: */
35
36tab {
37 -moz-appearance: none;
38 margin-top: 2px;
39 border-top: 1px solid;
40 border-right: 1px solid;
41 border-left: 1px solid;
42 border-bottom: 1px solid rgb(75,75,75);
43 -moz-border-top-colors: rgb(75,75,75);
44 -moz-border-right-colors: rgb(75,75,75);
45 -moz-border-left-colors: rgb(75,75,75);
46 border-top-left-radius: 2px;
47 border-top-right-radius: 2px;
48 padding: 1px 4px 2px 4px;
49 background-color: rgb(23,23,23);
50 color: #fff;
51}
52
53tab:-moz-locale-dir(rtl) {
54 border-bottom-left-radius: 1px;
55 border-bottom-right-radius: 0px;
56}
57
58.tab-text {
59 margin: 0 !important;
60}
61
62tab[selected="true"] {
63 margin-top: 0;
64 background-color: rgb(43,43,43);
65 border-bottom-color: transparent;
66 padding: 1px 6px 4px 6px;
67}
68
69tab:-moz-focusring > .tab-middle {
70 /* Don't specify the outline-color, we should always use initial value. */
71 outline: 1px dotted;
72}
73
74tab[beforeselected="true"]:-moz-locale-dir(ltr),
75tab[selected="true"]:-moz-locale-dir(rtl) + tab {
76 border-right: none;
77 border-top-right-radius: 0;
78}
79
80tab[selected="true"]:-moz-locale-dir(ltr) + tab,
81tab[beforeselected="true"]:-moz-locale-dir(rtl) {
82 border-left: none;
83 border-top-left-radius: 0;
84}
85
86tab:first-of-type[selected="true"] {
87 padding-right: 5px;
88 padding-left: 5px;
89}
90
91/* ::::: tab-bottom ::::::::::
92 :: Tabs that are attached to the bottom of a panel, but not necessarily
93 :: a tabpanels.
94 ::::: */
95
96.tab-bottom {
97 margin-top: 0;
98 margin-bottom: 2px;
99 border-top: 1px solid;
100 border-bottom: 1px solid;
101 -moz-border-top-colors: rgb(75,75,75);
102 -moz-border-bottom-colors: rgb(75,75,75);
103 border-top-left-radius: 0;
104 border-top-right-radius: 0;
105 border-bottom-right-radius: 2px;
106 border-bottom-left-radius: 2px;
107 padding: 2px 4px 1px 4px;
108}
109
110.tab-bottom[selected="true"] {
111 margin-bottom: 0;
112 -moz-border-top-colors: rgb(110,110,110);
113 padding: 4px 6px 1px 6px;
114}
115
116.tab-bottom[beforeselected="true"]:-moz-locale-dir(ltr),
117.tab-bottom[selected="true"]:-moz-locale-dir(rtl) + .tab-bottom {
118 border-bottom-right-radius: 0;
119}
120
121.tab-bottom[selected="true"]:-moz-locale-dir(ltr) + .tab-bottom,
122.tab-bottom[beforeselected="true"]:-moz-locale-dir(rtl) {
123 border-bottom-left-radius: 0;
124}
125
126/* ::::: tabs-bottom ::::: */
127
128.tabs-bottom > .tabs-left,
129.tabs-bottom > .tabs-right {
130 border-top: 1px solid rgb(75,75,75);
131 border-bottom: none;
132}
133