dashboard.css 23 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282
  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. .ie8 #wpbody-content #dashboard-widgets .postbox-container {
  33. width: 49.5%;
  34. }
  35. .ie8 #wpbody-content #dashboard-widgets #postbox-container-2,
  36. .ie8 #wpbody-content #dashboard-widgets #postbox-container-3,
  37. .ie8 #wpbody-content #dashboard-widgets #postbox-container-4 {
  38. float: right;
  39. width: 50.5%;
  40. }
  41. .ie8 #dashboard-widgets #postbox-container-3 .empty-container,
  42. .ie8 #dashboard-widgets #postbox-container-4 .empty-container {
  43. border: 0 none;
  44. height: 0;
  45. min-height: 0;
  46. }
  47. #dashboard-widgets-wrap {
  48. overflow: hidden;
  49. margin: 0 -8px;
  50. }
  51. #dashboard-widgets .postbox .inside {
  52. margin-bottom: 0;
  53. }
  54. #dashboard-widgets .meta-box-sortables {
  55. margin: 0 8px;
  56. min-height: 100px;
  57. }
  58. /* @todo: this was originally in this section, but likely belongs elsewhere */
  59. #the-comment-list td.comment p.comment-author {
  60. margin-top: 0;
  61. margin-left: 0;
  62. }
  63. #the-comment-list p.comment-author img {
  64. float: left;
  65. margin-right: 8px;
  66. }
  67. #the-comment-list p.comment-author strong a {
  68. border: none;
  69. }
  70. #the-comment-list td {
  71. vertical-align: top;
  72. }
  73. #the-comment-list td.comment {
  74. word-wrap: break-word;
  75. }
  76. #the-comment-list td.comment img {
  77. max-width: 100%;
  78. }
  79. /* Welcome Panel */
  80. .welcome-panel {
  81. position: relative;
  82. overflow: auto;
  83. margin: 16px 0;
  84. padding: 23px 10px 0;
  85. border: 1px solid #ccd0d4;
  86. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  87. background: #fff;
  88. font-size: 13px;
  89. line-height: 1.7;
  90. }
  91. .welcome-panel h2 {
  92. margin: 0;
  93. font-size: 21px;
  94. font-weight: 400;
  95. line-height: 1.2;
  96. }
  97. .welcome-panel h3 {
  98. margin: 1.33em 0 0;
  99. font-size: 16px;
  100. }
  101. .welcome-panel li {
  102. font-size: 14px;
  103. }
  104. .welcome-panel p {
  105. color: #72777c;
  106. }
  107. .welcome-panel a {
  108. text-decoration: none;
  109. }
  110. .welcome-panel .about-description {
  111. font-size: 16px;
  112. margin: 0;
  113. }
  114. .welcome-panel .welcome-panel-close {
  115. position: absolute;
  116. top: 10px;
  117. right: 10px;
  118. padding: 10px 15px 10px 21px;
  119. font-size: 13px;
  120. line-height: 1.23076923; /* Chrome rounding, needs to be 16px equivalent */
  121. text-decoration: none;
  122. }
  123. .welcome-panel .welcome-panel-close:before {
  124. position: absolute;
  125. top: 8px;
  126. left: 0;
  127. transition: all .1s ease-in-out;
  128. }
  129. .wp-core-ui .welcome-panel .button.button-hero {
  130. margin: 15px 13px 3px 0;
  131. padding: 12px 36px;
  132. height: auto;
  133. line-height: 1.4285714;
  134. white-space: normal;
  135. }
  136. .welcome-panel-content {
  137. margin-left: 13px;
  138. max-width: 1500px;
  139. }
  140. .welcome-panel .welcome-panel-column-container {
  141. clear: both;
  142. position: relative;
  143. }
  144. .welcome-panel .welcome-panel-column {
  145. width: 32%;
  146. min-width: 200px;
  147. float: left;
  148. }
  149. .ie8 .welcome-panel .welcome-panel-column {
  150. min-width: 230px;
  151. }
  152. .welcome-panel .welcome-panel-column:first-child {
  153. width: 36%;
  154. }
  155. .welcome-panel-column p.hide-if-no-customize {
  156. margin-top: 10px;
  157. }
  158. .welcome-panel-column p {
  159. margin-top: 7px;
  160. color: #444;
  161. }
  162. .welcome-panel .welcome-widgets-menus {
  163. line-height: 1.14285714;
  164. }
  165. .welcome-panel .welcome-panel-column ul {
  166. margin: 0.8em 1em 1em 0;
  167. }
  168. .welcome-panel .welcome-panel-column li {
  169. line-height: 1.14285714;
  170. list-style-type: none;
  171. padding: 0 0 8px;
  172. }
  173. .welcome-panel .welcome-icon {
  174. background: transparent !important;
  175. }
  176. /* Welcome Panel and Right Now common Icons style */
  177. .welcome-panel .welcome-icon:before,
  178. #dashboard_right_now li a:before,
  179. #dashboard_right_now li span:before {
  180. color: #606a73;
  181. font: normal 20px/1 dashicons;
  182. speak: none;
  183. display: inline-block;
  184. padding: 0 10px 0 0;
  185. position: relative;
  186. -webkit-font-smoothing: antialiased;
  187. -moz-osx-font-smoothing: grayscale;
  188. text-decoration: none !important;
  189. vertical-align: top;
  190. }
  191. /* Welcome Panel specific Icons styles */
  192. .welcome-panel .welcome-write-blog:before,
  193. .welcome-panel .welcome-edit-page:before {
  194. content: "\f119";
  195. top: -3px;
  196. }
  197. .welcome-panel .welcome-add-page:before {
  198. content: "\f132";
  199. top: -1px;
  200. }
  201. .welcome-panel .welcome-setup-home:before {
  202. content: "\f102";
  203. top: -1px;
  204. }
  205. .welcome-panel .welcome-view-site:before {
  206. content: "\f115";
  207. top: -2px;
  208. }
  209. .welcome-panel .welcome-widgets-menus:before {
  210. content: "\f116";
  211. top: -2px;
  212. }
  213. .welcome-panel .welcome-comments:before {
  214. content: "\f117";
  215. top: -1px;
  216. }
  217. .welcome-panel .welcome-learn-more:before {
  218. content: "\f118";
  219. top: -1px;
  220. }
  221. /* Right Now specific Icons styles */
  222. #dashboard_right_now li a:before,
  223. #dashboard_right_now li > span:before { /* get only the first level span to exclude screen-reader-text in mu-storage */
  224. content: "\f159"; /* generic icon for items added by CPTs ? */
  225. padding: 0 5px 0 0;
  226. }
  227. #dashboard_right_now .page-count a:before,
  228. #dashboard_right_now .page-count span:before {
  229. content: "\f105";
  230. }
  231. #dashboard_right_now .post-count a:before,
  232. #dashboard_right_now .post-count span:before {
  233. content: "\f109";
  234. }
  235. #dashboard_right_now .comment-count a:before {
  236. content: "\f101";
  237. }
  238. #dashboard_right_now .comment-mod-count a:before {
  239. content: "\f125";
  240. }
  241. #dashboard_right_now .storage-count a:before {
  242. content: "\f104";
  243. }
  244. #dashboard_right_now .storage-count.warning a:before {
  245. content: "\f153";
  246. }
  247. /* Dashboard WordPress events */
  248. .community-events-errors {
  249. margin: 0;
  250. }
  251. .community-events-loading {
  252. padding: 10px 12px 8px;
  253. }
  254. .community-events {
  255. margin-bottom: 6px;
  256. padding: 0 12px;
  257. }
  258. .community-events .spinner {
  259. float: none;
  260. margin: 5px 2px 0;
  261. vertical-align: top;
  262. }
  263. .community-events-errors[aria-hidden="true"],
  264. .community-events-errors [aria-hidden="true"],
  265. .community-events-loading[aria-hidden="true"],
  266. .community-events[aria-hidden="true"],
  267. .community-events [aria-hidden="true"] {
  268. display: none;
  269. }
  270. .community-events .activity-block:first-child,
  271. .community-events h2 {
  272. padding-top: 12px;
  273. padding-bottom: 10px;
  274. }
  275. .community-events-form {
  276. margin: 15px 0 5px;
  277. }
  278. .community-events-form .regular-text {
  279. width: 40%;
  280. height: 29px;
  281. margin: 0;
  282. vertical-align: top;
  283. }
  284. .community-events li.event-none {
  285. border-left: 4px solid #00a0d2;
  286. }
  287. .community-events-form label {
  288. display: inline-block;
  289. vertical-align: top;
  290. line-height: 2.15384615;
  291. height: 28px;
  292. }
  293. .community-events .activity-block > p {
  294. margin-bottom: 0;
  295. display: inline;
  296. }
  297. .community-events-toggle-location {
  298. vertical-align: middle;
  299. }
  300. #community-events-submit {
  301. margin-left: 3px;
  302. margin-right: 3px;
  303. }
  304. /* Needs higher specificity than #dashboard-widgets .button-link */
  305. #dashboard-widgets .community-events-cancel.button-link {
  306. vertical-align: top;
  307. /* Same properties as the submit button for cross-browsers alignment. */
  308. line-height: 2;
  309. height: 28px;
  310. text-decoration: underline;
  311. }
  312. .community-events ul {
  313. background-color: #fafafa;
  314. padding-left: 0;
  315. padding-right: 0;
  316. padding-bottom: 0;
  317. }
  318. .community-events li {
  319. margin: 0;
  320. padding: 8px 12px;
  321. color: #32373c;
  322. }
  323. .community-events li:first-child {
  324. border-top: 1px solid #eee;
  325. }
  326. .community-events li ~ li {
  327. border-top: 1px solid #eee;
  328. }
  329. .community-events .activity-block.last {
  330. border-bottom: 1px solid #eee;
  331. padding-top: 0;
  332. margin-top: -1px;
  333. }
  334. .community-events .event-info {
  335. display: block;
  336. }
  337. .event-icon {
  338. height: 18px;
  339. padding-right: 10px;
  340. width: 18px;
  341. display: none; /* Hide on smaller screens */
  342. }
  343. .event-icon:before {
  344. color: #606a73;
  345. font-size: 18px;
  346. }
  347. .event-meetup .event-icon:before {
  348. content: "\f484";
  349. }
  350. .event-wordcamp .event-icon:before {
  351. content: "\f486";
  352. }
  353. .community-events .event-title {
  354. font-weight: 600;
  355. display: block;
  356. }
  357. .community-events .event-date,
  358. .community-events .event-time {
  359. display: block;
  360. }
  361. .community-events-footer {
  362. margin-top: 0;
  363. margin-bottom: 0;
  364. padding: 12px;
  365. border-top: 1px solid #eee;
  366. color: #ddd;
  367. }
  368. /* Safari 10 + VoiceOver specific: without this, the hidden text gets read out before the link. */
  369. .community-events-footer .screen-reader-text {
  370. height: inherit;
  371. white-space: nowrap;
  372. }
  373. /* Dashboard WordPress news */
  374. #dashboard_primary .inside {
  375. margin: 0;
  376. padding: 0;
  377. }
  378. #dashboard_primary .widget-loading {
  379. padding: 12px 12px 0;
  380. margin-bottom: 1em !important; /* Needs to override `.postbox .inside > p:last-child` in common.css */
  381. }
  382. /* Notice when JS is off. */
  383. #dashboard_primary .inside .notice {
  384. margin: 0;
  385. }
  386. body #dashboard-widgets .postbox form .submit {
  387. margin: 0;
  388. }
  389. /* Used only for configurable widgets. */
  390. .dashboard-widget-control-form p {
  391. margin-top: 0;
  392. }
  393. .rssSummary {
  394. color: #72777c;
  395. margin-top: 4px;
  396. }
  397. #dashboard_primary .rss-widget {
  398. font-size: 13px;
  399. padding: 0 12px 0;
  400. }
  401. #dashboard_primary .rss-widget:last-child {
  402. border-bottom: none;
  403. padding-bottom: 8px;
  404. }
  405. #dashboard_primary .rss-widget a {
  406. font-weight: 400;
  407. }
  408. #dashboard_primary .rss-widget span,
  409. #dashboard_primary .rss-widget span.rss-date {
  410. color: #72777c;
  411. }
  412. #dashboard_primary .rss-widget span.rss-date {
  413. margin-left: 12px;
  414. }
  415. #dashboard_primary .rss-widget ul li {
  416. padding: 4px 0;
  417. margin: 0;
  418. }
  419. /* Dashboard right now */
  420. #dashboard_right_now ul {
  421. margin: 0;
  422. /* contain floats but don't use overflow: hidden */
  423. display: inline-block;
  424. width: 100%;
  425. }
  426. #dashboard_right_now li {
  427. width: 50%;
  428. float: left;
  429. margin-bottom: 10px;
  430. }
  431. #dashboard_right_now .inside {
  432. padding: 0;
  433. }
  434. #dashboard_right_now .main {
  435. padding: 0 12px 11px;
  436. }
  437. #dashboard_right_now .main p {
  438. margin: 0;
  439. }
  440. #dashboard_right_now #wp-version-message .button {
  441. float: right;
  442. position: relative;
  443. top: -5px;
  444. margin-left: 5px;
  445. }
  446. .mu-storage {
  447. overflow: hidden;
  448. }
  449. #dashboard-widgets h3.mu-storage {
  450. margin: 0 0 10px;
  451. padding: 0;
  452. font-size: 14px;
  453. font-weight: 400;
  454. }
  455. /* Dashboard right now - Colors */
  456. #dashboard_right_now .sub {
  457. color: #555d66;
  458. background: #f5f5f5;
  459. border-top: 1px solid #eee;
  460. padding: 10px 12px 6px 12px;
  461. }
  462. #dashboard_right_now .sub h3 {
  463. color: #555;
  464. }
  465. #dashboard_right_now .sub p {
  466. margin: 0 0 1em;
  467. }
  468. #dashboard_right_now .warning a:before,
  469. #dashboard_right_now .warning span:before {
  470. color: #d54e21;
  471. }
  472. /* Dashboard Quick Draft */
  473. #dashboard_quick_press .inside {
  474. margin: 0;
  475. padding: 0;
  476. }
  477. #dashboard_quick_press div.updated {
  478. margin-bottom: 10px;
  479. border: 1px solid #eee;
  480. border-width: 1px 1px 1px 0;
  481. }
  482. #dashboard_quick_press form {
  483. margin: 12px;
  484. }
  485. #dashboard_quick_press .drafts {
  486. padding: 10px 0 0;
  487. }
  488. /* Dashboard Quick Draft - Form styling */
  489. #dashboard_quick_press label {
  490. display: inline-block;
  491. margin-bottom: 4px;
  492. }
  493. #dashboard_quick_press input,
  494. #dashboard_quick_press textarea {
  495. box-sizing: border-box;
  496. margin: 0;
  497. }
  498. #dashboard-widgets .postbox form .submit {
  499. margin: -39px 0;
  500. float: right;
  501. }
  502. #description-wrap {
  503. margin-top: 12px;
  504. }
  505. #quick-press textarea#content {
  506. min-height: 90px;
  507. max-height: 1300px;
  508. margin: 0 0 8px;
  509. padding: 6px 7px;
  510. resize: none;
  511. }
  512. /* Dashboard Quick Draft - Drafts list */
  513. .js #dashboard_quick_press .drafts {
  514. border-top: 1px solid #eee;
  515. }
  516. #dashboard_quick_press .drafts abbr {
  517. border: none;
  518. }
  519. #dashboard_quick_press .drafts .view-all {
  520. float: right;
  521. margin: 0 12px 0 0;
  522. }
  523. #dashboard_primary a.rsswidget {
  524. font-weight: 400;
  525. }
  526. #dashboard_quick_press .drafts ul {
  527. margin: 0 12px;
  528. }
  529. #dashboard_quick_press .drafts li {
  530. margin-bottom: 1em;
  531. }
  532. #dashboard_quick_press .drafts li time {
  533. color: #72777c;
  534. }
  535. #dashboard_quick_press .drafts p {
  536. margin: 0;
  537. word-wrap: break-word;
  538. }
  539. #dashboard_quick_press .draft-title {
  540. word-wrap: break-word;
  541. }
  542. #dashboard_quick_press .draft-title a,
  543. #dashboard_quick_press .draft-title time {
  544. margin: 0 5px 0 0;
  545. }
  546. /* Dashboard common styles */
  547. #dashboard-widgets h4, /* Back-compat for pre-4.4 */
  548. #dashboard-widgets h3,
  549. #dashboard_quick_press .drafts h2 {
  550. margin: 0 12px 8px;
  551. padding: 0;
  552. font-size: 14px;
  553. font-weight: 400;
  554. color: #23282d;
  555. }
  556. #dashboard_quick_press .drafts h2 {
  557. line-height: inherit;
  558. }
  559. #dashboard-widgets .inside h4, /* Back-compat for pre-4.4 */
  560. #dashboard-widgets .inside h3 {
  561. margin-left: 0;
  562. margin-right: 0;
  563. }
  564. /* Dashboard activity widget */
  565. #dashboard_activity .comment-meta span.approve:before {
  566. content: "\f227";
  567. font: 20px/.5 dashicons;
  568. margin-left: 5px;
  569. vertical-align: middle;
  570. position: relative;
  571. top: -1px;
  572. margin-right: 2px;
  573. }
  574. #dashboard_activity .inside {
  575. margin: 0;
  576. padding-bottom: 0;
  577. }
  578. #dashboard_activity .no-activity {
  579. overflow: hidden;
  580. padding: 0 0 12px;
  581. text-align: center;
  582. }
  583. #dashboard_activity .no-activity p {
  584. color: #72777c;
  585. font-size: 16px;
  586. }
  587. #dashboard_activity .no-activity .smiley {
  588. margin-top: 0;
  589. }
  590. #dashboard_activity .no-activity .smiley:before {
  591. content: "\f328";
  592. font: normal 120px/1 dashicons;
  593. speak: none;
  594. display: block;
  595. margin: 0 5px 0 0;
  596. padding: 0;
  597. text-indent: 0;
  598. text-align: center;
  599. position: relative;
  600. -webkit-font-smoothing: antialiased;
  601. text-decoration: none !important;
  602. }
  603. #dashboard_activity .subsubsub {
  604. float: none;
  605. border-top: 1px solid #eee;
  606. margin: 0 -12px;
  607. padding: 8px 12px 4px;
  608. }
  609. #dashboard_activity .subsubsub a .count,
  610. #dashboard_activity .subsubsub a.current .count {
  611. color: #72777c; /* white background on the dashboard but #f1f1f1 on list tables */
  612. }
  613. #future-posts ul,
  614. #published-posts ul {
  615. clear: both;
  616. margin-bottom: 0;
  617. }
  618. #future-posts li,
  619. #published-posts li {
  620. margin-bottom: 8px;
  621. }
  622. #future-posts ul span,
  623. #published-posts ul span {
  624. display: inline-block;
  625. margin-right: 5px;
  626. min-width: 150px;
  627. color: #72777c;
  628. }
  629. .activity-block {
  630. border-bottom: 1px solid #eee;
  631. margin: 0 -12px;
  632. padding: 8px 12px 4px;
  633. }
  634. .activity-block:last-child {
  635. border-bottom: none;
  636. }
  637. .activity-block .subsubsub li {
  638. color: #ddd;
  639. }
  640. /* Dashboard activity widget - Comments */
  641. /* @todo: needs serious de-duplication */
  642. #activity-widget #the-comment-list tr.undo,
  643. #activity-widget #the-comment-list div.undo {
  644. background: none;
  645. padding: 6px 0;
  646. margin-left: 12px;
  647. }
  648. #activity-widget #the-comment-list .comment-item {
  649. background: #fafafa;
  650. padding: 12px;
  651. position: relative;
  652. }
  653. #activity-widget #the-comment-list .avatar {
  654. position: absolute;
  655. top: 12px;
  656. }
  657. #activity-widget #the-comment-list .dashboard-comment-wrap {
  658. padding-left: 63px;
  659. }
  660. #activity-widget #the-comment-list .dashboard-comment-wrap blockquote {
  661. margin: 1em 0;
  662. }
  663. #activity-widget #the-comment-list .comment-item p.row-actions {
  664. margin: 4px 0 0 0;
  665. }
  666. #activity-widget #the-comment-list .comment-item:first-child {
  667. border-top: 1px solid #eeeeee;
  668. }
  669. #activity-widget #the-comment-list .unapproved {
  670. background-color: #fef7f1;
  671. }
  672. #activity-widget #the-comment-list .unapproved:before {
  673. content: "";
  674. display: block;
  675. position: absolute;
  676. left: 0;
  677. top: 0;
  678. bottom: 0;
  679. background: #d54e21;
  680. width: 4px;
  681. }
  682. #activity-widget #the-comment-list .spam-undo-inside .avatar,
  683. #activity-widget #the-comment-list .trash-undo-inside .avatar {
  684. position: relative;
  685. top: 0;
  686. }
  687. /* Browse happy box */
  688. #dashboard-widgets #dashboard_browser_nag.postbox .inside {
  689. margin: 10px;
  690. }
  691. .postbox .button-link .edit-box {
  692. display: none;
  693. }
  694. .edit-box {
  695. opacity: 0;
  696. }
  697. .hndle:hover .edit-box,
  698. .edit-box:focus {
  699. opacity: 1;
  700. }
  701. #dashboard-widgets form .input-text-wrap input {
  702. width: 100%;
  703. }
  704. #dashboard-widgets form .textarea-wrap textarea {
  705. width: 100%;
  706. }
  707. #dashboard-widgets .postbox form .submit {
  708. float: none;
  709. margin: .5em 0 0;
  710. padding: 0;
  711. border: none;
  712. }
  713. #dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish {
  714. min-width: 0;
  715. }
  716. #dashboard-widgets a,
  717. #dashboard-widgets .button-link {
  718. text-decoration: none;
  719. }
  720. #dashboard-widgets h2 a {
  721. text-decoration: underline;
  722. }
  723. #dashboard-widgets .hndle .postbox-title-action {
  724. float: right;
  725. line-height: 1.2;
  726. }
  727. #dashboard_plugins h5 {
  728. font-size: 14px;
  729. }
  730. /* Recent Comments */
  731. #latest-comments #the-comment-list {
  732. position: relative;
  733. margin: 0 -12px;
  734. }
  735. #activity-widget #the-comment-list .comment,
  736. #activity-widget #the-comment-list .pingback {
  737. box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
  738. }
  739. #activity-widget .comments #the-comment-list .alt {
  740. background-color: transparent;
  741. }
  742. #activity-widget #latest-comments #the-comment-list .comment-item {
  743. /* the row-actions paragraph is output only for users with 'edit_comment' capabilities,
  744. for other users this needs a min height equal to the gravatar image */
  745. min-height: 50px;
  746. margin: 0;
  747. padding: 12px;
  748. }
  749. #latest-comments #the-comment-list .pingback {
  750. padding-left: 12px !important;
  751. }
  752. #latest-comments #the-comment-list .comment-item:first-child {
  753. border-top: none;
  754. }
  755. #latest-comments #the-comment-list .comment-meta {
  756. line-height: 1.5;
  757. margin: 0;
  758. color: #666;
  759. }
  760. #latest-comments #the-comment-list .comment-meta cite {
  761. font-style: normal;
  762. font-weight: 400;
  763. }
  764. #latest-comments #the-comment-list .comment-item blockquote,
  765. #latest-comments #the-comment-list .comment-item blockquote p {
  766. margin: 0;
  767. padding: 0;
  768. display: inline;
  769. }
  770. #latest-comments #the-comment-list .comment-item p.row-actions {
  771. margin: 3px 0 0;
  772. padding: 0;
  773. font-size: 13px;
  774. }
  775. /* Feeds */
  776. .rss-widget ul {
  777. margin: 0;
  778. padding: 0;
  779. list-style: none;
  780. }
  781. a.rsswidget {
  782. font-size: 13px;
  783. font-weight: 600;
  784. line-height: 1.4;
  785. }
  786. .rss-widget ul li {
  787. line-height: 1.5;
  788. margin-bottom: 12px;
  789. }
  790. .rss-widget span.rss-date {
  791. color: #72777c;
  792. font-size: 13px;
  793. margin-left: 3px;
  794. }
  795. .rss-widget cite {
  796. display: block;
  797. text-align: right;
  798. margin: 0 0 1em;
  799. padding: 0;
  800. }
  801. .rss-widget cite:before {
  802. content: "\2014";
  803. }
  804. .dashboard-comment-wrap {
  805. word-wrap: break-word;
  806. }
  807. /* Browser Nag */
  808. #dashboard_browser_nag a.update-browser-link {
  809. font-size: 1.2em;
  810. font-weight: 600;
  811. }
  812. #dashboard_browser_nag a {
  813. text-decoration: underline;
  814. }
  815. #dashboard_browser_nag p.browser-update-nag.has-browser-icon {
  816. padding-right: 125px;
  817. }
  818. #dashboard_browser_nag .browser-icon {
  819. margin-top: -35px;
  820. }
  821. #dashboard_browser_nag.postbox.browser-insecure {
  822. background-color: #ac1b1b;
  823. border-color: #ac1b1b;
  824. }
  825. #dashboard_browser_nag.postbox {
  826. background-color: #e29808;
  827. background-image: none;
  828. border-color: #edc048;
  829. color: #fff;
  830. box-shadow: none;
  831. }
  832. #dashboard_browser_nag.postbox.browser-insecure h2 {
  833. border-bottom-color: #cd5a5a;
  834. color: #fff;
  835. }
  836. #dashboard_browser_nag.postbox h2 {
  837. border-bottom-color: #f6e2ac;
  838. background: transparent none;
  839. color: #fff;
  840. box-shadow: none;
  841. }
  842. #dashboard_browser_nag a {
  843. color: #fff;
  844. }
  845. #dashboard_browser_nag h2.hndle {
  846. border: none;
  847. font-weight: 600;
  848. font-size: 20px;
  849. padding-top: 10px;
  850. }
  851. .postbox#dashboard_browser_nag p a.dismiss {
  852. font-size: 14px;
  853. }
  854. .postbox#dashboard_browser_nag p,
  855. .postbox#dashboard_browser_nag a,
  856. .postbox#dashboard_browser_nag p.browser-update-nag {
  857. font-size: 16px;
  858. }
  859. /* PHP Nag */
  860. #dashboard_php_nag .dashicons-warning {
  861. color: #ffb900;
  862. padding-right: 6px;
  863. }
  864. #dashboard_php_nag.php-insecure .dashicons-warning {
  865. color: #df3232;
  866. }
  867. #dashboard_php_nag p {
  868. margin: 12px 0;
  869. }
  870. #dashboard_php_nag h3 {
  871. font-weight: 600;
  872. }
  873. #dashboard_php_nag .button .dashicons-external {
  874. line-height: 25px;
  875. }
  876. /* =Media Queries
  877. -------------------------------------------------------------- */
  878. /* one column on the dash */
  879. @media only screen and (max-width: 799px) {
  880. #wpbody-content #dashboard-widgets .postbox-container {
  881. width: 100%;
  882. }
  883. }
  884. /* two columns on the dash, but keep the setting if one is selected */
  885. @media only screen and (min-width: 800px) and (max-width: 1499px) {
  886. #wpbody-content #dashboard-widgets .postbox-container {
  887. width: 49.5%;
  888. }
  889. #wpbody-content #dashboard-widgets #postbox-container-2,
  890. #wpbody-content #dashboard-widgets #postbox-container-3,
  891. #wpbody-content #dashboard-widgets #postbox-container-4 {
  892. float: right;
  893. width: 50.5%;
  894. }
  895. #dashboard-widgets #postbox-container-3 .empty-container,
  896. #dashboard-widgets #postbox-container-4 .empty-container {
  897. border: 0 none;
  898. height: 0;
  899. min-height: 0;
  900. }
  901. #dashboard-widgets #postbox-container-3 .empty-container:after,
  902. #dashboard-widgets #postbox-container-4 .empty-container:after {
  903. display: none;
  904. }
  905. #wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container {
  906. width: 100%;
  907. }
  908. #wpbody #wpbody-content .metabox-holder.columns-1 .postbox-container .empty-container {
  909. border: 0 none;
  910. height: 0;
  911. min-height: 0;
  912. }
  913. /* show the radio buttons for column prefs only for one or two columns */
  914. .index-php .screen-layout,
  915. .index-php .columns-prefs {
  916. display: block;
  917. }
  918. .columns-prefs .columns-prefs-3,
  919. .columns-prefs .columns-prefs-4 {
  920. display: none;
  921. }
  922. .metabox-holder .postbox-container .empty-container:after {
  923. display: block;
  924. }
  925. }
  926. /* three columns on the dash */
  927. @media only screen and (min-width: 1500px) and (max-width: 1800px) {
  928. #wpbody-content #dashboard-widgets .postbox-container {
  929. width: 33.5%;
  930. }
  931. #wpbody-content #dashboard-widgets #postbox-container-1 {
  932. width: 33%;
  933. }
  934. #wpbody-content #dashboard-widgets #postbox-container-3,
  935. #wpbody-content #dashboard-widgets #postbox-container-4 {
  936. float: right;
  937. }
  938. #dashboard-widgets #postbox-container-4 .empty-container {
  939. border: 0 none;
  940. height: 0;
  941. min-height: 0;
  942. }
  943. #dashboard-widgets #postbox-container-4 .empty-container:after {
  944. display: none;
  945. }
  946. .metabox-holder .postbox-container .empty-container:after {
  947. display: block;
  948. }
  949. }
  950. @media screen and (max-width: 870px) {
  951. .welcome-panel .welcome-panel-column,
  952. .welcome-panel .welcome-panel-column:first-child {
  953. display: block;
  954. float: none;
  955. width: 100%;
  956. }
  957. .welcome-panel .welcome-panel-column li {
  958. display: inline-block;
  959. margin-right: 13px;
  960. }
  961. .welcome-panel .welcome-panel-column ul {
  962. margin: 0.4em 0 0;
  963. }
  964. }
  965. @media screen and (max-width: 782px) {
  966. #dashboard_recent_comments #the-comment-list .comment-item .avatar {
  967. height: 30px;
  968. width: 30px;
  969. margin: 4px 10px 5px 0;
  970. }
  971. .community-events-toggle-location {
  972. height: 38px;
  973. vertical-align: baseline;
  974. }
  975. .community-events-form .regular-text {
  976. height: 32px;
  977. }
  978. #community-events-submit {
  979. margin-bottom: 0;
  980. /* Override .wp-core-ui .button */
  981. vertical-align: top;
  982. }
  983. .community-events-form label,
  984. #dashboard-widgets .community-events-cancel.button-link {
  985. /* Same properties as the submit button for cross-browsers alignment. */
  986. font-size: 14px;
  987. line-height: normal;
  988. height: auto;
  989. padding: 6px 0;
  990. border: 1px solid transparent;
  991. }
  992. .community-events .spinner {
  993. margin-top: 7px;
  994. }
  995. }
  996. /* Smartphone */
  997. @media screen and (max-width: 600px) {
  998. /* Keep the close icon from overlapping the Welcome text. */
  999. .welcome-panel .welcome-panel-close {
  1000. overflow: hidden;
  1001. text-indent: 40px;
  1002. white-space: nowrap;
  1003. width: 20px;
  1004. height: 20px;
  1005. padding: 5px;
  1006. top: 5px;
  1007. right: 5px;
  1008. }
  1009. /* Make the close icon larger for tappability. */
  1010. .welcome-panel .welcome-panel-close:before {
  1011. font-size: 20px;
  1012. top: 5px;
  1013. left: -35px;
  1014. }
  1015. }
  1016. @media screen and (min-width: 355px) {
  1017. .community-events .event-info {
  1018. display: table-row;
  1019. float: left;
  1020. max-width: 59%;
  1021. }
  1022. .event-icon,
  1023. .event-icon[aria-hidden="true"] {
  1024. display: table-cell;
  1025. }
  1026. .event-info-inner {
  1027. display: table-cell;
  1028. }
  1029. .community-events .event-date-time {
  1030. float: right;
  1031. max-width: 39%;
  1032. }
  1033. .community-events .event-date,
  1034. .community-events .event-time {
  1035. text-align: right;
  1036. }
  1037. }