admin-reset-styles.css

Reset styles from parent theme. https://developer.mozilla.org/en-US/docs/Web/CSS/all

File

core/themes/stable9/css/navigation/admin-reset-styles.css

View source
  1. /**
  2. * @file
  3. * Reset styles from parent theme.
  4. * https://developer.mozilla.org/en-US/docs/Web/CSS/all
  5. */
  6. :is(#extra-specificity-hack, [data-drupal-admin-styles]) {
  7. box-sizing: border-box;
  8. *:focus {
  9. outline: var(--admin-toolbar-size-focus) solid var(--admin-toolbar-color-focus);
  10. }
  11. *:not(:where(svg, svg *)) {
  12. all: revert;
  13. box-sizing: border-box;
  14. button {
  15. font-family: inherit;
  16. }
  17. &::after,
  18. &::before {
  19. all: revert;
  20. box-sizing: border-box;
  21. }
  22. }
  23. .visually-hidden {
  24. position: absolute !important;
  25. overflow: hidden;
  26. clip: rect(1px, 1px, 1px, 1px);
  27. width: 1px;
  28. height: 1px;
  29. word-wrap: normal;
  30. }
  31. }

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