Нет описания

dashboard-rtl.css 24KB

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