style.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. display: none;
  21. }
  22. @media (min-width: 768px) {
  23. .sidebar {
  24. position: fixed;
  25. top: 51px;
  26. bottom: 0;
  27. left: 0;
  28. z-index: 1000;
  29. display: block;
  30. padding: 20px;
  31. overflow-x: hidden;
  32. overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
  33. background-color: #f5f5f5;
  34. border-right: 1px solid #eee;
  35. }
  36. }
  37. /* Sidebar navigation */
  38. .nav-sidebar {
  39. margin-right: -21px; /* 20px padding + 1px border */
  40. margin-bottom: 20px;
  41. margin-left: -20px;
  42. }
  43. .nav-sidebar > li > a {
  44. padding-right: 20px;
  45. padding-left: 20px;
  46. }
  47. .nav-sidebar > .active > a {
  48. color: #fff;
  49. background-color: #428bca;
  50. }
  51. /*
  52. * Main content
  53. */
  54. .main {
  55. padding: 20px;
  56. }
  57. @media (min-width: 768px) {
  58. .main {
  59. padding-right: 40px;
  60. padding-left: 40px;
  61. }
  62. }
  63. .main .page-header {
  64. margin-top: 0;
  65. }
  66. /*
  67. * Placeholder dashboard ideas
  68. */
  69. .placeholders {
  70. margin-bottom: 30px;
  71. text-align: center;
  72. }
  73. .placeholders h4 {
  74. margin-bottom: 0;
  75. }
  76. .placeholder {
  77. margin-bottom: 20px;
  78. }
  79. .placeholder img {
  80. display: inline-block;
  81. border-radius: 50%;
  82. }
  83. .danger {
  84. color: red;
  85. }
  86. .cursor {
  87. cursor: pointer;
  88. }
  89. span.customer {
  90. padding: 8px 20px;
  91. }