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/. */
8 background-color: transparent;
13 background-color: #000000
17 #newtab-scrollbox:not([page-disabled]) {
19 background-color: #000000;
22 #newtab-scrollbox:not([page-disabled]) #newtab-margin-bottom {
27 #newtab-undo-container {
30 border-color: #9C9CFF;
31 background-color: #000000;
46 background: transparent;
47 text-decoration: none;
51 .newtab-undo-button:hover {
52 text-decoration: underline;
55 .newtab-undo-button:-moz-focusring {
59 .newtab-undo-button > .button-box {
63 #newtab-undo-close-button {
66 list-style-image: url("chrome://global/skin/icons/close.png");
67 -moz-image-region: rect(0, 16px, 16px, 0);
70 #newtab-undo-close-button:hover {
71 -moz-image-region: rect(0, 32px, 16px, 16px);
74 #newtab-undo-close-button:-moz-focusring {
79 #newtab-customize-button,
81 background-color: transparent;
82 background-image: -moz-image-rect(url("chrome://browser/skin/newtab/controls.svg"), 0, 32, 32, 0);
83 background-size: 28px;
90 #newtab-customize-button:-moz-any(:hover, :active, [active]) {
91 background-image: -moz-image-rect(url("chrome://browser/skin/newtab/controls.svg"), 0, 64, 32, 32);
92 background-color: #FFCF00;
98 .newtab-intro-cell-hover {
99 background-color: rgba(255,159,0,.2);
101 border-color: #9C9CFF;
106 outline: 2px dashed #A09090;
107 -moz-outline-radius: 2px;
112 border-radius: inherit;
113 text-decoration: none;
114 transition-property: top, left, opacity, box-shadow, background-color;
117 .newtab-cell:not([ignorehover]) .newtab-control:hover ~ .newtab-link,
118 .newtab-cell:not([ignorehover]) .newtab-link:hover,
119 .newtab-site[dragged],
120 .newtab-intro-cell-hover .newtab-link {
121 box-shadow: 0 0 10px rgba(0,132,132,.3);
124 .newtab-intro-cell .newtab-thumbnail,
125 .newtab-intro-cell-hover .newtab-thumbnail {
126 background-color: #9C9CFF;
127 background-image: url("chrome://browser/skin/newtab/whimsycorn.png");
130 .newtab-site[dragged] {
131 transition-property: box-shadow, background-color;
132 background-color: #002121;
143 background-origin: padding-box;
144 background-clip: padding-box;
145 background-repeat: no-repeat;
146 background-size: cover;
147 border-radius: 8px 8px 0px 0px;
149 transition: opacity 100ms ease-out;
152 .newtab-cell:not([ignorehover]) .newtab-site:hover .newtab-thumbnail.enhanced-content {
156 .newtab-site[type=affiliate] .newtab-thumbnail,
157 .newtab-site[type=enhanced] .newtab-thumbnail,
158 .newtab-site[type=organic] .newtab-thumbnail,
159 .newtab-site[type=sponsored] .newtab-thumbnail {
160 background-position: center center;
161 background-size: auto;
165 /*#newtab-intro-what,*/
170 background-color: rgba(255,159,0,.8);
174 bottom: 0 !important;
179 background-color: #9C9CFF;
182 .newtab-suggested:hover {
183 background-color: #FFCF00;
184 border: 1px solid #9C9CFF;
187 .newtab-suggested[active] {
188 background-color: #FF9F00;
192 .newtab-site:hover .newtab-title {
193 background-color: #FFCF00;
196 .newtab-site[pinned] .newtab-title {
197 -moz-padding-start: 24px;
200 .newtab-site[pinned] .newtab-title::before {
201 background-image: -moz-image-rect(url("chrome://browser/skin/newtab/controls.svg"), 7, 278, 28, 266);
202 background-size: 10px;
213 .newtab-site[pinned] .newtab-title:-moz-locale-dir(rtl)::before {
220 background-color: transparent;
221 background-size: 24px;
228 .newtab-site[pinned] .newtab-control-pin:hover:active {
229 background-image: -moz-image-rect(url("chrome://browser/skin/newtab/controls.svg"), 0, 96, 32, 64);
232 .newtab-control-pin:hover,
233 .newtab-site[pinned] .newtab-control-pin:hover {
234 background-image: -moz-image-rect(url("chrome://browser/skin/newtab/controls.svg"), 0, 128, 32, 96);
237 .newtab-control-pin:hover:active,
238 .newtab-site[pinned] .newtab-control-pin {
239 background-image: -moz-image-rect(url("chrome://browser/skin/newtab/controls.svg"), 0, 160, 32, 128);
242 .newtab-control-block {
243 background-image: -moz-image-rect(url("chrome://browser/skin/newtab/controls.svg"), 0, 192, 32, 160);
246 .newtab-control-block:hover {
247 background-image: -moz-image-rect(url("chrome://browser/skin/newtab/controls.svg"), 0, 224, 32, 192);
250 .newtab-control-block:hover:active {
251 background-image: -moz-image-rect(url("chrome://browser/skin/newtab/controls.svg"), 0, 256, 32, 224);
255 #newtab-search-logo:hover {
256 background-color: #FFCF00;
259 #newtab-search-logo[active] {
260 background-color: #FF9F00;
263 #newtab-search-logo {
264 background-image: url("chrome://browser/skin/magnifier.png");
266 #newtab-search-logo.magnifier[active],
267 #newtab-search-logo.magnifier:hover {
268 background-image: url("chrome://browser/skin/magnifier-hover.png");
270 /* Newer versions only */
271 #newtab-search-icon {
272 background-image: url("chrome://browser/skin/search-indicator-magnifying-glass.svg#magnifying-glass");
274 #newtab-search-logo.magnifier[active],
275 #newtab-search-logo.magnifier:hover {
276 background-image: url("chrome://browser/skin/magnifier-hover.png");
279 #newtab-search-text {
280 border: 1px solid #9C9CFF;
281 background-color: #000000;
284 #newtab-search-text::-moz-placeholder {
287 #newtab-search-text:focus {
288 border: 1px solid #008484;
289 box-shadow: 0 0 0 1px #008484 inset;
292 #newtab-search-submit {
293 background-image: none;
294 background-color: #C09070;
297 border-radius: 0 300px 300px 0;
299 -moz-margin-start: 3px;
301 #newtab-search-text:focus + #newtab-search-submit,
302 #newtab-search-text[autofocus] + #newtab-search-submit {
303 background-image: none;
304 background-color: #008484;
308 #newtab-search-text + #newtab-search-submit:hover {
309 background-image: none;
310 background-color: #FFCF00;
314 /* Newer versions only */
315 #newtab-search-submit[value=""],
316 #newtab-search-text:focus + #newtab-search-submit[value=""],
317 #newtab-search-text[autofocus] + #newtab-search-submit[value=""],
318 #newtab-search-text + #newtab-search-submit[value=""]:hover {
319 background-image: url("chrome://browser/skin/search-arrow-go.svg#search-arrow-go");
323 #newtab-customize-overlay {
327 #newtab-customize-panel,
328 #newtab-customize-panel-anchor,
329 #newtab-customize-panel-inner-wrapper,
330 .newtab-customize-panel-item,
331 .newtab-customize-complex-option {
332 background-color: #000000;
335 #newtab-customize-title {
337 background-color: #000000;
340 .newtab-customize-panel-item[selected],
341 .newtab-customize-panel-subitem[selected] {
345 .newtab-customize-panel-item:not([selected]),
346 .newtab-customize-panel-subitem:not([selected]) {
350 .newtab-customize-panel-subitem > .checkbox {
351 background-color: #000000;
352 border-color: #A09090;
355 .newtab-customize-panel-subitem[selected] > .checkbox {
356 background-color: #000000;
357 background-image: url("chrome://global/skin/menu/shared-menu-check-active.svg");
361 .newtab-customize-panel-item:not(:first-child),
362 .newtab-search-panel-engine {
363 border-top: 1px solid #A09090;
366 .newtab-customize-complex-option:hover > .selectable:not([selected]),
367 .selectable:hover:not([selected]),
368 .newtab-customize-complex-option:hover > .selectable:not([selected]) + .newtab-customize-panel-subitem,
369 .newtab-customize-panel-item:hover:not([selected]) {
370 background-color: #FFCF00;
374 .newtab-customize-complex-option:hover > .selectable:not([selected]),
375 .selectable:hover:not([selected]) {
376 background-image: url("chrome://global/skin/menu/shared-menu-check-black.svg");