main.css 15 KB

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