_navs.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. ul.tabs {
  2. @extend .nav;
  3. @extend .nav-pills;
  4. margin-bottom: 1rem;
  5. border: 1px solid $card-border-color;
  6. padding: .5rem;
  7. border-radius: $card-border-radius;
  8. > li {
  9. @extend .nav-item;
  10. > a {
  11. @extend .nav-link;
  12. padding: .5em .5em;
  13. }
  14. }
  15. }
  16. .navbar {
  17. .dropdown-menu {
  18. margin-top: 0;
  19. padding: 0;
  20. > ul {
  21. list-style: none;
  22. margin: 0;
  23. padding: 0;
  24. > li {
  25. display: block;
  26. width: 100%;
  27. }
  28. > li > a {
  29. font-size: $font-size-sm;
  30. margin: 0;
  31. padding: $nav-link-padding;
  32. &:hover {
  33. background: $dropdown-link-hover-bg;
  34. }
  35. }
  36. }
  37. }
  38. }
  39. .nav {
  40. &.flex-column {
  41. border-radius: $border-radius;
  42. box-shadow: $box-shadow;
  43. .nav-link {
  44. min-width: 200px;
  45. border-left: 4px solid transparent;
  46. border-bottom: 1px solid $gray-300;
  47. padding: $nav-link-padding;
  48. color: $gray-600;
  49. &.active {
  50. border-left-color: theme-color();
  51. color: theme-color();
  52. }
  53. &:hover {
  54. background-color: $gray-100;
  55. }
  56. }
  57. li {
  58. &:first-of-type {
  59. > .nav-link {
  60. border-top-left-radius: $border-radius;
  61. }
  62. }
  63. &:last-of-type {
  64. > .nav-link {
  65. border-bottom-left-radius: $border-radius;
  66. }
  67. }
  68. }
  69. }
  70. }
  71. .help-tab-pane {
  72. box-shadow: $box-shadow;
  73. padding: 1rem;
  74. border-radius: $border-radius;
  75. color: $gray-800;
  76. img {
  77. max-width: 100%;
  78. height: auto;
  79. margin: 0 0 .5rem 0;
  80. box-shadow: 0 0 2px rgba(0, 0, 0, .2), 0 2px 3px rgba(0, 0, 0, 0.125);
  81. border-radius: $border-radius;
  82. }
  83. .tab-pane-title,
  84. h1,
  85. h2,
  86. h3,
  87. h4,
  88. h5,
  89. h6 {
  90. color: $gray-800;
  91. font-weight: $font-weight-light;
  92. }
  93. h3,
  94. h4,
  95. h5,
  96. h6 {
  97. margin-top: 1.75rem;
  98. }
  99. .tab-pane-title {
  100. h2,
  101. h3,
  102. h4 {
  103. margin-top: 0;
  104. }
  105. }
  106. }
  107. .link-darker {
  108. color: $gray-700;
  109. }
  110. .link-dark {
  111. color: $gray-600;
  112. }