You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

944 lines
19 KiB

  1. #adminmenuback,
  2. #adminmenuwrap,
  3. #adminmenu,
  4. #adminmenu .wp-submenu {
  5. width: 160px;
  6. background-color: #23282d;
  7. }
  8. #adminmenuback {
  9. position: fixed;
  10. top: 0;
  11. bottom: -120px;
  12. z-index: 1; /* positive z-index to avoid elastic scrolling woes in Safari */
  13. }
  14. #adminmenu {
  15. clear: right;
  16. margin: 12px 0;
  17. padding: 0;
  18. list-style: none;
  19. }
  20. .folded #adminmenuback,
  21. .folded #adminmenuwrap,
  22. .folded #adminmenu,
  23. .folded #adminmenu li.menu-top {
  24. width: 36px;
  25. }
  26. .icon16 {
  27. height: 18px;
  28. width: 18px;
  29. padding: 6px 6px;
  30. margin: -6px -8px 0 0;
  31. float: right;
  32. }
  33. /* New Menu icons */
  34. .icon16:before {
  35. color: #82878c; /* same as new icons */
  36. font: normal 20px/1 dashicons;
  37. speak: none;
  38. padding: 6px 0;
  39. height: 34px;
  40. width: 20px;
  41. display: inline-block;
  42. -webkit-font-smoothing: antialiased;
  43. -moz-osx-font-smoothing: grayscale;
  44. -webkit-transition: all .1s ease-in-out;
  45. transition: all .1s ease-in-out;
  46. }
  47. .icon16.icon-dashboard:before {
  48. content: "\f226";
  49. }
  50. .icon16.icon-post:before {
  51. content: "\f109";
  52. }
  53. .icon16.icon-media:before {
  54. content: "\f104";
  55. }
  56. .icon16.icon-links:before {
  57. content: "\f103";
  58. }
  59. .icon16.icon-page:before {
  60. content: "\f105";
  61. }
  62. .icon16.icon-comments:before {
  63. content: "\f101";
  64. margin-top: 1px;
  65. }
  66. .icon16.icon-appearance:before {
  67. content: "\f100";
  68. }
  69. .icon16.icon-plugins:before {
  70. content: "\f106";
  71. }
  72. .icon16.icon-users:before {
  73. content: "\f110";
  74. }
  75. .icon16.icon-tools:before {
  76. content: "\f107";
  77. }
  78. .icon16.icon-settings:before {
  79. content: "\f108";
  80. }
  81. .icon16.icon-site:before {
  82. content: "\f541";
  83. }
  84. .icon16.icon-generic:before {
  85. content: "\f111";
  86. }
  87. /* hide background-image for icons above */
  88. .icon16.icon-dashboard,
  89. .menu-icon-dashboard div.wp-menu-image,
  90. .icon16.icon-post,
  91. .menu-icon-post div.wp-menu-image,
  92. .icon16.icon-media,
  93. .menu-icon-media div.wp-menu-image,
  94. .icon16.icon-links,
  95. .menu-icon-links div.wp-menu-image,
  96. .icon16.icon-page,
  97. .menu-icon-page div.wp-menu-image,
  98. .icon16.icon-comments,
  99. .menu-icon-comments div.wp-menu-image,
  100. .icon16.icon-appearance,
  101. .menu-icon-appearance div.wp-menu-image,
  102. .icon16.icon-plugins,
  103. .menu-icon-plugins div.wp-menu-image,
  104. .icon16.icon-users,
  105. .menu-icon-users div.wp-menu-image,
  106. .icon16.icon-tools,
  107. .menu-icon-tools div.wp-menu-image,
  108. .icon16.icon-settings,
  109. .menu-icon-settings div.wp-menu-image,
  110. .icon16.icon-site,
  111. .menu-icon-site div.wp-menu-image,
  112. .icon16.icon-generic,
  113. .menu-icon-generic div.wp-menu-image {
  114. background-image: none !important;
  115. }
  116. /*------------------------------------------------------------------------------
  117. 7.0 - Main Navigation (Left Menu)
  118. ------------------------------------------------------------------------------*/
  119. #adminmenuwrap {
  120. position: relative;
  121. float: right;
  122. z-index: 9990;
  123. }
  124. /* side admin menu */
  125. #adminmenu * {
  126. -webkit-user-select: none;
  127. -moz-user-select: none;
  128. -ms-user-select: none;
  129. user-select: none;
  130. }
  131. #adminmenu li {
  132. margin: 0;
  133. padding: 0;
  134. cursor: pointer;
  135. }
  136. #adminmenu a {
  137. display: block;
  138. line-height: 18px;
  139. padding: 2px 5px;
  140. color: #eee;
  141. }
  142. #adminmenu .wp-submenu a {
  143. color: #b4b9be;
  144. color: rgba(240,245,250,0.7);
  145. }
  146. #adminmenu .wp-submenu a:hover,
  147. #adminmenu .wp-submenu a:focus {
  148. background: none;
  149. }
  150. #adminmenu a:hover,
  151. #adminmenu li.menu-top > a:focus,
  152. #adminmenu .wp-submenu a:hover,
  153. #adminmenu .wp-submenu a:focus {
  154. color: #00b9eb;
  155. }
  156. #adminmenu li.menu-top {
  157. border: none;
  158. min-height: 34px;
  159. position: relative;
  160. }
  161. #adminmenu .wp-submenu {
  162. list-style: none;
  163. position: absolute;
  164. top: -1000em;
  165. right: 160px;
  166. overflow: visible;
  167. word-wrap: break-word;
  168. }
  169. #adminmenu .wp-submenu,
  170. .folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
  171. .folded #adminmenu .wp-has-current-submenu .wp-submenu {
  172. padding: 7px 0 8px;
  173. z-index: 9999;
  174. background-color: #32373c;
  175. -webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2);
  176. box-shadow: 0 3px 5px rgba(0,0,0,0.2);
  177. }
  178. .js #adminmenu .sub-open,
  179. .js #adminmenu .opensub .wp-submenu,
  180. #adminmenu a.menu-top:focus + .wp-submenu,
  181. .no-js li.wp-has-submenu:hover .wp-submenu {
  182. top: -1px;
  183. }
  184. #adminmenu .wp-has-current-submenu .wp-submenu,
  185. .no-js li.wp-has-current-submenu:hover .wp-submenu,
  186. #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
  187. #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
  188. #adminmenu .wp-has-current-submenu.opensub .wp-submenu {
  189. position: relative;
  190. z-index: 3;
  191. top: auto;
  192. right: auto;
  193. left: auto;
  194. bottom: auto;
  195. border: 0 none;
  196. margin-top: 0;
  197. -webkit-box-shadow: none;
  198. box-shadow: none;
  199. background-color: #32373c;
  200. }
  201. /* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */
  202. #adminmenu li.menu-top:hover,
  203. #adminmenu li.opensub > a.menu-top,
  204. #adminmenu li > a.menu-top:focus {
  205. position: relative;
  206. background-color: #191e23;
  207. color: #00b9eb;
  208. }
  209. .folded #adminmenu li.menu-top:hover,
  210. .folded #adminmenu li.opensub > a.menu-top,
  211. .folded #adminmenu li > a.menu-top:focus {
  212. z-index: 10000;
  213. }
  214. #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
  215. #adminmenu li.current a.menu-top,
  216. .folded #adminmenu li.wp-has-current-submenu,
  217. .folded #adminmenu li.current.menu-top,
  218. #adminmenu .wp-menu-arrow,
  219. #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,
  220. #adminmenu .wp-menu-arrow div {
  221. background: #0073aa;
  222. color: #fff;
  223. }
  224. .folded #adminmenu .wp-submenu.sub-open,
  225. .folded #adminmenu .opensub .wp-submenu,
  226. .folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
  227. .folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu,
  228. .folded #adminmenu a.menu-top:focus + .wp-submenu,
  229. .folded #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu,
  230. .no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu {
  231. top: 0;
  232. right: 36px;
  233. }
  234. .folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
  235. .folded #adminmenu .wp-has-current-submenu .wp-submenu {
  236. position: absolute;
  237. top: -1000em;
  238. }
  239. #adminmenu .wp-not-current-submenu .wp-submenu,
  240. .folded #adminmenu .wp-has-current-submenu .wp-submenu {
  241. min-width: 160px;
  242. width: auto;
  243. }
  244. #adminmenu .wp-submenu a {
  245. font-size: 13px;
  246. line-height: 1.2;
  247. margin: 0;
  248. padding: 6px 0;
  249. }
  250. #adminmenu .wp-submenu li.current,
  251. #adminmenu .wp-submenu li.current a,
  252. #adminmenu .opensub .wp-submenu li.current a,
  253. #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a,
  254. #adminmenu .wp-submenu li.current a:hover,
  255. #adminmenu .wp-submenu li.current a:focus {
  256. color: #fff;
  257. }
  258. #adminmenu .wp-not-current-submenu li > a,
  259. .folded #adminmenu .wp-has-current-submenu li > a {
  260. padding-left: 16px;
  261. padding-right: 14px;
  262. -webkit-transition: all .1s ease-in-out;
  263. transition: all .1s ease-in-out;
  264. }
  265. #adminmenu .wp-has-current-submenu ul > li > a,
  266. .folded #adminmenu li.menu-top .wp-submenu > li > a {
  267. padding: 6px 12px;
  268. }
  269. #adminmenu a.menu-top,
  270. #adminmenu .wp-submenu-head {
  271. font-size: 14px;
  272. font-weight: 400;
  273. line-height: 18px;
  274. padding: 0;
  275. }
  276. #adminmenu .wp-submenu-head {
  277. display: none;
  278. }
  279. .folded #adminmenu .wp-menu-name {
  280. position: absolute;
  281. right: -999px;
  282. }
  283. .folded #adminmenu .wp-submenu-head {
  284. display: block;
  285. }
  286. #adminmenu .wp-submenu li {
  287. padding: 0;
  288. margin: 0;
  289. overflow: hidden;
  290. }
  291. #adminmenu .wp-menu-image img {
  292. padding: 9px 0 0 0;
  293. opacity: 0.6;
  294. filter: alpha(opacity=60);
  295. }
  296. #adminmenu div.wp-menu-name {
  297. padding: 8px 0;
  298. }
  299. #adminmenu div.wp-menu-image {
  300. float: right;
  301. width: 36px;
  302. height: 34px;
  303. margin: 0;
  304. text-align: center;
  305. }
  306. #adminmenu div.wp-menu-image.svg {
  307. background-repeat: no-repeat;
  308. background-position: center;
  309. -webkit-background-size: 20px auto;
  310. background-size: 20px auto;
  311. }
  312. div.wp-menu-image:before {
  313. color: #a0a5aa;
  314. color: rgba(240,245,250,0.6);
  315. padding: 7px 0;
  316. -webkit-transition: all .1s ease-in-out;
  317. transition: all .1s ease-in-out;
  318. }
  319. #adminmenu div.wp-menu-image:before {
  320. color: #a0a5aa;
  321. color: rgba(240,245,250,0.6);
  322. }
  323. #adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before,
  324. #adminmenu .wp-has-current-submenu div.wp-menu-image:before,
  325. #adminmenu .current div.wp-menu-image:before,
  326. #adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,
  327. #adminmenu a.current:hover div.wp-menu-image:before,
  328. #adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
  329. #adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before {
  330. color: #fff;
  331. }
  332. #adminmenu li:hover div.wp-menu-image:before,
  333. #adminmenu li a:focus div.wp-menu-image:before,
  334. #adminmenu li.opensub div.wp-menu-image:before {
  335. color: #00b9eb;
  336. }
  337. /* IE8 doesn't redraw the pseudo elements unless you make a change to the content, this restore the initial color after hover */
  338. .ie8 #adminmenu li.opensub div.wp-menu-image:before {
  339. color: #a0a5aa;
  340. }
  341. .folded #adminmenu div.wp-menu-image {
  342. width: 35px;
  343. height: 30px;
  344. position: absolute;
  345. z-index: 25;
  346. }
  347. .folded #adminmenu a.menu-top {
  348. height: 34px;
  349. }
  350. /* No @font-face support */
  351. .no-font-face #adminmenu .wp-menu-image {
  352. display: none;
  353. }
  354. .no-font-face #adminmenu div.wp-menu-name {
  355. padding: 8px 12px;
  356. }
  357. .no-font-face.auto-fold #adminmenu .wp-menu-name {
  358. margin-right: 0;
  359. }
  360. /* End no @font-face support */
  361. /* Sticky admin menu */
  362. .sticky-menu #adminmenuwrap {
  363. position: fixed;
  364. }
  365. /* A new arrow */
  366. .wp-menu-arrow {
  367. display: none !important;
  368. }
  369. ul#adminmenu a.wp-has-current-submenu {
  370. position: relative;
  371. }
  372. ul#adminmenu a.wp-has-current-submenu:after,
  373. ul#adminmenu > li.current > a.current:after {
  374. left: 0;
  375. border: solid 8px transparent;
  376. content: " ";
  377. height: 0;
  378. width: 0;
  379. position: absolute;
  380. pointer-events: none;
  381. border-left-color: #f1f1f1;
  382. top: 50%;
  383. margin-top: -8px;
  384. }
  385. .folded ul#adminmenu li:hover a.wp-has-current-submenu:after {
  386. display: none;
  387. }
  388. .folded ul#adminmenu a.wp-has-current-submenu:after,
  389. .folded ul#adminmenu > li a.current:after {
  390. border-width: 4px;
  391. margin-top: -4px;
  392. }
  393. /* flyout menu arrow */
  394. #adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
  395. left: 0;
  396. border: solid transparent;
  397. content: " ";
  398. height: 0;
  399. width: 0;
  400. position: absolute;
  401. pointer-events: none;
  402. border-width: 8px;
  403. top: 10px;
  404. z-index: 10000;
  405. }
  406. .folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
  407. border-width: 4px;
  408. margin-top: -4px;
  409. top: 18px;
  410. }
  411. #adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
  412. border-left-color: #32373c;
  413. }
  414. #adminmenu li.menu-top:hover .wp-menu-image img,
  415. #adminmenu li.wp-has-current-submenu .wp-menu-image img {
  416. opacity: 1;
  417. filter: alpha(opacity=100);
  418. }
  419. #adminmenu li.wp-menu-separator {
  420. height: 5px;
  421. padding: 0;
  422. margin: 0 0 6px 0;
  423. cursor: inherit;
  424. }
  425. /* @todo: is this even needed given that it's nested beneath the above li.wp-menu-separator? */
  426. #adminmenu div.separator {
  427. height: 2px;
  428. padding: 0;
  429. }
  430. #adminmenu .wp-submenu .wp-submenu-head {
  431. color: #fff;
  432. font-weight: 400;
  433. font-size: 14px;
  434. padding: 8px 11px 8px 4px;
  435. margin: -7px 0px 4px;
  436. }
  437. #adminmenu li.current,
  438. .folded #adminmenu li.wp-menu-open {
  439. border: 0 none;
  440. }
  441. #adminmenu .awaiting-mod,
  442. #adminmenu .update-plugins {
  443. display: inline-block;
  444. background-color: #d54e21;
  445. color: #fff;
  446. font-size: 9px;
  447. line-height: 17px;
  448. font-weight: 600;
  449. margin: 1px 2px 0 0;
  450. vertical-align: top;
  451. -webkit-border-radius: 10px;
  452. border-radius: 10px;
  453. z-index: 26;
  454. }
  455. #adminmenu li .awaiting-mod span,
  456. #adminmenu li span.update-plugins span {
  457. display: block;
  458. padding: 0 6px;
  459. }
  460. #adminmenu li.current a .awaiting-mod,
  461. #adminmenu li a.wp-has-current-submenu .update-plugins {
  462. background-color: #00b9eb;
  463. color: #fff;
  464. }
  465. #adminmenu li span.count-0 {
  466. display: none;
  467. }
  468. #collapse-button {
  469. display: block;
  470. width: 100%;
  471. height: 34px;
  472. margin: 0;
  473. border: none;
  474. padding: 0;
  475. position: relative;
  476. overflow: visible;
  477. line-height: 34px;
  478. background: none;
  479. color: #aaa;
  480. cursor: pointer;
  481. outline: 0;
  482. }
  483. #collapse-button:hover,
  484. #collapse-button:focus {
  485. color: #00b9eb;
  486. }
  487. #collapse-button .collapse-button-icon,
  488. #collapse-button .collapse-button-label {
  489. /* absolutely positioned to avoid 1px shift in IE when button is pressed */
  490. display: block;
  491. position: absolute;
  492. top: 0;
  493. right: 0;
  494. line-height: 34px;
  495. }
  496. #collapse-button .collapse-button-icon {
  497. width: 36px;
  498. height: 34px;
  499. }
  500. #collapse-button .collapse-button-label {
  501. padding: 0 36px 0 0;
  502. }
  503. .folded #collapse-button .collapse-button-label {
  504. display: none;
  505. }
  506. #collapse-button .collapse-button-icon:after {
  507. content: "\f148";
  508. display: block;
  509. position: relative;
  510. top: 7px;
  511. text-align: center;
  512. font: normal 20px/1 dashicons !important;
  513. speak: none;
  514. -webkit-font-smoothing: antialiased;
  515. -moz-osx-font-smoothing: grayscale;
  516. }
  517. /* rtl:ignore */
  518. .folded #collapse-button .collapse-button-icon:after,
  519. .rtl #collapse-button .collapse-button-icon:after {
  520. -webkit-transform: rotate(180deg);
  521. -ms-transform: rotate(180deg);
  522. transform: rotate(180deg);
  523. }
  524. .rtl.folded #collapse-button .collapse-button-icon:after {
  525. -webkit-transform: none;
  526. -ms-transform: none;
  527. transform: none;
  528. }
  529. #collapse-button .collapse-button-icon:after,
  530. #collapse-button .collapse-button-label {
  531. -webkit-transition: all .1s ease-in-out;
  532. transition: all .1s ease-in-out;
  533. }
  534. /**
  535. * Toolbar menu toggle
  536. */
  537. li#wp-admin-bar-menu-toggle {
  538. display: none;
  539. }
  540. /* Hide-if-customize for items we can't add classes to */
  541. .customize-support #menu-appearance a[href="themes.php?page=custom-header"],
  542. .customize-support #menu-appearance a[href="themes.php?page=custom-background"] {
  543. display: none;
  544. }
  545. /* Auto-folding of the admin menu */
  546. @media only screen and (max-width: 960px) {
  547. .auto-fold #wpcontent,
  548. .auto-fold #wpfooter {
  549. margin-right: 36px;
  550. }
  551. .auto-fold #adminmenuback,
  552. .auto-fold #adminmenuwrap,
  553. .auto-fold #adminmenu,
  554. .auto-fold #adminmenu li.menu-top {
  555. width: 36px;
  556. }
  557. .auto-fold #adminmenu .wp-submenu.sub-open,
  558. .auto-fold #adminmenu .opensub .wp-submenu,
  559. .auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
  560. .auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu,
  561. .auto-fold #adminmenu a.menu-top:focus + .wp-submenu,
  562. .auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu {
  563. top: 0px;
  564. right: 36px;
  565. }
  566. .auto-fold #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
  567. .auto-fold #adminmenu .wp-has-current-submenu .wp-submenu {
  568. position: absolute;
  569. top: -1000em;
  570. margin-left: -1px;
  571. padding: 7px 0 8px;
  572. z-index: 9999;
  573. }
  574. .auto-fold #adminmenu .wp-has-current-submenu .wp-submenu {
  575. min-width: 150px;
  576. width: auto;
  577. }
  578. .auto-fold #adminmenu .wp-has-current-submenu li > a {
  579. padding-left: 16px;
  580. padding-right: 14px;
  581. }
  582. .auto-fold #adminmenu li.menu-top .wp-submenu > li > a {
  583. padding-right: 12px;
  584. }
  585. .auto-fold #adminmenu .wp-menu-name {
  586. position: absolute;
  587. right: -999px;
  588. }
  589. .auto-fold #adminmenu .wp-submenu-head {
  590. display: block;
  591. }
  592. .auto-fold #adminmenu div.wp-menu-image {
  593. height: 30px;
  594. width: 34px;
  595. position: absolute;
  596. z-index: 25;
  597. }
  598. .auto-fold #adminmenu a.menu-top {
  599. height: 34px;
  600. }
  601. .auto-fold #adminmenu li.wp-menu-open {
  602. border: 0 none;
  603. }
  604. .auto-fold #adminmenu .wp-has-current-submenu.menu-top-last {
  605. margin-bottom: 0;
  606. }
  607. .auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after {
  608. display: none;
  609. }
  610. .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
  611. border-width: 4px;
  612. margin-top: -4px;
  613. top: 16px;
  614. }
  615. .auto-fold ul#adminmenu a.wp-has-current-submenu:after,
  616. .auto-fold ul#adminmenu > li a.current:after {
  617. border-width: 4px;
  618. margin-top: -4px;
  619. }
  620. .auto-fold #adminmenu li.menu-top:hover,
  621. .auto-fold #adminmenu li.opensub > a.menu-top,
  622. .auto-fold #adminmenu li > a.menu-top:focus {
  623. z-index: 10000;
  624. }
  625. .auto-fold #collapse-menu .collapse-button-label {
  626. display: none;
  627. }
  628. /* rtl:ignore */
  629. .auto-fold #collapse-button .collapse-button-icon:after {
  630. -webkit-transform: rotate(180deg);
  631. -ms-transform: rotate(180deg);
  632. transform: rotate(180deg);
  633. }
  634. .rtl.auto-fold #collapse-button .collapse-button-icon:after {
  635. -webkit-transform: none;
  636. -ms-transform: none;
  637. transform: none;
  638. }
  639. }
  640. @media screen and ( max-width: 782px ) {
  641. .auto-fold #wpcontent {
  642. position: relative;
  643. margin-right: 0;
  644. padding-right: 10px;
  645. }
  646. .sticky-menu #adminmenuwrap {
  647. position: relative;
  648. z-index: auto;
  649. top: 0;
  650. }
  651. /* Sidebar Adjustments */
  652. .auto-fold #adminmenu,
  653. .auto-fold #adminmenuback,
  654. .auto-fold #adminmenuwrap {
  655. position: absolute;
  656. width: 190px;
  657. z-index: 100;
  658. }
  659. .auto-fold #adminmenuback,
  660. .auto-fold #adminmenuwrap {
  661. display: none;
  662. }
  663. .auto-fold .wp-responsive-open #adminmenuback,
  664. .auto-fold .wp-responsive-open #adminmenuwrap {
  665. display: block;
  666. }
  667. .auto-fold #adminmenu li.menu-top {
  668. width: 100%;
  669. }
  670. /* Resize the admin menu items to a comfortable touch size */
  671. .auto-fold #adminmenu li a {
  672. font-size: 16px;
  673. padding: 5px;
  674. }
  675. .auto-fold #adminmenu li.menu-top .wp-submenu > li > a {
  676. padding: 10px 20px 10px 10px;
  677. }
  678. /* Restore the menu names */
  679. .auto-fold #adminmenu .wp-menu-name {
  680. position: static;
  681. margin-right: 35px;
  682. }
  683. /* Switch the arrow side */
  684. .auto-fold ul#adminmenu a.wp-has-current-submenu:after,
  685. .auto-fold ul#adminmenu > li.current > a.current:after {
  686. border-width: 8px;
  687. margin-top: -8px;
  688. }
  689. .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
  690. display: none;
  691. }
  692. /* Make the submenus appear correctly when tapped. */
  693. #adminmenu .wp-submenu {
  694. position: relative;
  695. display: none;
  696. }
  697. .auto-fold #adminmenu .selected .wp-submenu,
  698. .auto-fold #adminmenu .wp-menu-open .wp-submenu {
  699. position: relative;
  700. display: block;
  701. top: 0;
  702. right: -1px;
  703. -webkit-box-shadow: none;
  704. box-shadow: none;
  705. }
  706. .auto-fold #adminmenu .selected .wp-submenu:after,
  707. .auto-fold #adminmenu .wp-menu-open .wp-submenu:after {
  708. display: none;
  709. }
  710. .auto-fold #adminmenu .opensub .wp-submenu {
  711. display: none;
  712. }
  713. .auto-fold #adminmenu .selected .wp-submenu {
  714. display: block;
  715. }
  716. .auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after {
  717. display: block;
  718. }
  719. .auto-fold #adminmenu a.menu-top:focus + .wp-submenu,
  720. .auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu {
  721. position: relative;
  722. right: -1px;
  723. left: 0;
  724. top: 0;
  725. }
  726. /* Remove submenu headers and adjust sub meu*/
  727. #adminmenu .wp-submenu .wp-submenu-head {
  728. display: none;
  729. }
  730. /* Toolbar menu toggle */
  731. #wp-responsive-toggle {
  732. position: fixed;
  733. top: 5px;
  734. right: 4px;
  735. padding-left: 10px;
  736. z-index: 99999;
  737. border: none;
  738. -webkit-box-sizing: border-box;
  739. -moz-box-sizing: border-box;
  740. box-sizing: border-box;
  741. }
  742. #wpadminbar #wp-admin-bar-menu-toggle a {
  743. display: block;
  744. padding: 0;
  745. overflow: hidden;
  746. outline: none;
  747. text-decoration: none;
  748. border: 1px solid transparent;
  749. background: none;
  750. height: 44px;
  751. margin-right: -1px;
  752. }
  753. .wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
  754. background: #32373c;
  755. }
  756. li#wp-admin-bar-menu-toggle {
  757. display: block;
  758. }
  759. #wpadminbar #wp-admin-bar-menu-toggle a:hover {
  760. border: 1px solid transparent;
  761. }
  762. #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
  763. content: "\f228";
  764. display: inline-block;
  765. float: right;
  766. font: normal 40px/45px dashicons;
  767. vertical-align: middle;
  768. outline: none;
  769. margin: 0;
  770. -webkit-font-smoothing: antialiased;
  771. -moz-osx-font-smoothing: grayscale;
  772. height: 44px;
  773. width: 50px;
  774. padding: 0;
  775. border: none;
  776. text-align: center;
  777. text-decoration: none;
  778. -webkit-box-sizing: border-box;
  779. -moz-box-sizing: border-box;
  780. box-sizing: border-box;
  781. }
  782. .wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
  783. color: #00b9eb;
  784. }
  785. }
  786. /* Smartphone */
  787. @media screen and (max-width: 600px) {
  788. #adminmenuwrap,
  789. #adminmenuback {
  790. display: none;
  791. }
  792. .wp-responsive-open #adminmenuwrap,
  793. .wp-responsive-open #adminmenuback {
  794. display: block;
  795. }
  796. .auto-fold #adminmenu {
  797. top: 46px;
  798. }
  799. }