description-toggle.pcss.css
Same filename and directory in other branches
Help icon description toggle styles.
File
-
core/
themes/ default_admin/ css/ components/ description-toggle.pcss.css
View source
- /**
- * @file
- * Help icon description toggle styles.
- */
-
- @import "../base/media-queries.pcss.css";
-
- .help-icon {
- display: flex;
- }
-
- .help-icon__description-toggle {
- all: unset;
- flex-shrink: 0;
- width: 16px;
- height: 16px;
- cursor: pointer;
- border-radius: 50%;
- margin-block: 0.1rem 0;
- margin-inline: 0.3rem var(--space-m);
-
- &::before {
- display: block;
- width: 100%;
- height: 100%;
- content: "";
- background-color: var(--gin-icon-color);
- mask-image: url("../../migration/media/icons/toolbar/help.svg");
- mask-repeat: no-repeat;
- mask-position: center center;
- mask-size: 100% 100%;
- }
-
- &:hover::before {
- background-color: var(--gin-color-primary);
- }
-
- .field-group-details.help-icon__description-container
-
- .field-group-fieldset > .help-icon > &,
- fieldset.media-library-widget .help-icon > &,
- .field--type-datetime fieldset .help-icon >
-
- :is(.system-modules, .system-modules-uninstall) .table-filter .form-type--search
- }
-
- .help-icon__element-has-description {
- :is(.form-type--checkbox, .form-type--radio) >
- }
- }
-
- .fieldset__label {
- fieldset:not(.fieldgroup) .help-icon > .fieldset__legend
- }
-
- .fieldset__description {
- .field-group-fieldset > &,
- fieldset.media-library-widget &,
- .field--type-datetime fieldset
- }
- }
-
- .form-type--search {
- :is(.system-modules, .system-modules-uninstall) .table-filter
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.