You are here

navbar.icons.css in Navbar 7

navbar.icons.css

Styling for navbar module icons.

File

css/navbar.icons.css
View source
  1. /**
  2. * @file navbar.icons.css
  3. *
  4. * Styling for navbar module icons.
  5. */
  6. #navbar-administration .navbar-icon {
  7. padding-left: 2.75em; /* LTR */
  8. position: relative;
  9. }
  10. #navbar-administration .navbar-icon:before {
  11. background-attachment: scroll;
  12. background-color: transparent;
  13. background-position: center center;
  14. background-repeat: no-repeat;
  15. background-size: 100% auto;
  16. content: '';
  17. display: block;
  18. height: 100%;
  19. left: 0.6667em; /* LTR */
  20. position: absolute;
  21. top: 0;
  22. width: 20px;
  23. }
  24. .no-svg #navbar-administration .navbar-icon:before {
  25. background-size: auto auto;
  26. }
  27. #navbar-administration button.navbar-icon {
  28. background-color: transparent;
  29. border: 0;
  30. font-size: 1em;
  31. }
  32. #navbar-administration .navbar-menu ul .navbar-icon {
  33. padding-left: 1.3333em; /* LTR */
  34. }
  35. #navbar-administration .navbar-menu ul a.navbar-icon:before {
  36. display: none;
  37. }
  38. #navbar-administration .navbar-tray-vertical .navbar-menu ul a {
  39. padding-left: 2.75em; /* LTR */
  40. }
  41. #navbar-administration .navbar-tray-vertical .navbar-menu ul ul a {
  42. padding-left: 3.75em; /* LTR */
  43. }
  44. #navbar-administration .navbar-tray-vertical .navbar-menu a {
  45. padding-left: 2.75em; /* LTR */
  46. padding-right: 4em; /* LTR */
  47. }
  48. /**
  49. * Top level icons.
  50. */
  51. .navbar-bar .navbar-icon-menu:before {
  52. background-image: url("../icons/bebebe/hamburger.svg");
  53. }
  54. .no-svg .navbar-bar .navbar-icon-menu:before {
  55. background-image: url("../icons/bebebe/hamburger.png");
  56. }
  57. .navbar-bar .navbar-icon-menu:active:before,
  58. .navbar-bar .navbar-icon-menu.navbar-active:before {
  59. background-image: url("../icons/ffffff/hamburger.svg");
  60. }
  61. .no-svg .navbar-bar .navbar-icon-menu:active:before,
  62. .no-svg .navbar-bar .navbar-icon-menu.navbar-active:before {
  63. background-image: url("../icons/ffffff/hamburger.png");
  64. }
  65. .navbar-bar .navbar-icon-help:before {
  66. background-image: url("../icons/bebebe/questionmark-disc.svg");
  67. }
  68. .no-svg .navbar-bar .navbar-icon-help:before {
  69. background-image: url("../icons/bebebe/questionmark-disc.png");
  70. }
  71. .navbar-bar .navbar-icon-help:active:before,
  72. .navbar-bar .navbar-icon-help.navbar-active:before {
  73. background-image: url("../icons/ffffff/questionmark-disc.svg");
  74. }
  75. .no-svg .navbar-bar .navbar-icon-help:active:before,
  76. .no-svg .navbar-bar .navbar-icon-help.navbar-active:before {
  77. background-image: url("../icons/ffffff/questionmark-disc.png");
  78. }
  79. #navbar-administration .navbar-bar .navbar-icon.element-hidden {
  80. display: none;
  81. }
  82. /**
  83. * Shortcut icon.
  84. */
  85. .navbar-bar .navbar-icon-shortcut:before {
  86. background-image: url("../icons/bebebe/star.svg");
  87. }
  88. .no-svg .navbar-bar .navbar-icon-shortcut:before {
  89. background-image: url("../icons/bebebe/star.png");
  90. }
  91. .navbar-bar .navbar-icon-shortcut:active:before,
  92. .navbar-bar .navbar-icon-shortcut.navbar-active:before {
  93. background-image: url("../icons/ffffff/star.svg");
  94. }
  95. .no-svg .navbar-bar .navbar-icon-shortcut:active:before,
  96. .no-svg .navbar-bar .navbar-icon-shortcut.navbar-active:before {
  97. background-image: url("../icons/ffffff/star.png");
  98. }
  99. /**
  100. * User icon.
  101. */
  102. .navbar-bar .navbar-icon-user:before {
  103. background-image: url("../icons/bebebe/person.svg");
  104. }
  105. .no-svg .navbar-bar .navbar-icon-user:before {
  106. background-image: url("../icons/bebebe/person.png");
  107. }
  108. .navbar-bar .navbar-icon-user:active:before,
  109. .navbar-bar .navbar-icon-user.navbar-active:before {
  110. background-image: url("../icons/ffffff/person.svg");
  111. }
  112. .no-svg .navbar-bar .navbar-icon-user:active:before,
  113. .no-svg .navbar-bar .navbar-icon-user.navbar-active:before {
  114. background-image: url("../icons/ffffff/person.png");
  115. }
  116. /**
  117. * Main menu icons.
  118. */
  119. .navbar-icon-dashboard:before {
  120. background-image: url("../icons/787878/dashboard.svg");
  121. }
  122. .no-svg .navbar-icon-dashboard:before {
  123. background-image: url("../icons/787878/dashboard.png");
  124. }
  125. .navbar-icon-dashboard:active:before,
  126. .navbar-icon-dashboard.navbar-active:before {
  127. background-image: url("../icons/000000/dashboard.svg");
  128. }
  129. .no-svg .navbar-icon-dashboard:active:before,
  130. .no-svg .navbar-icon-dashboard.navbar-active:before {
  131. background-image: url("../icons/000000/dashboard.png");
  132. }
  133. .navbar-icon-content:before {
  134. background-image: url("../icons/787878/file.svg");
  135. }
  136. .no-svg .navbar-icon-content:before {
  137. background-image: url("../icons/787878/file.png");
  138. }
  139. .navbar-icon-content:active:before,
  140. .navbar-icon-content.navbar-active:before {
  141. background-image: url("../icons/000000/file.svg");
  142. }
  143. .no-svg .navbar-icon-content:active:before,
  144. .no-svg .navbar-icon-content.navbar-active:before {
  145. background-image: url("../icons/000000/file.png");
  146. }
  147. .navbar-icon-structure:before {
  148. background-image: url("../icons/787878/orgchart.svg");
  149. }
  150. .no-svg .navbar-icon-structure:before {
  151. background-image: url("../icons/787878/orgchart.png");
  152. }
  153. .navbar-icon-structure:active:before,
  154. .navbar-icon-structure.navbar-active:before {
  155. background-image: url("../icons/000000/orgchart.svg");
  156. }
  157. .no-svg .navbar-icon-structure:active:before,
  158. .no-svg .navbar-icon-structure.navbar-active:before {
  159. background-image: url("../icons/000000/orgchart.png");
  160. }
  161. .navbar-icon-appearance:before {
  162. background-image: url("../icons/787878/paintbrush.svg");
  163. }
  164. .no-svg .navbar-icon-appearance:before {
  165. background-image: url("../icons/787878/paintbrush.png");
  166. }
  167. .navbar-icon-appearance:active:before,
  168. .navbar-icon-appearance.navbar-active:before {
  169. background-image: url("../icons/000000/paintbrush.svg");
  170. }
  171. .no-svg .navbar-icon-appearance:active:before,
  172. .no-svg .navbar-icon-appearance.navbar-active:before {
  173. background-image: url("../icons/000000/paintbrush.png");
  174. }
  175. .navbar-icon-people:before {
  176. background-image: url("../icons/787878/people.svg");
  177. }
  178. .no-svg .navbar-icon-people:before {
  179. background-image: url("../icons/787878/people.png");
  180. }
  181. .navbar-icon-people:active:before,
  182. .navbar-icon-people.navbar-active:before {
  183. background-image: url("../icons/000000/people.svg");
  184. }
  185. .no-svg .navbar-icon-people:active:before,
  186. .no-svg .navbar-icon-people.navbar-active:before {
  187. background-image: url("../icons/000000/people.png");
  188. }
  189. .navbar-icon-modules:before {
  190. background-image: url("../icons/787878/puzzlepiece.svg");
  191. }
  192. .no-svg .navbar-icon-modules:before {
  193. background-image: url("../icons/787878/puzzlepiece.png");
  194. }
  195. .navbar-icon-modules:active:before,
  196. .navbar-icon-modules.navbar-active:before {
  197. background-image: url("../icons/000000/puzzlepiece.svg");
  198. }
  199. .no-svg .navbar-icon-modules:active:before,
  200. .no-svg .navbar-icon-modules.navbar-active:before {
  201. background-image: url("../icons/000000/puzzlepiece.png");
  202. }
  203. .navbar-icon-configuration:before {
  204. background-image: url("../icons/787878/wrench.svg");
  205. }
  206. .no-svg .navbar-icon-configuration:before {
  207. background-image: url("../icons/787878/wrench.png");
  208. }
  209. .navbar-icon-configuration:active:before,
  210. .navbar-icon-configuration.navbar-active:before {
  211. background-image: url("../icons/000000/wrench.svg");
  212. }
  213. .no-svg .navbar-icon-configuration:active:before,
  214. .no-svg .navbar-icon-configuration.navbar-active:before {
  215. background-image: url("../icons/000000/wrench.png");
  216. }
  217. .navbar-icon-reports:before {
  218. background-image: url("../icons/787878/barchart.svg");
  219. }
  220. .no-svg .navbar-icon-reports:before {
  221. background-image: url("../icons/787878/barchart.png");
  222. }
  223. .navbar-icon-reports:active:before,
  224. .navbar-icon-reports.navbar-active:before {
  225. background-image: url("../icons/000000/barchart.svg");
  226. }
  227. .no-svg .navbar-icon-reports:active:before,
  228. .no-svg .navbar-icon-reports.navbar-active:before {
  229. background-image: url("../icons/000000/barchart.png");
  230. }
  231. .navbar-icon-help:before {
  232. background-image: url("../icons/787878/questionmark-disc.svg");
  233. }
  234. .no-svg .navbar-icon-help:before {
  235. background-image: url("../icons/787878/questionmark-disc.png");
  236. }
  237. .navbar-icon-help:active:before,
  238. .navbar-icon-help.navbar-active:before {
  239. background-image: url("../icons/000000/questionmark-disc.svg");
  240. }
  241. .no-svg .navbar-icon-help:active:before,
  242. .no-svg .navbar-icon-help.navbar-active:before {
  243. background-image: url("../icons/000000/questionmark-disc.png");
  244. }
  245. @media only screen and (min-width: 16.5em) {
  246. #navbar-administration .navbar-bar .navbar-icon {
  247. margin-left: 0;
  248. margin-right: 0;
  249. padding-left: 0;
  250. padding-right: 0;
  251. text-indent: -9999px;
  252. width: 4em;
  253. }
  254. #navbar-administration .navbar-bar .navbar-icon:before {
  255. background-size: 42% auto;
  256. left: 0; /* LTR */
  257. width: 100%;
  258. }
  259. .no-svg #navbar-administration .navbar-bar .navbar-icon:before {
  260. background-size: auto auto;
  261. }
  262. }
  263. @media only screen and (min-width: 36em) {
  264. #navbar-administration .navbar-bar .navbar-icon {
  265. background-position: left center; /* LTR */
  266. padding-left: 2.75em; /* LTR */
  267. padding-right: 1.3333em; /* LTR */
  268. text-indent: 0;
  269. width: auto;
  270. }
  271. #navbar-administration .navbar-bar .navbar-icon:before {
  272. background-size: 100% auto;
  273. left: 0.6667em; /* LTR */
  274. width: 20px;
  275. }
  276. .no-svg #navbar-administration .navbar-bar .navbar-icon:before {
  277. background-size: auto auto;
  278. }
  279. }
  280. /**
  281. * Accessibility/focus
  282. */
  283. #navbar-administration .navbar-tab a {
  284. border-left: 2px solid transparent; /* LTR */
  285. }
  286. #navbar-administration .navbar-tab a:focus {
  287. outline: none;
  288. border-color: #ddd;
  289. }
  290. #navbar-administration .navbar-lining button:focus {
  291. outline: none;
  292. }
  293. #navbar-administration .navbar-tray-horizontal a,
  294. #navbar-administration .navbar-box a {
  295. border-left: 2px solid transparent; /* LTR */
  296. }
  297. #navbar-administration .navbar-tray-horizontal a:focus,
  298. #navbar-administration .navbar-box a:focus {
  299. outline: none;
  300. border-color: #4479C0;
  301. background-color: #f5f5f5;
  302. text-decoration: none;
  303. }
  304. #navbar-administration .navbar-box a:hover:focus {
  305. text-decoration: underline;
  306. }
  307. #navbar-administration .navbar-icon.navbar-handle:focus {
  308. outline: none;
  309. background-color: #f5f5f5;
  310. }
  311. /**
  312. * Handle.
  313. */
  314. #navbar-administration .navbar-icon.navbar-handle {
  315. width: 4em;
  316. text-indent: -9999px;
  317. }
  318. #navbar-administration .navbar-icon.navbar-handle:before {
  319. left: 1.6667em; /* LTR */
  320. }
  321. .no-svg #navbar-administration .navbar-icon.navbar-handle:before {
  322. left: 1.6667em; /* LTR */
  323. }
  324. #navbar-administration .navbar-icon.navbar-handle:before {
  325. background-image: url("../icons/5181c6/chevron-disc-down.svg");
  326. }
  327. .no-svg #navbar-administration .navbar-icon.navbar-handle:before {
  328. background-image: url("../icons/5181c6/chevron-disc-down.png");
  329. }
  330. #navbar-administration .navbar-icon.navbar-handle.open:before {
  331. background-image: url("../icons/787878/chevron-disc-up.svg");
  332. }
  333. .no-svg #navbar-administration .navbar-icon.navbar-handle.open:before {
  334. background-image: url("../icons/787878/chevron-disc-up.png");
  335. }
  336. #navbar-administration .navbar-menu .navbar-menu .navbar-icon.navbar-handle:before {
  337. background-image: url("../icons/5181c6/twistie-down.svg");
  338. background-size: 75%;
  339. }
  340. .no-svg #navbar-administration .navbar-menu .navbar-menu .navbar-icon.navbar-handle:before {
  341. background-image: url("../icons/5181c6/twistie-down.png");
  342. background-size: auto auto;
  343. }
  344. #navbar-administration .navbar-menu .navbar-menu .navbar-icon.navbar-handle.open:before {
  345. background-image: url("../icons/787878/twistie-up.svg");
  346. background-size: 75%;
  347. }
  348. .no-svg #navbar-administration .navbar-menu .navbar-menu .navbar-icon.navbar-handle.open:before {
  349. background-image: url("../icons/787878/twistie-up.png");
  350. background-size: auto auto;
  351. }
  352. #navbar-administration .navbar-icon-escape-admin:before {
  353. background-image: url(../icons/bebebe/chevron-disc-left.svg);
  354. }
  355. .no-svg #navbar-administration .navbar-icon-escape-admin:before {
  356. background-image: url(../icons/bebebe/chevron-disc-left.png);
  357. }
  358. /**
  359. * Orientation toggle.
  360. */
  361. #navbar-administration .navbar-toggle-orientation button {
  362. height: 16px;
  363. padding: 0;
  364. text-indent: -999em;
  365. width: 20px;
  366. }
  367. #navbar-administration .navbar-toggle-orientation button:before {
  368. left: 0; /* LTR */
  369. }
  370. /**
  371. * In order to support a hover effect on the SVG images, while also supporting
  372. * RTL text direction and no SVG support, this little icon requires some very
  373. * specific targeting, setting and unsetting.
  374. */
  375. #navbar-administration .navbar-toggle-orientation [value="vertical"]:before {
  376. background-image: url("../icons/bebebe/push-left.svg"); /* LTR */
  377. }
  378. #navbar-administration .navbar-toggle-orientation [value="vertical"]:hover:before {
  379. background-image: url("../icons/787878/push-left.svg"); /* LTR */
  380. }
  381. .no-svg #navbar-administration .navbar-toggle-orientation [value="vertical"]:before {
  382. background-image: url("../icons/bebebe/push-left.png"); /* LTR */
  383. }
  384. .no-svg #navbar-administration .navbar-toggle-orientation [value="vertical"]:hover:before {
  385. background-image: url("../icons/787878/push-left.png"); /* LTR */
  386. }
  387. #navbar-administration .navbar-toggle-orientation [value="horizontal"]:before {
  388. background-image: url("../icons/bebebe/push-up.svg");
  389. }
  390. #navbar-administration .navbar-toggle-orientation [value="horizontal"]:hover:before {
  391. background-image: url("../icons/787878/push-up.svg");
  392. }
  393. .no-svg #navbar-administration .navbar-toggle-orientation [value="horizontal"]:before {
  394. background-image: url("../icons/bebebe/push-up.png");
  395. }
  396. .no-svg #navbar-administration .navbar-toggle-orientation [value="horizontal"]:hover:before {
  397. background-image: url("../icons/787878/push-up.png");
  398. }