Issue #1137920 by jessebeach, lewisnyman, tkoleary, Bojhan, webchick, benjifisher, nod_, sjbassett, kathryn531, effulgentsia, Everett Zufelt: fixed toolbar on small screen sizes and redesign toolbar for desktop.
2012-11-21 17:18:57 +00:00
|
|
|
/**
|
|
|
|
* @file toolbar.menu.css
|
|
|
|
*/
|
2015-05-24 22:17:43 +00:00
|
|
|
.toolbar .toolbar-menu,
|
|
|
|
[dir="rtl"] .toolbar .toolbar-menu {
|
Issue #1137920 by jessebeach, lewisnyman, tkoleary, Bojhan, webchick, benjifisher, nod_, sjbassett, kathryn531, effulgentsia, Everett Zufelt: fixed toolbar on small screen sizes and redesign toolbar for desktop.
2012-11-21 17:18:57 +00:00
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2013-07-18 10:28:54 +00:00
|
|
|
.toolbar .toolbar-box {
|
Issue #1137920 by jessebeach, lewisnyman, tkoleary, Bojhan, webchick, benjifisher, nod_, sjbassett, kathryn531, effulgentsia, Everett Zufelt: fixed toolbar on small screen sizes and redesign toolbar for desktop.
2012-11-21 17:18:57 +00:00
|
|
|
display: block;
|
|
|
|
line-height: 1em; /* this prevents the value "normal" from being returned as the line-height */
|
|
|
|
position: relative;
|
|
|
|
width: auto;
|
|
|
|
}
|
2017-07-03 15:13:34 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Hidden vertical toolbar sub-menus by default.
|
|
|
|
*/
|
|
|
|
.toolbar .toolbar-tray-vertical .toolbar-menu ul {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
Issue #2542050 by droplet, nod_, dpacassi, Wim Leers, Sam152, andrewmacpherson, tameeshb, jonathanshaw, lokapujya, Daniel Schaefer, Chi, geerlingguy, tarekdj: Toolbar implementation creates super annoying re-rendering
2017-06-19 16:37:48 +00:00
|
|
|
/**
|
|
|
|
* Hidden horizontal toolbar handle icon.
|
|
|
|
*/
|
|
|
|
.toolbar .toolbar-tray-horizontal .toolbar-menu .toolbar-handle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* Hidden toolbar sub-menus by default.
|
|
|
|
*/
|
|
|
|
.toolbar-tray-open .toolbar-menu .menu-item--expanded ul {
|
Issue #1137920 by jessebeach, lewisnyman, tkoleary, Bojhan, webchick, benjifisher, nod_, sjbassett, kathryn531, effulgentsia, Everett Zufelt: fixed toolbar on small screen sizes and redesign toolbar for desktop.
2012-11-21 17:18:57 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2013-07-18 10:28:54 +00:00
|
|
|
.toolbar .toolbar-tray-vertical li.open > ul {
|
Issue #1137920 by jessebeach, lewisnyman, tkoleary, Bojhan, webchick, benjifisher, nod_, sjbassett, kathryn531, effulgentsia, Everett Zufelt: fixed toolbar on small screen sizes and redesign toolbar for desktop.
2012-11-21 17:18:57 +00:00
|
|
|
display: block; /* Show the sub-menus */
|
|
|
|
}
|
2013-07-18 10:28:54 +00:00
|
|
|
.toolbar .toolbar-tray-vertical .toolbar-handle + a {
|
Issue #1137920 by jessebeach, lewisnyman, tkoleary, Bojhan, webchick, benjifisher, nod_, sjbassett, kathryn531, effulgentsia, Everett Zufelt: fixed toolbar on small screen sizes and redesign toolbar for desktop.
2012-11-21 17:18:57 +00:00
|
|
|
margin-right: 3em; /* LTR */
|
|
|
|
}
|
2013-07-18 10:28:54 +00:00
|
|
|
[dir="rtl"] .toolbar .toolbar-tray-vertical .toolbar-handle + a {
|
2013-06-28 08:47:08 +00:00
|
|
|
margin-left: 3em;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2015-02-19 09:18:40 +00:00
|
|
|
.toolbar .toolbar-tray .menu-item--active-trail > .toolbar-box a,
|
Issue #2031641 by aburrows, lauriii, nlisgo, Pol, redsquid, tuutti, LewisNyman, akalata, agviu, kallehauge, _nolocation, rpayanm, saki007ster, mdrummond, RavindraSingh, brahmjeet789: Change active class to is-active
2015-04-16 14:25:55 +00:00
|
|
|
.toolbar .toolbar-tray a.is-active {
|
Issue #1137920 by jessebeach, lewisnyman, tkoleary, Bojhan, webchick, benjifisher, nod_, sjbassett, kathryn531, effulgentsia, Everett Zufelt: fixed toolbar on small screen sizes and redesign toolbar for desktop.
2012-11-21 17:18:57 +00:00
|
|
|
color: #000;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2015-03-01 12:34:52 +00:00
|
|
|
/* ----- Toolbar menu tray for viewports less than 320px ------ */
|
|
|
|
@media screen and (max-width: 319px) {
|
Issue #2031641 by aburrows, lauriii, nlisgo, Pol, redsquid, tuutti, LewisNyman, akalata, agviu, kallehauge, _nolocation, rpayanm, saki007ster, mdrummond, RavindraSingh, brahmjeet789: Change active class to is-active
2015-04-16 14:25:55 +00:00
|
|
|
.toolbar .toolbar-tray-vertical.is-active {
|
2015-03-01 12:34:52 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
Issue #1137920 by jessebeach, lewisnyman, tkoleary, Bojhan, webchick, benjifisher, nod_, sjbassett, kathryn531, effulgentsia, Everett Zufelt: fixed toolbar on small screen sizes and redesign toolbar for desktop.
2012-11-21 17:18:57 +00:00
|
|
|
/**
|
|
|
|
* Items.
|
|
|
|
*/
|
|
|
|
.toolbar .level-2 > ul {
|
|
|
|
background-color: #fafafa;
|
|
|
|
border-bottom-color: #cccccc;
|
|
|
|
border-top-color: #e5e5e5;
|
|
|
|
}
|
|
|
|
.toolbar .level-3 > ul {
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
border-bottom-color: #c5c5c5;
|
|
|
|
border-top-color: #dddddd;
|
|
|
|
}
|
|
|
|
.toolbar .level-4 > ul {
|
|
|
|
background-color: #eeeeee;
|
|
|
|
border-bottom-color: #bbbbbb;
|
|
|
|
border-top-color: #d5d5d5;
|
|
|
|
}
|
|
|
|
.toolbar .level-5 > ul {
|
|
|
|
background-color: #e5e5e5;
|
|
|
|
border-bottom-color: #b5b5b5;
|
|
|
|
border-top-color: #cccccc;
|
|
|
|
}
|
|
|
|
.toolbar .level-6 > ul {
|
|
|
|
background-color: #eeeeee;
|
|
|
|
border-bottom-color: #aaaaaa;
|
|
|
|
border-top-color: #c5c5c5;
|
|
|
|
}
|
|
|
|
.toolbar .level-7 > ul {
|
|
|
|
background-color: #fafafa;
|
|
|
|
border-bottom-color: #b5b5b5;
|
|
|
|
border-top-color: #cccccc;
|
|
|
|
}
|
|
|
|
.toolbar .level-8 > ul {
|
|
|
|
background-color: #dddddd;
|
|
|
|
border-bottom-color: #cccccc;
|
|
|
|
border-top-color: #dddddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Handle.
|
|
|
|
*/
|
2013-07-18 10:28:54 +00:00
|
|
|
.toolbar .toolbar-handle:hover {
|
Issue #1137920 by jessebeach, lewisnyman, tkoleary, Bojhan, webchick, benjifisher, nod_, sjbassett, kathryn531, effulgentsia, Everett Zufelt: fixed toolbar on small screen sizes and redesign toolbar for desktop.
2012-11-21 17:18:57 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2013-07-18 10:28:54 +00:00
|
|
|
.toolbar .toolbar-icon.toolbar-handle {
|
Issue #1137920 by jessebeach, lewisnyman, tkoleary, Bojhan, webchick, benjifisher, nod_, sjbassett, kathryn531, effulgentsia, Everett Zufelt: fixed toolbar on small screen sizes and redesign toolbar for desktop.
2012-11-21 17:18:57 +00:00
|
|
|
bottom: 0;
|
|
|
|
display: block;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0; /* LTR */
|
|
|
|
top: 0;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2013-07-18 10:28:54 +00:00
|
|
|
[dir="rtl"] .toolbar .toolbar-icon.toolbar-handle {
|
2013-06-28 08:47:08 +00:00
|
|
|
left: 0;
|
2013-11-24 03:28:51 +00:00
|
|
|
padding: 0;
|
2013-06-28 08:47:08 +00:00
|
|
|
right: auto;
|
|
|
|
}
|