overrides.scss 813 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. white-space: pre;
  9. }
  10. // Force <small/> elements to make text smaller.
  11. small {
  12. font-size: smaller !important;
  13. }
  14. // Fix the hideous way Safari shows button anchor elements.
  15. a[type='button'] {
  16. -webkit-appearance: unset !important;
  17. }
  18. // Ensure elements with data-href set show the correct cursor.
  19. // data-href is set on non non-anchor elements that need to redirect the user to a URL when
  20. // clicked, but where an anchor element does not suffice or is not supported.
  21. *[data-href] {
  22. cursor: pointer;
  23. }
  24. .form-control:not([type='file']) {
  25. font-size: inherit;
  26. }
  27. .badge {
  28. font-size: $font-size-xs;
  29. }