system-status-counter.pcss.css
Same filename in this branch
Same filename and directory in other branches
- 10 core/themes/claro/css/components/system-status-counter.pcss.css
- 11.x core/themes/claro/css/components/system-status-counter.pcss.css
- 9 core/themes/claro/css/components/system-status-counter.pcss.css
- 8.9.x core/themes/claro/css/components/system-status-counter.pcss.css
- 11.x core/themes/admin/css/components/system-status-counter.pcss.css
- 11.x core/themes/default_admin/css/components/system-status-counter.pcss.css
Styles for the system status counter component.
File
-
core/
themes/ default_admin/ css/ components/ system-status-counter.pcss.css
View source
- /**
- * @file
- * Styles for the system status counter component.
- */
- .system-status-counter {
- --system-status-counter-status-icon: #e6e4df;
-
- display: inline-block;
- overflow-y: hidden;
- box-sizing: border-box;
- height: auto;
- padding: var(--gin-spacing-m) 0;
- white-space: nowrap;
- border-radius: var(--gin-border-m);
- background: var(--gin-bg-layer);
- inline-size: 100%;
- }
-
- .system-status-counter__status-icon {
- display: inline-block;
- block-size: 65px;
- inline-size: 60px;
- vertical-align: middle;
- background-color: transparent;
- box-shadow: none;
-
- &::before {
- display: block;
- block-size: 100%;
- inline-size: 100%;
- content: "";
- mask-repeat: no-repeat;
- mask-position: center 16px;
- mask-size: 32px;
-
- &:dir(rtl) {
- mask-position: left center;
- }
-
- @media (forced-colors: active) {
- background-color: canvastext;
- }
- }
-
- @media screen and (min-width: 61rem) {
- inline-size: 65px;
- }
- }
-
- .system-status-counter__status-icon--error::before {
- background-color: var(--gin-color-danger);
- mask-image: var(--admin-icon-error);
- }
-
- .system-status-counter__status-icon--warning::before {
- background-color: var(--gin-color-warning);
- mask-image: var(--admin-icon-warning);
- }
-
- .system-status-counter__status-icon--checked::before {
- background-color: var(--gin-color-green);
- mask-image: var(--admin-icon-status);
- }
-
- .system-status-counter__status-title {
- display: inline-block;
- padding: 0 18px;
- padding-inline-start: 0;
- vertical-align: middle;
- font-size: 1.125em;
- font-weight: bold;
- line-height: 1em;
- }
-
- .system-status-counter__title-count {
- display: block;
- margin-block-end: 8px;
- font-weight: var(--gin-font-weight-semibold);
- }
-
- .system-status-counter__details {
- display: block;
- text-transform: none;
- font-size: var(--font-size-s);
- font-weight: normal;
- line-height: 1.5;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.