main.css 13 KB

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