main.css 10 KB

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