admin-reset-styles.pcss.css

Same filename in other branches
  1. 10 core/modules/navigation/css/base/admin-reset-styles.pcss.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.pcss.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. [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. }
  12. :where([data-drupal-admin-styles] :not(svg *)) {
  13. all: revert;
  14. box-sizing: border-box;
  15. button {
  16. font-family: inherit;
  17. }
  18. &::after,
  19. &::before {
  20. all: revert;
  21. box-sizing: border-box;
  22. }
  23. }

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