update.css

Same filename and directory in other branches
  1. 7.x modules/update/update.css
  2. 11.x core/themes/default_admin/css/components/update.css
/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/3084859
 * @preserve
 */

/*
 * @file
 * Styles for Available Updates report.
 */

.project-update__version {
  padding-block: 0;
}

.project-update__version-links {
  padding-inline-end: 0;
}

.project-update__details {
  padding: 0;
  color: var(--gin-color-text-light);
  font-size: var(--gin-font-size-s);
}

.project-update__status {
  .gin-status-icon {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    mask-position: center right;
    mask-repeat: no-repeat;
    mask-size: 100% 100%;

    &:dir(rtl) {
      mask-position: center left;
    }

    img {
      display: none;
    }
  }
}

.project-update__status--security-error {
  color: var(--gin-color-danger);
}

.color-success,
tr.color-success,
.color-checked,
.drupal-upgrade-status-summary-form tr.no-known-error {
  border-inline-start: var(--gin-border-xs) solid var(--gin-color-green);
  background-color: transparent;

  &:hover,
  &:active,
  &:focus {
    background-color: var(--gin-bg-green-light);
  }
}

.color-warning,
tr.color-warning,
.upgrade-status-next-step-remove tr,
.drupal-upgrade-status-summary-form tr.known-warnings {
  border-inline-start: var(--gin-border-xs) solid var(--gin-color-warning);
  background-color: transparent;

  &:hover,
  &:active,
  &:focus {
    background-color: var(--gin-bg-warning-light);

    .gin--dark-mode & {
      color: var(--gin-color-warning);
    }
  }
}

.color-error,
tr.color-error,
.drupal-upgrade-status-summary-form tr.known-errors {
  border-inline-start: var(--gin-border-xs) solid var(--gin-color-danger);
  background-color: transparent;

  &:hover,
  &:active,
  &:focus {
    background-color: var(--gin-bg-danger-light);

    .gin--dark-mode & {
      color: var(--gin-color-danger);
    }
  }
}

.color-success,
.color-warning,
.color-error,
.color-checked {
  box-sizing: border-box;
  color: var(--gin-color-text);
}

.update {
  margin: 0;
  border: 0 none;

  tbody {
    tr:last-child {
      border-block-end: 0 none;
    }
  }
}

#update-status > p {
  margin-block-end: var(--gin-spacing-xl);
}

File

core/themes/default_admin/css/components/update.css

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /*
  8. * @file
  9. * Styles for Available Updates report.
  10. */
  11. .project-update__version {
  12. padding-block: 0;
  13. }
  14. .project-update__version-links {
  15. padding-inline-end: 0;
  16. }
  17. .project-update__details {
  18. padding: 0;
  19. color: var(--gin-color-text-light);
  20. font-size: var(--gin-font-size-s);
  21. }
  22. .project-update__status {
  23. .gin-status-icon {
  24. display: inline-block;
  25. width: 1rem;
  26. height: 1rem;
  27. mask-position: center right;
  28. mask-repeat: no-repeat;
  29. mask-size: 100% 100%;
  30. &:dir(rtl) {
  31. mask-position: center left;
  32. }
  33. img {
  34. display: none;
  35. }
  36. }
  37. }
  38. .project-update__status--security-error {
  39. color: var(--gin-color-danger);
  40. }
  41. .color-success,
  42. tr.color-success,
  43. .color-checked,
  44. .drupal-upgrade-status-summary-form tr.no-known-error {
  45. border-inline-start: var(--gin-border-xs) solid var(--gin-color-green);
  46. background-color: transparent;
  47. &:hover,
  48. &:active,
  49. &:focus {
  50. background-color: var(--gin-bg-green-light);
  51. }
  52. }
  53. .color-warning,
  54. tr.color-warning,
  55. .upgrade-status-next-step-remove tr,
  56. .drupal-upgrade-status-summary-form tr.known-warnings {
  57. border-inline-start: var(--gin-border-xs) solid var(--gin-color-warning);
  58. background-color: transparent;
  59. &:hover,
  60. &:active,
  61. &:focus {
  62. background-color: var(--gin-bg-warning-light);
  63. .gin--dark-mode
  64. }
  65. }
  66. .color-error,
  67. tr.color-error,
  68. .drupal-upgrade-status-summary-form tr.known-errors {
  69. border-inline-start: var(--gin-border-xs) solid var(--gin-color-danger);
  70. background-color: transparent;
  71. &:hover,
  72. &:active,
  73. &:focus {
  74. background-color: var(--gin-bg-danger-light);
  75. .gin--dark-mode
  76. }
  77. }
  78. .color-success,
  79. .color-warning,
  80. .color-error,
  81. .color-checked {
  82. box-sizing: border-box;
  83. color: var(--gin-color-text);
  84. }
  85. .update {
  86. margin: 0;
  87. border: 0 none;
  88. tbody {
  89. tr:last-child {
  90. border-block-end: 0 none;
  91. }
  92. }
  93. }
  94. #update-status > p {
  95. margin-block-end: var(--gin-spacing-xl);
  96. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.