dashboard-rtl.css 29 KB

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