Download wp-calypso/apps/odyssey-stats/src/styles/widget-base.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.22 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/apps/odyssey-stats/src/styles/widget-base.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/apps/odyssey-stats/src/styles/widget-base.scss
-
curl -L -o widget-base.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/apps/odyssey-stats/src/styles/widget-base.scss
1.22 kB
| // Apply partial dependencies styles from Calypso (calypso/assets/stylesheets/style.scss) to Odyssey Stats Widgets. | |
| // External Dependencies | |
| @import "calypso/assets/stylesheets/vendor"; | |
| // Color Schemes | |
| @import "@automattic/calypso-color-schemes/src/calypso-color-schemes-root"; | |
| @import "./variables"; | |
| @import "calypso/my-sites/stats/modernized-tooltip-styles"; | |
| @mixin stats-widget-single-column-view { | |
| // Full width Segmented Control. | |
| .stats-widget-content .segmented-control { | |
| width: 100%; | |
| } | |
| // Smaller padding. | |
| .stats-widget-wrapper { | |
| padding: 24px 16px; | |
| } | |
| .stats-widget-highlights { | |
| // Show highlights tabs. | |
| .stats-widget-highlights__tabs { | |
| display: block; | |
| } | |
| // Single column layout. | |
| .stats-widget-highlights__body { | |
| grid-template-columns: none; | |
| } | |
| // Only show one of the chosen highlights. | |
| .stats-widget-highlights__column { | |
| display: none; | |
| &.stats-widget-highlights__column--show-in-mobile { | |
| display: block; | |
| width: 100%; | |
| .stats-widget-highlights-card__title { | |
| display: none; | |
| } | |
| } | |
| } | |
| } | |
| // Single column layout for module cards. | |
| .stats-widget-modules { | |
| grid-template-columns: auto; | |
| grid-template-rows: repeat(2, 1fr); | |
| row-gap: 24px; | |
| } | |
| } | |