main.css 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  1. /*
  2. index.html style overwrite
  3. */
  4. :root{
  5. --theme_grey: #414141;
  6. --theme_lgrey: #f6f6f6;
  7. --theme_green: #3c9c63;
  8. --theme_fcolor: #979797;
  9. --theme_advance: #f8f8f9;
  10. }
  11. body{
  12. background-color:#f6f6f6;
  13. color: #414141;
  14. }
  15. .functiontab{
  16. display:none;
  17. }
  18. .advance{
  19. background: var(--theme_advance) !important;
  20. }
  21. .advancezone{
  22. background: var(--theme_advance) !important;
  23. border-radius: 1em !important;
  24. }
  25. .menubar{
  26. width: 100%;
  27. padding: 0.4em;
  28. padding-left: 1.2em;
  29. padding-right: 1.2em;
  30. background-color: #ffffff;
  31. margin-bottom: 1em;
  32. border-bottom: 1px solid rgb(226, 226, 226);
  33. position: fixed;
  34. top: 0;
  35. width: 100%;
  36. z-index: 10;
  37. }
  38. .menubar .logo{
  39. height: 36px;
  40. }
  41. .menubar .item{
  42. display: inline-block;
  43. vertical-align: middle;
  44. }
  45. .wrapper{
  46. display: flex;
  47. align-items: flex-start;
  48. padding-top: 4.6em;
  49. }
  50. .toolbar {
  51. display: inline-block;
  52. height: calc(100% - 51px);
  53. overflow-y: auto;
  54. width: 240px;
  55. }
  56. .contentWindow{
  57. display: inline-block;
  58. width: calc(100% - 240px);
  59. vertical-align: top;
  60. background-color: white;
  61. border-radius: 1em;
  62. margin-right: 2em;
  63. }
  64. .menutoggle{
  65. display: none !important;
  66. }
  67. .ui.divider{
  68. font-weight: 300;
  69. }
  70. .serverstatusWrapper{
  71. padding-right: 0 !important;
  72. }
  73. .statisticWrapper{
  74. margin-top: 1em;
  75. padding-left: 0 !important;
  76. padding-bottom: 0 !important;
  77. padding-right: 1em !important;
  78. }
  79. .statisticWrapper .statustab{
  80. margin-right: 1em;
  81. }
  82. /* Message Box */
  83. #messageBox{
  84. position: fixed;
  85. bottom: 1em;
  86. right: 1em;
  87. display:none;
  88. max-width: 300px;
  89. z-index: 999;
  90. }
  91. /* Confirm Box */
  92. #confirmBox{
  93. position: fixed;
  94. z-index: 999;
  95. bottom: 1em;
  96. right: 1em;
  97. min-width: 300px;
  98. background-color: #ffffff;
  99. color: rgb(65, 65, 65);
  100. box-shadow: 10px 10px 5px -2px rgba(0,0,0,0.13);
  101. }
  102. #confirmBox .confirmBoxBody{
  103. padding: 1em;
  104. }
  105. #confirmBox .ui.progress .bar{
  106. background: #a9d1f3 !important;
  107. }
  108. #confirmBox .confirmBoxBody .button{
  109. margin-top: -0.4em;
  110. }
  111. #confirmBox .questionToConfirm{
  112. margin-top: -0.2em;
  113. }
  114. /* Standard containers */
  115. .standardContainer{
  116. position: relative;
  117. }
  118. .standardContainer.noleftright{
  119. padding-left: 0;
  120. padding-right: 0;
  121. }
  122. .standardContainer.noleft{
  123. padding-left: 0;
  124. }
  125. .standardContainer.noright{
  126. padding-right: 0;
  127. }
  128. .standardContainer.notopdown{
  129. padding-top: 0;
  130. padding-bottom: 0;
  131. }
  132. .standardContainer.notop{
  133. padding-top: 0;
  134. }
  135. .standardContainer.nobottom{
  136. padding-bottom: 0;
  137. }
  138. /*
  139. Side Wrapper
  140. */
  141. .sideWrapper{
  142. position: fixed;
  143. right: 0;
  144. top: 52px;
  145. height: 100%;
  146. width: calc(100% - 5em);
  147. max-width: 500px;
  148. z-index: 10;
  149. }
  150. .sideWrapper .content{
  151. height: 100%;
  152. width: 100%;
  153. position: relative;
  154. background-color: white;
  155. }
  156. .sideWrapper iframe{
  157. height: calc(100% - 55px);
  158. width: 100%;
  159. border: 0px solid transparent;
  160. }
  161. .sideWrapper .fadingBackground{
  162. position: fixed;
  163. top: 52px;
  164. left: 0;
  165. width: 100%;
  166. height: calc(100% - 52px);
  167. background-color: rgba(38,38,38,0.26);
  168. }
  169. .sideWrapperMenu{
  170. height: 3px;
  171. background-color: #414141;
  172. }
  173. /*
  174. RWD Rules
  175. */
  176. @media screen and (min-width: 750px) {
  177. .standardContainer{
  178. padding-left: 2.4em;
  179. padding-right: 2.4em;
  180. padding-top: 2em;
  181. padding-bottom: 2em;
  182. }
  183. }
  184. @media screen and (max-width: 748px) {
  185. #serverstatus{
  186. margin-left: 0 !important;
  187. margin-right: 0 !important;
  188. }
  189. .statisticWrapper .statustab{
  190. margin-left: 0 !important;
  191. margin-right: 0 !important;
  192. }
  193. .toolbar {
  194. position: fixed;
  195. display: inline-block;
  196. width: 240px;
  197. background-color: white;
  198. top: 3.6em;
  199. right: 0;
  200. height: calc(100% - 51px);
  201. overflow-y: auto;
  202. margin-bottom: 1em;
  203. z-index: 9;
  204. padding: 1em;
  205. display:none;
  206. border-left: 1px solid rgb(206, 206, 206);
  207. }
  208. .menutoggle{
  209. display: inline-block !important;
  210. }
  211. #mainmenu{
  212. width: calc(100% - 1em);
  213. }
  214. .contentWindow{
  215. display: inline-block;
  216. width: 100%;
  217. margin-right: 0.4em;
  218. margin-left: 0.4em;
  219. }
  220. .functiontab{
  221. padding: 0em;
  222. }
  223. #serverstatus.green{
  224. border-bottom: 0px solid transparent !important;
  225. }
  226. .standardContainer{
  227. padding-left: 1.2em;
  228. padding-right: 1.2em;
  229. padding-top: 0.6em;
  230. padding-bottom: 0.6em;
  231. }
  232. }
  233. .menudivider{
  234. font-size: 0.8em !important;
  235. color: #9c9c9c !important;
  236. padding-left: 0.6em;
  237. }
  238. /*
  239. Global rules overwrite
  240. */
  241. .ui.teal.button{
  242. background-color: #3d9c64 !important;
  243. }
  244. .ui.red.button:not(.basic){
  245. background-color: #cc3b3b !important;
  246. }
  247. .ui.menu .item{
  248. color: #5e5d5d;
  249. }
  250. .ui.secondary.vertical.menu .active.item{
  251. background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
  252. font-weight: 600;
  253. color: white;
  254. }
  255. .ui.secondary.vertical.menu .active.item .icon{
  256. animation: blinker 3s ease-in-out infinite;
  257. }
  258. .bluefont{
  259. color: #417ac1 !important;
  260. }
  261. @keyframes blinker {
  262. 50% {
  263. opacity: 50%;
  264. }
  265. }
  266. /*
  267. Status style overwrite
  268. */
  269. #serverstatus{
  270. height: 100%;
  271. border-radius: 1em;
  272. margin: 1em;
  273. }
  274. #statusTitle{
  275. font-weight: 300;
  276. }
  277. #serverstatus.green{
  278. background: linear-gradient(60deg, #27e7ff, #00ca52);
  279. }
  280. #serverstatus.green .sub.header{
  281. color: rgb(224, 224, 224);
  282. }
  283. #serverstatus.green i,
  284. #serverstatus.green #statusTitle{
  285. color: rgb(255, 255, 255);
  286. }
  287. #serverstatus.green #statusText{
  288. color: rgb(255, 255, 255);
  289. }
  290. #serverstatus:not(.green) .dot-container{
  291. display:none;
  292. }
  293. #serverstatus:not(.green){
  294. background: linear-gradient(215deg, rgba(38,60,71,1) 13%, rgba(2,3,42,1) 84%);
  295. }
  296. #serverstatus:not(.green) #statusTitle,
  297. #serverstatus:not(.green) i,
  298. #serverstatus:not(.green) .sub.header{
  299. color: white;
  300. }
  301. .statustab{
  302. min-height: 5.5em;
  303. margin: 1em;
  304. border-radius: 1em !important;
  305. }
  306. #summaryTotalCount{
  307. font-size: 1.6em;
  308. font-weight: 300;
  309. }
  310. .statustab.summary{
  311. background-color: #f1f1f1 !important;
  312. border: 0px solid transparent !important;
  313. }
  314. .statustab.summary span, .statustab.summary i{
  315. color: rgb(37, 37, 37);
  316. }
  317. #networkActivityPlaceHolder{
  318. color:rgb(206, 206, 206);
  319. height: 200px;
  320. width: 100%;
  321. text-align: center;
  322. padding-top: 80px;
  323. display:none;
  324. }
  325. /* Decorative Animation */
  326. .dot-container {
  327. display: flex;
  328. justify-content: center;
  329. align-items: center;
  330. height: 40px;
  331. position: absolute;
  332. bottom: 0.6em;
  333. right: 1.2em;
  334. }
  335. .dot {
  336. width: 6px;
  337. height: 6px;
  338. border-radius: 50%;
  339. background-color: #d9d9d9;
  340. margin-right: 6px;
  341. animation-name: dot-animation;
  342. animation-duration: 4s;
  343. animation-timing-function: ease-in-out;
  344. animation-iteration-count: infinite;
  345. }
  346. .dot:nth-child(1) {
  347. animation-delay: 0s;
  348. }
  349. .dot:nth-child(2) {
  350. animation-delay: 1s;
  351. }
  352. .dot:nth-child(3) {
  353. animation-delay: 2s;
  354. }
  355. .dot:nth-child(4) {
  356. animation-delay: 3s;
  357. }
  358. @keyframes dot-animation {
  359. 0% {
  360. background-color: #d9d9d9;
  361. transform: scale(1);
  362. }
  363. 50% {
  364. background-color: white;
  365. transform: scale(1.5);
  366. }
  367. 100% {
  368. background-color: #d9d9d9;
  369. transform: scale(1);
  370. }
  371. }
  372. /*
  373. Access Control
  374. */
  375. .ui.very.compact.table th{
  376. padding-top: 0.2em;
  377. padding-bottom: 0.2em;
  378. }
  379. .ui.very.compact.table td{
  380. padding-top: 0.1em;
  381. padding-bottom: 0.1em;
  382. }
  383. #ipTable.disabled{
  384. opacity: 0.5;
  385. pointer-events: none;
  386. user-select: none;
  387. }
  388. /*
  389. TCP Proxy
  390. */
  391. .tcproxConfig td:first-child{
  392. position: relative;
  393. }
  394. .tcproxConfig.running td:first-child{
  395. border-left: 0.6em solid #21ba45 !important;
  396. }
  397. .tcproxConfig.stopped td:first-child{
  398. border-left: 0.6em solid #414141 !important;
  399. }
  400. .tcproxConfig td:first-child .statusText{
  401. position: absolute;
  402. bottom: 0.3em;
  403. left: 0.2em;
  404. font-size: 2em;
  405. color:rgb(224, 224, 224);
  406. opacity: 0.7;
  407. pointer-events: none;
  408. user-select: none;
  409. }
  410. /*
  411. Uptime Monitor
  412. */
  413. #utm{
  414. background-color: white;
  415. border-radius: 1em;
  416. }
  417. .domain{
  418. margin-bottom: 1em;
  419. position: relative;
  420. }
  421. .statusDot{
  422. height: 1.8em;
  423. border-radius: 0.4em;
  424. width: 0.4em;
  425. background-color: #e8e8e8;
  426. display:inline-block;
  427. cursor: pointer;
  428. margin-left: 0.1em;
  429. }
  430. .online.statusDot{
  431. background-color: #3bd671;
  432. }
  433. .error.statusDot{
  434. background-color: #f29030;
  435. }
  436. .offline.statusDot{
  437. background-color: #df484a;
  438. }
  439. .padding.statusDot{
  440. cursor: auto;
  441. }
  442. /*
  443. Global Area Network
  444. gan.html
  445. */
  446. .clickable{
  447. cursor: pointer;
  448. }
  449. .clickable:hover{
  450. opacity: 0.6;
  451. }
  452. #ganetRangeTable td{
  453. text-align: center;
  454. }
  455. .gansnetworks.disabled{
  456. opacity: 0.5;
  457. pointer-events: none;
  458. user-select: none;
  459. }
  460. .GANetMember.authorized{
  461. border-left: 6px solid #3c9c63 !important;
  462. }
  463. .GANetMember.unauthorized{
  464. border-left: 6px solid #9c3c3c !important;
  465. }
  466. /*
  467. Network Utilities
  468. */
  469. #traceroute_results{
  470. resize: none;
  471. background-color: #202020;
  472. color: white;
  473. }
  474. #traceroute_results::selection {
  475. background: #a9d1f3;
  476. }