site-health-rtl.css 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. /*! This file is auto-generated */
  2. /* Note: Any Site Health selectors that use
  3. duplicate styling from the Privacy settings screen
  4. are styled in the Privacy section of edit.css */
  5. .health-check-body h2 {
  6. line-height: 1.4;
  7. }
  8. .health-check-body h3 {
  9. padding: 0;
  10. font-weight: 400;
  11. }
  12. .health-check-widget-title-section {
  13. text-align: center;
  14. }
  15. .site-health-progress-wrapper {
  16. margin-bottom: 1rem;
  17. }
  18. .site-health-progress {
  19. display: inline-block;
  20. height: 20px;
  21. width: 20px;
  22. margin: 0;
  23. border-radius: 100%;
  24. position: relative;
  25. font-weight: 600;
  26. font-size: 0.4rem;
  27. }
  28. .site-health-progress-count {
  29. position: absolute;
  30. display: block;
  31. height: 80px;
  32. width: 80px;
  33. right: 50%;
  34. top: 50%;
  35. margin-top: -40px;
  36. margin-right: -40px;
  37. border-radius: 100%;
  38. line-height: 6.3;
  39. font-size: 2em;
  40. }
  41. .loading .site-health-progress svg #bar {
  42. stroke-dashoffset: 0;
  43. stroke: #c3c4c7;
  44. animation: loadingPulse 3s infinite ease-in-out;
  45. }
  46. .site-health-progress svg circle {
  47. stroke-dashoffset: 0;
  48. transition: stroke-dashoffset 1s linear;
  49. stroke: #c3c4c7;
  50. stroke-width: 2em;
  51. }
  52. .site-health-progress svg #bar {
  53. stroke-dashoffset: 565;
  54. stroke: #d63638;
  55. }
  56. .green .site-health-progress #bar {
  57. stroke: #00a32a;
  58. }
  59. .green .site-health-progress .site-health-progress-label {
  60. color: #00a32a;
  61. }
  62. .orange .site-health-progress #bar {
  63. stroke: #dba617;
  64. }
  65. .orange .site-health-progress .site-health-progress-label {
  66. color: #dba617;
  67. }
  68. .site-health-progress-label {
  69. font-weight: 600;
  70. line-height: 20px;
  71. margin-right: 0.3rem;
  72. }
  73. @keyframes loadingPulse {
  74. 0% {
  75. stroke: #c3c4c7;
  76. }
  77. 50% {
  78. stroke: #72aee6;
  79. }
  80. 100% {
  81. stroke: #c3c4c7;
  82. }
  83. }
  84. .health-check-tabs-wrapper {
  85. /* IE 11 */
  86. display: -ms-inline-grid;
  87. -ms-grid-columns: 1fr 1fr 1fr 1fr;
  88. vertical-align: top;
  89. /* modern browsers */
  90. display: inline-grid;
  91. grid-template-columns: 1fr 1fr 1fr 1fr;
  92. }
  93. .health-check-tabs-wrapper.tab-count-1 {
  94. grid-template-columns: 1fr;
  95. }
  96. .health-check-tabs-wrapper.tab-count-2 {
  97. grid-template-columns: 1fr 1fr;
  98. }
  99. .health-check-tabs-wrapper.tab-count-3 {
  100. grid-template-columns: 1fr 1fr 1fr;
  101. }
  102. .health-check-tab {
  103. display: block; /* IE 11 */
  104. text-decoration: none;
  105. color: inherit;
  106. padding: 0.5rem 1rem 1rem;
  107. margin: 0 1rem;
  108. transition: box-shadow 0.5s ease-in-out;
  109. }
  110. .health-check-offscreen-nav-wrapper {
  111. position: relative;
  112. background: transparent;
  113. border: none;
  114. }
  115. .health-check-offscreen-nav-wrapper:focus .health-check-offscreen-nav {
  116. right: initial;
  117. }
  118. .health-check-offscreen-nav {
  119. display: none;
  120. position: absolute;
  121. padding-top: 10px;
  122. left: 0;
  123. top: 100%;
  124. width: 13rem;
  125. }
  126. .health-check-offscreen-nav-wrapper.visible .health-check-offscreen-nav {
  127. display: inline-block;
  128. }
  129. .health-check-offscreen-nav:before {
  130. position: absolute;
  131. content: "";
  132. width: 0;
  133. height: 0;
  134. border-style: solid;
  135. border-width: 0 10px 5px;
  136. border-color: transparent transparent #ffffff;
  137. left: 20px;
  138. top: 5px;
  139. }
  140. .health-check-offscreen-nav .health-check-tab {
  141. background: #fff;
  142. box-shadow: 0 2px 5px 0 rgba( 0, 0, 0, 0.75 );
  143. }
  144. .health-check-offscreen-nav .health-check-tab.active {
  145. box-shadow: inset -3px 0 #3582c4;
  146. font-weight: 600;
  147. }
  148. .health-check-body {
  149. max-width: 800px;
  150. margin: 0 auto;
  151. }
  152. .health-check-table td:first-child {
  153. width: 30%;
  154. }
  155. .health-check-table td {
  156. width: 70%;
  157. }
  158. .health-check-table ul,
  159. .health-check-table ol {
  160. margin: 0;
  161. }
  162. .health-check-body li {
  163. line-height: 1.5;
  164. }
  165. .health-check-body .pass::before,
  166. .health-check-body .good::before {
  167. content: "\f147";
  168. color: #00a32a;
  169. }
  170. .health-check-body .warning::before {
  171. content: "\f460";
  172. color: #dba617;
  173. }
  174. .health-check-body .info::before {
  175. content: "\f348";
  176. color: #72aee6;
  177. }
  178. .health-check-body .fail::before,
  179. .health-check-body .error::before {
  180. content: "\f335";
  181. color: #d63638;
  182. }
  183. .site-health-copy-buttons {
  184. margin: 1rem 0;
  185. }
  186. .site-health-copy-buttons .copy-button-wrapper {
  187. display: inline-flex;
  188. align-items: center;
  189. margin: 0.5rem 0 1rem;
  190. }
  191. .site-health-copy-buttons .success {
  192. color: #008a20;
  193. margin-right: 0.5rem;
  194. }
  195. .site-status-has-issues.hide {
  196. display: none;
  197. }
  198. .site-health-view-more {
  199. text-align: center;
  200. }
  201. .site-health-issues-wrapper:first-of-type {
  202. margin-top: 3rem;
  203. }
  204. .site-health-issues-wrapper {
  205. margin-bottom: 3rem;
  206. margin-top: 2rem;
  207. }
  208. .site-status-all-clear {
  209. display: flex;
  210. flex-direction: column;
  211. align-items: center;
  212. justify-content: center;
  213. text-align: center;
  214. height: 100%;
  215. width: 100%;
  216. margin: 0 0 3rem;
  217. }
  218. @media all and (min-width: 784px) {
  219. .site-status-all-clear {
  220. margin: 2rem 0 5rem;
  221. }
  222. }
  223. .site-status-all-clear.hide {
  224. display: none;
  225. }
  226. .site-status-all-clear .dashicons {
  227. font-size: 150px;
  228. height: 150px;
  229. margin-bottom: 2rem;
  230. width: 150px;
  231. }
  232. .site-status-all-clear .encouragement {
  233. font-size: 1.5rem;
  234. font-weight: 600;
  235. }
  236. .site-status-all-clear p {
  237. margin: 0;
  238. }
  239. .wp-core-ui .button.site-health-view-passed {
  240. position: relative;
  241. padding-left: 40px;
  242. padding-right: 20px;
  243. }
  244. /* Better position for the WordPress admin notices and update nag. */
  245. .site-health .notice {
  246. margin: 5px 22px 15px 20px;
  247. }
  248. .site-health .update-nag {
  249. margin-bottom: 20px;
  250. margin-right: 22px;
  251. }
  252. .health-check-wp-paths-sizes.spinner {
  253. visibility: visible;
  254. float: none;
  255. margin: 0 4px;
  256. flex-shrink: 0;
  257. }
  258. /* Styling unique to the dashboard widget. */
  259. #dashboard_site_health .site-health-details {
  260. padding-right: 16px;
  261. }
  262. #dashboard_site_health .health-check-widget {
  263. display: grid;
  264. grid-template-columns: 1fr 2fr;
  265. grid-auto-rows: minmax(64px, auto);
  266. column-gap: 16px;
  267. align-items: center;
  268. }
  269. #dashboard_site_health .site-health-progress-label {
  270. margin-right: 0;
  271. }
  272. @media screen and (max-width: 480px) {
  273. #dashboard_site_health .health-check-widget {
  274. grid-template-columns: 100%;
  275. }
  276. }
  277. @media screen and (max-width: 782px) {
  278. .site-health-issues-wrapper .health-check-accordion-trigger {
  279. flex-direction: column;
  280. align-items: flex-start;
  281. }
  282. .health-check-accordion-trigger .badge {
  283. margin: 1em 0 0;
  284. }
  285. .health-check-table {
  286. table-layout: fixed;
  287. }
  288. .health-check-table td {
  289. box-sizing: border-box;
  290. display: block;
  291. width: 100%;
  292. word-wrap: break-word;
  293. }
  294. .health-check-table td:first-child {
  295. width: 100%;
  296. padding-bottom: 0;
  297. font-weight: 600;
  298. }
  299. .wp-core-ui .site-health-copy-buttons .copy-button {
  300. margin-bottom: 0;
  301. }
  302. }