mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-21 20:03:08 +09:00
While this could've all been placed in the shared new tab style sheet, OSX does not include the SVG close icon used by the other platforms and has its own custom close icon.
31 lines
928 B
CSS
31 lines
928 B
CSS
/* 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/. */
|
|
|
|
%include ../../shared/newtab/newTab.css.inc
|
|
|
|
.newtab-undo-button {
|
|
-moz-appearance: none;
|
|
color: rgb(221,72,20);
|
|
cursor: pointer;
|
|
padding: 0;
|
|
margin: 0 4px;
|
|
border: 0;
|
|
background: transparent;
|
|
text-decoration: none;
|
|
min-width: 0;
|
|
}
|
|
|
|
#newtab-undo-close-button {
|
|
background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 16, 16, 0);
|
|
background-position: center center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
#newtab-undo-close-button:hover {
|
|
background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 32, 16, 16);
|
|
}
|
|
|
|
#newtab-undo-close-button:hover:active {
|
|
background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 48, 16, 32);
|
|
}
|