system-status-counter.css
Same filename in this branch
Same filename and directory in other branches
- 10 core/themes/stable9/css/system/components/system-status-counter.css
- 10 core/themes/claro/css/components/system-status-counter.css
- 11.x core/themes/stable9/css/system/components/system-status-counter.css
- 11.x core/themes/claro/css/components/system-status-counter.css
- 11.x core/modules/system/css/components/system-status-counter.css
- 10 core/modules/system/css/components/system-status-counter.css
- 9 core/themes/stable9/css/system/components/system-status-counter.css
- 9 core/themes/seven/css/components/system-status-counter.css
- 9 core/themes/claro/css/components/system-status-counter.css
- 9 core/themes/stable/css/system/components/system-status-counter.css
- 9 core/modules/system/css/components/system-status-counter.css
- 8.9.x core/themes/seven/css/components/system-status-counter.css
- 8.9.x core/themes/claro/css/components/system-status-counter.css
- 8.9.x core/themes/stable/css/system/components/system-status-counter.css
- 8.9.x core/modules/system/css/components/system-status-counter.css
- 11.x core/themes/admin/css/components/system-status-counter.css
- 11.x core/themes/default_admin/css/components/system-status-counter.css
Styles for the system status counter component.
File
-
core/
themes/ default_admin/ css/ components/ system-status-counter.css
View source
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/3084859
- * @preserve
- */
- /**
- * @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: 4.0625rem;
- inline-size: 3.75rem;
- 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 1rem;
- mask-size: 2rem;
-
- &:dir(rtl) {
- mask-position: left center;
- }
-
- @media (forced-colors: active) {
- background-color: canvastext;
- }
- }
-
- @media screen and (min-width: 61rem) {
- inline-size: 4.0625rem;
- }
- }
- .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 1.125rem;
- 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: 0.5rem;
- 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.