Download wp-calypso/client/blocks/importer/wordpress/upgrade-plan/style.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 10.5 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/blocks/importer/wordpress/upgrade-plan/style.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/blocks/importer/wordpress/upgrade-plan/style.scss
-
curl -L -o style.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/blocks/importer/wordpress/upgrade-plan/style.scss
10.5 kB
| @import "@automattic/typography/styles/fonts"; | |
| @import "@automattic/onboarding/styles/mixins"; | |
| @import "@wordpress/base-styles/breakpoints"; | |
| @import "@wordpress/base-styles/mixins"; | |
| $business-plan-color: #7f54b3; | |
| .import__upgrade-plan { | |
| p { | |
| color: var(--studio-gray-40); | |
| margin-bottom: 1em; | |
| } | |
| .import__upgrade-plan-container { | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| @include break-medium { | |
| flex-direction: row; | |
| } | |
| } | |
| .import__upgrade-plan-features-container { | |
| background: #fff; | |
| border: solid var(--studio-gray-5) 1px; | |
| border-radius: 4px; | |
| box-sizing: border-box; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1rem; | |
| margin-bottom: -3px; | |
| max-width: 100%; | |
| padding: 1.5em; | |
| width: auto; | |
| z-index: 1; | |
| @include break-medium { | |
| flex-direction: column; | |
| margin-bottom: 1rem; | |
| margin-right: 0; | |
| margin-left: 0; | |
| width: 352px; | |
| gap: 1.5rem; | |
| padding: 3em 1.5em; | |
| } | |
| } | |
| .import__upgrade-plan-header { | |
| .plan-title { | |
| font-size: 2rem; | |
| line-height: 1; | |
| margin: 0.5rem 0; | |
| } | |
| p { | |
| line-height: 16px; | |
| font-size: 0.75rem; | |
| margin-bottom: 0; | |
| color: #2c3338; | |
| } | |
| } | |
| .import__upgrade-plan-period-switcher { | |
| display: flex; | |
| justify-content: center; | |
| margin-bottom: 1.5rem; | |
| .button-group { | |
| background: #f2f2f2; | |
| /* stylelint-disable-next-line scales/radii */ | |
| border-radius: 7px; | |
| padding: 2px; | |
| } | |
| .button { | |
| font-weight: 500; | |
| color: var(--studio-gray-90); | |
| padding: 6px 20px; | |
| /* stylelint-disable-next-line scales/radii */ | |
| border-radius: 5px; | |
| } | |
| .button.selected { | |
| background: #fff; | |
| box-shadow: 0 3px 1px 0 #0000000a; | |
| } | |
| } | |
| .import__upgrade-plan-price, | |
| .import__upgrade-plan-features-list { | |
| display: flex; | |
| } | |
| .import__upgrade-plan-price { | |
| min-width: 150px; | |
| flex-direction: column; | |
| .plan-price { | |
| font-family: Recoleta, "Noto Serif", Georgia, "Times New Roman", Times, serif; | |
| font-weight: 500; | |
| } | |
| .plan-price__currency-symbol { | |
| font-family: Recoleta, "Noto Serif", Georgia, "Times New Roman", Times, serif; | |
| font-size: 0.875rem; | |
| color: inherit; | |
| vertical-align: top; | |
| } | |
| .plan-price__integer { | |
| line-height: 1; | |
| font-size: 2.75rem; | |
| font-weight: inherit; | |
| } | |
| .plan-time-frame { | |
| color: var(--studio-gray-50); | |
| small { | |
| display: block; | |
| } | |
| } | |
| } | |
| .import__upgrade-plan-price-group { | |
| justify-content: flex-end; | |
| display: flex; | |
| flex-direction: row-reverse; | |
| align-items: baseline; | |
| gap: 4px; | |
| .plan-price.is-original { | |
| font-size: 1.25rem; | |
| &::before { | |
| border-top: 2px solid var(--color-neutral-light); | |
| transform: rotate(0deg); | |
| } | |
| .plan-price__currency-symbol { | |
| font-size: 0.75rem; | |
| vertical-align: text-top; | |
| } | |
| .plan-price__integer { | |
| font-size: 1.25rem; | |
| } | |
| } | |
| .import__upgrade-plan-price-discounted { | |
| .plan-price__fraction { | |
| line-height: 1; | |
| font-size: 2.75rem; | |
| font-weight: inherit; | |
| vertical-align: unset; | |
| } | |
| } | |
| } | |
| .import__upgrade-plan-price-badge { | |
| font-size: 0.75rem; | |
| border-radius: 4px; | |
| width: fit-content; | |
| font-weight: 500; | |
| background-color: #e6d1ff; | |
| color: #350e63; | |
| margin-bottom: 0.75rem; | |
| } | |
| .import__upgrade-plan-cta { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.5rem; | |
| small { | |
| text-align: center; | |
| color: var(--studio-gray-50); | |
| max-width: 250px; | |
| margin: 0 auto; | |
| } | |
| button.button { | |
| border-radius: 4px; | |
| &.is-primary { | |
| background-color: $business-plan-color ; | |
| border: $business-plan-color; | |
| color: var(--studio-purple-0); | |
| height: 40px; | |
| } | |
| &.is-busy { | |
| background-image: linear-gradient(-45deg, $business-plan-color 28%, var(--studio-purple-70) 28%, var(--studio-purple-70) 72%, $business-plan-color 72%); | |
| color: #fff; | |
| } | |
| &.is-transparent { | |
| border-color: $business-plan-color; | |
| color: $business-plan-color; | |
| &.isBusy { | |
| color: #fff; | |
| } | |
| } | |
| &:hover { | |
| opacity: 0.85; | |
| transition: 0.7s; | |
| } | |
| &:focus { | |
| box-shadow: 0 0 0 2px var(--studio-white), 0 0 0 4px $business-plan-color ; | |
| } | |
| &[disabled] { | |
| opacity: 0.5; | |
| } | |
| } | |
| } | |
| .import__upgrade-plan-details { | |
| margin-bottom: 2.5rem; | |
| &.import__upgrade-plan-details--loading { | |
| .import__upgrade-plan-features-container, | |
| .import__upgrade-plan-hosting-details .import__upgrade-plan-hosting-details-card-container { | |
| gap: 0; | |
| } | |
| } | |
| } | |
| .import__upgrade-plan-refund-sub-text { | |
| color: $business-plan-color; | |
| font-size: 0.75rem; | |
| font-weight: 500; | |
| margin-top: 0.6rem; | |
| text-align: center; | |
| } | |
| .import__upgrade-plan-features-list { | |
| flex-direction: column; | |
| ul { | |
| margin: 0; | |
| li { | |
| &:first-child { | |
| font-weight: bold; | |
| } | |
| } | |
| } | |
| .import__upgrade-plan-feature.logo { | |
| margin-top: 22px; | |
| svg { | |
| position: relative; | |
| } | |
| } | |
| .import__upgrade-plan-feature, | |
| .import__upgrade-plan-feature-more { | |
| color: var(--studio-gray-80); | |
| flex-basis: 100%; | |
| padding: 0; | |
| font-size: 0.75rem; | |
| button { | |
| /* stylelint-disable-next-line declaration-property-unit-allowed-list */ | |
| line-height: 1.5em; | |
| cursor: pointer; | |
| } | |
| span { | |
| margin: 0; | |
| } | |
| .badge { | |
| font-size: 0.75rem; | |
| border-radius: 4px; | |
| padding: 3px 15px; | |
| } | |
| .badge--info { | |
| background: #f2f2f2; | |
| color: var(--studio-gray-90); | |
| } | |
| } | |
| .import__upgrade-plan-feature-more { | |
| margin-top: 0.5rem; | |
| margin-bottom: 0; | |
| button { | |
| width: 100%; | |
| font-weight: 600; | |
| color: $business-plan-color; | |
| text-align: start; | |
| font-size: 0.75rem; | |
| } | |
| } | |
| .import__upgrade-plan-feature-more svg { | |
| top: 0; | |
| inset-inline-start: auto; | |
| inset-inline-end: 0; | |
| fill: $business-plan-color; | |
| } | |
| } | |
| .import__upgrade-plan-hosting-details { | |
| margin-bottom: 60px; | |
| @include break-medium { | |
| display: flex; | |
| flex-direction: column; | |
| margin-bottom: 0; | |
| width: 372px; | |
| } | |
| .import__upgrade-plan-hosting-details-card-container { | |
| background-color: #fbfbfb; | |
| border-bottom: 1px solid #e0e0e0; | |
| border-bottom-left-radius: 4px; | |
| border-bottom-right-radius: 4px; | |
| border-left: 1px solid #e0e0e0; | |
| border-right: 1px solid #e0e0e0; | |
| border-top: 0; | |
| border-top-right-radius: 0; | |
| box-sizing: border-box; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1.5rem; | |
| margin-bottom: 2rem; | |
| margin-top: 0; | |
| max-width: 100%; | |
| padding: 1.5rem; | |
| @include break-medium { | |
| flex: 1; | |
| margin-right: 0; | |
| margin-left: 0; | |
| margin-top: 0.75rem; | |
| border-top: 1px solid #e0e0e0; | |
| border-top-right-radius: 4px; | |
| border-bottom-right-radius: 4px; | |
| border-bottom-left-radius: 0; | |
| border-bottom: 1px solid #e0e0e0; | |
| border-left: 0; | |
| } | |
| .import__upgrade-plan-hosting-details-header { | |
| text-align: center; | |
| .import__upgrade-plan-hosting-details-header-main { | |
| font-size: 1.25rem; | |
| color: var(--studio-gray-100, #101517); | |
| margin-bottom: 0.5rem; | |
| font-family: Recoleta, "Noto Serif", Georgia, "Times New Roman", Times, serif; | |
| line-height: normal; | |
| } | |
| .import__upgrade-plan-hosting-details-header-subtext { | |
| color: var(--studio-gray-50, #646970); | |
| font-size: 0.75rem; | |
| line-height: 1.4; | |
| margin-bottom: 0; | |
| } | |
| } | |
| .import__upgrade-plan-hosting-details-list { | |
| font-size: 0.875rem; | |
| ul { | |
| list-style: none; | |
| margin: 0; | |
| } | |
| li { | |
| display: flex; | |
| gap: 0.5rem; | |
| margin-bottom: 1rem; | |
| &:last-child { | |
| margin-bottom: 0; | |
| } | |
| } | |
| .import__upgrade-plan-hosting-details-list-icon { | |
| display: flex; | |
| flex: 0 0 24px; | |
| border-radius: 4px; | |
| background-color: var(--studio-purple-0); | |
| padding: 4px; | |
| border: 2px solid var(--studio-purple-0); | |
| fill: var(--studio-purple-50); | |
| } | |
| .import__upgrade-plan-hosting-details-list-stats { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.125rem; | |
| line-height: 1.4; | |
| justify-content: space-around; | |
| .import__upgrade-plan-hosting-details-list-stats-title { | |
| font-size: 0.875rem; | |
| font-weight: 500; | |
| color: var(--studio-gray-100, #101517); | |
| line-height: 20px; | |
| margin-bottom: 0; | |
| } | |
| .import__upgrade-plan-hosting-details-list-stats-description { | |
| font-size: 0.75rem; | |
| color: var(--studio-gray-50, #646970); | |
| } | |
| } | |
| } | |
| .import__upgrade-plan-hosting-details-testimonials-container { | |
| p { | |
| color: var(--studio-gray-100, #101517); | |
| text-align: center; | |
| font-family: Recoleta, "Noto Serif", Georgia, "Times New Roman", Times, serif; | |
| margin-bottom: 0.5rem; | |
| line-height: 22px; | |
| } | |
| .import__upgrade-plan-hosting-details-testimonials { | |
| height: 37px; | |
| text-align: center; | |
| margin-bottom: 4px; | |
| .import__upgrade-plan-hosting-details-tooltip-hover-area-container { | |
| height: 36px; | |
| width: 36px; | |
| display: inline-block; | |
| border-radius: 50%; | |
| &:nth-child(2) { | |
| z-index: 2; | |
| transform: translateX(-6px); | |
| } | |
| &:nth-child(3) { | |
| z-index: 3; | |
| transform: translateX(-12px); | |
| } | |
| &:nth-child(4) { | |
| z-index: 4; | |
| transform: translateX(-18px); | |
| } | |
| &:nth-child(5) { | |
| z-index: 4; | |
| transform: translateX(-24px); | |
| } | |
| .import__upgrade-plan-hosting-details-testimonials-image { | |
| height: 36px; | |
| width: 36px; | |
| border: 1px solid #fff; | |
| border-radius: 50%; | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| .popover.tooltip.import__upgrade-plan-hosting-details-tooltip.is-top { | |
| .popover__arrow { | |
| border-top-color: #fff; | |
| } | |
| .popover__inner { | |
| display: flex; | |
| flex-direction: column; | |
| font-family: "SF Pro Text", sans-serif; | |
| font-size: 0.875rem; | |
| line-height: 1.4; | |
| border: 1px solid #c3c4c7; | |
| box-shadow: | |
| 0 15px 20px 0 rgba(0, 0, 0, 0.04), | |
| 0 13px 10px 0 rgba(0, 0, 0, 0.03), | |
| 0 6px 6px 0 rgba(0, 0, 0, 0.02); | |
| background: #fff; | |
| color: #000; | |
| text-align: start; | |
| border-radius: 4px; | |
| min-height: 32px; | |
| width: 356px; | |
| align-items: center; | |
| font-style: normal; | |
| font-weight: 400; | |
| padding: 1rem; | |
| overflow-wrap: break-word; | |
| top: -8px; | |
| @media (max-width: 355px) { | |
| width: auto; | |
| } | |
| .import__upgrade-plan-hosting-details-tooltip-user-text { | |
| color: #2c3338; | |
| margin-bottom: 1rem; | |
| } | |
| .import__upgrade-plan-hosting-details-tooltip-user-name { | |
| margin-bottom: 0.125rem; | |
| } | |
| .import__upgrade-plan-hosting-details-tooltip-user-info { | |
| color: var(--studio-gray-50, #646970); | |
| } | |
| } | |
| } | |