admin-reset-styles.css

Same filename in other branches
  1. 11.x core/modules/navigation/css/base/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. [data-drupal-admin-styles] {
  13. box-sizing: border-box;
  14. }
  15. [data-drupal-admin-styles] *:focus {
  16. outline: var(--admin-toolbar-size-focus) solid var(--admin-toolbar-color-focus);
  17. }
  18. :where([data-drupal-admin-styles] :not(svg *)) {
  19. all: revert;
  20. box-sizing: border-box;
  21. }
  22. :where([data-drupal-admin-styles] :not(svg *)) button {
  23. font-family: inherit;
  24. }
  25. :where([data-drupal-admin-styles] :not(svg *))::after,
  26. :where([data-drupal-admin-styles] :not(svg *))::before {
  27. all: revert;
  28. box-sizing: border-box;
  29. }

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