dashboard.rtl.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. body {
  2. font-size: .875rem;
  3. }
  4. .feather {
  5. width: 16px;
  6. height: 16px;
  7. vertical-align: text-bottom;
  8. }
  9. /*
  10. * Sidebar
  11. */
  12. .sidebar {
  13. position: fixed;
  14. top: 0;
  15. right: 0;
  16. bottom: 0;
  17. z-index: 100; /* Behind the navbar */
  18. padding: 48px 0 0; /* Height of navbar */
  19. box-shadow: inset 1px 0 0 rgba(0, 0, 0, .1);
  20. }
  21. @media (max-width: 767.98px) {
  22. .sidebar {
  23. top: 5rem;
  24. }
  25. }
  26. .sidebar-sticky {
  27. position: relative;
  28. top: 0;
  29. height: calc(100vh - 48px);
  30. padding-top: .5rem;
  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-left: 4px;
  40. color: #727272;
  41. }
  42. .sidebar .nav-link.active {
  43. color: #2470dc;
  44. }
  45. .sidebar .nav-link:hover .feather,
  46. .sidebar .nav-link.active .feather {
  47. color: inherit;
  48. }
  49. .sidebar-heading {
  50. font-size: .75rem;
  51. text-transform: uppercase;
  52. }
  53. /*
  54. * Navbar
  55. */
  56. .navbar-brand {
  57. padding-top: .75rem;
  58. padding-bottom: .75rem;
  59. font-size: 1rem;
  60. background-color: rgba(0, 0, 0, .25);
  61. box-shadow: inset 1px 0 0 rgba(0, 0, 0, .25);
  62. }
  63. .navbar .navbar-toggler {
  64. top: .25rem;
  65. left: 1rem;
  66. }
  67. .navbar .form-control {
  68. padding: .75rem 1rem;
  69. border-width: 0;
  70. border-radius: 0;
  71. }
  72. .form-control-dark {
  73. color: #fff;
  74. background-color: rgba(255, 255, 255, .1);
  75. border-color: rgba(255, 255, 255, .1);
  76. }
  77. .form-control-dark:focus {
  78. border-color: transparent;
  79. box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
  80. }