1
0

main.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892
  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: 1000;
  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. /* Remind message for user forgetting to click Apply button*/
  425. #applyButtonReminder{
  426. position: absolute;
  427. bottom:-1.6em;
  428. left: 0;
  429. font-weight: bolder;
  430. color: #faac26;
  431. display:none;
  432. }
  433. /*
  434. Default Site
  435. */
  436. #setroot{
  437. border-radius: 0.6em;
  438. }
  439. /*
  440. HTTP Proxy & Virtual Directory
  441. */
  442. #currentVirtualDirectoryAttachingHost{
  443. background: var(--theme_background);
  444. color: white;
  445. border-radius: 1em;
  446. font-weight: bolder;
  447. }
  448. .section.disabled{
  449. opacity: 0.5;
  450. user-select: none;
  451. pointer-events: none;
  452. }
  453. /*
  454. Access Control
  455. */
  456. .ui.very.compact.table th{
  457. padding-top: 0.2em;
  458. padding-bottom: 0.2em;
  459. }
  460. .ui.very.compact.table td{
  461. padding-top: 0.1em;
  462. padding-bottom: 0.1em;
  463. }
  464. #ipTable.disabled{
  465. opacity: 0.5;
  466. pointer-events: none;
  467. user-select: none;
  468. }
  469. /*
  470. TCP Proxy
  471. */
  472. .streamproxConfig td:first-child{
  473. position: relative;
  474. }
  475. .streamproxConfig.running td:first-child{
  476. border-left: 0.6em solid #01cb55 !important;
  477. }
  478. .streamproxConfig.stopped td:first-child{
  479. border-left: 0.6em solid #1b1b1b !important;
  480. }
  481. .streamproxConfig td:first-child .statusText{
  482. position: absolute;
  483. bottom: 0.1em;
  484. right: 0.2em;
  485. font-size: 1em;
  486. color:rgb(224, 224, 224);
  487. opacity: 0.7;
  488. pointer-events: none;
  489. user-select: none;
  490. }
  491. /*
  492. ACME Renewer Status Panel
  493. */
  494. .acmeRenewStateWrapper{
  495. padding: 1em;
  496. border-radius: 1em !important;
  497. }
  498. .acmeRenewStateWrapper .ui.header, .acmeRenewStateWrapper .sub.header{
  499. color: white !important;
  500. }
  501. .acmeRenewStateWrapper:not(.enabled){
  502. background: var(--theme_red) !important;
  503. }
  504. .acmeRenewStateWrapper.enabled{
  505. background: var(--theme_green) !important;
  506. }
  507. /*
  508. SSO Panel
  509. */
  510. .ssoRunningState{
  511. padding: 1em;
  512. border-radius: 1em !important;
  513. }
  514. .ssoRunningState .ui.header, .ssoRunningState .sub.header{
  515. color: white !important;
  516. }
  517. .ssoRunningState:not(.enabled){
  518. background: var(--theme_red) !important;
  519. }
  520. .ssoRunningState.enabled{
  521. background: var(--theme_green) !important;
  522. }
  523. /*
  524. Static Web Server
  525. */
  526. .webservRunningStateWrapper{
  527. padding: 1em;
  528. border-radius: 1em !important;
  529. }
  530. .webservRunningStateWrapper .ui.header, .webservRunningStateWrapper .sub.header{
  531. color: white !important;
  532. }
  533. .webservRunningStateWrapper:not(.enabled){
  534. background: var(--theme_red) !important;
  535. }
  536. .webservRunningStateWrapper.enabled{
  537. background: var(--theme_green) !important;
  538. }
  539. /*
  540. Uptime Monitor
  541. */
  542. #utm{
  543. background-color: white;
  544. border-radius: 1em;
  545. }
  546. .domain{
  547. margin-bottom: 1em;
  548. position: relative;
  549. }
  550. .statusDot{
  551. height: 1.8em;
  552. border-radius: 0.4em;
  553. width: 0.4em;
  554. background-color: #e8e8e8;
  555. display:inline-block;
  556. cursor: pointer;
  557. margin-left: 0.1em;
  558. }
  559. .online.statusDot{
  560. background-color: #3bd671;
  561. }
  562. .error.statusDot{
  563. background-color: #f29030;
  564. }
  565. .offline.statusDot{
  566. background-color: #df484a;
  567. }
  568. .padding.statusDot{
  569. cursor: auto;
  570. }
  571. /*
  572. Global Area Network
  573. gan.html
  574. */
  575. .clickable{
  576. cursor: pointer;
  577. }
  578. .clickable:hover{
  579. opacity: 0.6;
  580. }
  581. #ganetRangeTable td{
  582. text-align: center;
  583. }
  584. .gansnetworks.disabled{
  585. opacity: 0.5;
  586. pointer-events: none;
  587. user-select: none;
  588. }
  589. .GANetMember.authorized{
  590. border-left: 6px solid #3c9c63 !important;
  591. }
  592. .GANetMember.unauthorized{
  593. border-left: 6px solid #9c3c3c !important;
  594. }
  595. /*
  596. Network Utilities
  597. */
  598. #traceroute_results{
  599. resize: none;
  600. background-color: #202020;
  601. color: white;
  602. }
  603. #traceroute_results::selection {
  604. background: #a9d1f3;
  605. }
  606. /*
  607. Quick Start Overview
  608. */
  609. #quickstart .serviceOption{
  610. position: relative;
  611. overflow: hidden;
  612. padding: 1em;
  613. background-color: rgb(240, 240, 240);
  614. border-radius: 0.6em;
  615. cursor: pointer;
  616. min-height: 250px;
  617. transition: opacity 0.1s ease-in-out;
  618. }
  619. #quickstart .serviceOption .activeOption{
  620. position: absolute;
  621. bottom: 0.2em;
  622. left: 0.2em;
  623. display:none;
  624. }
  625. #quickstart .serviceOption.active .activeOption{
  626. display: block;
  627. }
  628. #quickstart .serviceOption .titleWrapper{
  629. text-align: center;
  630. width: 100%;
  631. font-weight: bolder;
  632. font-size: 1.3em;
  633. }
  634. #quickstart .serviceOption :not(.titleWrapper){
  635. font-weight: bold;
  636. }
  637. #quickstart .serviceOption .themebackground{
  638. opacity: 0.2;
  639. position: absolute;
  640. right: 0;
  641. bottom: 0;
  642. margin-right: -1em;
  643. margin-bottom: -2em;
  644. pointer-events: none;
  645. user-select: none;
  646. }
  647. #quickstart .serviceOption:not(.active):hover{
  648. opacity: 0.8;
  649. }
  650. #quickstart .serviceOption.tls{
  651. background: var(--theme_green);
  652. color: white;
  653. }
  654. #quickstart .serviceOption.subdomain{
  655. background: var(--theme_background);
  656. color: white;
  657. }
  658. #quickstart .serviceOption.homepage{
  659. background: var(--theme_background_inverted);
  660. color: white;
  661. }
  662. #quickstart .finished.ui.button{
  663. background: var(--theme_green);
  664. color: white;
  665. }
  666. #tourModal{
  667. background-color: white;
  668. border-radius: 0.6em;
  669. padding: 1.4em;
  670. position: fixed;
  671. z-index: 999;
  672. width: 380px;
  673. display:none;
  674. border: 1px solid rgb(230, 230, 230);
  675. box-shadow: 3px 3px 11px -3px rgba(0,0,0,0.3);
  676. }
  677. /* Locations of tourModal */
  678. #tourModal[position="center"]{
  679. top: 200px;
  680. left: calc(50% - 190px);
  681. }
  682. #tourModal[position="topleft"]{
  683. top: 4em;
  684. left: 4em;
  685. }
  686. #tourModal[position="topright"]{
  687. top: 4em;
  688. right: 4em;
  689. }
  690. #tourModal[position="bottomleft"]{
  691. bottom: 4em;
  692. left: 4em;
  693. }
  694. #tourModal[position="bottomright"]{
  695. bottom: 4em;
  696. right: 4em;
  697. }
  698. #tourModal .tourStepButtonFinish{
  699. background: var(--theme_green) !important;
  700. color: white;
  701. }
  702. #tourModal .tourCloseButton{
  703. position: absolute;
  704. top: 0em;
  705. right: 0em;
  706. margin-top: -0.6em;
  707. margin-right: -0.6em;
  708. }
  709. #tourModal .nextStepFinish{
  710. display: none;
  711. }
  712. #tourModal.nofocus{
  713. box-shadow: 0 0 0 max(100vh, 100vw) rgba(0, 0, 0, .3);
  714. }
  715. #tourModalOverlay{
  716. position: fixed;
  717. top: 10em;
  718. left: 10em;
  719. width: 300px;
  720. height: 200px;
  721. pointer-events: none;
  722. z-index: 199;
  723. border-radius: 0.6em;
  724. box-shadow: 0 0 0 max(100vh, 100vw) rgba(0, 0, 0, .3);
  725. }