Download wp-calypso/apps/odyssey-stats/src/app.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 2.74 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/apps/odyssey-stats/src/app.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/apps/odyssey-stats/src/app.scss
-
curl -L -o app.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/apps/odyssey-stats/src/app.scss
2.74 kB
| @import "./styles/theme"; | |
| @import "./styles/layout"; | |
| @import "./styles/wp-admin"; | |
| @import "./styles/typography"; | |
| @import "@wordpress/base-styles/breakpoints"; | |
| .wp-admin { | |
| .card { | |
| border: 0; | |
| max-width: initial; | |
| min-width: initial; | |
| } | |
| .subscribers-count { | |
| display: none; | |
| } | |
| .form-checkbox:checked::before { | |
| // Increase Calypso styles specificity. | |
| content: url(calypso/assets/images/checkbox-icons/checkmark-primary.svg); | |
| width: 12px; | |
| height: 12px; | |
| margin: 3px auto; | |
| display: inline-block; | |
| // Override WP-Admin styles. | |
| float: none; | |
| } | |
| // Jetpack custom styles. | |
| .stats > .jp-dashboard-footer { | |
| padding-top: 32px; | |
| padding-bottom: 32px; | |
| } | |
| .stats .jetpack-header { | |
| padding-bottom: 12px; | |
| // Align with navigation. | |
| @media (max-width: 660px) { | |
| padding-left: 16px; | |
| } | |
| } | |
| .stats-navigation.stats-navigation--modernized .section-nav__panel { | |
| // align with header | |
| @media (min-width: 661px) { | |
| padding: 0; | |
| } | |
| } | |
| .stats-navigation.stats-navigation--modernized .section-nav-tab .section-nav-tab__link { | |
| @media (min-width: $break-mobile) { | |
| padding-left: 0; | |
| padding-right: 0; | |
| } | |
| &:focus { | |
| box-shadow: none; | |
| } | |
| } | |
| .stats-navigation.stats-navigation--modernized .section-nav-tab:not(:first-child) { | |
| // No need for dropdown nav to have margins. | |
| @media (min-width: 480px) { | |
| margin-left: 32px; | |
| } | |
| } | |
| // Disable focus box-shadow from links. | |
| // The box shadow is set to admin color which does not match the jetpack green. | |
| a:focus { | |
| box-shadow: none; | |
| } | |
| // Use base component styling of `@automattic/components/Button` | |
| .inner-notice-container .banner__action a.button, | |
| .button.jetpack-emerald-button { | |
| padding: 0.5em 1.5em; | |
| font-size: 1rem; | |
| line-height: 1.375; | |
| align-content: center; | |
| &:focus { | |
| box-shadow: none; | |
| } | |
| &.is-primary { | |
| color: var(--studio-white); | |
| background: var(--studio-black); | |
| } | |
| // Use `transparent` styling as secondary styles | |
| &.is-transparent { | |
| color: var(--studio-black); | |
| background: inset 0 0 0 1.5px var(--studio-white); | |
| &:hover:not(.is-busy) { | |
| color: var(--studio-black); | |
| background: var(--studio-gray-0); | |
| } | |
| &.is-busy { | |
| background: #dcdcde; | |
| color: var(--studio-gray-20); | |
| border: 1px solid transparent; | |
| } | |
| } | |
| } | |
| .inner-notice-container .banner__action a.button.is-compact { | |
| font-size: 12px; | |
| line-height: 1; | |
| padding: 7px; | |
| } | |
| } | |
| .inner-notice-container .card.banner.is-jetpack { | |
| border-left: 3px solid var(--color-jetpack); | |
| } | |
| // Force any JITM from Jetpack to be hidden and it is removed in https://github.com/Automattic/jetpack/pull/39714. | |
| // We manage our own CTAs, including JITM, across Stats pages. | |
| .jetpack-jitm-message, | |
| .jitm-card.jitm-banner { | |
| display: none; | |
| } | |