main.css 5.7 KB

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