2012-05-21 15:12:37 +04:00
|
|
|
/* 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/. */
|
|
|
|
|
2010-01-28 14:51:52 +03:00
|
|
|
/*
|
2008-11-28 01:17:17 +03:00
|
|
|
The default style of these tabs is that of an NSTabView with tabs at
|
|
|
|
the top in the "regular" size. These tabs can be used with or without
|
|
|
|
a tabbox element.
|
2010-01-28 14:51:52 +03:00
|
|
|
*/
|
2004-06-19 01:06:45 +04:00
|
|
|
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
|
2008-11-28 01:17:17 +03:00
|
|
|
tabbox {
|
|
|
|
margin: 0 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
tabpanels {
|
2010-02-03 03:18:55 +03:00
|
|
|
-moz-appearance: tabpanels;
|
2008-11-28 01:17:17 +03:00
|
|
|
padding: 33px 15px 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
tabs {
|
|
|
|
-moz-box-align: center;
|
|
|
|
font: menu;
|
|
|
|
padding: 0 10px;
|
|
|
|
margin-bottom: -12px;
|
|
|
|
position: relative;
|
|
|
|
}
|
2004-06-19 01:06:45 +04:00
|
|
|
|
|
|
|
tab {
|
|
|
|
-moz-appearance: tab;
|
2017-08-14 17:08:01 +03:00
|
|
|
padding-top: 1px;
|
2004-06-19 01:06:45 +04:00
|
|
|
}
|
|
|
|
|
2010-04-21 18:53:42 +04:00
|
|
|
tab:-moz-focusring {
|
2009-03-05 18:05:57 +03:00
|
|
|
/* Tab focus rings need to overlay adjacent tabs. */
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2009-01-09 12:57:57 +03:00
|
|
|
tab:first-of-type {
|
2016-05-13 08:19:58 +03:00
|
|
|
padding-inline-start: 2px;
|
2004-06-19 01:06:45 +04:00
|
|
|
}
|
|
|
|
|
2009-01-09 12:57:57 +03:00
|
|
|
tab:last-of-type {
|
2016-05-13 08:19:58 +03:00
|
|
|
padding-inline-end: 2px;
|
2008-11-28 01:17:17 +03:00
|
|
|
}
|
2007-04-21 21:30:00 +04:00
|
|
|
|
2017-08-14 17:08:01 +03:00
|
|
|
tab[visuallyselected="true"]:not(:-moz-window-inactive) {
|
2016-05-21 07:44:04 +03:00
|
|
|
color: #FFF;
|
2017-08-14 17:08:01 +03:00
|
|
|
}
|
|
|
|
|
2017-12-14 13:50:56 +03:00
|
|
|
@media (-moz-mac-yosemite-theme: 0) {
|
2017-08-14 17:08:01 +03:00
|
|
|
tab[visuallyselected="true"] {
|
|
|
|
color: #FFF;
|
|
|
|
text-shadow: rgba(0, 0, 0, 0.4) 0 1px;
|
|
|
|
}
|
2011-11-29 18:34:32 +04:00
|
|
|
}
|
|
|
|
|
2008-12-05 18:14:50 +03:00
|
|
|
.tab-middle {
|
2009-08-18 06:34:20 +04:00
|
|
|
padding: 1px 6px 2px;
|
2008-12-05 18:14:50 +03:00
|
|
|
}
|
|
|
|
|
2008-11-28 01:17:17 +03:00
|
|
|
.tabs-left,
|
|
|
|
.tabs-right {
|
|
|
|
-moz-box-flex: 1;
|
2004-06-19 01:06:45 +04:00
|
|
|
}
|