зеркало из https://github.com/mozilla/gecko-dev.git
66 строки
1.8 KiB
CSS
66 строки
1.8 KiB
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/. */
|
|
|
|
/* ===== splitter.css ===================================================
|
|
== Styles used by the XUL splitter element.
|
|
======================================================================= */
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
/* ::::: splitter (vertical) ::::: */
|
|
|
|
splitter {
|
|
-moz-appearance: splitter;
|
|
-moz-box-align: center;
|
|
-moz-box-pack: center;
|
|
cursor: ew-resize;
|
|
}
|
|
|
|
splitter[state="collapsed"][collapse="before"],
|
|
splitter[state="collapsed"][substate="before"],
|
|
splitter[state="collapsed"][collapse="after"]:-moz-locale-dir(rtl),
|
|
splitter[state="collapsed"][substate="after"]:-moz-locale-dir(rtl) {
|
|
cursor: e-resize;
|
|
}
|
|
|
|
splitter[state="collapsed"][collapse="after"],
|
|
splitter[state="collapsed"][substate="after"],
|
|
splitter[state="collapsed"][collapse="before"]:-moz-locale-dir(rtl),
|
|
splitter[state="collapsed"][substate="before"]:-moz-locale-dir(rtl) {
|
|
cursor: w-resize;
|
|
}
|
|
|
|
/* ::::: splitter (horizontal) ::::: */
|
|
|
|
splitter[orient="vertical"] {
|
|
cursor: ns-resize;
|
|
}
|
|
|
|
splitter[orient="vertical"][state="collapsed"][collapse="before"],
|
|
splitter[orient="vertical"][state="collapsed"][substate="before"] {
|
|
cursor: s-resize;
|
|
}
|
|
|
|
splitter[orient="vertical"][state="collapsed"][collapse="after"],
|
|
splitter[orient="vertical"][state="collapsed"][substate="after"] {
|
|
cursor: n-resize;
|
|
}
|
|
|
|
splitter[disabled="true"] {
|
|
cursor: default !important;
|
|
}
|
|
|
|
/* ::::: splitter grippy ::::: */
|
|
|
|
grippy {
|
|
cursor: pointer;
|
|
min-width: 4px;
|
|
min-height: 115px;
|
|
}
|
|
|
|
splitter[orient="vertical"] > grippy {
|
|
min-width: 115px;
|
|
min-height: 4px;
|
|
}
|