You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1110 lines
20 KiB

  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: left;
  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: left;
  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: left;
  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-right: 0;
  62. }
  63. #the-comment-list p.comment-author img {
  64. float: right;
  65. margin-left: 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. left: 10px;
  119. padding: 10px 21px 10px 15px;
  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. right: 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 0 3px 13px;
  133. padding: 12px 36px;
  134. height: auto;
  135. line-height: 1.4285714;
  136. white-space: normal;
  137. }
  138. .welcome-panel-content {
  139. margin-right: 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: right;
  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 0 1em 1em;
  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 0 0 10px;
  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 0 0 5px;
  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 news */
  246. #dashboard_primary .inside {
  247. margin: 0;
  248. padding: 0;
  249. }
  250. #dashboard_primary .widget-loading,
  251. #dashboard_primary .dashboard-widget-control-form {
  252. padding: 12px 12px 0;
  253. }
  254. body #dashboard-widgets .postbox form .submit {
  255. margin: 0;
  256. }
  257. .dashboard-widget-control-form {
  258. overflow: hidden;
  259. }
  260. .dashboard-widget-control-form p {
  261. margin-top: 0;
  262. }
  263. .rssSummary {
  264. color: #72777c;
  265. margin-top: 4px;
  266. }
  267. #dashboard_primary .rss-widget {
  268. border-bottom: 1px solid #eee;
  269. font-size: 13px;
  270. padding: 8px 12px 10px;
  271. }
  272. #dashboard_primary .rss-widget:last-child {
  273. border-bottom: none;
  274. padding-bottom: 8px;
  275. }
  276. #dashboard_primary .rss-widget a {
  277. font-weight: 400;
  278. }
  279. #dashboard_primary .rss-widget span,
  280. #dashboard_primary .rss-widget span.rss-date {
  281. color: #72777c;
  282. }
  283. #dashboard_primary .rss-widget span.rss-date {
  284. margin-right: 12px;
  285. }
  286. #dashboard_primary .rss-widget ul li {
  287. margin-bottom: 8px;
  288. }
  289. /* Dashboard right now */
  290. #dashboard_right_now ul {
  291. margin: 0;
  292. /* contain floats but don't use overflow: hidden */
  293. display: inline-block;
  294. width: 100%;
  295. }
  296. #dashboard_right_now li {
  297. width: 50%;
  298. float: right;
  299. margin-bottom: 10px;
  300. }
  301. #dashboard_right_now .inside {
  302. padding: 0;
  303. }
  304. #dashboard_right_now .main {
  305. padding: 0 12px 11px;
  306. }
  307. #dashboard_right_now .main p {
  308. margin: 0;
  309. }
  310. #dashboard_right_now #wp-version-message .button {
  311. float: left;
  312. position: relative;
  313. top: -5px;
  314. margin-right: 5px;
  315. }
  316. .mu-storage {
  317. overflow: hidden;
  318. }
  319. #dashboard-widgets h3.mu-storage {
  320. margin: 0 0 10px;
  321. padding: 0;
  322. font-size: 14px;
  323. font-weight: 400;
  324. }
  325. /* Dashboard right now - Colors */
  326. #dashboard_right_now .sub {
  327. color: #555d66;
  328. background: #f5f5f5;
  329. border-top: 1px solid #eee;
  330. padding: 10px 12px 6px 12px;
  331. }
  332. #dashboard_right_now .sub h3 {
  333. color: #555;
  334. }
  335. #dashboard_right_now .sub p {
  336. margin: 0 0 1em;
  337. }
  338. #dashboard_right_now .warning a:before,
  339. #dashboard_right_now .warning span:before {
  340. color: #d54e21;
  341. }
  342. /* Dashboard Quick Draft */
  343. #dashboard_quick_press .inside {
  344. margin: 0;
  345. padding: 0;
  346. }
  347. #dashboard_quick_press div.updated {
  348. margin-bottom: 10px;
  349. border: 1px solid #eee;
  350. border-width: 1px 0 1px 1px;
  351. }
  352. #dashboard_quick_press form {
  353. margin: 12px;
  354. }
  355. #dashboard_quick_press .drafts,
  356. #dashboard_quick_press .easy-blogging {
  357. padding: 10px 0 0;
  358. }
  359. /* Dashboard Quick Draft - Form styling */
  360. input#save-post {
  361. float: right;
  362. }
  363. form.initial-form.quickpress-open label.prompt {
  364. font-style: normal;
  365. }
  366. form.initial-form.quickpress-open input#title {
  367. height: auto;
  368. }
  369. #dashboard_quick_press input,
  370. #dashboard_quick_press textarea {
  371. -webkit-box-sizing: border-box;
  372. -moz-box-sizing: border-box;
  373. box-sizing: border-box;
  374. margin: 0;
  375. }
  376. #dashboard_quick_press textarea {
  377. resize: vertical;
  378. }
  379. #dashboard-widgets .postbox form .submit {
  380. margin: -39px 0;
  381. float: left;
  382. }
  383. #description-wrap {
  384. margin-top: 12px;
  385. }
  386. #title-wrap #title-prompt-text,
  387. .textarea-wrap #content-prompt-text {
  388. color: #72777c;
  389. }
  390. #title-wrap #title-prompt-text {
  391. font-size: 1.1em;
  392. padding: 7px 8px;
  393. }
  394. .input-text-wrap,
  395. .textarea-wrap {
  396. position: relative;
  397. }
  398. .input-text-wrap .prompt,
  399. .textarea-wrap .prompt {
  400. position: absolute;
  401. }
  402. .textarea-wrap #content-prompt-text {
  403. font-size: 1.1em;
  404. padding: 7px 8px;
  405. }
  406. .textarea-wrap textarea#content {
  407. margin: 0 0 8px;
  408. padding: 6px 7px;
  409. }
  410. #quick-press textarea#content {
  411. min-height: 90px;
  412. max-height: 1300px;
  413. resize: none;
  414. }
  415. /* Dashboard Quick Draft - Drafts list */
  416. .js #dashboard_quick_press .drafts {
  417. border-top: 1px solid #eee;
  418. }
  419. #dashboard_quick_press .drafts abbr {
  420. border: none;
  421. }
  422. #dashboard_quick_press .drafts .view-all {
  423. float: left;
  424. margin: 0 0 0 12px;
  425. }
  426. #dashboard_primary a.rsswidget {
  427. font-weight: 400;
  428. }
  429. #dashboard_quick_press .drafts ul {
  430. margin: 0 12px;
  431. }
  432. #dashboard_quick_press .drafts li {
  433. margin-bottom: 1em;
  434. }
  435. #dashboard_quick_press .drafts li time {
  436. color: #72777c;
  437. }
  438. #dashboard_quick_press .drafts p {
  439. margin: 0;
  440. word-wrap: break-word;
  441. }
  442. #dashboard_quick_press .draft-title {
  443. word-wrap: break-word;
  444. }
  445. #dashboard_quick_press .draft-title a,
  446. #dashboard_quick_press .draft-title time {
  447. margin: 0 0 0 5px;
  448. }
  449. /* Dashboard common styles */
  450. #dashboard-widgets h4, /* Back-compat for pre-4.4 */
  451. #dashboard-widgets h3,
  452. #dashboard_quick_press .drafts h2 {
  453. margin: 0 12px 8px;
  454. padding: 0;
  455. font-size: 14px;
  456. font-weight: 400;
  457. color: #23282d;
  458. }
  459. #dashboard_quick_press .drafts h2 {
  460. line-height: inherit;
  461. }
  462. #dashboard-widgets .inside h4, /* Back-compat for pre-4.4 */
  463. #dashboard-widgets .inside h3 {
  464. margin-right: 0;
  465. margin-left: 0;
  466. }
  467. /* Dashboard activity widget */
  468. #dashboard_activity .comment-meta span.approve:before {
  469. content: "\f227";
  470. font: 20px/.5 dashicons;
  471. margin-right: 5px;
  472. vertical-align: middle;
  473. position: relative;
  474. top: -1px;
  475. margin-left: 2px;
  476. }
  477. #dashboard_activity .inside {
  478. margin: 0;
  479. padding-bottom: 0;
  480. }
  481. #dashboard_activity .no-activity {
  482. overflow: hidden;
  483. padding: 0 0 12px;
  484. text-align: center;
  485. }
  486. #dashboard_activity .no-activity p {
  487. color: #72777c;
  488. font-size: 16px;
  489. }
  490. #dashboard_activity .no-activity .smiley {
  491. margin-top: 0;
  492. }
  493. #dashboard_activity .no-activity .smiley:before {
  494. content: "\f328";
  495. font: normal 120px/1 dashicons;
  496. speak: none;
  497. display: block;
  498. margin: 0 0 0 5px;
  499. padding: 0;
  500. text-indent: 0;
  501. text-align: center;
  502. position: relative;
  503. -webkit-font-smoothing: antialiased;
  504. text-decoration: none !important;
  505. }
  506. #dashboard_activity .subsubsub {
  507. float: none;
  508. border-top: 1px solid #eee;
  509. margin: 0 -12px;
  510. padding: 8px 12px 4px;
  511. }
  512. #dashboard_activity .subsubsub a .count,
  513. #dashboard_activity .subsubsub a.current .count {
  514. color: #72777c; /* white background on the dashboard but #f1f1f1 on list tables */
  515. }
  516. #future-posts ul,
  517. #published-posts ul {
  518. clear: both;
  519. margin-bottom: 0;
  520. }
  521. #future-posts li,
  522. #published-posts li {
  523. margin-bottom: 8px;
  524. }
  525. #future-posts ul span,
  526. #published-posts ul span {
  527. display: inline-block;
  528. margin-left: 5px;
  529. min-width: 150px;
  530. color: #72777c;
  531. }
  532. .activity-block {
  533. border-bottom: 1px solid #eee;
  534. margin: 0 -12px;
  535. padding: 8px 12px 4px;
  536. }
  537. .activity-block:last-child {
  538. border-bottom: none;
  539. }
  540. .activity-block .subsubsub li {
  541. color: #ddd;
  542. }
  543. /* Dashboard activity widget - Comments */
  544. /* @todo: needs serious de-duplication */
  545. #activity-widget #the-comment-list tr.undo,
  546. #activity-widget #the-comment-list div.undo {
  547. background: none;
  548. padding: 6px 0;
  549. margin-right: 12px;
  550. }
  551. #activity-widget #the-comment-list .comment-item {
  552. background: #fafafa;
  553. padding: 12px;
  554. position: relative;
  555. }
  556. #activity-widget #the-comment-list .avatar {
  557. position: absolute;
  558. top: 12px;
  559. }
  560. #activity-widget #the-comment-list .dashboard-comment-wrap {
  561. padding-right: 63px;
  562. }
  563. #activity-widget #the-comment-list .dashboard-comment-wrap blockquote {
  564. margin: 1em 0;
  565. }
  566. #activity-widget #the-comment-list .comment-item p.row-actions {
  567. margin: 4px 0 0 0;
  568. }
  569. #activity-widget #the-comment-list .comment-item:first-child {
  570. border-top: 1px solid #eeeeee;
  571. }
  572. #activity-widget #the-comment-list .unapproved {
  573. background-color: #fef7f1;
  574. }
  575. #activity-widget #the-comment-list .unapproved:before {
  576. content: "";
  577. display: block;
  578. position: absolute;
  579. right: 0;
  580. top: 0;
  581. bottom: 0;
  582. background: #d54e21;
  583. width: 4px;
  584. }
  585. #activity-widget #the-comment-list .spam-undo-inside .avatar,
  586. #activity-widget #the-comment-list .trash-undo-inside .avatar {
  587. position: relative;
  588. top: 0;
  589. }
  590. /* Browse happy box */
  591. #dashboard-widgets #dashboard_browser_nag.postbox .inside {
  592. margin: 10px;
  593. }
  594. .postbox .button-link .edit-box {
  595. display: none;
  596. }
  597. .edit-box {
  598. opacity: 0;
  599. }
  600. .hndle:hover .edit-box,
  601. .edit-box:focus {
  602. opacity: 1;
  603. }
  604. #dashboard-widgets form .input-text-wrap input {
  605. width: 100%;
  606. }
  607. #dashboard-widgets form .textarea-wrap textarea {
  608. width: 100%;
  609. }
  610. #dashboard-widgets .postbox form .submit {
  611. float: none;
  612. margin: .5em 0 0;
  613. padding: 0;
  614. border: none;
  615. }
  616. #dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish {
  617. min-width: 0;
  618. }
  619. #dashboard-widgets a {
  620. text-decoration: none;
  621. }
  622. #dashboard-widgets h2 a {
  623. text-decoration: underline;
  624. }
  625. #dashboard-widgets .hndle .postbox-title-action {
  626. float: left;
  627. line-height: 1.2;
  628. }
  629. #dashboard_plugins h5 {
  630. font-size: 14px;
  631. }
  632. /* Recent Comments */
  633. #latest-comments #the-comment-list {
  634. position: relative;
  635. margin: 0 -12px;
  636. }
  637. #activity-widget #the-comment-list .comment,
  638. #activity-widget #the-comment-list .pingback {
  639. -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
  640. box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
  641. }
  642. #activity-widget .comments #the-comment-list .alt {
  643. background-color: transparent;
  644. }
  645. #activity-widget #latest-comments #the-comment-list .comment-item {
  646. /* the row-actions paragraph is output only for users with 'edit_comment' capabilities,
  647. for other users this needs a min height equal to the gravatar image */
  648. min-height: 50px;
  649. margin: 0;
  650. padding: 12px;
  651. }
  652. #latest-comments #the-comment-list .pingback {
  653. padding-right: 12px !important;
  654. }
  655. #latest-comments #the-comment-list .comment-item:first-child {
  656. border-top: none;
  657. }
  658. #latest-comments #the-comment-list .comment-meta {
  659. line-height: 1.5em;
  660. margin: 0;
  661. color: #666;
  662. }
  663. #latest-comments #the-comment-list .comment-meta cite {
  664. font-style: normal;
  665. font-weight: 400;
  666. }
  667. #latest-comments #the-comment-list .comment-item blockquote,
  668. #latest-comments #the-comment-list .comment-item blockquote p {
  669. margin: 0;
  670. padding: 0;
  671. display: inline;
  672. }
  673. #latest-comments #the-comment-list .comment-item p.row-actions {
  674. margin: 3px 0 0;
  675. padding: 0;
  676. font-size: 13px;
  677. }
  678. /* QuickDraft */
  679. #title-wrap label,
  680. #description-wrap label {
  681. cursor: text;
  682. }
  683. #title-wrap #title {
  684. padding: 2px 6px;
  685. font-size: 1.3em;
  686. outline: none;
  687. }
  688. #title-wrap #title-prompt-text {
  689. font-size: 1.1em;
  690. padding: 5px 8px;
  691. }
  692. /* Feeds */
  693. .rss-widget ul {
  694. margin: 0;
  695. padding: 0;
  696. list-style: none;
  697. }
  698. a.rsswidget {
  699. font-size: 14px;
  700. font-weight: 600;
  701. line-height: 1.7em;
  702. }
  703. .rss-widget ul li {
  704. line-height: 1.5em;
  705. margin-bottom: 12px;
  706. }
  707. .rss-widget span.rss-date {
  708. color: #72777c;
  709. font-size: 13px;
  710. margin-right: 3px;
  711. }
  712. .rss-widget cite {
  713. display: block;
  714. text-align: left;
  715. margin: 0 0 1em;
  716. padding: 0;
  717. }
  718. .rss-widget cite:before {
  719. content: "\2014";
  720. }
  721. .dashboard-comment-wrap {
  722. word-wrap: break-word;
  723. }
  724. /* Browser Nag */
  725. #dashboard_browser_nag a.update-browser-link {
  726. font-size: 1.2em;
  727. font-weight: 600;
  728. }
  729. #dashboard_browser_nag a {
  730. text-decoration: underline;
  731. }
  732. #dashboard_browser_nag p.browser-update-nag.has-browser-icon {
  733. padding-left: 125px;
  734. }
  735. #dashboard_browser_nag .browser-icon {
  736. margin-top: -35px;
  737. }
  738. #dashboard_browser_nag.postbox.browser-insecure {
  739. background-color: #ac1b1b;
  740. border-color: #ac1b1b;
  741. }
  742. #dashboard_browser_nag.postbox {
  743. background-color: #e29808;
  744. background-image: none;
  745. border-color: #edc048;
  746. color: #fff;
  747. -webkit-box-shadow: none;
  748. box-shadow: none;
  749. }
  750. #dashboard_browser_nag.postbox.browser-insecure h2 {
  751. border-bottom-color: #cd5a5a;
  752. color: #fff;
  753. }
  754. #dashboard_browser_nag.postbox h2 {
  755. border-bottom-color: #f6e2ac;
  756. background: transparent none;
  757. color: #fff;
  758. -webkit-box-shadow: none;
  759. box-shadow: none;
  760. }
  761. #dashboard_browser_nag a {
  762. color: #fff;
  763. }
  764. #dashboard_browser_nag h2.hndle {
  765. border: none;
  766. font-weight: 600;
  767. font-size: 20px;
  768. padding-top: 10px;
  769. }
  770. .postbox#dashboard_browser_nag p a.dismiss {
  771. font-size: 14px;
  772. }
  773. .postbox#dashboard_browser_nag p,
  774. .postbox#dashboard_browser_nag a,
  775. .postbox#dashboard_browser_nag p.browser-update-nag {
  776. font-size: 16px;
  777. }
  778. /* =Media Queries
  779. -------------------------------------------------------------- */
  780. /* one column on the dash */
  781. @media only screen and (max-width: 799px) {
  782. #wpbody-content #dashboard-widgets .postbox-container {
  783. width: 100%;
  784. }
  785. }
  786. /* two columns on the dash, but keep the setting if one is selected */
  787. @media only screen and (min-width: 800px) and (max-width: 1499px) {
  788. #wpbody-content #dashboard-widgets .postbox-container {
  789. width: 49.5%;
  790. }
  791. #wpbody-content #dashboard-widgets #postbox-container-2,
  792. #wpbody-content #dashboard-widgets #postbox-container-3,
  793. #wpbody-content #dashboard-widgets #postbox-container-4 {
  794. float: left;
  795. width: 50.5%;
  796. }
  797. #dashboard-widgets #postbox-container-3 .empty-container,
  798. #dashboard-widgets #postbox-container-4 .empty-container {
  799. border: 0 none;
  800. height: 0;
  801. min-height: 0;
  802. }
  803. #dashboard-widgets #postbox-container-3 .empty-container:after,
  804. #dashboard-widgets #postbox-container-4 .empty-container:after {
  805. display: none;
  806. }
  807. #wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container {
  808. width: 100%;
  809. }
  810. #wpbody #wpbody-content .metabox-holder.columns-1 .postbox-container .empty-container {
  811. border: 0 none;
  812. height: 0;
  813. min-height: 0;
  814. }
  815. /* show the radio buttons for column prefs only for one or two columns */
  816. .index-php .screen-layout,
  817. .index-php .columns-prefs {
  818. display: block;
  819. }
  820. .columns-prefs .columns-prefs-3,
  821. .columns-prefs .columns-prefs-4 {
  822. display: none;
  823. }
  824. .metabox-holder .postbox-container .empty-container:after {
  825. display: block;
  826. }
  827. }
  828. /* three columns on the dash */
  829. @media only screen and (min-width: 1500px) and (max-width: 1800px) {
  830. #wpbody-content #dashboard-widgets .postbox-container {
  831. width: 33.5%;
  832. }
  833. #wpbody-content #dashboard-widgets #postbox-container-1 {
  834. width: 33%;
  835. }
  836. #wpbody-content #dashboard-widgets #postbox-container-3,
  837. #wpbody-content #dashboard-widgets #postbox-container-4 {
  838. float: left;
  839. }
  840. #dashboard-widgets #postbox-container-4 .empty-container {
  841. border: 0 none;
  842. height: 0;
  843. min-height: 0;
  844. }
  845. #dashboard-widgets #postbox-container-4 .empty-container:after {
  846. display: none;
  847. }
  848. .metabox-holder .postbox-container .empty-container:after {
  849. display: block;
  850. }
  851. }
  852. @media screen and (max-width: 870px) {
  853. .welcome-panel .welcome-panel-column,
  854. .welcome-panel .welcome-panel-column:first-child {
  855. display: block;
  856. float: none;
  857. width: 100%;
  858. }
  859. .welcome-panel .welcome-panel-column li {
  860. display: inline-block;
  861. margin-left: 13px;
  862. }
  863. .welcome-panel .welcome-panel-column ul {
  864. margin: 0.4em 0 0;
  865. }
  866. }
  867. @media screen and ( max-width: 782px ) {
  868. #dashboard_recent_comments #the-comment-list .comment-item .avatar {
  869. height: 30px;
  870. width: 30px;
  871. margin: 4px 0 5px 10px;
  872. }
  873. }
  874. /* Smartphone */
  875. @media screen and (max-width: 600px) {
  876. /* Keep the close icon from overlapping the Welcome text. */
  877. .welcome-panel .welcome-panel-close {
  878. overflow: hidden;
  879. text-indent: 40px;
  880. white-space: nowrap;
  881. width: 20px;
  882. height: 20px;
  883. padding: 5px;
  884. top: 5px;
  885. left: 5px;
  886. }
  887. /* Make the close icon larger for tappability. */
  888. .welcome-panel .welcome-panel-close:before {
  889. font-size: 20px;
  890. top: 5px;
  891. right: -35px;
  892. }
  893. }