cleanslate-rtl.css
2 years ago
cleanslate-rtl.min.css
2 years ago
cleanslate.css
2 years ago
cleanslate.min.css
2 years ago
dashboard-widget-rtl.css
2 years ago
dashboard-widget-rtl.min.css
2 years ago
dashboard-widget.css
2 years ago
dashboard-widget.min.css
2 years ago
jetpack-admin-rtl.css
2 years ago
jetpack-admin-rtl.min.css
2 years ago
jetpack-admin.css
2 years ago
jetpack-admin.min.css
2 years ago
jetpack-deactivate-dialog-rtl.css
2 years ago
jetpack-deactivate-dialog-rtl.min.css
2 years ago
jetpack-deactivate-dialog.css
2 years ago
jetpack-deactivate-dialog.min.css
2 years ago
wordads-ccpa-rtl.css
2 years ago
wordads-ccpa-rtl.min.css
2 years ago
wordads-ccpa.css
2 years ago
wordads-ccpa.min.css
2 years ago
dashboard-widget.css
345 lines
| 1 | @charset "UTF-8"; |
| 2 | /* |
| 3 | The MIT License (MIT) |
| 4 | |
| 5 | Copyright © 2011–2015 thoughtbot, inc. |
| 6 | |
| 7 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated |
| 8 | documentation files (the “Software”), to deal in the Software without restriction, including without limitation the |
| 9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit |
| 10 | persons to whom the Software is furnished to do so, subject to the following conditions: |
| 11 | |
| 12 | The above copyright notice and this permission notice shall be included in all copies or substantial |
| 13 | portions of the Software. |
| 14 | |
| 15 | THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE |
| 16 | WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
| 17 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR |
| 18 | OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 19 | |
| 20 | https://github.com/thoughtbot/bourbon |
| 21 | */ |
| 22 | :root { |
| 23 | --font-title-large: 36px; |
| 24 | --font-title-small: 24px; |
| 25 | --font-body: 16px; |
| 26 | --font-label: 12px; |
| 27 | --jp-black: #000000; |
| 28 | --jp-black-80: #2c3338; |
| 29 | --jp-white: #ffffff; |
| 30 | --jp-white-off: #f9f9f6; |
| 31 | --jp-gray: #dcdcde; |
| 32 | --jp-gray-0: #F6F7F7; |
| 33 | --jp-gray-5: #dcdcde; |
| 34 | --jp-gray-10: #c3c4c7; |
| 35 | --jp-gray-20: #A7AAAD; |
| 36 | --jp-gray-30: #8c8f94; |
| 37 | --jp-gray-40: #787C82; |
| 38 | --jp-gray-50: #646970; |
| 39 | --jp-gray-60: #50575E; |
| 40 | --jp-gray-70: #3c434a; |
| 41 | --jp-gray-80: #2C3338; |
| 42 | --jp-gray-90: #1d2327; |
| 43 | --jp-gray-100: #101517; |
| 44 | --jp-gray-off: #e2e2df; |
| 45 | --jp-yellow-5: #f5e6b3; |
| 46 | --jp-yellow-10: #f2cf75; |
| 47 | --jp-yellow-40: #c08c00; |
| 48 | --jp-orange-20: #faa754; |
| 49 | --jp-blue-5: #ced9f2; |
| 50 | --jp-red-0: #F7EBEC; |
| 51 | --jp-red-50: #D63638; |
| 52 | --jp-red-60: #B32D2E; |
| 53 | --jp-red-80: #8A2424; |
| 54 | --jp-red: #d63639; |
| 55 | --jp-pink: #C9356E; |
| 56 | --jp-green-0: #f0f2eb; |
| 57 | --jp-green-5: #d0e6b8; |
| 58 | --jp-green-10: #9dd977; |
| 59 | --jp-green-20: #64ca43; |
| 60 | --jp-green-30: #2fb41f; |
| 61 | --jp-green-40: #069e08; |
| 62 | --jp-green-50: #008710; |
| 63 | --jp-green-60: #007117; |
| 64 | --jp-green-70: #005b18; |
| 65 | --jp-green-80: #004515; |
| 66 | --jp-green-90: #003010; |
| 67 | --jp-green-100: #001c09; |
| 68 | --jp-green: #069e08; |
| 69 | --jp-green-primary: var(--jp-green-40); |
| 70 | --jp-green-secondary: var(--jp-green-30); |
| 71 | --jp-border-radius: 4px; |
| 72 | --jp-border-radius-rna: 8px; |
| 73 | --jp-menu-border-height: 1px; |
| 74 | --jp-underline-thickness: 2px; |
| 75 | --jp-modal-padding-large: 32px; |
| 76 | --jp-modal-padding: 24px; |
| 77 | --jp-modal-padding-small: 16px; |
| 78 | --jp-modal-radius: 8px; |
| 79 | --jp-button-padding: 8px; |
| 80 | --jp-button-radius: 4px; |
| 81 | --jp-gap: 16px; |
| 82 | --jp-highlight: #3858e9; |
| 83 | } |
| 84 | |
| 85 | #jetpack_summary_widget { |
| 86 | /* Widget settings */ |
| 87 | } |
| 88 | #jetpack_summary_widget * { |
| 89 | box-sizing: border-box; |
| 90 | } |
| 91 | #jetpack_summary_widget h2.hndle span { |
| 92 | display: flex; |
| 93 | align-items: center; |
| 94 | } |
| 95 | #jetpack_summary_widget h2.hndle span span { |
| 96 | padding: 0 0.4em; |
| 97 | } |
| 98 | #jetpack_summary_widget h2.hndle svg { |
| 99 | height: 20px; |
| 100 | margin: 0.15em 0 0 0.5em; |
| 101 | } |
| 102 | #jetpack_summary_widget pre.stats-widget-error { |
| 103 | overflow: scroll; |
| 104 | } |
| 105 | #jetpack_summary_widget .js-toggle-stats_dashboard_widget_control .toggle-indicator:before { |
| 106 | content: "\f111"; |
| 107 | display: inline-block; |
| 108 | font: normal 20px/1 dashicons; |
| 109 | } |
| 110 | #jetpack_summary_widget .inside { |
| 111 | margin: 0; |
| 112 | padding: 0; |
| 113 | } |
| 114 | #jetpack_summary_widget .inside #stats_dashboard_widget_control { |
| 115 | display: none; |
| 116 | padding: 0 10px; |
| 117 | overflow: hidden; |
| 118 | } |
| 119 | #jetpack_summary_widget .inside #stats_dashboard_widget_control .button-primary { |
| 120 | float: right; |
| 121 | } |
| 122 | #jetpack_summary_widget .inside #dashboard_stats { |
| 123 | box-sizing: border-box; |
| 124 | width: 100%; |
| 125 | padding: 0 10px; |
| 126 | /* Widget graph contents */ |
| 127 | } |
| 128 | #jetpack_summary_widget .inside #dashboard_stats.is-loading { |
| 129 | display: none; |
| 130 | } |
| 131 | #jetpack_summary_widget .inside #dashboard_stats .inside { |
| 132 | margin: 10px 0 0 0 !important; |
| 133 | } |
| 134 | #jetpack_summary_widget .inside #dashboard_stats #stats-graph { |
| 135 | margin: 0; |
| 136 | } |
| 137 | #jetpack_summary_widget .inside #dashboard_stats #stat-chart { |
| 138 | background: none !important; |
| 139 | } |
| 140 | #jetpack_summary_widget .inside #dashboard_stats #stats-info { |
| 141 | background: var(--jp-white-off); |
| 142 | padding: 1.5em 1em; |
| 143 | padding-bottom: 0; |
| 144 | border-top: 1px solid #dcdcde; |
| 145 | margin: 7px -10px 0 -10px; |
| 146 | overflow: hidden; |
| 147 | } |
| 148 | #jetpack_summary_widget .inside #dashboard_stats #stats-info div#active { |
| 149 | border-top: 1px solid #dcdcde; |
| 150 | margin: 0 -10px; |
| 151 | padding: 10px 10px 0 10px; |
| 152 | box-shadow: inset 0 1px 0 #fff; |
| 153 | overflow: hidden; |
| 154 | } |
| 155 | #jetpack_summary_widget .inside #dashboard_stats #stats-info .stats-section-inner > h3.heading { |
| 156 | font-size: 1.25em; |
| 157 | margin: 0 0 0.5em 0; |
| 158 | } |
| 159 | #jetpack_summary_widget .inside #dashboard_stats #stats-info p { |
| 160 | margin: 0 0 0.25em; |
| 161 | color: var(--jp-gray-40); |
| 162 | } |
| 163 | #jetpack_summary_widget .inside #dashboard_stats #stats-info p.nothing { |
| 164 | color: var(--jp-gray-60); |
| 165 | } |
| 166 | #jetpack_summary_widget .inside #dashboard_stats #stats-info p.widget-loading { |
| 167 | margin: 1em 0 0; |
| 168 | color: #333; |
| 169 | } |
| 170 | #jetpack_summary_widget .inside #dashboard_stats #stats-info p a { |
| 171 | color: var(--jp-black); |
| 172 | display: block; |
| 173 | text-decoration: none; |
| 174 | } |
| 175 | #jetpack_summary_widget .inside #dashboard_stats #stats-info p a.button { |
| 176 | display: inline; |
| 177 | } |
| 178 | #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 { |
| 179 | text-decoration: underline; |
| 180 | } |
| 181 | #jetpack_summary_widget #stats-info-container { |
| 182 | background: var(--jp-white); |
| 183 | border-radius: 5px; |
| 184 | box-shadow: 0 4px 40px 0 rgba(0, 0, 0, 0.04); |
| 185 | padding: 1em 1.5em 1em 1.5em; |
| 186 | overflow: hidden; |
| 187 | display: grid; |
| 188 | row-gap: 1em; |
| 189 | grid-template-areas: "header" "content"; |
| 190 | grid-template-rows: min-content min-content; |
| 191 | } |
| 192 | #jetpack_summary_widget .stats-info-content { |
| 193 | grid-area: content; |
| 194 | display: grid; |
| 195 | grid-template-areas: "posts searches"; |
| 196 | grid-template-columns: 1fr 1fr; |
| 197 | column-gap: 1em; |
| 198 | } |
| 199 | #jetpack_summary_widget .stats-info-content .stats-section { |
| 200 | min-width: 0; |
| 201 | } |
| 202 | #jetpack_summary_widget #stats-info .stats-info-header { |
| 203 | grid-area: header; |
| 204 | display: flex; |
| 205 | justify-content: space-between; |
| 206 | } |
| 207 | #jetpack_summary_widget #stats-info .stats-info-header > h2 { |
| 208 | font-size: 18px; |
| 209 | line-height: 30px; |
| 210 | padding: 0; |
| 211 | } |
| 212 | #jetpack_summary_widget #stats-info .stats-info-header .stats-info-header-right { |
| 213 | align-self: center; |
| 214 | } |
| 215 | .wp-core-ui #jetpack_summary_widget #stats-info .stats-info-header .stats-info-header-right .button-primary { |
| 216 | background: var(--jp-black); |
| 217 | border-color: var(--jp-black); |
| 218 | color: var(--jp-white); |
| 219 | } |
| 220 | #jetpack_summary_widget #top-posts { |
| 221 | grid-area: posts; |
| 222 | } |
| 223 | #jetpack_summary_widget #top-posts .stats-section-inner p { |
| 224 | white-space: nowrap; |
| 225 | overflow: hidden; |
| 226 | } |
| 227 | #jetpack_summary_widget #top-posts .stats-section-inner p a { |
| 228 | overflow: hidden; |
| 229 | text-overflow: ellipsis; |
| 230 | } |
| 231 | #jetpack_summary_widget #top-search { |
| 232 | grid-area: searches; |
| 233 | } |
| 234 | #jetpack_summary_widget #top-search p { |
| 235 | color: #999; |
| 236 | } |
| 237 | #jetpack_summary_widget .stats, |
| 238 | #jetpack_summary_widget .widgets, |
| 239 | #jetpack_summary_widget .wpcom-connect { |
| 240 | padding: 0.75em; |
| 241 | } |
| 242 | #jetpack_summary_widget .wpcom-connect { |
| 243 | background: var(--jp-gray-0); |
| 244 | text-align: center; |
| 245 | } |
| 246 | #jetpack_summary_widget .wpcom-connect .jp-emblem { |
| 247 | padding: 5px 0 0 0; |
| 248 | } |
| 249 | #jetpack_summary_widget .wpcom-connect svg { |
| 250 | width: 40px; |
| 251 | height: 40px; |
| 252 | } |
| 253 | #jetpack_summary_widget .wpcom-connect svg path { |
| 254 | fill: #069e08; |
| 255 | } |
| 256 | #jetpack_summary_widget .wpcom-connect .jp-emblem, |
| 257 | #jetpack_summary_widget .wpcom-connect h3, |
| 258 | #jetpack_summary_widget .wpcom-connect p { |
| 259 | width: 100%; |
| 260 | } |
| 261 | #jetpack_summary_widget .wpcom-connect h3 { |
| 262 | font-size: 1.25em; |
| 263 | font-weight: 400; |
| 264 | } |
| 265 | #jetpack_summary_widget .wpcom-connect p { |
| 266 | color: #50575e; |
| 267 | margin-top: 0; |
| 268 | padding: 0 15px; |
| 269 | } |
| 270 | #jetpack_summary_widget .wpcom-connect .actions { |
| 271 | text-align: center; |
| 272 | padding: 15px 0 10px 0; |
| 273 | } |
| 274 | #jetpack_summary_widget .wpcom-connect .actions small { |
| 275 | display: block; |
| 276 | } |
| 277 | #jetpack_summary_widget .wpcom-connect .actions small a { |
| 278 | color: #999; |
| 279 | } |
| 280 | #jetpack_summary_widget footer { |
| 281 | background: var(--jp-white-off); |
| 282 | overflow: hidden; |
| 283 | } |
| 284 | #jetpack_summary_widget footer .blocked-container { |
| 285 | background: var(--jp-white-off); |
| 286 | padding: 1.5em 1em; |
| 287 | display: grid; |
| 288 | gap: 0 1em; |
| 289 | grid-template-columns: 1fr 1fr; |
| 290 | } |
| 291 | #jetpack_summary_widget footer .protect, |
| 292 | #jetpack_summary_widget footer .akismet { |
| 293 | background: var(--jp-white); |
| 294 | border-radius: 5px; |
| 295 | box-shadow: 0 4px 40px 0 rgba(0, 0, 0, 0.04); |
| 296 | padding: 1em 1.5em 1em 1.5em; |
| 297 | } |
| 298 | #jetpack_summary_widget footer h3 { |
| 299 | font-size: 1em; |
| 300 | font-weight: normal; |
| 301 | margin: 0 0 0.25em 0; |
| 302 | padding: 0; |
| 303 | } |
| 304 | #jetpack_summary_widget footer p.blocked-count { |
| 305 | margin-top: 0; |
| 306 | margin-bottom: 6px; |
| 307 | margin-right: 8px; |
| 308 | font-weight: 500; |
| 309 | font-size: 2rem; |
| 310 | display: inline-block; |
| 311 | padding: 0 4px; |
| 312 | min-width: 36px; |
| 313 | text-align: center; |
| 314 | } |
| 315 | #jetpack_summary_widget footer p { |
| 316 | margin: 0; |
| 317 | padding: 0; |
| 318 | } |
| 319 | #jetpack_summary_widget footer section { |
| 320 | margin: 0; |
| 321 | padding: 0; |
| 322 | text-align: center; |
| 323 | } |
| 324 | #jetpack_summary_widget footer .footer-links { |
| 325 | margin: 0 0 1.5em 1.5em; |
| 326 | } |
| 327 | #jetpack_summary_widget footer .footer-links svg { |
| 328 | height: 20px; |
| 329 | } |
| 330 | #jetpack_summary_widget footer .footer-links span { |
| 331 | float: right; |
| 332 | } |
| 333 | #jetpack_summary_widget footer .button { |
| 334 | background: var(--jp-black); |
| 335 | border-color: var(--jp-black); |
| 336 | color: var(--jp-white); |
| 337 | margin-top: 8px; |
| 338 | } |
| 339 | |
| 340 | /* Hide the widget title's SVG in the Screen Options tab */ |
| 341 | .metabox-prefs label[for=jetpack_summary_widget-hide] span svg { |
| 342 | height: 1.2rem; |
| 343 | vertical-align: text-bottom; |
| 344 | } |
| 345 |