admin-bar-rtl.css 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120
  1. /*! This file is auto-generated */
  2. html {
  3. --wp-admin--admin-bar--height: 32px;
  4. scroll-padding-top: var(--wp-admin--admin-bar--height);
  5. }
  6. #wpadminbar * {
  7. height: auto;
  8. width: auto;
  9. margin: 0;
  10. padding: 0;
  11. position: static;
  12. text-shadow: none;
  13. text-transform: none;
  14. letter-spacing: normal;
  15. font-size: 13px;
  16. font-weight: 400;
  17. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  18. line-height: 2.46153846;
  19. border-radius: 0;
  20. box-sizing: content-box;
  21. transition: none;
  22. -webkit-font-smoothing: subpixel-antialiased; /* Prevent Safari from switching to standard antialiasing on hover */
  23. -moz-osx-font-smoothing: auto; /* Prevent Firefox from inheriting from themes that use other values */
  24. }
  25. .rtl #wpadminbar * {
  26. font-family: Tahoma, sans-serif;
  27. }
  28. html:lang(he-il) .rtl #wpadminbar * {
  29. font-family: Arial, sans-serif;
  30. }
  31. #wpadminbar .ab-empty-item {
  32. cursor: default;
  33. }
  34. #wpadminbar .ab-empty-item,
  35. #wpadminbar a.ab-item,
  36. #wpadminbar > #wp-toolbar span.ab-label,
  37. #wpadminbar > #wp-toolbar span.noticon {
  38. color: #f0f0f1;
  39. }
  40. #wpadminbar #wp-admin-bar-site-name a.ab-item,
  41. #wpadminbar #wp-admin-bar-my-sites a.ab-item {
  42. white-space: nowrap;
  43. }
  44. #wpadminbar ul li:before,
  45. #wpadminbar ul li:after {
  46. content: normal;
  47. }
  48. #wpadminbar a,
  49. #wpadminbar a:hover,
  50. #wpadminbar a img,
  51. #wpadminbar a img:hover {
  52. border: none;
  53. text-decoration: none;
  54. background: none;
  55. box-shadow: none;
  56. }
  57. #wpadminbar a:focus,
  58. #wpadminbar a:active,
  59. #wpadminbar input[type="text"],
  60. #wpadminbar input[type="password"],
  61. #wpadminbar input[type="number"],
  62. #wpadminbar input[type="search"],
  63. #wpadminbar input[type="email"],
  64. #wpadminbar input[type="url"],
  65. #wpadminbar select,
  66. #wpadminbar textarea,
  67. #wpadminbar div {
  68. box-shadow: none;
  69. }
  70. #wpadminbar a:focus {
  71. /* Inherits transparent outline only visible in Windows High Contrast mode */
  72. outline-offset: -1px;
  73. }
  74. #wpadminbar {
  75. direction: rtl;
  76. color: #c3c4c7;
  77. font-size: 13px;
  78. font-weight: 400;
  79. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  80. line-height: 2.46153846;
  81. height: 32px;
  82. position: fixed;
  83. top: 0;
  84. right: 0;
  85. width: 100%;
  86. min-width: 600px; /* match the min-width of the body in wp-admin/css/common.css */
  87. z-index: 99999;
  88. background: #1d2327;
  89. }
  90. #wpadminbar .ab-sub-wrapper,
  91. #wpadminbar ul,
  92. #wpadminbar ul li {
  93. background: none;
  94. clear: none;
  95. list-style: none;
  96. margin: 0;
  97. padding: 0;
  98. position: relative;
  99. text-indent: 0;
  100. z-index: 99999;
  101. }
  102. #wpadminbar ul#wp-admin-bar-root-default>li {
  103. margin-left: 0;
  104. }
  105. #wpadminbar .quicklinks ul {
  106. text-align: right;
  107. }
  108. #wpadminbar li {
  109. float: right;
  110. }
  111. #wpadminbar .ab-empty-item {
  112. outline: none;
  113. }
  114. #wpadminbar .quicklinks .ab-top-secondary > li {
  115. float: left;
  116. }
  117. #wpadminbar .quicklinks a,
  118. #wpadminbar .quicklinks .ab-empty-item,
  119. #wpadminbar .shortlink-input {
  120. height: 32px;
  121. display: block;
  122. padding: 0 10px;
  123. margin: 0;
  124. }
  125. #wpadminbar .quicklinks > ul > li > a {
  126. padding: 0 7px 0 8px;
  127. }
  128. #wpadminbar .menupop .ab-sub-wrapper,
  129. #wpadminbar .shortlink-input {
  130. margin: 0;
  131. padding: 0;
  132. box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  133. background: #2c3338;
  134. display: none;
  135. position: absolute;
  136. float: none;
  137. }
  138. #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper {
  139. min-width: 100%;
  140. }
  141. #wpadminbar .ab-top-secondary .menupop .ab-sub-wrapper {
  142. left: 0;
  143. right: auto;
  144. }
  145. #wpadminbar .ab-submenu {
  146. padding: 6px 0;
  147. }
  148. #wpadminbar .selected .shortlink-input {
  149. display: block;
  150. }
  151. #wpadminbar .quicklinks .menupop ul li {
  152. float: none;
  153. }
  154. #wpadminbar .quicklinks .menupop ul li a strong {
  155. font-weight: 600;
  156. }
  157. #wpadminbar .quicklinks .menupop ul li .ab-item,
  158. #wpadminbar .quicklinks .menupop ul li a strong,
  159. #wpadminbar .quicklinks .menupop.hover ul li .ab-item,
  160. #wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item,
  161. #wpadminbar .shortlink-input {
  162. line-height: 2;
  163. height: 26px;
  164. white-space: nowrap;
  165. min-width: 140px;
  166. }
  167. #wpadminbar .shortlink-input {
  168. width: 200px;
  169. }
  170. #wpadminbar.nojs li:hover > .ab-sub-wrapper,
  171. #wpadminbar li.hover > .ab-sub-wrapper {
  172. display: block;
  173. }
  174. #wpadminbar .menupop li:hover > .ab-sub-wrapper,
  175. #wpadminbar .menupop li.hover > .ab-sub-wrapper {
  176. margin-right: 100%;
  177. margin-top: -32px;
  178. }
  179. #wpadminbar .ab-top-secondary .menupop li:hover > .ab-sub-wrapper,
  180. #wpadminbar .ab-top-secondary .menupop li.hover > .ab-sub-wrapper {
  181. margin-right: 0;
  182. right: inherit;
  183. left: 100%;
  184. }
  185. #wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
  186. #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
  187. #wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
  188. #wpadminbar .ab-top-menu > li.hover > .ab-item {
  189. background: #2c3338;
  190. color: #72aee6;
  191. }
  192. #wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
  193. #wpadminbar > #wp-toolbar li.hover span.ab-label,
  194. #wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
  195. color: #72aee6;
  196. }
  197. #wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon,
  198. #wpadminbar .ab-icon,
  199. #wpadminbar .ab-item:before,
  200. .wp-admin-bar-arrow {
  201. position: relative;
  202. float: right;
  203. font: normal 20px/1 dashicons;
  204. speak: never;
  205. padding: 4px 0;
  206. -webkit-font-smoothing: antialiased;
  207. -moz-osx-font-smoothing: grayscale;
  208. background-image: none !important;
  209. margin-left: 6px;
  210. }
  211. #wpadminbar .ab-icon:before,
  212. #wpadminbar .ab-item:before,
  213. #wpadminbar #adminbarsearch:before {
  214. color: #a7aaad;
  215. color: rgba(240, 246, 252, 0.6);
  216. }
  217. #wpadminbar .ab-icon:before,
  218. #wpadminbar .ab-item:before,
  219. #wpadminbar #adminbarsearch:before {
  220. position: relative;
  221. transition: color .1s ease-in-out;
  222. }
  223. #wpadminbar .ab-label {
  224. display: inline-block;
  225. height: 32px;
  226. }
  227. #wpadminbar .ab-submenu .ab-item {
  228. color: #c3c4c7;
  229. color: rgba(240, 246, 252, 0.7);
  230. }
  231. #wpadminbar .quicklinks .menupop ul li a,
  232. #wpadminbar .quicklinks .menupop ul li a strong,
  233. #wpadminbar .quicklinks .menupop.hover ul li a,
  234. #wpadminbar.nojs .quicklinks .menupop:hover ul li a {
  235. color: #c3c4c7;
  236. color: rgba(240, 246, 252, 0.7);
  237. }
  238. #wpadminbar .quicklinks .menupop ul li a:hover,
  239. #wpadminbar .quicklinks .menupop ul li a:focus,
  240. #wpadminbar .quicklinks .menupop ul li a:hover strong,
  241. #wpadminbar .quicklinks .menupop ul li a:focus strong,
  242. #wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
  243. #wpadminbar .quicklinks .menupop.hover ul li a:hover,
  244. #wpadminbar .quicklinks .menupop.hover ul li a:focus,
  245. #wpadminbar .quicklinks .menupop.hover ul li div[tabindex]:hover,
  246. #wpadminbar .quicklinks .menupop.hover ul li div[tabindex]:focus,
  247. #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
  248. #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,
  249. #wpadminbar li:hover .ab-icon:before,
  250. #wpadminbar li:hover .ab-item:before,
  251. #wpadminbar li a:focus .ab-icon:before,
  252. #wpadminbar li .ab-item:focus:before,
  253. #wpadminbar li .ab-item:focus .ab-icon:before,
  254. #wpadminbar li.hover .ab-icon:before,
  255. #wpadminbar li.hover .ab-item:before,
  256. #wpadminbar li:hover #adminbarsearch:before,
  257. #wpadminbar li #adminbarsearch.adminbar-focused:before {
  258. color: #72aee6;
  259. }
  260. #wpadminbar.mobile .quicklinks .ab-icon:before,
  261. #wpadminbar.mobile .quicklinks .ab-item:before {
  262. color: #c3c4c7;
  263. }
  264. #wpadminbar.mobile .quicklinks .hover .ab-icon:before,
  265. #wpadminbar.mobile .quicklinks .hover .ab-item:before {
  266. color: #72aee6;
  267. }
  268. #wpadminbar .menupop .menupop > .ab-item .wp-admin-bar-arrow:before,
  269. #wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before {
  270. position: absolute;
  271. font: normal 17px/1 dashicons;
  272. speak: never;
  273. -webkit-font-smoothing: antialiased;
  274. -moz-osx-font-smoothing: grayscale;
  275. }
  276. #wpadminbar .menupop .menupop > .ab-item {
  277. display: block;
  278. padding-left: 2em;
  279. }
  280. #wpadminbar .menupop .menupop > .ab-item .wp-admin-bar-arrow:before {
  281. top: 1px;
  282. left: 10px;
  283. padding: 4px 0;
  284. content: "\f141";
  285. color: inherit;
  286. }
  287. #wpadminbar .ab-top-secondary .menupop .menupop > .ab-item {
  288. padding-right: 2em;
  289. padding-left: 1em;
  290. }
  291. #wpadminbar .ab-top-secondary .menupop .menupop > .ab-item .wp-admin-bar-arrow:before {
  292. top: 1px;
  293. right: 6px;
  294. content: "\f139";
  295. }
  296. #wpadminbar .quicklinks .menupop ul.ab-sub-secondary {
  297. display: block;
  298. position: relative;
  299. left: auto;
  300. margin: 0;
  301. box-shadow: none;
  302. }
  303. #wpadminbar .quicklinks .menupop ul.ab-sub-secondary,
  304. #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
  305. background: #3c434a;
  306. }
  307. #wpadminbar .quicklinks .menupop .ab-sub-secondary > li > a:hover,
  308. #wpadminbar .quicklinks .menupop .ab-sub-secondary > li .ab-item:focus a {
  309. color: #72aee6;
  310. }
  311. #wpadminbar .quicklinks a span#ab-updates {
  312. background: #f0f0f1;
  313. color: #2c3338;
  314. display: inline;
  315. padding: 2px 5px;
  316. font-size: 10px;
  317. font-weight: 600;
  318. border-radius: 10px;
  319. }
  320. #wpadminbar .quicklinks a:hover span#ab-updates {
  321. background: #fff;
  322. color: #000;
  323. }
  324. #wpadminbar .ab-top-secondary {
  325. float: left;
  326. }
  327. #wpadminbar ul li:last-child,
  328. #wpadminbar ul li:last-child .ab-item {
  329. box-shadow: none;
  330. }
  331. /**
  332. * Recovery Mode
  333. */
  334. #wpadminbar #wp-admin-bar-recovery-mode {
  335. color: #fff;
  336. background-color: #d63638;
  337. }
  338. #wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover >.ab-item,
  339. #wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus,
  340. #wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item,
  341. #wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus {
  342. color: #fff;
  343. background-color: #d63638;
  344. }
  345. /**
  346. * My Account
  347. */
  348. #wp-admin-bar-my-account > ul {
  349. min-width: 198px;
  350. }
  351. #wp-admin-bar-my-account:not(.with-avatar) > .ab-item {
  352. display: inline-block;
  353. }
  354. #wp-admin-bar-my-account > .ab-item:before {
  355. content: "\f110";
  356. top: 2px;
  357. float: left;
  358. margin-right: 6px;
  359. margin-left: 0;
  360. }
  361. #wp-admin-bar-my-account.with-avatar > .ab-item:before {
  362. display: none;
  363. content: none;
  364. }
  365. #wp-admin-bar-my-account.with-avatar > ul {
  366. min-width: 270px;
  367. }
  368. #wpadminbar #wp-admin-bar-user-actions > li {
  369. margin-right: 16px;
  370. margin-left: 16px;
  371. }
  372. #wpadminbar #wp-admin-bar-user-actions.ab-submenu {
  373. padding: 6px 0 12px;
  374. }
  375. #wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions > li {
  376. margin-right: 88px;
  377. }
  378. #wpadminbar #wp-admin-bar-user-info {
  379. margin-top: 6px;
  380. margin-bottom: 15px;
  381. height: auto;
  382. background: none;
  383. }
  384. #wp-admin-bar-user-info .avatar {
  385. position: absolute;
  386. right: -72px;
  387. top: 4px;
  388. width: 64px;
  389. height: 64px;
  390. }
  391. #wpadminbar #wp-admin-bar-user-info a {
  392. background: none;
  393. height: auto;
  394. }
  395. #wpadminbar #wp-admin-bar-user-info span {
  396. background: none;
  397. padding: 0;
  398. height: 18px;
  399. }
  400. #wpadminbar #wp-admin-bar-user-info .display-name,
  401. #wpadminbar #wp-admin-bar-user-info .username {
  402. display: block;
  403. }
  404. #wpadminbar #wp-admin-bar-user-info .username {
  405. color: #a7aaad;
  406. font-size: 11px;
  407. }
  408. #wpadminbar #wp-admin-bar-my-account.with-avatar > .ab-empty-item img,
  409. #wpadminbar #wp-admin-bar-my-account.with-avatar > a img {
  410. width: auto;
  411. height: 16px;
  412. padding: 0;
  413. border: 1px solid #8c8f94;
  414. background: #f0f0f1;
  415. line-height: 1.84615384;
  416. vertical-align: middle;
  417. margin: -4px 6px 0 0;
  418. float: none;
  419. display: inline;
  420. }
  421. /**
  422. * WP Logo
  423. */
  424. #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon {
  425. width: 15px;
  426. height: 20px;
  427. margin-left: 0;
  428. padding: 6px 0 5px;
  429. }
  430. #wpadminbar #wp-admin-bar-wp-logo > .ab-item {
  431. padding: 0 7px;
  432. }
  433. #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before {
  434. content: "\f120";
  435. top: 2px;
  436. }
  437. /*
  438. * My Sites & Site Title
  439. */
  440. #wpadminbar .quicklinks li .blavatar {
  441. display: inline-block;
  442. vertical-align: middle;
  443. font: normal 16px/1 dashicons !important;
  444. speak: never;
  445. -webkit-font-smoothing: antialiased;
  446. -moz-osx-font-smoothing: grayscale;
  447. color: #f0f0f1;
  448. }
  449. #wpadminbar .quicklinks li a:hover .blavatar,
  450. #wpadminbar .quicklinks li a:focus .blavatar,
  451. #wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar {
  452. color: #72aee6;
  453. }
  454. #wpadminbar .quicklinks li img.blavatar,
  455. #wpadminbar .quicklinks li div.blavatar:before {
  456. height: 16px;
  457. width: 16px;
  458. margin: 0 -2px 2px 8px;
  459. }
  460. #wpadminbar .quicklinks li div.blavatar:before {
  461. content: "\f120";
  462. display: inline-block;
  463. }
  464. #wpadminbar #wp-admin-bar-appearance {
  465. margin-top: -12px;
  466. }
  467. #wpadminbar #wp-admin-bar-my-sites > .ab-item:before,
  468. #wpadminbar #wp-admin-bar-site-name > .ab-item:before {
  469. content: "\f541";
  470. top: 2px;
  471. }
  472. #wpadminbar #wp-admin-bar-site-editor > .ab-item:before {
  473. content: "\f100";
  474. top: 2px;
  475. }
  476. #wpadminbar #wp-admin-bar-customize > .ab-item:before {
  477. content: "\f540";
  478. top: 2px;
  479. }
  480. #wpadminbar #wp-admin-bar-edit > .ab-item:before {
  481. content: "\f464";
  482. top: 2px;
  483. }
  484. #wpadminbar #wp-admin-bar-site-name > .ab-item:before {
  485. content: "\f226";
  486. }
  487. .wp-admin #wpadminbar #wp-admin-bar-site-name > .ab-item:before {
  488. content: "\f102";
  489. }
  490. /**
  491. * Comments
  492. */
  493. #wpadminbar #wp-admin-bar-comments .ab-icon {
  494. margin-left: 6px;
  495. }
  496. #wpadminbar #wp-admin-bar-comments .ab-icon:before {
  497. content: "\f101";
  498. top: 3px;
  499. }
  500. #wpadminbar #wp-admin-bar-comments .count-0 {
  501. opacity: .5;
  502. }
  503. /**
  504. * New Content
  505. */
  506. #wpadminbar #wp-admin-bar-new-content .ab-icon:before {
  507. content: "\f132";
  508. top: 4px;
  509. }
  510. /**
  511. * Updates
  512. */
  513. #wpadminbar #wp-admin-bar-updates .ab-icon:before {
  514. content: "\f463";
  515. top: 2px;
  516. }
  517. #wpadminbar #wp-admin-bar-updates.spin .ab-icon:before {
  518. display: inline-block;
  519. animation: rotation 2s infinite linear;
  520. }
  521. @media (prefers-reduced-motion: reduce) {
  522. #wpadminbar #wp-admin-bar-updates.spin .ab-icon:before {
  523. animation: none;
  524. }
  525. }
  526. /**
  527. * Search
  528. */
  529. #wpadminbar #wp-admin-bar-search .ab-item {
  530. padding: 0;
  531. background: transparent;
  532. }
  533. #wpadminbar #adminbarsearch {
  534. position: relative;
  535. height: 32px;
  536. padding: 0 2px;
  537. z-index: 1;
  538. }
  539. #wpadminbar #adminbarsearch:before {
  540. position: absolute;
  541. top: 6px;
  542. right: 5px;
  543. z-index: 20;
  544. font: normal 20px/1 dashicons !important;
  545. content: "\f179";
  546. speak: never;
  547. -webkit-font-smoothing: antialiased;
  548. -moz-osx-font-smoothing: grayscale;
  549. }
  550. /* The admin bar search field needs to reset many styles that might be inherited from the active Theme CSS. See ticket #40313. */
  551. #wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input {
  552. display: inline-block;
  553. float: none;
  554. position: relative;
  555. z-index: 30;
  556. font-size: 13px;
  557. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  558. line-height: 1.84615384;
  559. text-indent: 0;
  560. height: 24px;
  561. width: 24px;
  562. max-width: none;
  563. padding: 0 24px 0 3px;
  564. margin: 0;
  565. color: #c3c4c7;
  566. background-color: rgba(255, 255, 255, 0);
  567. border: none;
  568. outline: none;
  569. cursor: pointer;
  570. box-shadow: none;
  571. box-sizing: border-box;
  572. transition-duration: 400ms;
  573. transition-property: width, background;
  574. transition-timing-function: ease;
  575. }
  576. #wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
  577. z-index: 10;
  578. color: #000;
  579. width: 200px;
  580. background-color: rgba(255, 255, 255, 0.9);
  581. cursor: text;
  582. border: 0;
  583. }
  584. #wpadminbar #adminbarsearch .adminbar-button {
  585. display: none;
  586. }
  587. /**
  588. * Customize support classes
  589. */
  590. .no-customize-support .hide-if-no-customize,
  591. .customize-support .hide-if-customize,
  592. .no-customize-support #wpadminbar .hide-if-no-customize,
  593. .no-customize-support.wp-core-ui .hide-if-no-customize,
  594. .no-customize-support .wp-core-ui .hide-if-no-customize,
  595. .customize-support #wpadminbar .hide-if-customize,
  596. .customize-support.wp-core-ui .hide-if-customize,
  597. .customize-support .wp-core-ui .hide-if-customize {
  598. display: none;
  599. }
  600. /* Skip link */
  601. #wpadminbar .screen-reader-text,
  602. #wpadminbar .screen-reader-text span {
  603. border: 0;
  604. clip: rect(1px, 1px, 1px, 1px);
  605. -webkit-clip-path: inset(50%);
  606. clip-path: inset(50%);
  607. height: 1px;
  608. margin: -1px;
  609. overflow: hidden;
  610. padding: 0;
  611. position: absolute;
  612. width: 1px;
  613. word-wrap: normal !important;
  614. }
  615. #wpadminbar .screen-reader-shortcut {
  616. position: absolute;
  617. top: -1000em;
  618. }
  619. #wpadminbar .screen-reader-shortcut:focus {
  620. right: 6px;
  621. top: 7px;
  622. height: auto;
  623. width: auto;
  624. display: block;
  625. font-size: 14px;
  626. font-weight: 600;
  627. padding: 15px 23px 14px;
  628. background: #f0f0f1;
  629. color: #2271b1;
  630. z-index: 100000;
  631. line-height: normal;
  632. text-decoration: none;
  633. box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  634. }
  635. @media screen and (max-width: 782px) {
  636. html {
  637. --wp-admin--admin-bar--height: 46px;
  638. }
  639. /* Toolbar Touchification*/
  640. html #wpadminbar {
  641. height: 46px;
  642. min-width: 240px; /* match the min-width of the body in wp-admin/css/common.css */
  643. }
  644. #wpadminbar * {
  645. font-size: 14px;
  646. font-weight: 400;
  647. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  648. line-height: 2.28571428;
  649. }
  650. #wpadminbar .quicklinks > ul > li > a,
  651. #wpadminbar .quicklinks .ab-empty-item {
  652. padding: 0;
  653. height: 46px;
  654. line-height: 3.28571428;
  655. width: auto;
  656. }
  657. #wpadminbar .ab-icon {
  658. font: 40px/1 dashicons !important;
  659. margin: 0;
  660. padding: 0;
  661. width: 52px;
  662. height: 46px;
  663. text-align: center;
  664. }
  665. #wpadminbar .ab-icon:before {
  666. text-align: center;
  667. }
  668. #wpadminbar .ab-submenu {
  669. padding: 0;
  670. }
  671. #wpadminbar #wp-admin-bar-site-name a.ab-item,
  672. #wpadminbar #wp-admin-bar-my-sites a.ab-item,
  673. #wpadminbar #wp-admin-bar-my-account a.ab-item {
  674. text-overflow: clip;
  675. }
  676. #wpadminbar .quicklinks .menupop ul li .ab-item,
  677. #wpadminbar .quicklinks .menupop ul li a strong,
  678. #wpadminbar .quicklinks .menupop.hover ul li .ab-item,
  679. #wpadminbar.nojs .quicklinks .menupop:hover ul li .ab-item,
  680. #wpadminbar .shortlink-input {
  681. line-height: 1.6;
  682. }
  683. #wpadminbar .ab-label {
  684. border: 0;
  685. clip: rect(1px, 1px, 1px, 1px);
  686. -webkit-clip-path: inset(50%);
  687. clip-path: inset(50%);
  688. height: 1px;
  689. margin: -1px;
  690. overflow: hidden;
  691. padding: 0;
  692. position: absolute;
  693. width: 1px;
  694. word-wrap: normal !important;
  695. }
  696. #wpadminbar .menupop li:hover > .ab-sub-wrapper,
  697. #wpadminbar .menupop li.hover > .ab-sub-wrapper {
  698. margin-top: -46px;
  699. }
  700. #wpadminbar .ab-top-menu .menupop .ab-sub-wrapper .menupop > .ab-item {
  701. padding-left: 30px;
  702. }
  703. #wpadminbar .menupop .menupop > .ab-item:before {
  704. top: 10px;
  705. left: 6px;
  706. }
  707. #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper .ab-item {
  708. font-size: 16px;
  709. padding: 8px 16px;
  710. }
  711. #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper a:empty {
  712. display: none;
  713. }
  714. /* WP logo */
  715. #wpadminbar #wp-admin-bar-wp-logo > .ab-item {
  716. padding: 0;
  717. }
  718. #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon {
  719. padding: 0;
  720. width: 52px;
  721. height: 46px;
  722. text-align: center;
  723. vertical-align: top;
  724. }
  725. #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before {
  726. font: 28px/1 dashicons !important;
  727. top: -3px;
  728. }
  729. #wpadminbar .ab-icon,
  730. #wpadminbar .ab-item:before {
  731. padding: 0;
  732. }
  733. /* My Sites and "Site Title" menu */
  734. #wpadminbar #wp-admin-bar-my-sites > .ab-item,
  735. #wpadminbar #wp-admin-bar-site-name > .ab-item,
  736. #wpadminbar #wp-admin-bar-site-editor > .ab-item,
  737. #wpadminbar #wp-admin-bar-customize > .ab-item,
  738. #wpadminbar #wp-admin-bar-edit > .ab-item,
  739. #wpadminbar #wp-admin-bar-my-account > .ab-item {
  740. text-indent: 100%;
  741. white-space: nowrap;
  742. overflow: hidden;
  743. width: 52px;
  744. padding: 0;
  745. color: #a7aaad; /* @todo not needed? this text is hidden */
  746. position: relative;
  747. }
  748. #wpadminbar > #wp-toolbar > #wp-admin-bar-root-default .ab-icon,
  749. #wpadminbar .ab-icon,
  750. #wpadminbar .ab-item:before {
  751. padding: 0;
  752. margin-left: 0;
  753. }
  754. #wpadminbar #wp-admin-bar-edit > .ab-item:before,
  755. #wpadminbar #wp-admin-bar-my-sites > .ab-item:before,
  756. #wpadminbar #wp-admin-bar-site-name > .ab-item:before,
  757. #wpadminbar #wp-admin-bar-site-editor > .ab-item:before,
  758. #wpadminbar #wp-admin-bar-customize > .ab-item:before,
  759. #wpadminbar #wp-admin-bar-my-account > .ab-item:before {
  760. display: block;
  761. text-indent: 0;
  762. font: normal 32px/1 dashicons;
  763. speak: never;
  764. top: 7px;
  765. width: 52px;
  766. text-align: center;
  767. -webkit-font-smoothing: antialiased;
  768. -moz-osx-font-smoothing: grayscale;
  769. }
  770. #wpadminbar #wp-admin-bar-appearance {
  771. margin-top: 0;
  772. }
  773. #wpadminbar .quicklinks li .blavatar:before {
  774. display: none;
  775. }
  776. /* Search */
  777. #wpadminbar #wp-admin-bar-search {
  778. display: none;
  779. }
  780. /* New Content */
  781. #wpadminbar #wp-admin-bar-new-content .ab-icon:before {
  782. top: 0;
  783. line-height: 1.33333333;
  784. height: 46px !important;
  785. text-align: center;
  786. width: 52px;
  787. display: block;
  788. }
  789. /* Updates */
  790. #wpadminbar #wp-admin-bar-updates {
  791. text-align: center;
  792. }
  793. #wpadminbar #wp-admin-bar-updates .ab-icon:before {
  794. top: 3px;
  795. }
  796. /* Comments */
  797. #wpadminbar #wp-admin-bar-comments .ab-icon {
  798. margin: 0;
  799. }
  800. #wpadminbar #wp-admin-bar-comments .ab-icon:before {
  801. display: block;
  802. font-size: 34px;
  803. height: 46px;
  804. line-height: 1.38235294;
  805. top: 0;
  806. }
  807. /* My Account */
  808. #wpadminbar #wp-admin-bar-my-account > a {
  809. position: relative;
  810. white-space: nowrap;
  811. text-indent: 150%; /* More than 100% indention is needed since this element has padding */
  812. width: 28px;
  813. padding: 0 10px;
  814. overflow: hidden; /* Prevent link text from forcing horizontal scrolling on mobile */
  815. }
  816. #wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
  817. position: absolute;
  818. top: 13px;
  819. left: 10px;
  820. width: 26px;
  821. height: 26px;
  822. }
  823. #wpadminbar #wp-admin-bar-user-actions.ab-submenu {
  824. padding: 0;
  825. }
  826. #wpadminbar #wp-admin-bar-user-actions.ab-submenu img.avatar {
  827. display: none;
  828. }
  829. #wpadminbar #wp-admin-bar-my-account.with-avatar #wp-admin-bar-user-actions > li {
  830. margin: 0;
  831. }
  832. #wpadminbar #wp-admin-bar-user-info .display-name {
  833. height: auto;
  834. font-size: 16px;
  835. line-height: 1.5;
  836. color: #f0f0f1;
  837. }
  838. #wpadminbar #wp-admin-bar-user-info a {
  839. padding-top: 4px;
  840. }
  841. #wpadminbar #wp-admin-bar-user-info .username {
  842. line-height: 0.8 !important;
  843. margin-bottom: -2px;
  844. }
  845. /* Show only default top level items */
  846. #wp-toolbar > ul > li {
  847. display: none;
  848. }
  849. #wpadminbar li#wp-admin-bar-menu-toggle,
  850. #wpadminbar li#wp-admin-bar-wp-logo,
  851. #wpadminbar li#wp-admin-bar-my-sites,
  852. #wpadminbar li#wp-admin-bar-updates,
  853. #wpadminbar li#wp-admin-bar-site-name,
  854. #wpadminbar li#wp-admin-bar-site-editor,
  855. #wpadminbar li#wp-admin-bar-customize,
  856. #wpadminbar li#wp-admin-bar-new-content,
  857. #wpadminbar li#wp-admin-bar-edit,
  858. #wpadminbar li#wp-admin-bar-comments,
  859. #wpadminbar li#wp-admin-bar-my-account {
  860. display: block;
  861. }
  862. /* Allow dropdown list items to appear normally */
  863. #wpadminbar li:hover ul li,
  864. #wpadminbar li.hover ul li,
  865. #wpadminbar li:hover ul li:hover ul li {
  866. display: list-item;
  867. }
  868. /* Override default min-width so dropdown lists aren't stretched
  869. to 100% viewport width at responsive sizes. */
  870. #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper {
  871. min-width: -moz-fit-content;
  872. min-width: fit-content;
  873. }
  874. #wpadminbar ul#wp-admin-bar-root-default > li {
  875. margin-left: 0;
  876. }
  877. /* Experimental fix for touch toolbar dropdown positioning */
  878. #wpadminbar .ab-top-menu,
  879. #wpadminbar .ab-top-secondary,
  880. #wpadminbar #wp-admin-bar-wp-logo,
  881. #wpadminbar #wp-admin-bar-my-sites,
  882. #wpadminbar #wp-admin-bar-site-name,
  883. #wpadminbar #wp-admin-bar-updates,
  884. #wpadminbar #wp-admin-bar-comments,
  885. #wpadminbar #wp-admin-bar-new-content,
  886. #wpadminbar #wp-admin-bar-edit,
  887. #wpadminbar #wp-admin-bar-my-account {
  888. position: static;
  889. }
  890. #wpadminbar #wp-admin-bar-my-account {
  891. float: left;
  892. }
  893. .network-admin #wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account {
  894. margin-left: 0;
  895. }
  896. /* Realign arrows on taller responsive submenus */
  897. #wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before {
  898. top: 10px;
  899. right: 0;
  900. }
  901. }
  902. /* Smartphone */
  903. @media screen and (max-width: 600px) {
  904. #wpadminbar {
  905. position: absolute;
  906. }
  907. #wp-responsive-overlay {
  908. position: fixed;
  909. top: 0;
  910. right: 0;
  911. width: 100%;
  912. height: 100%;
  913. z-index: 400;
  914. }
  915. #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper {
  916. width: 100%;
  917. right: 0;
  918. }
  919. #wpadminbar .menupop .menupop > .ab-item:before {
  920. display: none;
  921. }
  922. #wpadminbar #wp-admin-bar-wp-logo.menupop .ab-sub-wrapper {
  923. margin-right: 0;
  924. }
  925. #wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper {
  926. margin: 0;
  927. width: 100%;
  928. top: auto;
  929. right: auto;
  930. position: relative;
  931. }
  932. #wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper .ab-item {
  933. font-size: 16px;
  934. padding: 6px 30px 19px 15px;
  935. }
  936. #wpadminbar li:hover ul li ul li {
  937. display: list-item;
  938. }
  939. #wpadminbar li#wp-admin-bar-wp-logo,
  940. #wpadminbar li#wp-admin-bar-updates {
  941. display: none;
  942. }
  943. /* Make submenus full-width at this size */
  944. #wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper {
  945. position: static;
  946. box-shadow: none;
  947. }
  948. }
  949. /* Very narrow screens */
  950. @media screen and (max-width: 400px) {
  951. #wpadminbar li#wp-admin-bar-comments {
  952. display: none;
  953. }
  954. }