@import "@automattic/components/src/styles/typography"; @import "@wordpress/base-styles/breakpoints"; .stats__plan-usage { margin-bottom: 32px; border-top: 1px solid var(--studio-gray-5); @media (max-width: $break-medium) { border-bottom: 1px solid var(--studio-gray-5); margin-bottom: 0; } } .plan-usage { font-family: $font-sf-pro-text; margin-top: 48px; border-radius: 4px; padding: 24px; border: 1px solid var(--studio-gray-5); font-size: $font-body-small; font-weight: 500; color: var(--studio-gray-100); background-color: var(--studio-white); @media (max-width: $break-medium) { border: 0; margin-top: 0; } } .plan-usage-heading { font-family: $font-sf-pro-display; font-size: $font-title-small; line-height: 26px; } .plan-usage-progress { box-sizing: border-box; display: flex; justify-content: space-between; position: relative; margin-top: 16px; width: 100%; height: 36px; line-height: 36px; padding: 0 10px; background-color: var(--studio-gray-0); border-radius: 2px; overflow: hidden; &.is-over-limit { .plan-usage-progress-bar { background-color: color-mix(in srgb, var(--studio-red-40) 15%, transparent); } } .plan-usage-progress-bar { position: absolute; left: 0; height: 100%; background-color: color-mix(in srgb, var(--studio-jetpack-green-40) 15%, transparent); border-radius: 2px; } } .plan-usage-note { margin-top: 16px; color: var(--studio-gray-60); font-weight: 400; b { font-weight: 700; } a { font-weight: 500; color: inherit; border-bottom: 1px solid var(--studio-gray-60); } }