site.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. body {
  2. background-color: #FBFBFB
  3. }
  4. .sidebar-nav {
  5. padding: 9px 0;
  6. }
  7. .navbar-inner {
  8. padding-left: 20px;
  9. padding-right: 20px;
  10. background-color: #00260e;
  11. background-image: -moz-linear-gradient(top, #134024, #00260e);
  12. background-image: -ms-linear-gradient(top, #134024, #00260e);
  13. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#134024), to(#00260e));
  14. background-image: -webkit-linear-gradient(top, #134024, #00260e);
  15. background-image: -o-linear-gradient(top, #134024, #00260e);
  16. background-image: linear-gradient(top, #134024, #00260e);
  17. background-repeat: repeat-x;
  18. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#'134024, endColorstr='#'00260e, GradientType=0);
  19. -webkit-border-radius: 4px;
  20. -moz-border-radius: 4px;
  21. border-radius: 4px;
  22. -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  23. -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  24. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  25. }
  26. .navbar .brand {
  27. float: left;
  28. display: block;
  29. padding: 8px 20px 12px;
  30. margin-left: -20px;
  31. font-size: 20px;
  32. font-weight: 200;
  33. line-height: 1;
  34. color: #ffffff;
  35. }
  36. .navbar .nav > li > a {
  37. float: none;
  38. padding: 10px 10px 11px;
  39. line-height: 19px;
  40. font-size: 13px;
  41. color: #d3d3d3;
  42. text-decoration: none;
  43. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  44. }
  45. .navbar .nav > li > a:hover {
  46. background-color: transparent;
  47. color: #ffffff !important;
  48. text-decoration: none;
  49. }
  50. .navbar .nav .active > a, .navbar .nav .active > a:hover {
  51. color: #ffffff;
  52. text-decoration: none;
  53. background-color: #222222;
  54. background-color: rgba(0, 0, 0, 0.5);
  55. }
  56. .navbar .divider-vertical {
  57. height: 40px;
  58. width: 1px;
  59. margin: 0 9px;
  60. overflow: hidden;
  61. background-color: #00260e;
  62. border-right: 1px solid #134024;
  63. }
  64. .dropdown-menu li > a:hover,
  65. .dropdown-menu .active > a,
  66. .dropdown-menu .active > a:hover {
  67. color: #ffffff;
  68. text-decoration: none;
  69. background-color: #51A351;
  70. }
  71. a {
  72. color: #51A351;
  73. }
  74. a:hover {
  75. color: #00260e;
  76. }
  77. .nav-list > .active > a,
  78. .nav-list > .active > a:hover {
  79. background-color: #51A351;
  80. }
  81. .nav-pills > .active > a,
  82. .nav-pills > .active > a:hover {
  83. background-color: ##51A351;
  84. }
  85. .dropdown-menu .nav-header {
  86. display: block;
  87. padding: 3px 15px;
  88. font-size: 11px;
  89. font-weight: bold;
  90. line-height: 18px;
  91. color: #999;
  92. text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  93. text-transform: uppercase;
  94. }
  95. span.user-actions, td div.btn-group {
  96. visibility: hidden;
  97. }
  98. table {
  99. background-color: #fdfdfd;
  100. }
  101. tr.pending-user:hover span.user-actions, tr.list-users:hover td div.btn-group, tr.list-roles:hover td div.btn-group {
  102. visibility:visible;
  103. }
  104. /*
  105. * Responsive table
  106. */
  107. @media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {
  108. .table th, .table td {
  109. padding-left: 50%;
  110. border-top:0;
  111. }
  112. table, thead, tbody, th, td, tr {
  113. display: block;
  114. }
  115. thead tr {
  116. position: absolute;
  117. top: -9999px;
  118. left: -9999px;
  119. }
  120. tr {
  121. border: 1px solid #ccc;
  122. }
  123. td {
  124. border: none;
  125. border-bottom: 1px solid #eee;
  126. position: relative;
  127. padding-left: 50%;
  128. }
  129. td:before {
  130. position: absolute;
  131. top: 6px;
  132. left: 6px;
  133. width: 45%;
  134. padding-right: 10px;
  135. white-space: nowrap;
  136. }
  137. .list-users td:nth-of-type(1):before, .pending-user td:nth-of-type(1):before { content: "ID"; }
  138. .list-users td:nth-of-type(2):before, .pending-user td:nth-of-type(2):before { content: "Name"; }
  139. .list-users td:nth-of-type(3):before, .pending-user td:nth-of-type(3):before { content: "E-mail"; }
  140. .list-users td:nth-of-type(4):before, .pending-user td:nth-of-type(4):before { content: "Phone"; }
  141. .list-users td:nth-of-type(5):before, .pending-user td:nth-of-type(5):before { content: "City"; }
  142. .list-users td:nth-of-type(6):before, .pending-user td:nth-of-type(6):before { content: "Role"; }
  143. .list-users td:nth-of-type(7):before, .pending-user td:nth-of-type(7):before { content: "Status"; }
  144. .list-users td:nth-of-type(8):before, .pending-user td:nth-of-type(8):before { content: "Actions"; }
  145. .list-roles td:nth-of-type(1):before { content: "ID"; }
  146. .list-roles td:nth-of-type(2):before { content: "Role"; }
  147. .list-roles td:nth-of-type(3):before { content: "Description"; }
  148. .list-roles td:nth-of-type(4):before { content: "Slug"; }
  149. .list-roles td:nth-of-type(5):before { content: "Actions"; }
  150. }