Copy of dashboard.css 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /*
  2. * Base structure
  3. */
  4. /* Move down content because we have a fixed navbar that is 50px tall */
  5. body {
  6. padding-top: 50px;
  7. }
  8. /*
  9. * Global add-ons
  10. */
  11. .sub-header {
  12. padding-bottom: 10px;
  13. border-bottom: 1px solid #eee;
  14. }
  15. /*
  16. * Sidebar
  17. */
  18. /* Hide for mobile, show later */
  19. .sidebar {
  20. position: absolute;
  21. top: 51px;
  22. bottom: 0;
  23. left: 0;
  24. z-index: 1000;
  25. display: block;
  26. padding: 20px;
  27. overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
  28. background-color: #f5f5f5;
  29. border-right: 1px solid #eee;
  30. }
  31. /* Sidebar navigation */
  32. .nav-sidebar {
  33. margin-right: -21px; /* 20px padding + 1px border */
  34. margin-bottom: 20px;
  35. margin-left: -20px;
  36. }
  37. .nav-sidebar > li > a {
  38. padding-right: 20px;
  39. padding-left: 20px;
  40. }
  41. .nav-sidebar > .active > a {
  42. color: #fff;
  43. background-color: #428bca;
  44. }
  45. /*
  46. * Main content
  47. */
  48. .main {
  49. padding: 20px;
  50. }
  51. @media (min-width: 768px) {
  52. .main {
  53. /*
  54. padding-right: 40px;
  55. padding-left: 40px;
  56. */
  57. }
  58. }
  59. .main .page-header {
  60. margin-top: 0;
  61. }
  62. /*
  63. * Placeholder dashboard ideas
  64. */
  65. .placeholders {
  66. margin-bottom: 30px;
  67. text-align: center;
  68. }
  69. .placeholders h4 {
  70. margin-bottom: 0;
  71. }
  72. .placeholder {
  73. margin-bottom: 20px;
  74. }
  75. .placeholder img {
  76. display: inline-block;
  77. border-radius: 50%;
  78. }