1
0

main.css 10 KB

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