_navigation.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. .sb-navbar {
  2. .navbar-brand {
  3. font-size: 1.15rem;
  4. font-weight: 700;
  5. img {
  6. height: 3.5rem;
  7. }
  8. }
  9. .navbar-toggler {
  10. color: $gray-900;
  11. border: 0;
  12. padding: 1rem;
  13. &:focus {
  14. outline: none;
  15. }
  16. &:active {
  17. color: fade-out($gray-900, 0.5);
  18. }
  19. }
  20. .navbar-nav {
  21. .nav-item {
  22. .nav-link {
  23. font-weight: 700;
  24. letter-spacing: 0.05rem;
  25. text-transform: uppercase;
  26. font-size: 0.8rem;
  27. line-height: 0.8rem;
  28. padding: 1rem 0;
  29. i {
  30. font-size: 0.9rem;
  31. }
  32. }
  33. }
  34. .dropdown-menu {
  35. font-size: 0.85rem;
  36. .dropdown-header {
  37. font-size: 0.75rem;
  38. }
  39. }
  40. }
  41. .tooltip {
  42. display: none;
  43. }
  44. @include media-breakpoint-up(lg) {
  45. .tooltip {
  46. display: block;
  47. }
  48. .navbar-nav {
  49. padding-top: 0;
  50. padding-bottom: 0;
  51. .nav-item {
  52. .nav-link {
  53. padding: 1rem 0.5rem;
  54. margin-bottom: 0;
  55. }
  56. .dropdown-menu {
  57. top: 50px;
  58. }
  59. }
  60. }
  61. .dropdown-templates,
  62. .dropdown-themes {
  63. padding: 0;
  64. overflow: hidden;
  65. left: -212px;
  66. .dropdown-item {
  67. border-radius: 0 !important;
  68. }
  69. .dropdown-themes-callout {
  70. width: 20rem;
  71. .btn-xl {
  72. font-size: 0.6rem;
  73. padding: 0.75rem 1rem;
  74. }
  75. h5 {
  76. margin-bottom: 0.25rem;
  77. }
  78. p {
  79. margin-bottom: 2rem;
  80. font-size: 0.85rem;
  81. color: fade-out($white, 0.15);
  82. }
  83. }
  84. }
  85. .dropdown-themes {
  86. .dropdown-themes-callout {
  87. background: linear-gradient(to bottom, #{fade-out($black, .5)} 0%,#{fade-out($black, .3)} 75%,$black 100%), url('/assets/img/bg-navbar-dropdown-themes.png');
  88. background-position: center;
  89. background-size: cover;
  90. }
  91. .dropdown-item:active {
  92. background-color: $red;
  93. }
  94. }
  95. .dropdown-templates {
  96. .dropdown-themes-callout {
  97. background: linear-gradient(to bottom, #{fade-out($black, .5)} 0%,#{fade-out($black, .3)} 75%,$black 100%), url('/assets/img/bg-navbar-dropdown-templates.png');
  98. background-position: center;
  99. background-size: cover;
  100. }
  101. .dropdown-item:active {
  102. background-color: $blue;
  103. }
  104. }
  105. }
  106. }