Download wp-calypso/packages/help-center/src/components/help-center-header.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 2.95 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/help-center/src/components/help-center-header.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/packages/help-center/src/components/help-center-header.scss
-
curl -L -o help-center-header.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/help-center/src/components/help-center-header.scss
2.95 kB
| @import "@automattic/typography/styles/variables"; | |
| @import "variables"; | |
| /** | |
| * Help Center Header | |
| */ | |
| .help-center .help-center__container { | |
| &.is-desktop .help-center__container-header { | |
| cursor: move; | |
| } | |
| .help-center__container-header { | |
| height: $head-foot-height; | |
| padding: 16px; | |
| &.has-unread { | |
| background: $help-center-blue; | |
| color: var(--studio-white); | |
| border-radius: 0; | |
| button { | |
| color: var(--studio-white); | |
| } | |
| .help-center-header__text > svg { | |
| fill: var(--studio-white); | |
| } | |
| } | |
| >div { | |
| display: flex; | |
| align-items: center; | |
| justify-content: start; | |
| gap: 0; | |
| } | |
| .help-center-header__maximize, | |
| .help-center-header__minimize, | |
| .help-center-header__close { | |
| &:focus { | |
| outline: $help-center-blue solid 2px; | |
| } | |
| } | |
| // This icon does not accept size prop due to a bug - https://github.com/WordPress/gutenberg/pull/40315 | |
| // We can remove this when the bug is fixed AND the package is updated. | |
| .help-center-header__minimize svg { | |
| transform: scale(0.7, 1); | |
| transform-origin: center; | |
| } | |
| .help-center-header__text { | |
| font-size: $root-font-size; | |
| font-weight: 500; | |
| display: flex; | |
| align-items: center; | |
| flex: 1; | |
| gap: 2px; | |
| margin: 0 0 0 4px; | |
| svg:not(.help-center__drag-icon) { | |
| cursor: pointer; | |
| } | |
| :focus{ | |
| outline: none; | |
| } | |
| .help-center-header__article-title { | |
| overflow: hidden; | |
| white-space: nowrap; | |
| text-overflow: ellipsis; | |
| max-width: 200px; | |
| } | |
| .help-center-header__unread-count { | |
| display: inline-block; | |
| margin-left: 8px; | |
| padding: 2px 8px; | |
| background: var(--studio-white); | |
| border-radius: 45%; | |
| font-size: $font-body-extra-small; | |
| color: $help-center-blue; | |
| } | |
| } | |
| .ellipsis-menu { | |
| .ellipsis-menu__toggle { | |
| width: 36px; | |
| height: 36px; | |
| padding: 6px; | |
| } | |
| } | |
| } | |
| } | |
| .conversation-menu__wrapper { | |
| padding: 4px 0; | |
| text-align: center; | |
| svg { | |
| fill: var(--studio-gray-70); | |
| padding: 0 4px; | |
| } | |
| button:disabled { | |
| svg { | |
| fill: var(--wp-components-color-gray-600, #949494); | |
| } | |
| color: var(--wp-components-color-gray-600, #949494); | |
| } | |
| button { | |
| display: flex; | |
| align-items: center; | |
| width: 100%; | |
| cursor: pointer; | |
| gap: 8px; | |
| color: var(--studio-gray-70); | |
| border: none; | |
| background: unset; | |
| padding: 8px 8px 8px 14px; | |
| div { | |
| margin-bottom: 2px; | |
| font-size: 0.875rem; | |
| } | |
| &:not( :disabled ) { | |
| &:hover, | |
| &:focus { | |
| background-color: $help-center-blue; | |
| color: var( --studio-white ); | |
| svg { | |
| fill: var( --studio-white ); | |
| } | |
| } | |
| &:not(:hover) { | |
| background-color: unset; | |
| color: var(--studio-gray-70); | |
| svg { | |
| fill: var(--studio-gray-70); | |
| } | |
| } | |
| } | |
| } | |
| .conversation-menu__notification-toggle { | |
| .components-form-toggle.is-checked { | |
| .components-form-toggle__track { | |
| background-color: $help-center-blue; | |
| border-color: $help-center-blue; | |
| } | |
| } | |
| &:hover label { | |
| cursor: initial; | |
| } | |
| } | |
| } | |