cleanslate-rtl.css
1 month ago
cleanslate-rtl.min.css
1 month ago
cleanslate.css
1 month ago
cleanslate.min.css
1 month ago
dashboard-widget-rtl.css
2 months ago
dashboard-widget-rtl.min.css
1 month ago
dashboard-widget.css
2 months ago
dashboard-widget.min.css
1 month ago
jetpack-admin-rtl.css
2 months ago
jetpack-admin-rtl.min.css
1 month ago
jetpack-admin.css
2 months ago
jetpack-admin.min.css
1 month ago
jetpack-deactivate-dialog-rtl.css
7 months ago
jetpack-deactivate-dialog-rtl.min.css
1 month ago
jetpack-deactivate-dialog.css
7 months ago
jetpack-deactivate-dialog.min.css
1 month ago
wordads-ccpa-rtl.css
1 month ago
wordads-ccpa-rtl.min.css
1 month ago
wordads-ccpa.css
1 month ago
wordads-ccpa.min.css
1 month ago
dashboard-widget.css
338 lines
| 1 | /** |
| 2 | * $gray color functions: |
| 3 | * |
| 4 | * color.adjust( $gray, $lightness: 10% ) |
| 5 | * color.adjust( $gray, $lightness: 20% ) |
| 6 | * color.adjust( $gray, $lightness: 30% ) |
| 7 | * color.adjust( $gray, $lightness: -10% ) |
| 8 | * color.adjust( $gray, $lightness: -20% ) |
| 9 | * color.adjust( $gray, $lightness: -30% ) |
| 10 | * |
| 11 | * See wordpress.com/design-handbook/colors/ for more info. |
| 12 | */ |
| 13 | :root { |
| 14 | --font-title-large: 36px; |
| 15 | --font-title-small: 24px; |
| 16 | --font-body: 16px; |
| 17 | --font-label: 12px; |
| 18 | --jp-black: #000; |
| 19 | --jp-black-80: #2c3338; |
| 20 | --jp-white: #fff; |
| 21 | --jp-white-off: #f9f9f6; |
| 22 | --jp-gray: #dcdcde; |
| 23 | --jp-gray-0: #f6f7f7; |
| 24 | --jp-gray-5: #dcdcde; |
| 25 | --jp-gray-10: #c3c4c7; |
| 26 | --jp-gray-20: #a7aaad; |
| 27 | --jp-gray-30: #8c8f94; |
| 28 | --jp-gray-40: #787c82; |
| 29 | --jp-gray-50: #646970; |
| 30 | --jp-gray-60: #50575e; |
| 31 | --jp-gray-70: #3c434a; |
| 32 | --jp-gray-80: #2c3338; |
| 33 | --jp-gray-90: #1d2327; |
| 34 | --jp-gray-100: #101517; |
| 35 | --jp-gray-off: #e2e2df; |
| 36 | --jp-yellow-5: #f5e6b3; |
| 37 | --jp-yellow-10: #f2cf75; |
| 38 | --jp-yellow-40: #c08c00; |
| 39 | --jp-orange-20: #faa754; |
| 40 | --jp-blue-5: #ced9f2; |
| 41 | --jp-red-0: #f7ebec; |
| 42 | --jp-red-50: #d63638; |
| 43 | --jp-red-60: #b32d2e; |
| 44 | --jp-red-80: #8a2424; |
| 45 | --jp-red: #d63639; |
| 46 | --jp-pink: #c9356e; |
| 47 | --jp-green-0: #f0f2eb; |
| 48 | --jp-green-5: #d0e6b8; |
| 49 | --jp-green-10: #9dd977; |
| 50 | --jp-green-20: #64ca43; |
| 51 | --jp-green-30: #2fb41f; |
| 52 | --jp-green-40: #069e08; |
| 53 | --jp-green-50: #008710; |
| 54 | --jp-green-60: #007117; |
| 55 | --jp-green-70: #005b18; |
| 56 | --jp-green-80: #004515; |
| 57 | --jp-green-90: #003010; |
| 58 | --jp-green-100: #001c09; |
| 59 | --jp-green: #069e08; |
| 60 | --jp-green-mint: #d3f6d5; |
| 61 | --jp-green-primary: var(--jp-green-40); |
| 62 | --jp-green-secondary: var(--jp-green-30); |
| 63 | --jp-border-radius: 4px; |
| 64 | --jp-border-radius-rna: 8px; |
| 65 | --jp-menu-border-height: 1px; |
| 66 | --jp-underline-thickness: 2px; |
| 67 | --jp-modal-padding-large: 32px; |
| 68 | --jp-modal-padding: 24px; |
| 69 | --jp-modal-padding-small: 16px; |
| 70 | --jp-modal-radius: 8px; |
| 71 | --jp-button-padding: 8px; |
| 72 | --jp-button-radius: 4px; |
| 73 | --jp-gap: 16px; |
| 74 | } |
| 75 | |
| 76 | #jetpack_summary_widget * { |
| 77 | box-sizing: border-box; |
| 78 | } |
| 79 | #jetpack_summary_widget h2.hndle span { |
| 80 | display: flex; |
| 81 | align-items: center; |
| 82 | } |
| 83 | #jetpack_summary_widget h2.hndle span span { |
| 84 | padding: 0 0.4em; |
| 85 | } |
| 86 | #jetpack_summary_widget h2.hndle svg { |
| 87 | height: 20px; |
| 88 | margin: 0.15em 0 0 0.5em; |
| 89 | } |
| 90 | #jetpack_summary_widget pre.stats-widget-error { |
| 91 | overflow: scroll; |
| 92 | } |
| 93 | #jetpack_summary_widget { |
| 94 | /* Widget settings */ |
| 95 | } |
| 96 | #jetpack_summary_widget .js-toggle-stats_dashboard_widget_control .toggle-indicator::before { |
| 97 | content: "\f111"; |
| 98 | display: inline-block; |
| 99 | font: 400 20px/1 dashicons; |
| 100 | } |
| 101 | #jetpack_summary_widget .inside { |
| 102 | margin: 0; |
| 103 | padding: 0; |
| 104 | } |
| 105 | #jetpack_summary_widget .inside #stats_dashboard_widget_control { |
| 106 | display: none; |
| 107 | padding: 0 10px; |
| 108 | overflow: hidden; |
| 109 | } |
| 110 | #jetpack_summary_widget .inside #stats_dashboard_widget_control .button-primary { |
| 111 | float: right; |
| 112 | } |
| 113 | #jetpack_summary_widget .inside #dashboard_stats { |
| 114 | box-sizing: border-box; |
| 115 | width: 100%; |
| 116 | padding: 0 10px; |
| 117 | } |
| 118 | #jetpack_summary_widget .inside #dashboard_stats.is-loading { |
| 119 | display: none; |
| 120 | } |
| 121 | #jetpack_summary_widget .inside #dashboard_stats .inside { |
| 122 | margin: 10px 0 0 0 !important; |
| 123 | } |
| 124 | #jetpack_summary_widget .inside #dashboard_stats #stats-graph { |
| 125 | margin: 0; |
| 126 | } |
| 127 | #jetpack_summary_widget .inside #dashboard_stats { |
| 128 | /* Widget graph contents */ |
| 129 | } |
| 130 | #jetpack_summary_widget .inside #dashboard_stats #stat-chart { |
| 131 | background: none !important; |
| 132 | } |
| 133 | #jetpack_summary_widget .inside #dashboard_stats #stats-info { |
| 134 | background: var(--jp-white-off); |
| 135 | padding: 1.5em 1em; |
| 136 | padding-bottom: 0; |
| 137 | border-top: 1px solid #dcdcde; |
| 138 | margin: 7px -10px 0 -10px; |
| 139 | overflow: hidden; |
| 140 | } |
| 141 | #jetpack_summary_widget .inside #dashboard_stats #stats-info div#active { |
| 142 | border-top: 1px solid #dcdcde; |
| 143 | margin: 0 -10px; |
| 144 | padding: 10px 10px 0 10px; |
| 145 | box-shadow: inset 0 1px 0 #fff; |
| 146 | overflow: hidden; |
| 147 | } |
| 148 | #jetpack_summary_widget .inside #dashboard_stats #stats-info .stats-section-inner > h3.heading { |
| 149 | font-size: 1.25em; |
| 150 | margin: 0 0 0.5em 0; |
| 151 | } |
| 152 | #jetpack_summary_widget .inside #dashboard_stats #stats-info p { |
| 153 | margin: 0 0 0.25em; |
| 154 | color: var(--jp-gray-40); |
| 155 | } |
| 156 | #jetpack_summary_widget .inside #dashboard_stats #stats-info p.nothing { |
| 157 | color: var(--jp-gray-60); |
| 158 | } |
| 159 | #jetpack_summary_widget .inside #dashboard_stats #stats-info p.widget-loading { |
| 160 | margin: 1em 0 0; |
| 161 | color: #333; |
| 162 | } |
| 163 | #jetpack_summary_widget .inside #dashboard_stats #stats-info p a { |
| 164 | color: var(--jp-black); |
| 165 | display: block; |
| 166 | text-decoration: none; |
| 167 | } |
| 168 | #jetpack_summary_widget .inside #dashboard_stats #stats-info p a.button { |
| 169 | display: inline; |
| 170 | } |
| 171 | #jetpack_summary_widget .inside #dashboard_stats #stats-info p a:active, #jetpack_summary_widget .inside #dashboard_stats #stats-info p a:focus, #jetpack_summary_widget .inside #dashboard_stats #stats-info p a:hover { |
| 172 | text-decoration: underline; |
| 173 | } |
| 174 | #jetpack_summary_widget #stats-info-container { |
| 175 | background: var(--jp-white); |
| 176 | border-radius: 5px; |
| 177 | box-shadow: 0 4px 40px 0 rgba(0, 0, 0, 0.04); |
| 178 | padding: 1em 1.5em 1em 1.5em; |
| 179 | overflow: hidden; |
| 180 | display: grid; |
| 181 | row-gap: 1em; |
| 182 | grid-template-areas: "header" "content"; |
| 183 | grid-template-rows: min-content min-content; |
| 184 | } |
| 185 | #jetpack_summary_widget .stats-info-content { |
| 186 | grid-area: content; |
| 187 | display: grid; |
| 188 | grid-template-areas: "posts searches"; |
| 189 | grid-template-columns: 1fr 1fr; |
| 190 | column-gap: 1em; |
| 191 | } |
| 192 | #jetpack_summary_widget .stats-info-content .stats-section { |
| 193 | min-width: 0; |
| 194 | } |
| 195 | #jetpack_summary_widget #stats-info .stats-info-header { |
| 196 | grid-area: header; |
| 197 | display: flex; |
| 198 | justify-content: space-between; |
| 199 | } |
| 200 | #jetpack_summary_widget #stats-info .stats-info-header > h2 { |
| 201 | font-size: 18px; |
| 202 | line-height: 30px; |
| 203 | padding: 0; |
| 204 | } |
| 205 | #jetpack_summary_widget #stats-info .stats-info-header .stats-info-header-right { |
| 206 | align-self: center; |
| 207 | } |
| 208 | .wp-core-ui #jetpack_summary_widget #stats-info .stats-info-header .stats-info-header-right .button-primary { |
| 209 | background: var(--jp-black); |
| 210 | border-color: var(--jp-black); |
| 211 | color: var(--jp-white); |
| 212 | } |
| 213 | #jetpack_summary_widget #top-posts { |
| 214 | grid-area: posts; |
| 215 | } |
| 216 | #jetpack_summary_widget #top-posts .stats-section-inner p { |
| 217 | white-space: nowrap; |
| 218 | overflow: hidden; |
| 219 | } |
| 220 | #jetpack_summary_widget #top-posts .stats-section-inner p a { |
| 221 | overflow: hidden; |
| 222 | text-overflow: ellipsis; |
| 223 | } |
| 224 | #jetpack_summary_widget #top-search { |
| 225 | grid-area: searches; |
| 226 | } |
| 227 | #jetpack_summary_widget #top-search p { |
| 228 | color: #999; |
| 229 | } |
| 230 | #jetpack_summary_widget .stats, |
| 231 | #jetpack_summary_widget .widgets, |
| 232 | #jetpack_summary_widget .wpcom-connect { |
| 233 | padding: 0.75em; |
| 234 | } |
| 235 | #jetpack_summary_widget .wpcom-connect { |
| 236 | background: var(--jp-gray-0); |
| 237 | text-align: center; |
| 238 | } |
| 239 | #jetpack_summary_widget .wpcom-connect .jp-emblem { |
| 240 | padding: 5px 0 0 0; |
| 241 | } |
| 242 | #jetpack_summary_widget .wpcom-connect svg { |
| 243 | width: 40px; |
| 244 | height: 40px; |
| 245 | } |
| 246 | #jetpack_summary_widget .wpcom-connect svg path { |
| 247 | fill: #069e08; |
| 248 | } |
| 249 | #jetpack_summary_widget .wpcom-connect .jp-emblem, |
| 250 | #jetpack_summary_widget .wpcom-connect h3, |
| 251 | #jetpack_summary_widget .wpcom-connect p { |
| 252 | width: 100%; |
| 253 | } |
| 254 | #jetpack_summary_widget .wpcom-connect h3 { |
| 255 | font-size: 1.25em; |
| 256 | font-weight: 400; |
| 257 | } |
| 258 | #jetpack_summary_widget .wpcom-connect p { |
| 259 | color: #50575e; |
| 260 | margin-top: 0; |
| 261 | padding: 0 15px; |
| 262 | } |
| 263 | #jetpack_summary_widget .wpcom-connect .actions { |
| 264 | text-align: center; |
| 265 | padding: 15px 0 10px 0; |
| 266 | } |
| 267 | #jetpack_summary_widget .wpcom-connect .actions small { |
| 268 | display: block; |
| 269 | } |
| 270 | #jetpack_summary_widget .wpcom-connect .actions small a { |
| 271 | color: #999; |
| 272 | } |
| 273 | #jetpack_summary_widget footer { |
| 274 | background: var(--jp-white-off); |
| 275 | overflow: hidden; |
| 276 | } |
| 277 | #jetpack_summary_widget footer .blocked-container { |
| 278 | background: var(--jp-white-off); |
| 279 | padding: 1.5em 1em; |
| 280 | display: grid; |
| 281 | gap: 0 1em; |
| 282 | grid-template-columns: 1fr 1fr; |
| 283 | } |
| 284 | #jetpack_summary_widget footer .protect, |
| 285 | #jetpack_summary_widget footer .akismet { |
| 286 | background: var(--jp-white); |
| 287 | border-radius: 5px; |
| 288 | box-shadow: 0 4px 40px 0 rgba(0, 0, 0, 0.04); |
| 289 | padding: 1em 1.5em 1em 1.5em; |
| 290 | } |
| 291 | #jetpack_summary_widget footer h3 { |
| 292 | font-size: 1em; |
| 293 | font-weight: 400; |
| 294 | margin: 0 0 0.25em 0; |
| 295 | padding: 0; |
| 296 | } |
| 297 | #jetpack_summary_widget footer p.blocked-count { |
| 298 | margin-top: 0; |
| 299 | margin-bottom: 6px; |
| 300 | margin-right: 8px; |
| 301 | font-weight: 500; |
| 302 | font-size: 2rem; |
| 303 | display: inline-block; |
| 304 | padding: 0 4px; |
| 305 | min-width: 36px; |
| 306 | text-align: center; |
| 307 | } |
| 308 | #jetpack_summary_widget footer p { |
| 309 | margin: 0; |
| 310 | padding: 0; |
| 311 | } |
| 312 | #jetpack_summary_widget footer section { |
| 313 | margin: 0; |
| 314 | padding: 0; |
| 315 | text-align: center; |
| 316 | } |
| 317 | #jetpack_summary_widget footer .footer-links { |
| 318 | margin: 0 0 1.5em 1.5em; |
| 319 | } |
| 320 | #jetpack_summary_widget footer .footer-links svg { |
| 321 | height: 20px; |
| 322 | } |
| 323 | #jetpack_summary_widget footer .footer-links span { |
| 324 | float: right; |
| 325 | } |
| 326 | #jetpack_summary_widget footer .button { |
| 327 | background: var(--jp-black); |
| 328 | border-color: var(--jp-black); |
| 329 | color: var(--jp-white); |
| 330 | margin-top: 8px; |
| 331 | } |
| 332 | |
| 333 | /* Hide the widget title's SVG in the Screen Options tab */ |
| 334 | .metabox-prefs label[for=jetpack_summary_widget-hide] span svg { |
| 335 | height: 1.2rem; |
| 336 | vertical-align: text-bottom; |
| 337 | } |
| 338 |