overrides.scss 895 B

123456789101112131415161718192021222324252627282930313233343536
  1. // Overrides to native HTML elements (i.e., not bootstrap classes or custom components).
  2. body {
  3. color: var(--nbx-body-color);
  4. background-color: var(--nbx-body-bg);
  5. font-size: $font-size-sm;
  6. }
  7. pre {
  8. padding: $spacer;
  9. white-space: pre;
  10. background-color: var(--nbx-pre-bg);
  11. border: 1px solid var(--nbx-pre-border-color);
  12. border-radius: $border-radius;
  13. }
  14. // Force <small/> elements to make text smaller.
  15. small {
  16. font-size: smaller !important;
  17. }
  18. // Fix the hideous way Safari shows button anchor elements.
  19. a[type='button'] {
  20. -webkit-appearance: unset !important;
  21. }
  22. // Ensure elements with data-href set show the correct cursor.
  23. // data-href is set on non non-anchor elements that need to redirect the user to a URL when
  24. // clicked, but where an anchor element does not suffice or is not supported.
  25. *[data-href] {
  26. cursor: pointer;
  27. }
  28. .form-control {
  29. font-size: inherit;
  30. }