user-dashboard.css 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. body {
  2. font-size: .875rem;
  3. }
  4. .feather {
  5. width: 16px;
  6. height: 16px;
  7. vertical-align: text-bottom;
  8. }
  9. .sidebar {
  10. position: fixed;
  11. top: 0;
  12. bottom: 0;
  13. left: 0;
  14. z-index: 100; /* Behind the navbar */
  15. padding: 0;
  16. box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
  17. }
  18. .sidebar-sticky {
  19. position: -webkit-sticky;
  20. position: sticky;
  21. top: 48px; /* Height of navbar */
  22. height: calc(100vh - 48px);
  23. padding-top: .5rem;
  24. overflow-x: hidden;
  25. overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
  26. }
  27. .sidebar .nav-link {
  28. font-weight: 500;
  29. color: #333;
  30. }
  31. .sidebar .nav-link .feather {
  32. margin-right: 4px;
  33. color: #999;
  34. }
  35. .sidebar .nav-link.active {
  36. color: #007bff;
  37. }
  38. .sidebar .nav-link:hover .feather,
  39. .sidebar .nav-link.active .feather {
  40. color: inherit;
  41. }
  42. .sidebar-heading {
  43. font-size: .75rem;
  44. text-transform: uppercase;
  45. }
  46. /*
  47. * Navbar
  48. */
  49. .navbar-brand {
  50. padding-top: .75rem;
  51. padding-bottom: .75rem;
  52. font-size: 1rem;
  53. background-color: rgba(0, 0, 0, .25);
  54. box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
  55. }
  56. .navbar .form-control {
  57. padding: .75rem 1rem;
  58. border-width: 0;
  59. border-radius: 0;
  60. }
  61. .form-control-dark {
  62. color: #fff;
  63. background-color: rgba(255, 255, 255, .1);
  64. border-color: rgba(255, 255, 255, .1);
  65. }
  66. .form-control-dark:focus {
  67. border-color: transparent;
  68. box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
  69. }
  70. .border-top { border-top: 1px solid #e5e5e5; }
  71. .border-bottom { border-bottom: 1px solid #e5e5e5; }