dashboard.css 24 KB

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