admin-reset-styles.css

Same filename in this branch
  1. main core/themes/stable9/css/navigation/admin-reset-styles.css
Same filename and directory in other branches
  1. 10 core/modules/navigation/css/base/admin-reset-styles.css
  2. 11.x core/modules/navigation/css/base/admin-reset-styles.css
  3. 11.x core/themes/stable9/css/navigation/admin-reset-styles.css

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

File

core/modules/navigation/css/base/admin-reset-styles.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. * Reset styles from parent theme.
  10. * https://developer.mozilla.org/en-US/docs/Web/CSS/all
  11. */
  12. :where(#extra-specificity-hack, [data-drupal-admin-styles]) {
  13. box-sizing: border-box;
  14. *:focus {
  15. outline: var(--admin-toolbar-size-focus) solid var(--admin-toolbar-color-focus);
  16. }
  17. *:not(:where(svg, svg *)) {
  18. all: revert;
  19. box-sizing: border-box;
  20. button {
  21. font-family: inherit;
  22. }
  23. &::after,
  24. &::before {
  25. all: revert;
  26. box-sizing: border-box;
  27. }
  28. }
  29. .visually-hidden {
  30. position: absolute !important;
  31. overflow: hidden;
  32. clip: rect(1px, 1px, 1px, 1px);
  33. width: 1px;
  34. height: 1px;
  35. word-wrap: normal;
  36. }
  37. }

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