mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +09:00
parent
470a6e4401
commit
13fcc4a046
949 changed files with 95662 additions and 444 deletions
69
toolkit/themes/osx/global/resizer.css
Normal file
69
toolkit/themes/osx/global/resizer.css
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
/* 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");
|
||||
|
||||
resizer {
|
||||
-moz-appearance: resizer;
|
||||
background: url("chrome://global/skin/icons/resizer.png") no-repeat;
|
||||
background-size: 100% 100%;
|
||||
cursor: se-resize;
|
||||
min-width: 15px;
|
||||
width: 15px;
|
||||
min-height: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
@media (min-resolution: 2dppx) {
|
||||
resizer {
|
||||
background-image: url("chrome://global/skin/icons/resizer@2x.png");
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
}
|
||||
|
||||
resizer[type="window"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
resizer[rtl="true"],
|
||||
resizer[dir="bottomend"]:-moz-locale-dir(rtl) {
|
||||
background: url("chrome://global/skin/icons/resizer-rtl.png") no-repeat;
|
||||
}
|
||||
@media (min-resolution: 2dppx) {
|
||||
resizer[rtl="true"],
|
||||
resizer[dir="bottomend"]:-moz-locale-dir(rtl) {
|
||||
background-image: url("chrome://global/skin/icons/resizer-rtl@2x.png");
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
resizer[dir="left"],
|
||||
resizer[dir="bottomleft"],
|
||||
resizer[dir="bottomstart"] {
|
||||
transform: scaleX(-1);
|
||||
}
|
||||
|
||||
resizer[dir="bottomleft"],
|
||||
resizer[dir="bottomstart"]:not([rtl="true"]):not(:-moz-locale-dir(rtl)),
|
||||
resizer[dir="bottomend"][rtl="true"] {
|
||||
cursor: sw-resize;
|
||||
}
|
||||
|
||||
resizer[dir="top"],
|
||||
resizer[dir="bottom"] {
|
||||
cursor: ns-resize;
|
||||
}
|
||||
|
||||
resizer[dir="left"],
|
||||
resizer[dir="right"] {
|
||||
cursor: ew-resize;
|
||||
}
|
||||
|
||||
resizer[dir="topleft"] {
|
||||
cursor: nw-resize;
|
||||
}
|
||||
|
||||
resizer[dir="topright"] {
|
||||
cursor: ne-resize;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue