_angular.scss 908 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. ._angular {
  2. h2 { @extend %block-heading; }
  3. //
  4. // Index
  5. //
  6. .nav-index-section {
  7. margin: 1.5em 0 1em -2em;
  8. list-style: none;
  9. font-weight: bold;
  10. text-transform: capitalize;
  11. }
  12. //
  13. // Other
  14. //
  15. h3, h4 { font-size: 1rem; }
  16. .alert { @extend %note; }
  17. .alert-success { @extend %note-green; }
  18. .alert-error { @extend %note-red; }
  19. p > code, li > code, td > code { @extend %label; }
  20. .view-source, .improve-docs {
  21. position: relative;
  22. float: right;
  23. line-height: 1.7rem;
  24. padding-left: 1em;
  25. font-size: .875rem;
  26. background: $contentBackground;
  27. }
  28. .defs {
  29. padding-left: 1rem;
  30. list-style: none;
  31. > li > h3:first-child {
  32. margin: 0 0 1em -1rem;
  33. @extend %block-label, %label-blue;
  34. }
  35. > li + li { margin-top: 2em; }
  36. h4 {
  37. margin: 1em 0 .5em;
  38. font-size: 1em;
  39. }
  40. ul { list-style-type: disc; }
  41. }
  42. }