dashboard.css 29 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489
  1. #wpbody-content #dashboard-widgets.columns-1 .postbox-container {
  2. width: 100%;
  3. }
  4. #wpbody-content #dashboard-widgets.columns-2 .postbox-container {
  5. width: 49.5%;
  6. }
  7. #wpbody-content #dashboard-widgets.columns-2 #postbox-container-2,
  8. #wpbody-content #dashboard-widgets.columns-2 #postbox-container-3,
  9. #wpbody-content #dashboard-widgets.columns-2 #postbox-container-4 {
  10. float: right;
  11. width: 50.5%;
  12. }
  13. #wpbody-content #dashboard-widgets.columns-3 .postbox-container {
  14. width: 33.5%;
  15. }
  16. #wpbody-content #dashboard-widgets.columns-3 #postbox-container-1 {
  17. width: 33%;
  18. }
  19. #wpbody-content #dashboard-widgets.columns-3 #postbox-container-3,
  20. #wpbody-content #dashboard-widgets.columns-3 #postbox-container-4 {
  21. float: right;
  22. }
  23. #wpbody-content #dashboard-widgets.columns-4 .postbox-container {
  24. width: 25%;
  25. }
  26. #dashboard-widgets .postbox-container {
  27. width: 25%;
  28. }
  29. #dashboard-widgets-wrap .columns-3 #postbox-container-4 .empty-container {
  30. border: none !important;
  31. }
  32. #dashboard-widgets-wrap {
  33. overflow: hidden;
  34. margin: 0 -8px;
  35. }
  36. #dashboard-widgets .postbox .inside {
  37. margin-bottom: 0;
  38. }
  39. #dashboard-widgets .meta-box-sortables {
  40. display: flow-root; /* avoid margin collapsing between parent and first/last child elements */
  41. /* Required min-height to make the jQuery UI Sortable drop zone work. */
  42. min-height: 100px;
  43. margin: 0 8px 20px;
  44. }
  45. #dashboard-widgets .postbox-container .empty-container {
  46. outline: 3px dashed #c3c4c7;
  47. height: 250px;
  48. }
  49. /* Only highlight drop zones when dragging and only in the 2 columns layout. */
  50. .is-dragging-metaboxes #dashboard-widgets .meta-box-sortables {
  51. outline: 3px dashed #646970;
  52. /* Prevent margin on the child from collapsing with margin on the parent. */
  53. display: flow-root;
  54. }
  55. #dashboard-widgets .postbox-container .empty-container:after {
  56. content: attr(data-emptystring);
  57. margin: auto;
  58. position: absolute;
  59. top: 50%;
  60. left: 0;
  61. right: 0;
  62. transform: translateY( -50% );
  63. padding: 0 2em;
  64. text-align: center;
  65. color: #646970;
  66. font-size: 16px;
  67. line-height: 1.5;
  68. display: none;
  69. }
  70. /* @todo: this was originally in this section, but likely belongs elsewhere */
  71. #the-comment-list td.comment p.comment-author {
  72. margin-top: 0;
  73. margin-left: 0;
  74. }
  75. #the-comment-list p.comment-author img {
  76. float: left;
  77. margin-right: 8px;
  78. }
  79. #the-comment-list p.comment-author strong a {
  80. border: none;
  81. }
  82. #the-comment-list td {
  83. vertical-align: top;
  84. }
  85. #the-comment-list td.comment {
  86. word-wrap: break-word;
  87. }
  88. #the-comment-list td.comment img {
  89. max-width: 100%;
  90. }
  91. /* Screen meta exception for when the "Dashboard" heading is missing or located below the Welcome Panel. */
  92. .index-php #screen-meta-links {
  93. margin: 0 20px 8px 0;
  94. }
  95. /* Welcome Panel */
  96. .welcome-panel {
  97. position: relative;
  98. overflow: auto;
  99. margin: 16px 0;
  100. background-color: #e7ebfd;
  101. font-size: 14px;
  102. line-height: 1.3;
  103. clear: both;
  104. }
  105. .welcome-panel h2 {
  106. margin: 0;
  107. font-size: 48px;
  108. font-weight: 600;
  109. line-height: 1.25;
  110. }
  111. .welcome-panel h3 {
  112. margin: 0;
  113. font-size: 20px;
  114. font-weight: 400;
  115. line-height: 1.4;
  116. }
  117. .welcome-panel p {
  118. font-size: inherit;
  119. line-height: inherit;
  120. }
  121. .welcome-panel-header {
  122. --about-header-image-width: 521px;
  123. --about-header-bg-width: calc(var(--about-header-image-width) * 0.55);
  124. --about-header-bg-offset-inline: 2rem;
  125. position: relative;
  126. }
  127. .welcome-panel-header-image {
  128. position: absolute;
  129. top: -1rem;
  130. right: var(--about-header-bg-offset-inline);
  131. bottom: 0;
  132. width: var(--about-header-bg-width);
  133. height: auto;
  134. }
  135. .welcome-panel-header-image svg {
  136. width: 100%;
  137. height: auto;
  138. }
  139. .welcome-panel-header a {
  140. color: inherit;
  141. }
  142. .welcome-panel-header a:focus,
  143. .welcome-panel-header a:hover {
  144. color: inherit;
  145. text-decoration: none;
  146. }
  147. .welcome-panel-header a:focus,
  148. .welcome-panel .welcome-panel-close:focus {
  149. outline-color: currentColor;
  150. outline-offset: 1px;
  151. box-shadow: none;
  152. }
  153. .welcome-panel-header p {
  154. margin: 0.5em 0 0;
  155. font-size: 20px;
  156. line-height: 1.4;
  157. }
  158. .welcome-panel .welcome-panel-close {
  159. position: absolute;
  160. top: 10px;
  161. right: 10px;
  162. padding: 10px 15px 10px 24px;
  163. font-size: 13px;
  164. line-height: 1.23076923; /* Chrome rounding, needs to be 16px equivalent */
  165. text-decoration: none;
  166. z-index: 1; /* Raise above the version image. */
  167. }
  168. .welcome-panel .welcome-panel-close:before {
  169. position: absolute;
  170. top: 8px;
  171. left: 0;
  172. transition: all .1s ease-in-out;
  173. content: '\f335';
  174. font-size: 24px;
  175. color: #1d2327;
  176. }
  177. .welcome-panel .welcome-panel-close {
  178. color: #1d2327;
  179. }
  180. .welcome-panel .welcome-panel-close:hover,
  181. .welcome-panel .welcome-panel-close:focus,
  182. .welcome-panel .welcome-panel-close:hover::before,
  183. .welcome-panel .welcome-panel-close:focus::before {
  184. color: #2271b1;
  185. }
  186. /* @deprecated 5.9.0 -- Button removed from panel. */
  187. .wp-core-ui .welcome-panel .button.button-hero {
  188. margin: 15px 13px 3px 0;
  189. padding: 12px 36px;
  190. height: auto;
  191. line-height: 1.4285714;
  192. white-space: normal;
  193. }
  194. .welcome-panel-content {
  195. min-height: 400px;
  196. display: flex;
  197. flex-direction: column;
  198. justify-content: space-between;
  199. }
  200. .welcome-panel-header {
  201. box-sizing: border-box;
  202. margin-left: auto;
  203. margin-right: auto;
  204. max-width: 1500px;
  205. width: 100%;
  206. padding: 48px 0 80px 48px;
  207. padding-right: calc(var(--about-header-bg-width) + (var(--about-header-bg-offset-inline) * 2));
  208. }
  209. .welcome-panel .welcome-panel-column-container {
  210. box-sizing: border-box;
  211. width: 100%;
  212. clear: both;
  213. display: grid;
  214. z-index: 1;
  215. padding: 48px;
  216. grid-template-columns: repeat(3, 1fr);
  217. gap: 32px;
  218. align-self: flex-end;
  219. background: #fff;
  220. }
  221. [class*="welcome-panel-icon"] {
  222. height: 60px;
  223. width: 60px;
  224. background-color: #1d2327;
  225. background-position: center;
  226. background-size: 24px 24px;
  227. background-repeat: no-repeat;
  228. border-radius: 100%;
  229. }
  230. .welcome-panel-column {
  231. display: grid;
  232. grid-template-columns: min-content 1fr;
  233. gap: 24px;
  234. }
  235. .welcome-panel-icon-pages {
  236. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M7 13.8h6v-1.5H7v1.5zM18 16V4c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2zM5.5 16V4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zM7 10.5h8V9H7v1.5zm0-3.3h8V5.8H7v1.4zM20.2 6v13c0 .7-.6 1.2-1.2 1.2H8v1.5h11c1.5 0 2.7-1.2 2.7-2.8V6h-1.5z' /%3E%3C/svg%3E");
  237. }
  238. .welcome-panel-icon-layout {
  239. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z' /%3E%3C/svg%3E");
  240. }
  241. .welcome-panel-icon-styles {
  242. background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' d='M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z' /%3E%3C/svg%3E");
  243. }
  244. /* @deprecated 5.9.0 -- Section removed from welcome panel. */
  245. .welcome-panel .welcome-widgets-menus {
  246. line-height: 1.14285714;
  247. }
  248. /* @deprecated 5.9.0 -- Lists removed from welcome panel. */
  249. .welcome-panel .welcome-panel-column ul {
  250. margin: 0.8em 1em 1em 0;
  251. }
  252. /* @deprecated 5.9.0 -- Lists removed from welcome panel. */
  253. .welcome-panel li {
  254. font-size: 14px;
  255. }
  256. /* @deprecated 5.9.0 -- Lists removed from welcome panel. */
  257. .welcome-panel li a {
  258. text-decoration: none;
  259. }
  260. /* @deprecated 5.9.0 -- Lists removed from welcome panel. */
  261. .welcome-panel .welcome-panel-column li {
  262. line-height: 1.14285714;
  263. list-style-type: none;
  264. padding: 0 0 8px;
  265. }
  266. /* @deprecated 5.9.0 -- Icons removed from welcome panel. */
  267. .welcome-panel .welcome-icon {
  268. background: transparent !important;
  269. }
  270. /* Welcome Panel and Right Now common Icons style */
  271. /* @deprecated 5.9.0 -- Icons removed from welcome panel. */
  272. .welcome-panel .welcome-icon:before,
  273. #dashboard_right_now li a:before,
  274. #dashboard_right_now li span:before,
  275. #dashboard_right_now .search-engines-info:before {
  276. color: #646970;
  277. font: normal 20px/1 dashicons;
  278. speak: never;
  279. display: inline-block;
  280. padding: 0 10px 0 0;
  281. position: relative;
  282. -webkit-font-smoothing: antialiased;
  283. -moz-osx-font-smoothing: grayscale;
  284. text-decoration: none !important;
  285. vertical-align: top;
  286. }
  287. /* Welcome Panel specific Icons styles */
  288. /* @deprecated 5.9.0 -- Icons removed from welcome panel. */
  289. .welcome-panel .welcome-write-blog:before,
  290. .welcome-panel .welcome-edit-page:before {
  291. content: "\f119";
  292. top: -3px;
  293. }
  294. /* @deprecated 5.9.0 -- Icons removed from welcome panel. */
  295. .welcome-panel .welcome-add-page:before {
  296. content: "\f132";
  297. top: -1px;
  298. }
  299. /* @deprecated 5.9.0 -- Icons removed from welcome panel. */
  300. .welcome-panel .welcome-setup-home:before {
  301. content: "\f102";
  302. top: -1px;
  303. }
  304. /* @deprecated 5.9.0 -- Icons removed from welcome panel. */
  305. .welcome-panel .welcome-view-site:before {
  306. content: "\f115";
  307. top: -2px;
  308. }
  309. /* @deprecated 5.9.0 -- Icons removed from welcome panel. */
  310. .welcome-panel .welcome-widgets-menus:before {
  311. content: "\f116";
  312. top: -2px;
  313. }
  314. /* @deprecated 5.9.0 -- Icons removed from welcome panel. */
  315. .welcome-panel .welcome-widgets:before {
  316. content: "\f538";
  317. top: -2px;
  318. }
  319. /* @deprecated 5.9.0 -- Icons removed from welcome panel. */
  320. .welcome-panel .welcome-menus:before {
  321. content: "\f163";
  322. top: -2px;
  323. }
  324. /* @deprecated 5.9.0 -- Icons removed from welcome panel. */
  325. .welcome-panel .welcome-comments:before {
  326. content: "\f117";
  327. top: -1px;
  328. }
  329. /* @deprecated 5.9.0 -- Icons removed from welcome panel. */
  330. .welcome-panel .welcome-learn-more:before {
  331. content: "\f118";
  332. top: -1px;
  333. }
  334. /* Right Now specific Icons styles */
  335. #dashboard_right_now .search-engines-info:before,
  336. #dashboard_right_now li a:before,
  337. #dashboard_right_now li > span:before { /* get only the first level span to exclude screen-reader-text in mu-storage */
  338. content: "\f159"; /* generic icon for items added by CPTs ? */
  339. padding: 0 5px 0 0;
  340. }
  341. #dashboard_right_now .page-count a:before,
  342. #dashboard_right_now .page-count span:before {
  343. content: "\f105";
  344. }
  345. #dashboard_right_now .post-count a:before,
  346. #dashboard_right_now .post-count span:before {
  347. content: "\f109";
  348. }
  349. #dashboard_right_now .comment-count a:before {
  350. content: "\f101";
  351. }
  352. #dashboard_right_now .comment-mod-count a:before {
  353. content: "\f125";
  354. }
  355. #dashboard_right_now .storage-count a:before {
  356. content: "\f104";
  357. }
  358. #dashboard_right_now .storage-count.warning a:before {
  359. content: "\f153";
  360. }
  361. #dashboard_right_now .search-engines-info:before {
  362. content: "\f348";
  363. }
  364. /* Dashboard WordPress events */
  365. .community-events-errors {
  366. margin: 0;
  367. }
  368. .community-events-loading {
  369. padding: 10px 12px 8px;
  370. }
  371. .community-events {
  372. margin-bottom: 6px;
  373. padding: 0 12px;
  374. }
  375. .community-events .spinner {
  376. float: none;
  377. margin: 5px 2px 0;
  378. vertical-align: top;
  379. }
  380. .community-events-errors[aria-hidden="true"],
  381. .community-events-errors [aria-hidden="true"],
  382. .community-events-loading[aria-hidden="true"],
  383. .community-events[aria-hidden="true"],
  384. .community-events form[aria-hidden="true"] {
  385. display: none;
  386. }
  387. .community-events .activity-block:first-child,
  388. .community-events h2 {
  389. padding-top: 12px;
  390. padding-bottom: 10px;
  391. }
  392. .community-events-form {
  393. margin: 15px 0 5px;
  394. }
  395. .community-events-form .regular-text {
  396. width: 40%;
  397. height: 29px;
  398. margin: 0;
  399. vertical-align: top;
  400. }
  401. .community-events li.event-none {
  402. border-left: 4px solid #72aee6;
  403. }
  404. #dashboard-widgets .community-events li.event-none a {
  405. text-decoration: underline;
  406. }
  407. .community-events-form label {
  408. display: inline-block;
  409. vertical-align: top;
  410. line-height: 2.15384615;
  411. height: 28px;
  412. }
  413. .community-events .activity-block > p {
  414. margin-bottom: 0;
  415. display: inline;
  416. }
  417. .community-events-toggle-location {
  418. vertical-align: middle;
  419. }
  420. #community-events-submit {
  421. margin-left: 3px;
  422. margin-right: 3px;
  423. }
  424. /* Needs higher specificity than #dashboard-widgets .button-link */
  425. #dashboard-widgets .community-events-cancel.button-link {
  426. vertical-align: top;
  427. /* Same properties as the submit button for cross-browsers alignment. */
  428. line-height: 2;
  429. height: 28px;
  430. text-decoration: underline;
  431. }
  432. .community-events ul {
  433. background-color: #f6f7f7;
  434. padding-left: 0;
  435. padding-right: 0;
  436. padding-bottom: 0;
  437. }
  438. .community-events li {
  439. margin: 0;
  440. padding: 8px 12px;
  441. color: #2c3338;
  442. }
  443. .community-events li:first-child {
  444. border-top: 1px solid #f0f0f1;
  445. }
  446. .community-events li ~ li {
  447. border-top: 1px solid #f0f0f1;
  448. }
  449. .community-events .activity-block.last {
  450. border-bottom: 1px solid #f0f0f1;
  451. padding-top: 0;
  452. margin-top: -1px;
  453. }
  454. .community-events .event-info {
  455. display: block;
  456. }
  457. .event-icon {
  458. height: 18px;
  459. padding-right: 10px;
  460. width: 18px;
  461. display: none; /* Hide on smaller screens */
  462. }
  463. .event-icon:before {
  464. color: #646970;
  465. font-size: 18px;
  466. }
  467. .event-meetup .event-icon:before {
  468. content: "\f484";
  469. }
  470. .event-wordcamp .event-icon:before {
  471. content: "\f486";
  472. }
  473. .community-events .event-title {
  474. font-weight: 600;
  475. display: block;
  476. }
  477. .community-events .event-date,
  478. .community-events .event-time {
  479. display: block;
  480. }
  481. .community-events-footer {
  482. margin-top: 0;
  483. margin-bottom: 0;
  484. padding: 12px;
  485. border-top: 1px solid #f0f0f1;
  486. color: #dcdcde;
  487. }
  488. /* Safari 10 + VoiceOver specific: without this, the hidden text gets read out before the link. */
  489. .community-events-footer .screen-reader-text {
  490. height: inherit;
  491. white-space: nowrap;
  492. }
  493. /* Dashboard WordPress news */
  494. #dashboard_primary .inside {
  495. margin: 0;
  496. padding: 0;
  497. }
  498. #dashboard_primary .widget-loading {
  499. padding: 12px 12px 0;
  500. margin-bottom: 1em !important; /* Needs to override `.postbox .inside > p:last-child` in common.css */
  501. }
  502. /* Notice when JS is off. */
  503. #dashboard_primary .inside .notice {
  504. margin: 0;
  505. }
  506. body #dashboard-widgets .postbox form .submit {
  507. margin: 0;
  508. }
  509. /* Used only for configurable widgets. */
  510. .dashboard-widget-control-form p {
  511. margin-top: 0;
  512. }
  513. .rssSummary {
  514. color: #646970;
  515. margin-top: 4px;
  516. }
  517. #dashboard_primary .rss-widget {
  518. font-size: 13px;
  519. padding: 0 12px;
  520. }
  521. #dashboard_primary .rss-widget:last-child {
  522. border-bottom: none;
  523. padding-bottom: 8px;
  524. }
  525. #dashboard_primary .rss-widget a {
  526. font-weight: 400;
  527. }
  528. #dashboard_primary .rss-widget span,
  529. #dashboard_primary .rss-widget span.rss-date {
  530. color: #646970;
  531. }
  532. #dashboard_primary .rss-widget span.rss-date {
  533. margin-left: 12px;
  534. }
  535. #dashboard_primary .rss-widget ul li {
  536. padding: 4px 0;
  537. margin: 0;
  538. }
  539. /* Dashboard right now */
  540. #dashboard_right_now ul {
  541. margin: 0;
  542. /* contain floats but don't use overflow: hidden */
  543. display: inline-block;
  544. width: 100%;
  545. }
  546. #dashboard_right_now li {
  547. width: 50%;
  548. float: left;
  549. margin-bottom: 10px;
  550. }
  551. #dashboard_right_now .inside {
  552. padding: 0;
  553. }
  554. #dashboard_right_now .main {
  555. padding: 0 12px 11px;
  556. }
  557. #dashboard_right_now .main p {
  558. margin: 0;
  559. }
  560. #dashboard_right_now #wp-version-message .button {
  561. float: right;
  562. position: relative;
  563. top: -5px;
  564. margin-left: 5px;
  565. }
  566. #dashboard_right_now p.search-engines-info {
  567. margin: 1em 0;
  568. }
  569. .mu-storage {
  570. overflow: hidden;
  571. }
  572. #dashboard-widgets h3.mu-storage {
  573. margin: 0 0 10px;
  574. padding: 0;
  575. font-size: 14px;
  576. font-weight: 400;
  577. }
  578. /* Dashboard right now - Colors */
  579. #dashboard_right_now .sub {
  580. color: #50575e;
  581. background: #f6f7f7;
  582. border-top: 1px solid #f0f0f1;
  583. padding: 10px 12px 6px;
  584. }
  585. #dashboard_right_now .sub h3 {
  586. color: #50575e;
  587. }
  588. #dashboard_right_now .sub p {
  589. margin: 0 0 1em;
  590. }
  591. #dashboard_right_now .warning a:before,
  592. #dashboard_right_now .warning span:before {
  593. color: #d63638;
  594. }
  595. /* Dashboard Quick Draft */
  596. #dashboard_quick_press .inside {
  597. margin: 0;
  598. padding: 0;
  599. }
  600. #dashboard_quick_press div.updated {
  601. margin-bottom: 10px;
  602. border: 1px solid #f0f0f1;
  603. border-width: 1px 1px 1px 0;
  604. }
  605. #dashboard_quick_press form {
  606. margin: 12px;
  607. }
  608. #dashboard_quick_press .drafts {
  609. padding: 10px 0 0;
  610. }
  611. /* Dashboard Quick Draft - Form styling */
  612. #dashboard_quick_press label {
  613. display: inline-block;
  614. margin-bottom: 4px;
  615. }
  616. #dashboard_quick_press input,
  617. #dashboard_quick_press textarea {
  618. box-sizing: border-box;
  619. margin: 0;
  620. }
  621. #dashboard-widgets .postbox form .submit {
  622. margin: -39px 0;
  623. float: right;
  624. }
  625. #description-wrap {
  626. margin-top: 12px;
  627. }
  628. #quick-press textarea#content {
  629. min-height: 90px;
  630. max-height: 1300px;
  631. margin: 0 0 8px;
  632. padding: 6px 7px;
  633. resize: none;
  634. }
  635. /* Dashboard Quick Draft - Drafts list */
  636. .js #dashboard_quick_press .drafts {
  637. border-top: 1px solid #f0f0f1;
  638. }
  639. #dashboard_quick_press .drafts abbr {
  640. border: none;
  641. }
  642. #dashboard_quick_press .drafts .view-all {
  643. float: right;
  644. margin: 0 12px 0 0;
  645. }
  646. #dashboard_primary a.rsswidget {
  647. font-weight: 400;
  648. }
  649. #dashboard_quick_press .drafts ul {
  650. margin: 0 12px;
  651. }
  652. #dashboard_quick_press .drafts li {
  653. margin-bottom: 1em;
  654. }
  655. #dashboard_quick_press .drafts li time {
  656. color: #646970;
  657. }
  658. #dashboard_quick_press .drafts p {
  659. margin: 0;
  660. word-wrap: break-word;
  661. }
  662. #dashboard_quick_press .draft-title {
  663. word-wrap: break-word;
  664. }
  665. #dashboard_quick_press .draft-title a,
  666. #dashboard_quick_press .draft-title time {
  667. margin: 0 5px 0 0;
  668. }
  669. /* Dashboard common styles */
  670. #dashboard-widgets h4, /* Back-compat for pre-4.4 */
  671. #dashboard-widgets h3,
  672. #dashboard_quick_press .drafts h2 {
  673. margin: 0 12px 8px;
  674. padding: 0;
  675. font-size: 14px;
  676. font-weight: 400;
  677. color: #1d2327;
  678. }
  679. #dashboard_quick_press .drafts h2 {
  680. line-height: inherit;
  681. }
  682. #dashboard-widgets .inside h4, /* Back-compat for pre-4.4 */
  683. #dashboard-widgets .inside h3 {
  684. margin-left: 0;
  685. margin-right: 0;
  686. }
  687. /* Dashboard activity widget */
  688. #dashboard_activity .comment-meta span.approve:before {
  689. content: "\f227";
  690. font: 20px/.5 dashicons;
  691. margin-left: 5px;
  692. vertical-align: middle;
  693. position: relative;
  694. top: -1px;
  695. margin-right: 2px;
  696. }
  697. #dashboard_activity .inside {
  698. margin: 0;
  699. padding-bottom: 0;
  700. }
  701. #dashboard_activity .no-activity {
  702. overflow: hidden;
  703. padding: 12px 0;
  704. text-align: center;
  705. }
  706. #dashboard_activity .no-activity p {
  707. color: #646970;
  708. font-size: 16px;
  709. }
  710. #dashboard_activity .subsubsub {
  711. float: none;
  712. border-top: 1px solid #f0f0f1;
  713. margin: 0 -12px;
  714. padding: 8px 12px 4px;
  715. }
  716. #dashboard_activity .subsubsub a .count,
  717. #dashboard_activity .subsubsub a.current .count {
  718. color: #646970; /* white background on the dashboard but #f0f0f1 on list tables */
  719. }
  720. #future-posts ul,
  721. #published-posts ul {
  722. clear: both;
  723. margin-bottom: 0;
  724. }
  725. #future-posts li,
  726. #published-posts li {
  727. margin-bottom: 8px;
  728. }
  729. #future-posts ul span,
  730. #published-posts ul span {
  731. display: inline-block;
  732. margin-right: 5px;
  733. min-width: 150px;
  734. color: #646970;
  735. }
  736. .activity-block {
  737. border-bottom: 1px solid #f0f0f1;
  738. margin: 0 -12px;
  739. padding: 8px 12px 4px;
  740. }
  741. .activity-block:last-child {
  742. border-bottom: none;
  743. }
  744. .activity-block .subsubsub li {
  745. color: #dcdcde;
  746. }
  747. /* Dashboard activity widget - Comments */
  748. /* @todo: needs serious de-duplication */
  749. #activity-widget #the-comment-list tr.undo,
  750. #activity-widget #the-comment-list div.undo {
  751. background: none;
  752. padding: 6px 0;
  753. margin-left: 12px;
  754. }
  755. #activity-widget #the-comment-list .comment-item {
  756. background: #f6f7f7;
  757. padding: 12px;
  758. position: relative;
  759. }
  760. #activity-widget #the-comment-list .avatar {
  761. position: absolute;
  762. top: 12px;
  763. }
  764. #activity-widget #the-comment-list .dashboard-comment-wrap.has-avatar {
  765. padding-left: 63px;
  766. }
  767. #activity-widget #the-comment-list .dashboard-comment-wrap blockquote {
  768. margin: 1em 0;
  769. }
  770. #activity-widget #the-comment-list .comment-item p.row-actions {
  771. margin: 4px 0 0;
  772. }
  773. #activity-widget #the-comment-list .comment-item:first-child {
  774. border-top: 1px solid #f0f0f1;
  775. }
  776. #activity-widget #the-comment-list .unapproved {
  777. background-color: #fcf9e8;
  778. }
  779. #activity-widget #the-comment-list .unapproved:before {
  780. content: "";
  781. display: block;
  782. position: absolute;
  783. left: 0;
  784. top: 0;
  785. bottom: 0;
  786. background: #d63638;
  787. width: 4px;
  788. }
  789. #activity-widget #the-comment-list .spam-undo-inside .avatar,
  790. #activity-widget #the-comment-list .trash-undo-inside .avatar {
  791. position: relative;
  792. top: 0;
  793. }
  794. /* Browse happy box */
  795. #dashboard-widgets #dashboard_browser_nag.postbox .inside {
  796. margin: 10px;
  797. }
  798. .postbox .button-link .edit-box {
  799. display: none;
  800. }
  801. .edit-box {
  802. opacity: 0;
  803. }
  804. .hndle:hover .edit-box,
  805. .edit-box:focus {
  806. opacity: 1;
  807. }
  808. #dashboard-widgets form .input-text-wrap input {
  809. width: 100%;
  810. }
  811. #dashboard-widgets form .textarea-wrap textarea {
  812. width: 100%;
  813. }
  814. #dashboard-widgets .postbox form .submit {
  815. float: none;
  816. margin: .5em 0 0;
  817. padding: 0;
  818. border: none;
  819. }
  820. #dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish {
  821. min-width: 0;
  822. }
  823. #dashboard-widgets li a,
  824. #dashboard-widgets .button-link,
  825. .community-events-footer a {
  826. text-decoration: none;
  827. }
  828. #dashboard-widgets h2 a {
  829. text-decoration: underline;
  830. }
  831. #dashboard-widgets .hndle .postbox-title-action {
  832. float: right;
  833. line-height: 1.2;
  834. }
  835. #dashboard_plugins h5 {
  836. font-size: 14px;
  837. }
  838. /* Recent Comments */
  839. #latest-comments #the-comment-list {
  840. position: relative;
  841. margin: 0 -12px;
  842. }
  843. #activity-widget #the-comment-list .comment,
  844. #activity-widget #the-comment-list .pingback {
  845. box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
  846. }
  847. #activity-widget .comments #the-comment-list .alt {
  848. background-color: transparent;
  849. }
  850. #activity-widget #latest-comments #the-comment-list .comment-item {
  851. /* the row-actions paragraph is output only for users with 'edit_comment' capabilities,
  852. for other users this needs a min height equal to the gravatar image */
  853. min-height: 50px;
  854. margin: 0;
  855. padding: 12px;
  856. }
  857. #latest-comments #the-comment-list .pingback {
  858. padding-left: 12px !important;
  859. }
  860. #latest-comments #the-comment-list .comment-item:first-child {
  861. border-top: none;
  862. }
  863. #latest-comments #the-comment-list .comment-meta {
  864. line-height: 1.5;
  865. margin: 0;
  866. color: #646970;
  867. }
  868. #latest-comments #the-comment-list .comment-meta cite {
  869. font-style: normal;
  870. font-weight: 400;
  871. }
  872. #latest-comments #the-comment-list .comment-item blockquote,
  873. #latest-comments #the-comment-list .comment-item blockquote p {
  874. margin: 0;
  875. padding: 0;
  876. display: inline;
  877. }
  878. #latest-comments #the-comment-list .comment-item p.row-actions {
  879. margin: 3px 0 0;
  880. padding: 0;
  881. font-size: 13px;
  882. }
  883. /* Feeds */
  884. .rss-widget ul {
  885. margin: 0;
  886. padding: 0;
  887. list-style: none;
  888. }
  889. a.rsswidget {
  890. font-size: 13px;
  891. font-weight: 600;
  892. line-height: 1.4;
  893. }
  894. .rss-widget ul li {
  895. line-height: 1.5;
  896. margin-bottom: 12px;
  897. }
  898. .rss-widget span.rss-date {
  899. color: #646970;
  900. font-size: 13px;
  901. margin-left: 3px;
  902. }
  903. .rss-widget cite {
  904. display: block;
  905. text-align: right;
  906. margin: 0 0 1em;
  907. padding: 0;
  908. }
  909. .rss-widget cite:before {
  910. content: "\2014";
  911. }
  912. .dashboard-comment-wrap {
  913. word-wrap: break-word;
  914. }
  915. /* Browser Nag */
  916. #dashboard_browser_nag a.update-browser-link {
  917. font-size: 1.2em;
  918. font-weight: 600;
  919. }
  920. #dashboard_browser_nag a {
  921. text-decoration: underline;
  922. }
  923. #dashboard_browser_nag p.browser-update-nag.has-browser-icon {
  924. padding-right: 128px;
  925. }
  926. #dashboard_browser_nag .browser-icon {
  927. margin-top: -32px;
  928. }
  929. #dashboard_browser_nag.postbox {
  930. background-color: #b32d2e;
  931. background-image: none;
  932. border-color: #b32d2e;
  933. color: #fff;
  934. box-shadow: none;
  935. }
  936. #dashboard_browser_nag.postbox h2 {
  937. border-bottom-color: transparent;
  938. background: transparent none;
  939. color: #fff;
  940. box-shadow: none;
  941. }
  942. #dashboard_browser_nag a {
  943. color: #fff;
  944. }
  945. #dashboard_browser_nag.postbox .postbox-header {
  946. border-color: transparent;
  947. }
  948. #dashboard_browser_nag h2.hndle {
  949. border: none;
  950. font-weight: 600;
  951. font-size: 20px;
  952. padding-top: 10px;
  953. }
  954. .postbox#dashboard_browser_nag p a.dismiss {
  955. font-size: 14px;
  956. }
  957. .postbox#dashboard_browser_nag p,
  958. .postbox#dashboard_browser_nag a,
  959. .postbox#dashboard_browser_nag p.browser-update-nag {
  960. font-size: 16px;
  961. }
  962. /* PHP Nag */
  963. #dashboard_php_nag .dashicons-warning {
  964. color: #dba617;
  965. padding-right: 6px;
  966. }
  967. #dashboard_php_nag.php-insecure .dashicons-warning {
  968. color: #d63638;
  969. }
  970. #dashboard_php_nag h2 {
  971. display: inline-block;
  972. }
  973. #dashboard_php_nag p {
  974. margin: 12px 0;
  975. }
  976. #dashboard_php_nag h3 {
  977. font-weight: 600;
  978. }
  979. #dashboard_php_nag .button .dashicons-external {
  980. line-height: 25px;
  981. }
  982. /* =Media Queries
  983. -------------------------------------------------------------- */
  984. @media only screen and (min-width: 1600px) {
  985. .welcome-panel .welcome-panel-column-container {
  986. display: flex;
  987. justify-content: center;
  988. }
  989. .welcome-panel-column {
  990. width: 100%;
  991. max-width: 460px;
  992. }
  993. }
  994. /* one column on the dash */
  995. @media only screen and (max-width: 799px) {
  996. #wpbody-content #dashboard-widgets .postbox-container {
  997. width: 100%;
  998. }
  999. #dashboard-widgets .meta-box-sortables {
  1000. min-height: 0;
  1001. }
  1002. .is-dragging-metaboxes #dashboard-widgets .meta-box-sortables {
  1003. min-height: 100px;
  1004. }
  1005. #dashboard-widgets .meta-box-sortables.empty-container {
  1006. margin-bottom: 0;
  1007. }
  1008. }
  1009. /* two columns on the dash, but keep the setting if one is selected */
  1010. @media only screen and (min-width: 800px) and (max-width: 1499px) {
  1011. #wpbody-content #dashboard-widgets .postbox-container {
  1012. width: 49.5%;
  1013. }
  1014. #wpbody-content #dashboard-widgets #postbox-container-2,
  1015. #wpbody-content #dashboard-widgets #postbox-container-3,
  1016. #wpbody-content #dashboard-widgets #postbox-container-4 {
  1017. float: right;
  1018. width: 50.5%;
  1019. }
  1020. #dashboard-widgets #postbox-container-3 .empty-container,
  1021. #dashboard-widgets #postbox-container-4 .empty-container {
  1022. outline: none;
  1023. height: 0;
  1024. min-height: 0;
  1025. margin-bottom: 0;
  1026. }
  1027. #dashboard-widgets #postbox-container-3 .empty-container:after,
  1028. #dashboard-widgets #postbox-container-4 .empty-container:after {
  1029. display: none;
  1030. }
  1031. #wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container {
  1032. width: 100%;
  1033. }
  1034. #wpbody #dashboard-widgets .metabox-holder.columns-1 .postbox-container .empty-container {
  1035. outline: none;
  1036. height: 0;
  1037. min-height: 0;
  1038. margin-bottom: 0;
  1039. }
  1040. /* show the radio buttons for column prefs only for one or two columns */
  1041. .index-php .screen-layout,
  1042. .index-php .columns-prefs {
  1043. display: block;
  1044. }
  1045. .columns-prefs .columns-prefs-3,
  1046. .columns-prefs .columns-prefs-4 {
  1047. display: none;
  1048. }
  1049. #dashboard-widgets .postbox-container .empty-container:after {
  1050. display: block;
  1051. }
  1052. }
  1053. /* three columns on the dash */
  1054. @media only screen and (min-width: 1500px) and (max-width: 1800px) {
  1055. #wpbody-content #dashboard-widgets .postbox-container {
  1056. width: 33.5%;
  1057. }
  1058. #wpbody-content #dashboard-widgets #postbox-container-1 {
  1059. width: 33%;
  1060. }
  1061. #wpbody-content #dashboard-widgets #postbox-container-3,
  1062. #wpbody-content #dashboard-widgets #postbox-container-4 {
  1063. float: right;
  1064. }
  1065. #dashboard-widgets #postbox-container-4 .empty-container {
  1066. outline: none;
  1067. height: 0;
  1068. min-height: 0;
  1069. margin-bottom: 0;
  1070. }
  1071. #dashboard-widgets #postbox-container-4 .empty-container:after {
  1072. display: none;
  1073. }
  1074. #dashboard-widgets .postbox-container .empty-container:after {
  1075. display: block;
  1076. }
  1077. }
  1078. /* Always show the "Drag boxes here" CSS generated content on large screens. */
  1079. @media only screen and (min-width: 1801px) {
  1080. #dashboard-widgets .postbox-container .empty-container:after {
  1081. display: block;
  1082. }
  1083. }
  1084. @media screen and (max-width: 870px) {
  1085. /* @deprecated 5.9.0 -- Lists removed from welcome panel. */
  1086. .welcome-panel .welcome-panel-column li {
  1087. display: inline-block;
  1088. margin-right: 13px;
  1089. }
  1090. /* @deprecated 5.9.0 -- Lists removed from welcome panel. */
  1091. .welcome-panel .welcome-panel-column ul {
  1092. margin: 0.4em 0 0;
  1093. }
  1094. }
  1095. @media screen and (max-width: 1180px) and (min-width: 783px) {
  1096. .welcome-panel-column {
  1097. grid-template-columns: 1fr;
  1098. }
  1099. [class*="welcome-panel-icon"] {
  1100. display: none;
  1101. }
  1102. }
  1103. @media screen and (max-width: 782px) {
  1104. .welcome-panel-header {
  1105. --about-header-bg-width: calc(var(--about-header-image-width) * 0.4);
  1106. --about-header-bg-offset-inline: 1rem;
  1107. }
  1108. .welcome-panel-header-image {
  1109. top: 2rem;
  1110. }
  1111. .welcome-panel .welcome-panel-column-container {
  1112. grid-template-columns: 1fr;
  1113. box-sizing: border-box;
  1114. padding: 32px;
  1115. width: 100%;
  1116. }
  1117. .welcome-panel .welcome-panel-column-content {
  1118. max-width: 520px;
  1119. }
  1120. /* Keep the close icon from overlapping the Welcome text. */
  1121. .welcome-panel .welcome-panel-close {
  1122. overflow: hidden;
  1123. text-indent: 40px;
  1124. white-space: nowrap;
  1125. width: 20px;
  1126. height: 20px;
  1127. padding: 5px;
  1128. top: 5px;
  1129. right: 5px;
  1130. }
  1131. .welcome-panel .welcome-panel-close::before {
  1132. top: 5px;
  1133. left: -35px;
  1134. }
  1135. #dashboard-widgets h2 {
  1136. padding: 12px;
  1137. }
  1138. #dashboard_recent_comments #the-comment-list .comment-item .avatar {
  1139. height: 30px;
  1140. width: 30px;
  1141. margin: 4px 10px 5px 0;
  1142. }
  1143. .community-events-toggle-location {
  1144. height: 38px;
  1145. vertical-align: baseline;
  1146. }
  1147. .community-events-form .regular-text {
  1148. height: 32px;
  1149. }
  1150. #community-events-submit {
  1151. margin-bottom: 0;
  1152. /* Override .wp-core-ui .button */
  1153. vertical-align: top;
  1154. }
  1155. .community-events-form label,
  1156. #dashboard-widgets .community-events-cancel.button-link {
  1157. /* Same properties as the submit button for cross-browsers alignment. */
  1158. font-size: 14px;
  1159. line-height: normal;
  1160. height: auto;
  1161. padding: 6px 0;
  1162. border: 1px solid transparent;
  1163. }
  1164. .community-events .spinner {
  1165. margin-top: 7px;
  1166. }
  1167. }
  1168. /* Smartphone */
  1169. @media screen and (max-width: 600px) {
  1170. .welcome-panel-header {
  1171. padding: 32px 32px 64px;
  1172. }
  1173. .welcome-panel-header-image {
  1174. display: none;
  1175. }
  1176. }
  1177. @media screen and (max-width: 480px) {
  1178. .welcome-panel-column {
  1179. gap: 16px;
  1180. }
  1181. }
  1182. @media screen and (max-width: 360px) {
  1183. .welcome-panel-column {
  1184. grid-template-columns: 1fr;
  1185. }
  1186. [class*="welcome-panel-icon"] {
  1187. display: none;
  1188. }
  1189. }
  1190. @media screen and (min-width: 355px) {
  1191. .community-events .event-info {
  1192. display: table-row;
  1193. float: left;
  1194. max-width: 59%;
  1195. }
  1196. .event-icon,
  1197. .event-icon[aria-hidden="true"] {
  1198. display: table-cell;
  1199. }
  1200. .event-info-inner {
  1201. display: table-cell;
  1202. }
  1203. .community-events .event-date-time {
  1204. float: right;
  1205. max-width: 39%;
  1206. }
  1207. .community-events .event-date,
  1208. .community-events .event-time {
  1209. text-align: right;
  1210. }
  1211. }