dashboard.css 2.4 KB

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