main.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. body {
  2. background-color: #f8f8f8;
  3. }
  4. .module-table > * > tr:nth-child(even) {
  5. background-color: #f5f5f5;
  6. }
  7. .default-cursor {
  8. cursor: pointer;
  9. }
  10. .margin-bottom {
  11. margin-bottom: 5px;
  12. }
  13. .margin-top {
  14. margin-top: 5px;
  15. }
  16. .truncated {
  17. text-overflow: ellipsis;
  18. overflow: hidden
  19. }
  20. .button-throbber {
  21. height: 18px;
  22. }
  23. .uppercase {
  24. text-transform: uppercase;
  25. }
  26. .table-layout-fixed {
  27. table-layout: fixed;
  28. }
  29. .module-icon {
  30. display: inline;
  31. height: 24px;
  32. width: 24px;
  33. }
  34. .fixed-addon-width {
  35. min-width: 70px;
  36. text-align: left;
  37. }
  38. .fixed-addon-width-2 {
  39. min-width: 90px;
  40. text-align: left;
  41. }
  42. .fixed-addon-width-3 {
  43. min-width: 110px;
  44. text-align: left;
  45. }
  46. .fixed-width-200 {
  47. min-width: 200px;
  48. }
  49. .caret-reversed {
  50. border-top-width: 0;
  51. border-bottom: 4px solid #000;
  52. }
  53. .image-small-18 {
  54. height: 18px;
  55. }
  56. .center-text {
  57. text-align: center;
  58. }
  59. .scrollable-pre {
  60. overflow: auto;
  61. word-wrap: normal;
  62. white-space: pre;
  63. }
  64. .log-pre {
  65. max-height: 300px;
  66. }
  67. .btn-fixed-length {
  68. width: 70px;
  69. }
  70. .title-message {
  71. margin-left: 10px;
  72. padding-left: 5px;
  73. padding-right: 5px;
  74. height: 9px;
  75. border-radius: 3px;
  76. }
  77. .padding-left {
  78. margin-left: 10px;
  79. }
  80. .select-inline {
  81. font-weight: normal;
  82. }
  83. .logout {
  84. cursor: pointer;
  85. }
  86. .module-nav li a {
  87. margin-left: 10px;
  88. }
  89. .module-nav li:hover {
  90. background-color: #eee;
  91. }
  92. .sidebar .sidebar-nav.navbar-collapse {
  93. padding-right: 0;
  94. padding-left: 0;
  95. }
  96. .sidebar ul li {
  97. cursor: pointer;
  98. border-bottom: 1px solid #e7e7e7;
  99. }
  100. .sidebar .active {
  101. background-color: #eee;
  102. }
  103. .sidebar .active a {
  104. color: #555;
  105. font-weight: bold;
  106. }
  107. .sidebar, .module-content {
  108. -webkit-transition: margin 200ms ease-out;
  109. -moz-transition: margin 200ms ease-out;
  110. -o-transition: margin 200ms ease-out;
  111. transition: margin 200ms ease-out;
  112. }
  113. @media(min-width:768px) {
  114. .module-content {
  115. position: absolute;
  116. width: calc(100% - 50px);
  117. margin-left: 50px;
  118. padding: 15px 30px;
  119. border-left: 1px solid #e7e7e7;
  120. }
  121. .sidebar {
  122. width: 200px;
  123. height: 100%;
  124. margin-left: -150px;
  125. float: left;
  126. z-index: 99;
  127. min-height: 50px;
  128. border-right: 1px solid #e7e7e7;
  129. position: relative;
  130. }
  131. .sidebar a {
  132. padding-right: 12px !important;
  133. }
  134. .sidebar .navbar-collapse, .sidebar .container-fluid {
  135. padding: 0;
  136. }
  137. .sidebar li {
  138. width: 100%;
  139. }
  140. /*.sidebar:hover,*/
  141. .sidebar-toggle {
  142. margin-left: 0;
  143. }
  144. }
  145. @media (min-width: 1200px) {
  146. .module-content {
  147. width: calc(100% - 200px);
  148. margin-left: 200px;
  149. }
  150. .sidebar {
  151. margin-left: 0;
  152. float: left;
  153. }
  154. .sidebar-nav .module-text {
  155. visibility: hidden !important;
  156. }
  157. }
  158. .nav > li > a {
  159. padding: 13px 15px;
  160. }
  161. .navbar-header {
  162. width: 100%;
  163. }
  164. .navbar-top-links {
  165. margin-right: 5px;
  166. margin-left: 10px;
  167. }
  168. .navbar-top-links li {
  169. display: inline-block;
  170. }
  171. .navbar {
  172. margin-bottom: 0;
  173. }
  174. .navbar-top-links .dropdown-menu li {
  175. display: block;
  176. }
  177. .module-content {
  178. padding: 15px 15px;
  179. background-color: #fff;
  180. }
  181. .pointer {
  182. cursor: pointer;
  183. }
  184. .dropdown-menu {
  185. cursor: pointer;
  186. }
  187. .dropdown-menu-top {
  188. max-height: 300px !important;
  189. overflow-y: auto !important;
  190. }
  191. @media(max-width:768px) {
  192. .dropdown-menu-top {
  193. margin: auto !important;
  194. position: absolute !important;
  195. background-color: #fff !important;
  196. word-wrap: break-word !important;
  197. border: 1px solid #ccc !important;
  198. width: 300px !important;
  199. max-width: 300px !important;
  200. }
  201. .dropdown-menu-top li a {
  202. white-space: normal !important;
  203. }
  204. .dropdown-menu-logout {
  205. max-width: 50px !important;
  206. }
  207. .navbar-toggle {
  208. float: left;
  209. margin-top: 10px;
  210. margin-left: 15px;
  211. }
  212. .navbar-brand {
  213. padding: 15px 15px 15px 0;
  214. }
  215. .module-icon.pull-right {
  216. float: left !important;
  217. margin-right: 10px;
  218. }
  219. .tab-pane {
  220. padding: 15px !important;
  221. }
  222. }
  223. .login-logo {
  224. margin: 0 auto;
  225. padding-bottom: 10px;
  226. max-width: 150px;
  227. }
  228. .brand-logo {
  229. content: url('/img/logo.png');
  230. max-height: 30px;
  231. padding-bottom: 5px;
  232. }
  233. .brand-text::after {
  234. content: 'WiFi Pineapple';
  235. padding-top: 3px;
  236. padding-left: 5px;
  237. float: right;
  238. }
  239. #accordion .panel-heading .panel-title:after {
  240. content: url('/img/chevron_up.svg');
  241. width: 20px;
  242. float: right;
  243. color: grey;
  244. }
  245. #accordion .panel-heading.collapsed .panel-title:after {
  246. content: url('/img/chevron_down.svg');
  247. }
  248. .menu-toggle-icon {
  249. transform: rotate(-90deg);
  250. }
  251. .tab-pane {
  252. padding: 25px;
  253. border: 1px solid #ddd;
  254. border-top: 0;
  255. border-radius: 0 0 4px 4px;
  256. }
  257. .nav-tabs > li.active > a {
  258. font-weight: bold;
  259. }
  260. .nav-tabs > li > a {
  261. border-color: #eee #eee #ddd;
  262. background-color: #eeeeee78;
  263. }
  264. .sidebar-nav .module-text {
  265. text-align: center;
  266. visibility: visible;
  267. }
  268. /* Use this for menu auto open on hover
  269. .sidebar:hover {
  270. margin-left: 0;
  271. }
  272. .menu-toggle {
  273. display: none !important;
  274. }
  275. */