1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
|
body.toolbar {
padding-top: 2.2em;
}
body.toolbar-drawer {
padding-top: 5.3em;
}
/**
* Aggressive resets so we can achieve a consistent look in hostile CSS
* environments.
*/
#toolbar,
#toolbar * {
border: 0;
font-size: 100%;
line-height: inherit;
list-style: none;
margin: 0;
outline: 0;
padding: 0;
text-align: left; /* LTR */
vertical-align: baseline;
}
/**
* Base styles.
*
* We use a keyword for the toolbar font size to make it display consistently
* across different themes, while still allowing browsers to resize the text.
*/
#toolbar {
background: #666;
color: #ccc;
font: normal small "Lucida Grande", Verdana, sans-serif;
left: 0;
margin: 0 -20px;
padding: 0 20px;
position: fixed;
right: 0;
top: 0;
-moz-box-shadow: 0 3px 20px #000;
-webkit-box-shadow: 0 3px 20px #000;
box-shadow: 0 3px 20px #000;
filter: progid:DXImageTransform.Microsoft.Shadow(color=#000000, direction='180', strength='10');
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color=#000000, direction='180', strength='10')";
z-index: 600;
}
#toolbar div.collapsed {
display: none;
visibility: hidden;
}
#toolbar a {
color: #fff;
font-size: .846em;
text-decoration: none;
}
#toolbar ul li,
#toolbar ul li a {
float: left; /* LTR */
}
/**
* Administration menu.
*/
#toolbar div.toolbar-menu {
background: #000;
line-height: 20px;
padding: 5px 50px 5px 10px; /* LTR */
position: relative;
}
#toolbar-home a span {
background: url(toolbar.png) no-repeat 0 -45px;
display: block;
height: 14px;
margin: 3px 0px;
text-indent: -9999px;
vertical-align: text-bottom;
width: 11px;
}
#toolbar-user {
float: right; /* LTR */
}
#toolbar-menu {
float: left; /* LTR */
}
#toolbar div.toolbar-menu a.toggle {
background: url(toolbar.png) 0 -20px no-repeat;
bottom: 0;
cursor: pointer;
height: 25px;
overflow: hidden;
position: absolute;
right: 10px; /* LTR */
text-indent: -9999px;
width: 25px;
}
#toolbar div.toolbar-menu a.toggle:focus,
#toolbar div.toolbar-menu a.toggle:hover {
background-position: -50px -20px;
}
#toolbar div.toolbar-menu a.toggle-active {
background-position: -25px -20px;
}
#toolbar div.toolbar-menu a.toggle-active.toggle:focus,
#toolbar div.toolbar-menu a.toggle-active.toggle:hover {
background-position: -75px -20px;
}
#toolbar div.toolbar-menu ul li a {
padding: 0 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
#toolbar div.toolbar-menu ul li a:focus,
#toolbar div.toolbar-menu ul li a:hover,
#toolbar div.toolbar-menu ul li a:active,
#toolbar div.toolbar-menu ul li a.active:focus {
background: #444;
}
#toolbar div.toolbar-menu ul li a.active:hover,
#toolbar div.toolbar-menu ul li a.active:active,
#toolbar div.toolbar-menu ul li a.active,
#toolbar div.toolbar-menu ul li.active-trail a {
background: url(toolbar.png) 0 0 repeat-x;
text-shadow: #333 0 1px 0;
}
/**
* Collapsed drawer of additional toolbar content.
*/
#toolbar div.toolbar-drawer {
position: relative;
padding: 0 10px;
}
/**
* IE 6 Fix.
*
* IE 6 shows elements with position:fixed as position:static so we replace
* it with position:absolute; toolbar needs its z-index to stay above overlay.
*/
* html #toolbar {
left: -20px;
margin: 0;
padding-right: 0;
position: absolute;
right: 0;
width: 100%;
}
|