first part of sync for LCARStrek with browser windows/shared theme changes in Firefox...
[themes.git] / LCARStrek / browser / newtab / newTab.css
CommitLineData
8d7ef0d9
RK
1:root {
2 -moz-appearance: none;
56ab361a 3 font-size: 75%;
8d7ef0d9 4 background-color: transparent;
0d686391 5 padding: 0;
0d686391
RK
6}
7
8d7ef0d9
RK
8/* SCROLLBOX */
9#newtab-scrollbox:not([page-disabled]) {
3a0880a9 10 color: #FF9F00;
8d7ef0d9 11 background-color: #000000;
0d686391
RK
12}
13
56ab361a
RK
14/* UNDO */
15#newtab-undo-container {
16 padding: 4px 3px;
17 border: 1px solid;
18 border-color: #9C9CFF;
19 background-color: #000000;
20 color: #8050B0;
21}
22
23#newtab-undo-label {
24 margin-top: 0;
25 margin-bottom: 0;
26}
27
28.newtab-undo-button {
29 color: #3333FF;
30 cursor: pointer;
31 padding: 0;
32 margin: 0 4px;
33 border: 0;
34 background: transparent;
35 text-decoration: none;
36 min-width: 0;
37}
38
39.newtab-undo-button:hover {
40 text-decoration: underline;
41}
42
43.newtab-undo-button:-moz-focusring {
44 outline: 1px dotted;
45}
46
47.newtab-undo-button > .button-box {
48 padding: 0;
49}
50
51#newtab-undo-close-button {
52 padding: 0;
53 border: none;
54 list-style-image: url("chrome://global/skin/icons/close.png");
55 -moz-image-region: rect(0, 16px, 16px, 0);
56 -moz-user-focus: normal;
57}
58
59#newtab-undo-close-button:hover {
60 -moz-image-region: rect(0, 32px, 16px, 16px);
61}
62
63#newtab-undo-close-button > .toolbarbutton-text {
64 display: none;
65}
66
67#newtab-undo-close-button:-moz-focusring {
68 outline: 1px dotted;
69}
70
8d7ef0d9
RK
71/* TOGGLE */
72#newtab-toggle {
73 width: 16px;
74 height: 16px;
75 padding: 0;
76 border: none;
77 background: -216px 0 transparent url("chrome://browser/skin/newtab/controls.png");
0d686391
RK
78}
79
8d7ef0d9
RK
80#newtab-toggle[page-disabled] {
81 background-position: -232px 0;
0d686391
RK
82}
83
8d7ef0d9
RK
84/* ROWS */
85.newtab-row {
86 margin-bottom: 20px;
0d686391
RK
87}
88
8d7ef0d9
RK
89.newtab-row:last-child {
90 margin-bottom: 0;
0d686391
RK
91}
92
8d7ef0d9
RK
93/* CELLS */
94.newtab-cell {
95 -moz-margin-end: 20px;
96 background-color: rgba(255,159,0,.2);
97 border: 1px solid;
98 border-color: #9C9CFF;
99 border-radius: 1px;
71a617ff 100 transition: border-color 100ms ease-out;
0d686391
RK
101}
102
8d7ef0d9
RK
103.newtab-cell:empty {
104 border: 1px dashed;
0d686391
RK
105}
106
8d7ef0d9
RK
107.newtab-cell:last-child {
108 -moz-margin-end: 0;
0d686391
RK
109}
110
889649fd 111.newtab-cell:hover:not(:empty):not([dragged]) {
8d7ef0d9 112 border-color: #FFCF00;
0d686391
RK
113}
114
8d7ef0d9
RK
115/* SITES */
116.newtab-site {
117 text-decoration: none;
71a617ff 118 transition-property: top, left, opacity, box-shadow, background-color;
0d686391
RK
119}
120
8d7ef0d9
RK
121.newtab-site:hover,
122.newtab-site[dragged] {
123 box-shadow: 0 0 10px rgba(0,132,132,.3);
0d686391
RK
124}
125
8d7ef0d9 126.newtab-site[dragged] {
71a617ff 127 transition-property: box-shadow, background-color;
8d7ef0d9 128 background-color: #002121;
0d686391
RK
129}
130
8d7ef0d9
RK
131/* THUMBNAILS */
132.newtab-thumbnail {
133 background-origin: padding-box;
134 background-clip: padding-box;
135 background-repeat: no-repeat;
136 background-size: cover;
0d686391
RK
137}
138
8d7ef0d9
RK
139/* TITLES */
140.newtab-title {
141 padding: 0 8px;
142 background-color: rgba(255,159,0,.8);
143 color: #000000;
8d7ef0d9 144 line-height: 24px;
0d686391
RK
145}
146
8d7ef0d9
RK
147/* CONTROLS */
148.newtab-control {
149 width: 24px;
150 height: 24px;
151 padding: 1px 2px 3px;
152 border: none;
153 background: transparent url("chrome://browser/skin/newtab/controls.png");
0d686391
RK
154}
155
8d7ef0d9
RK
156.newtab-control-pin:hover {
157 background-position: -24px 0;
0d686391
RK
158}
159
8d7ef0d9
RK
160.newtab-control-pin:active {
161 background-position: -48px 0;
0d686391
RK
162}
163
8d7ef0d9
RK
164.newtab-control-pin[pinned] {
165 background-position: -72px 0;
0d686391
RK
166}
167
8d7ef0d9
RK
168.newtab-control-pin[pinned]:hover {
169 background-position: -96px 0;
0d686391
RK
170}
171
8d7ef0d9
RK
172.newtab-control-pin[pinned]:active {
173 background-position: -120px 0;
0d686391
RK
174}
175
8d7ef0d9
RK
176.newtab-control-block {
177 background-position: -144px 0;
0d686391
RK
178}
179
8d7ef0d9
RK
180.newtab-control-block:hover {
181 background-position: -168px 0;
0d686391
RK
182}
183
8d7ef0d9
RK
184.newtab-control-block:active {
185 background-position: -192px 0;
0d686391 186}