main.css 16 KB

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