main.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852
  1. /*
  2. index.html style overwrite
  3. */
  4. /* Theme color palletes are defined in darktheme.css */
  5. /* Theme Toggle CSS */
  6. #themeColorButton{
  7. background-color: black;
  8. color: var(--text_color_inverted);
  9. }
  10. body.darkTheme #themeColorButton{
  11. background-color: white;
  12. }
  13. body{
  14. background-color:var(--theme_bg);
  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: var(--theme_bg_secondary);
  32. margin-bottom: 1em;
  33. border-bottom: 1px solid var(--theme_highlight);
  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. position: sticky;
  57. top: 4em;
  58. }
  59. .contentWindow{
  60. display: inline-block;
  61. width: calc(100% - 240px);
  62. vertical-align: top;
  63. background-color: var(--theme_bg_primary);
  64. border-radius: 1em;
  65. margin-right: 2em;
  66. }
  67. .menutoggle{
  68. display: none !important;
  69. }
  70. .rulesInstructions, .rulesInstructions span{
  71. color: white !important;
  72. }
  73. .ui.divider{
  74. font-weight: 300;
  75. }
  76. .serverstatusWrapper{
  77. padding-right: 0 !important;
  78. }
  79. .statisticWrapper{
  80. margin-top: 1em;
  81. padding-left: 0 !important;
  82. padding-bottom: 0 !important;
  83. padding-right: 1em !important;
  84. }
  85. .statisticWrapper .statustab{
  86. margin-right: 1em;
  87. }
  88. /* Message Box */
  89. #messageBox{
  90. position: fixed;
  91. bottom: 1em;
  92. right: 1em;
  93. display:none;
  94. max-width: 300px;
  95. z-index: 1000;
  96. }
  97. /* Confirm Box */
  98. #confirmBox{
  99. position: fixed;
  100. z-index: 999;
  101. bottom: 1em;
  102. right: 1em;
  103. min-width: 300px;
  104. background-color: #ffffff;
  105. color: rgb(65, 65, 65);
  106. box-shadow: 10px 10px 5px -2px rgba(0,0,0,0.13);
  107. }
  108. #confirmBox .confirmBoxBody{
  109. padding: 1em;
  110. }
  111. #confirmBox .ui.progress .bar{
  112. background: #a9d1f3 !important;
  113. }
  114. #confirmBox .confirmBoxBody .button{
  115. margin-top: -0.4em;
  116. }
  117. #confirmBox .questionToConfirm{
  118. margin-top: -0.2em;
  119. }
  120. /* Standard containers */
  121. .standardContainer{
  122. position: relative;
  123. }
  124. .standardContainer.noleftright{
  125. padding-left: 0;
  126. padding-right: 0;
  127. }
  128. .standardContainer.noleft{
  129. padding-left: 0;
  130. }
  131. .standardContainer.noright{
  132. padding-right: 0;
  133. }
  134. .standardContainer.notopdown{
  135. padding-top: 0;
  136. padding-bottom: 0;
  137. }
  138. .standardContainer.notop{
  139. padding-top: 0;
  140. }
  141. .standardContainer.nobottom{
  142. padding-bottom: 0;
  143. }
  144. /*
  145. Side Wrapper
  146. */
  147. .sideWrapper{
  148. position: fixed;
  149. right: 0;
  150. top: 52px;
  151. height: 100%;
  152. width: calc(100% - 5em);
  153. max-width: 500px;
  154. z-index: 10;
  155. }
  156. .sideWrapper .content{
  157. height: 100%;
  158. width: 100%;
  159. position: relative;
  160. background-color: white;
  161. }
  162. .sideWrapper iframe{
  163. height: calc(100% - 55px);
  164. width: 100%;
  165. border: 0px solid transparent;
  166. }
  167. .sideWrapper .fadingBackground{
  168. position: fixed;
  169. top: 52px;
  170. left: 0;
  171. width: 100%;
  172. height: calc(100% - 52px);
  173. background-color: rgba(38,38,38,0.26);
  174. }
  175. .sideWrapperMenu{
  176. height: 3px;
  177. background: var(--theme_background);
  178. }
  179. /*
  180. RWD Rules
  181. */
  182. @media screen and (min-width: 750px) {
  183. .standardContainer{
  184. padding-left: 2.4em;
  185. padding-right: 2.4em;
  186. padding-top: 2em;
  187. padding-bottom: 2em;
  188. }
  189. }
  190. @media screen and (max-width: 748px) {
  191. #serverstatus{
  192. margin-left: 0 !important;
  193. margin-right: 0 !important;
  194. }
  195. .statisticWrapper .statustab{
  196. margin-left: 0 !important;
  197. margin-right: 0 !important;
  198. }
  199. .toolbar {
  200. position: fixed;
  201. display: inline-block;
  202. width: 240px;
  203. background-color: white;
  204. top: 3.6em;
  205. right: 0;
  206. height: calc(100% - 51px);
  207. overflow-y: auto;
  208. margin-bottom: 1em;
  209. z-index: 9;
  210. padding: 1em;
  211. display:none;
  212. border-left: 1px solid rgb(206, 206, 206);
  213. }
  214. .menutoggle{
  215. display: inline-block !important;
  216. }
  217. #mainmenu{
  218. width: calc(100% - 1em);
  219. }
  220. .contentWindow{
  221. display: inline-block;
  222. width: 100%;
  223. margin-right: 0.4em;
  224. margin-left: 0.4em;
  225. }
  226. .functiontab{
  227. padding: 0em;
  228. }
  229. #serverstatus.green{
  230. border-bottom: 0px solid transparent !important;
  231. }
  232. .standardContainer{
  233. padding-left: 1.2em;
  234. padding-right: 1.2em;
  235. padding-top: 0.6em;
  236. padding-bottom: 0.6em;
  237. }
  238. }
  239. .menudivider{
  240. font-size: 0.8em !important;
  241. color: #9c9c9c !important;
  242. padding-left: 0.6em;
  243. }
  244. /*
  245. Global rules overwrite
  246. */
  247. .ui.teal.button{
  248. background-color: #3d9c64 !important;
  249. }
  250. .ui.red.button:not(.basic){
  251. background-color: #cc3b3b !important;
  252. }
  253. .ui.menu .item{
  254. color: var(--item_color);
  255. }
  256. .ui.segment{
  257. box-shadow: none !important;
  258. }
  259. .ui.secondary.vertical.menu .active.item{
  260. background: var(--theme_background);
  261. font-weight: 600;
  262. color: white;
  263. }
  264. .ui.secondary.vertical.menu .active.item .icon{
  265. animation: blinker 3s ease-in-out infinite;
  266. }
  267. .basic.segment.advanceoptions{
  268. background-color: var(--theme_advance);
  269. border-radius: 1em;
  270. }
  271. .bluefont{
  272. color: #417ac1 !important;
  273. }
  274. @keyframes blinker {
  275. 50% {
  276. opacity: 50%;
  277. }
  278. }
  279. /*
  280. Status style overwrite
  281. */
  282. #serverstatus{
  283. height: 100%;
  284. border-radius: 1em;
  285. margin: 1em;
  286. }
  287. #statusTitle{
  288. font-weight: 300;
  289. }
  290. #serverstatus.green{
  291. background: linear-gradient(60deg, #27e7ff, #00ca52);
  292. }
  293. #serverstatus.green .sub.header{
  294. color: rgb(224, 224, 224);
  295. }
  296. #serverstatus.green i,
  297. #serverstatus.green #statusTitle{
  298. color: rgb(255, 255, 255);
  299. }
  300. #serverstatus.green #statusText{
  301. color: rgb(255, 255, 255);
  302. }
  303. #serverstatus:not(.green) .dot-container{
  304. display:none;
  305. }
  306. #serverstatus:not(.green){
  307. background: linear-gradient(215deg, rgba(38,60,71,1) 13%, rgba(2,3,42,1) 84%);
  308. }
  309. #serverstatus:not(.green) #statusTitle,
  310. #serverstatus:not(.green) i,
  311. #serverstatus:not(.green) .sub.header{
  312. color: white;
  313. }
  314. .statustab{
  315. min-height: 5.5em;
  316. margin: 1em;
  317. border-radius: 1em !important;
  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: white;
  378. transform: scale(1.5);
  379. }
  380. 100% {
  381. background-color: #d9d9d9;
  382. transform: scale(1);
  383. }
  384. }
  385. /* Remind message for user forgetting to click Apply button*/
  386. #applyButtonReminder{
  387. position: absolute;
  388. bottom:-1.6em;
  389. left: 0;
  390. font-weight: bolder;
  391. color: #faac26;
  392. display:none;
  393. }
  394. /*
  395. Default Site
  396. */
  397. #setroot{
  398. border-radius: 0.6em;
  399. }
  400. /*
  401. HTTP Proxy & Virtual Directory
  402. */
  403. #currentVirtualDirectoryAttachingHost{
  404. background: var(--theme_background);
  405. color: white;
  406. border-radius: 1em;
  407. font-weight: bolder;
  408. }
  409. .section.disabled{
  410. opacity: 0.5;
  411. user-select: none;
  412. pointer-events: none;
  413. }
  414. /*
  415. Access Control
  416. */
  417. .ui.very.compact.table th{
  418. padding-top: 0.2em;
  419. padding-bottom: 0.2em;
  420. }
  421. .ui.very.compact.table td{
  422. padding-top: 0.1em;
  423. padding-bottom: 0.1em;
  424. }
  425. #ipTable.disabled{
  426. opacity: 0.5;
  427. pointer-events: none;
  428. user-select: none;
  429. }
  430. /*
  431. TCP Proxy
  432. */
  433. .streamproxConfig td:first-child{
  434. position: relative;
  435. }
  436. .streamproxConfig.running td:first-child{
  437. border-left: 0.6em solid #01cb55 !important;
  438. }
  439. .streamproxConfig.stopped td:first-child{
  440. border-left: 0.6em solid #1b1b1b !important;
  441. }
  442. .streamproxConfig td:first-child .statusText{
  443. position: absolute;
  444. bottom: 0.1em;
  445. right: 0.2em;
  446. font-size: 1em;
  447. color:rgb(224, 224, 224);
  448. opacity: 0.7;
  449. pointer-events: none;
  450. user-select: none;
  451. }
  452. /*
  453. ACME Renewer Status Panel
  454. */
  455. .acmeRenewStateWrapper{
  456. padding: 1em;
  457. border-radius: 1em !important;
  458. }
  459. .acmeRenewStateWrapper .ui.header, .acmeRenewStateWrapper .sub.header{
  460. color: white !important;
  461. }
  462. .acmeRenewStateWrapper:not(.enabled){
  463. background: var(--theme_red) !important;
  464. }
  465. .acmeRenewStateWrapper.enabled{
  466. background: var(--theme_green) !important;
  467. }
  468. /*
  469. SSO Panel
  470. */
  471. .ssoRunningState{
  472. padding: 1em;
  473. border-radius: 1em !important;
  474. }
  475. .ssoRunningState .ui.header, .ssoRunningState .sub.header{
  476. color: white !important;
  477. }
  478. .ssoRunningState:not(.enabled){
  479. background: var(--theme_red) !important;
  480. }
  481. .ssoRunningState.enabled{
  482. background: var(--theme_green) !important;
  483. }
  484. /*
  485. Static Web Server
  486. */
  487. .webservRunningStateWrapper{
  488. padding: 1em;
  489. border-radius: 1em !important;
  490. }
  491. .webservRunningStateWrapper .ui.header, .webservRunningStateWrapper .sub.header{
  492. color: white !important;
  493. }
  494. .webservRunningStateWrapper:not(.enabled){
  495. background: var(--theme_red) !important;
  496. }
  497. .webservRunningStateWrapper.enabled{
  498. background: var(--theme_green) !important;
  499. }
  500. /*
  501. Uptime Monitor
  502. */
  503. #utm{
  504. background-color: white;
  505. border-radius: 1em;
  506. }
  507. .domain{
  508. margin-bottom: 1em;
  509. position: relative;
  510. }
  511. .statusDot{
  512. height: 1.8em;
  513. border-radius: 0.4em;
  514. width: 0.4em;
  515. background-color: #e8e8e8;
  516. display:inline-block;
  517. cursor: pointer;
  518. margin-left: 0.1em;
  519. }
  520. .online.statusDot{
  521. background-color: #3bd671;
  522. }
  523. .error.statusDot{
  524. background-color: #f29030;
  525. }
  526. .offline.statusDot{
  527. background-color: #df484a;
  528. }
  529. .padding.statusDot{
  530. cursor: auto;
  531. }
  532. /*
  533. Global Area Network
  534. gan.html
  535. */
  536. .clickable{
  537. cursor: pointer;
  538. }
  539. .clickable:hover{
  540. opacity: 0.6;
  541. }
  542. #ganetRangeTable td{
  543. text-align: center;
  544. }
  545. .gansnetworks.disabled{
  546. opacity: 0.5;
  547. pointer-events: none;
  548. user-select: none;
  549. }
  550. .GANetMember.authorized{
  551. border-left: 6px solid #3c9c63 !important;
  552. }
  553. .GANetMember.unauthorized{
  554. border-left: 6px solid #9c3c3c !important;
  555. }
  556. /*
  557. Network Utilities
  558. */
  559. #traceroute_results{
  560. resize: none;
  561. background-color: #202020;
  562. color: white;
  563. }
  564. #traceroute_results::selection {
  565. background: #a9d1f3;
  566. }
  567. /*
  568. Quick Start Overview
  569. */
  570. #quickstart .serviceOption{
  571. position: relative;
  572. overflow: hidden;
  573. padding: 1em;
  574. background-color: rgb(240, 240, 240);
  575. border-radius: 0.6em;
  576. cursor: pointer;
  577. min-height: 250px;
  578. transition: opacity 0.1s ease-in-out;
  579. }
  580. #quickstart .serviceOption .activeOption{
  581. position: absolute;
  582. bottom: 0.2em;
  583. left: 0.2em;
  584. display:none;
  585. }
  586. #quickstart .serviceOption.active .activeOption{
  587. display: block;
  588. }
  589. #quickstart .serviceOption .titleWrapper{
  590. text-align: center;
  591. width: 100%;
  592. font-weight: bolder;
  593. font-size: 1.3em;
  594. }
  595. #quickstart .serviceOption :not(.titleWrapper){
  596. font-weight: bold;
  597. }
  598. #quickstart .serviceOption .themebackground{
  599. opacity: 0.2;
  600. position: absolute;
  601. right: 0;
  602. bottom: 0;
  603. margin-right: -1em;
  604. margin-bottom: -2em;
  605. pointer-events: none;
  606. user-select: none;
  607. }
  608. #quickstart .serviceOption:not(.active):hover{
  609. opacity: 0.8;
  610. }
  611. #quickstart .serviceOption.tls{
  612. background: var(--theme_green);
  613. color: white;
  614. }
  615. #quickstart .serviceOption.subdomain{
  616. background: var(--theme_background);
  617. color: white;
  618. }
  619. #quickstart .serviceOption.homepage{
  620. background: var(--theme_background_inverted);
  621. color: white;
  622. }
  623. #quickstart .finished.ui.button{
  624. background: var(--theme_green);
  625. color: white;
  626. }
  627. #tourModal{
  628. background-color: white;
  629. border-radius: 0.6em;
  630. padding: 1.4em;
  631. position: fixed;
  632. z-index: 999;
  633. width: 380px;
  634. display:none;
  635. border: 1px solid rgb(230, 230, 230);
  636. box-shadow: 3px 3px 11px -3px rgba(0,0,0,0.3);
  637. }
  638. /* Locations of tourModal */
  639. #tourModal[position="center"]{
  640. top: 200px;
  641. left: calc(50% - 190px);
  642. }
  643. #tourModal[position="topleft"]{
  644. top: 4em;
  645. left: 4em;
  646. }
  647. #tourModal[position="topright"]{
  648. top: 4em;
  649. right: 4em;
  650. }
  651. #tourModal[position="bottomleft"]{
  652. bottom: 4em;
  653. left: 4em;
  654. }
  655. #tourModal[position="bottomright"]{
  656. bottom: 4em;
  657. right: 4em;
  658. }
  659. #tourModal .tourStepButtonFinish{
  660. background: var(--theme_green) !important;
  661. color: white;
  662. }
  663. #tourModal .tourCloseButton{
  664. position: absolute;
  665. top: 0em;
  666. right: 0em;
  667. margin-top: -0.6em;
  668. margin-right: -0.6em;
  669. }
  670. #tourModal .nextStepFinish{
  671. display: none;
  672. }
  673. #tourModal.nofocus{
  674. box-shadow: 0 0 0 max(100vh, 100vw) rgba(0, 0, 0, .3);
  675. }
  676. #tourModalOverlay{
  677. position: fixed;
  678. top: 10em;
  679. left: 10em;
  680. width: 300px;
  681. height: 200px;
  682. pointer-events: none;
  683. z-index: 199;
  684. border-radius: 0.6em;
  685. box-shadow: 0 0 0 max(100vh, 100vw) rgba(0, 0, 0, .3);
  686. }