main.css 10 KB

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