Download wp-calypso/client/me/style.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 2.43 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/me/style.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/me/style.scss
-
curl -L -o style.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/me/style.scss
2.43 kB
| @import "@wordpress/base-styles/breakpoints"; | |
| @import "@wordpress/base-styles/mixins"; | |
| @import "@wordpress/base-styles/variables"; | |
| body.is-group-me.is-section-help, | |
| body.is-section-me { | |
| background: var(--color-main-background); | |
| &.rtl .layout__content { | |
| padding: calc(var(--masterbar-height) + var(--content-padding-top)) calc(var(--sidebar-width-max)) var(--content-padding-bottom) 16px; | |
| } | |
| .layout__content { | |
| // Add border around everything | |
| overflow: hidden; | |
| min-height: 100vh; | |
| padding-bottom: 0; | |
| @media only screen and (min-width: 782px) { | |
| padding: calc(var(--masterbar-height) + var(--content-padding-top)) 16px var(--content-padding-bottom) calc(var(--sidebar-width-max)) ; | |
| } | |
| @media only screen and (max-width: 600px) { | |
| background: var(--studio-white); | |
| } | |
| .layout_primary > div { | |
| padding-bottom: 0; | |
| } | |
| .layout__primary > .main { | |
| height: calc(100vh - var(--masterbar-height) - var(--content-padding-top)); | |
| } | |
| @include break-small { | |
| .layout__primary > .main { | |
| height: calc(100vh - var(--masterbar-height) - var(--content-padding-bottom) - var(--content-padding-top)); | |
| } | |
| } | |
| } | |
| .layout__secondary .global-sidebar { | |
| border: none; | |
| } | |
| .has-no-masterbar .layout__content .main { | |
| padding: 24px; | |
| } | |
| div.layout.is-global-sidebar-visible { | |
| .layout__primary { | |
| .main { | |
| padding: 24px; | |
| background: var(--color-surface); | |
| border-radius: 8px; /* stylelint-disable-line scales/radii */ | |
| overflow-y: auto; | |
| overflow-x: hidden; | |
| max-width: none; | |
| & > * { | |
| max-width: 1040px; | |
| margin-left: auto; | |
| margin-right: auto; | |
| } | |
| @include break-small { | |
| border: 1px solid $gray-200; | |
| } | |
| } | |
| } | |
| } | |
| @media screen and (min-width: 782px) { | |
| .navigation-header::after { | |
| content: ""; | |
| display: block; | |
| position: relative; | |
| left: calc(-1 * (100vw - 100%)/2 - 132px); | |
| margin: 24px 0; | |
| width: 100vw; | |
| height: 1px; | |
| background: var(--color-border-secondary); | |
| } | |
| } | |
| @media only screen and (max-width: 600px) { | |
| .navigation-header:not(.developer__header) { | |
| padding: 0 0 24px 0; | |
| } | |
| .navigation-header__main { | |
| justify-content: normal; | |
| align-items: center; | |
| .formatted-header { | |
| flex: 1; | |
| } | |
| } | |
| } | |
| @media only screen and (max-width: 781px) { | |
| div.layout.is-global-sidebar-visible { | |
| .layout__primary { | |
| overflow-x: hidden; | |
| } | |
| } | |
| } | |
| .email-verification-banner { | |
| max-width: 1040px; | |
| } | |
| } | |