dashboard.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. body {
  2. font-size: .875rem;
  3. }
  4. .feather {
  5. width: 16px;
  6. height: 16px;
  7. }
  8. /*
  9. * Sidebar
  10. */
  11. .sidebar {
  12. position: fixed;
  13. top: 0;
  14. /* rtl:raw:
  15. right: 0;
  16. */
  17. bottom: 0;
  18. /* rtl:remove */
  19. left: 0;
  20. z-index: 100; /* Behind the navbar */
  21. padding: 48px 0 0; /* Height of navbar */
  22. box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
  23. }
  24. @media (max-width: 767.98px) {
  25. .sidebar {
  26. /* top: 5rem; */
  27. }
  28. }
  29. .sidebar-sticky {
  30. height: calc(100vh - 48px);
  31. overflow-x: hidden;
  32. overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
  33. }
  34. .sidebar .nav-link {
  35. font-weight: 500;
  36. color: #333;
  37. }
  38. .sidebar .nav-link .feather {
  39. margin-right: 4px;
  40. color: #727272;
  41. }
  42. .sidebar .nav-link.active {
  43. color: #2470dc;
  44. }
  45. .sidebar .nav-link:hover {
  46. color: #000000;
  47. }
  48. .sidebar .nav-link:hover .feather,
  49. .sidebar .nav-link.active .feather {
  50. color: inherit;
  51. }
  52. .sidebar-heading {
  53. font-size: .75rem;
  54. }
  55. /*
  56. * Navbar
  57. */
  58. .navbar-brand {
  59. padding-top: .75rem;
  60. padding-bottom: .75rem;
  61. background-color: rgba(0, 0, 0, .25);
  62. box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
  63. }
  64. .navbar .navbar-toggler {
  65. top: .25rem;
  66. right: 1rem;
  67. }
  68. .navbar .form-control {
  69. padding: .75rem 1rem;
  70. }
  71. .form-control-dark {
  72. color: #fff;
  73. background-color: rgba(255, 255, 255, .1);
  74. border-color: rgba(255, 255, 255, .1);
  75. }
  76. .form-control-dark:focus {
  77. border-color: transparent;
  78. box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
  79. }
  80. .bd-placeholder-img {
  81. font-size: 1.125rem;
  82. text-anchor: middle;
  83. -webkit-user-select: none;
  84. -moz-user-select: none;
  85. user-select: none;
  86. }
  87. @media (min-width: 768px) {
  88. .bd-placeholder-img-lg {
  89. font-size: 3.5rem;
  90. }
  91. }
  92. .b-example-divider {
  93. height: 3rem;
  94. background-color: rgba(0, 0, 0, .1);
  95. border: solid rgba(0, 0, 0, .15);
  96. border-width: 1px 0;
  97. box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
  98. }
  99. .b-example-vr {
  100. flex-shrink: 0;
  101. width: 1.5rem;
  102. height: 100vh;
  103. }
  104. .bi {
  105. vertical-align: -.125em;
  106. fill: currentColor;
  107. }
  108. .nav-scroller {
  109. position: relative;
  110. z-index: 2;
  111. height: 2.75rem;
  112. overflow-y: hidden;
  113. }
  114. .nav-scroller .nav {
  115. display: flex;
  116. flex-wrap: nowrap;
  117. padding-bottom: 1rem;
  118. margin-top: -1px;
  119. overflow-x: auto;
  120. text-align: center;
  121. white-space: nowrap;
  122. -webkit-overflow-scrolling: touch;
  123. }