1
0

main.css 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528
  1. /*
  2. index.html style overwrite
  3. */
  4. :root{
  5. --theme_grey: #414141;
  6. --theme_lgrey: #f6f6f6;
  7. --theme_green: #3c9c63;
  8. --theme_fcolor: #979797;
  9. }
  10. body{
  11. background-color:#f6f6f6;
  12. color: #414141;
  13. }
  14. .functiontab{
  15. display:none;
  16. }
  17. .menubar{
  18. width: 100%;
  19. padding: 0.4em;
  20. padding-left: 1.2em;
  21. padding-right: 1.2em;
  22. background-color: #f5f5f5;
  23. margin-bottom: 1em;
  24. position: fixed;
  25. top: 0;
  26. width: 100%;
  27. z-index: 10;
  28. box-shadow: 0px 1px 5px 0px rgba(38,38,38,0.26);
  29. }
  30. .menubar .logo{
  31. height: 36px;
  32. }
  33. .menubar .item{
  34. display: inline-block;
  35. vertical-align: middle;
  36. }
  37. .wrapper{
  38. display: flex;
  39. align-items: flex-start;
  40. padding-top: 4.6em;
  41. }
  42. .toolbar {
  43. display: inline-block;
  44. height: calc(100% - 51px);
  45. overflow-y: auto;
  46. width: 240px;
  47. }
  48. .contentWindow{
  49. display: inline-block;
  50. width: calc(100% - 240px);
  51. vertical-align: top;
  52. background-color: white;
  53. border-radius: 1em;
  54. margin-right: 2em;
  55. }
  56. .menutoggle{
  57. display: none !important;
  58. }
  59. .ui.divider{
  60. font-weight: 300;
  61. }
  62. .serverstatusWrapper{
  63. padding-right: 0 !important;
  64. }
  65. .statisticWrapper{
  66. padding-left: 0 !important;
  67. }
  68. /* Message Box */
  69. #messageBox{
  70. position: fixed;
  71. bottom: 1em;
  72. right: 1em;
  73. display:none;
  74. max-width: 300px;
  75. z-index: 999;
  76. }
  77. /* Standard containers */
  78. .standardContainer{
  79. position: relative;
  80. }
  81. .standardContainer.noleftright{
  82. padding-left: 0;
  83. padding-right: 0;
  84. }
  85. .standardContainer.noleft{
  86. padding-left: 0;
  87. }
  88. .standardContainer.noright{
  89. padding-right: 0;
  90. }
  91. .standardContainer.notopdown{
  92. padding-top: 0;
  93. padding-bottom: 0;
  94. }
  95. .standardContainer.notop{
  96. padding-top: 0;
  97. }
  98. .standardContainer.nobottom{
  99. padding-bottom: 0;
  100. }
  101. /*
  102. Side Wrapper
  103. */
  104. .sideWrapper{
  105. position: fixed;
  106. right: 0;
  107. top: 52px;
  108. height: 100%;
  109. width: calc(100% - 5em);
  110. max-width: 500px;
  111. z-index: 10;
  112. }
  113. .sideWrapper .content{
  114. height: 100%;
  115. width: 100%;
  116. position: relative;
  117. background-color: white;
  118. }
  119. .sideWrapper iframe{
  120. height: 100%;
  121. width: 100%;
  122. border: 0px solid transparent;
  123. }
  124. .sideWrapper .fadingBackground{
  125. position: fixed;
  126. top: 52px;
  127. left: 0;
  128. width: 100%;
  129. height: calc(100% - 52px);
  130. background-color: rgba(38,38,38,0.26);
  131. }
  132. .sideWrapperMenu{
  133. height: 3px;
  134. background-color: #414141;
  135. }
  136. /*
  137. RWD Rules
  138. */
  139. @media screen and (min-width: 750px) {
  140. #serverstatus{
  141. border-top-left-radius: 1em !important;
  142. }
  143. .greybackground.statustab{
  144. border-top-right-radius: 1em !important;
  145. }
  146. .standardContainer{
  147. padding-left: 2.4em;
  148. padding-right: 2.4em;
  149. padding-top: 2em;
  150. padding-bottom: 2em;
  151. }
  152. }
  153. @media screen and (max-width: 750px) {
  154. .toolbar {
  155. position: fixed;
  156. display: inline-block;
  157. width: 240px;
  158. background-color: white;
  159. top: 3.6em;
  160. right: 0;
  161. height: calc(100% - 51px);
  162. overflow-y: auto;
  163. margin-bottom: 1em;
  164. z-index: 9;
  165. padding: 1em;
  166. display:none;
  167. border-left: 1px solid rgb(206, 206, 206);
  168. }
  169. .menutoggle{
  170. display: inline-block !important;
  171. }
  172. #mainmenu{
  173. width: calc(100% - 1em);
  174. }
  175. .contentWindow{
  176. display: inline-block;
  177. width: 100%;
  178. margin-right: 0.4em;
  179. margin-left: 0.4em;
  180. }
  181. .functiontab{
  182. padding: 0em;
  183. }
  184. .ui.grid > .stackable.stackable.row > .column, .ui.stackable.grid > .column.grid > .column, .ui.stackable.grid > .column.row > .column, .ui.stackable.grid > .column:not(.row), .ui.stackable.grid > .row > .column, .ui.stackable.grid > .row > .wide.column, .ui.stackable.grid > .wide.column.serverstatusWrapper {
  185. padding: 0rem 0rem !important;
  186. }
  187. #serverstatus.green{
  188. border-bottom: 0px solid transparent !important;
  189. }
  190. .greybackground.statustab{
  191. border-top-right-radius: 0em !important;
  192. padding: 2em 2em !important;
  193. }
  194. .standardContainer{
  195. padding-left: 1.2em;
  196. padding-right: 1.2em;
  197. padding-top: 0.6em;
  198. padding-bottom: 0.6em;
  199. }
  200. }
  201. .menudivider{
  202. font-size: 0.8em !important;
  203. color: #9c9c9c !important;
  204. padding-left: 0.6em;
  205. }
  206. /*
  207. Global rules overwrite
  208. */
  209. .ui.teal.button{
  210. background-color: #3d9c64 !important;
  211. }
  212. .ui.red.button:not(.basic){
  213. background-color: #cc3b3b !important;
  214. }
  215. .ui.menu .item{
  216. color: #5e5d5d;
  217. }
  218. .ui.secondary.vertical.menu .active.item{
  219. background-color: #414141;
  220. font-weight: 600;
  221. color: white;
  222. }
  223. .ui.secondary.vertical.menu .active.item .icon{
  224. animation: blinker 3s ease-in-out infinite;
  225. }
  226. .bluefont{
  227. color: #417ac1 !important;
  228. }
  229. @keyframes blinker {
  230. 50% {
  231. opacity: 50%;
  232. }
  233. }
  234. /*
  235. Status style overwrite
  236. */
  237. #serverstatus{
  238. height: 100%;
  239. }
  240. #statusTitle{
  241. font-weight: 300;
  242. }
  243. .statustab{
  244. border-radius: 0 !important;
  245. }
  246. .greybackground.statustab{
  247. background-color: #414141 !important;
  248. color: white;
  249. }
  250. .greybackground.statustab .ui.header:not(:first-child){
  251. margin-top: 1em;
  252. }
  253. .greybackground.statustab span,
  254. .greybackground.statustab h1,
  255. .greybackground.statustab h2,
  256. .greybackground.statustab h3,
  257. .greybackground.statustab h4,
  258. .greybackground.statustab h5 {
  259. color: white !important;
  260. }
  261. .greybackground.statustab .header{
  262. color: #b7b7b7 !important;
  263. }
  264. #serverstatus.green{
  265. background-color: #fefefe !important;
  266. border-right: 5px solid #3d9c64;
  267. }
  268. #serverstatus.green .sub.header{
  269. color: rgb(224, 224, 224);
  270. }
  271. #serverstatus.green i,
  272. #serverstatus.green #statusTitle{
  273. color: #3d9c64;
  274. }
  275. #serverstatus.green #statusText{
  276. color: #2c583d;
  277. }
  278. #serverstatus:not(.green) .dot-container{
  279. display:none;
  280. }
  281. #serverstatus:not(.green){
  282. background-color: white !important;
  283. background-image: url("img/plant.png");
  284. background-position: right;
  285. background-repeat: no-repeat;
  286. background-size: auto 100%;
  287. }
  288. #serverstatus:not(.green) #statusTitle,
  289. #serverstatus:not(.green) i,
  290. #serverstatus:not(.green) .sub.header{
  291. color: #4c4c4c;
  292. }
  293. .statustab{
  294. min-height: 5.5em;
  295. }
  296. #summaryTotalCount{
  297. font-size: 1.6em;
  298. font-weight: 300;
  299. }
  300. .statustab.summary{
  301. background-color: #f1f1f1 !important;
  302. border: 0px solid transparent !important;
  303. }
  304. .statustab.summary span, .statustab.summary i{
  305. color: rgb(37, 37, 37);
  306. }
  307. #networkActivityPlaceHolder{
  308. color:rgb(206, 206, 206);
  309. height: 200px;
  310. width: 100%;
  311. text-align: center;
  312. padding-top: 80px;
  313. display:none;
  314. }
  315. /* Decorative Animation */
  316. .dot-container {
  317. display: flex;
  318. justify-content: center;
  319. align-items: center;
  320. height: 40px;
  321. position: absolute;
  322. bottom: 0.6em;
  323. right: 1.2em;
  324. }
  325. .dot {
  326. width: 6px;
  327. height: 6px;
  328. border-radius: 50%;
  329. background-color: #d9d9d9;
  330. margin-right: 6px;
  331. animation-name: dot-animation;
  332. animation-duration: 4s;
  333. animation-timing-function: ease-in-out;
  334. animation-iteration-count: infinite;
  335. }
  336. .dot:nth-child(1) {
  337. animation-delay: 0s;
  338. }
  339. .dot:nth-child(2) {
  340. animation-delay: 1s;
  341. }
  342. .dot:nth-child(3) {
  343. animation-delay: 2s;
  344. }
  345. .dot:nth-child(4) {
  346. animation-delay: 3s;
  347. }
  348. @keyframes dot-animation {
  349. 0% {
  350. background-color: #d9d9d9;
  351. transform: scale(1);
  352. }
  353. 50% {
  354. background-color: #3d9c64;
  355. transform: scale(1.5);
  356. }
  357. 100% {
  358. background-color: #d9d9d9;
  359. transform: scale(1);
  360. }
  361. }
  362. /*
  363. Access Control
  364. */
  365. .ui.very.compact.table th{
  366. padding-top: 0.2em;
  367. padding-bottom: 0.2em;
  368. }
  369. .ui.very.compact.table td{
  370. padding-top: 0.1em;
  371. padding-bottom: 0.1em;
  372. }
  373. #ipTable.disabled{
  374. opacity: 0.5;
  375. pointer-events: none;
  376. user-select: none;
  377. }
  378. /*
  379. Uptime Monitor
  380. */
  381. #utm{
  382. background-color: white;
  383. border-radius: 1em;
  384. }
  385. .domain{
  386. margin-bottom: 1em;
  387. position: relative;
  388. }
  389. .statusDot{
  390. height: 1.8em;
  391. border-radius: 0.4em;
  392. width: 0.4em;
  393. background-color: #e8e8e8;
  394. display:inline-block;
  395. cursor: pointer;
  396. margin-left: 0.1em;
  397. }
  398. .online.statusDot{
  399. background-color: #3bd671;
  400. }
  401. .error.statusDot{
  402. background-color: #f29030;
  403. }
  404. .offline.statusDot{
  405. background-color: #df484a;
  406. }
  407. .padding.statusDot{
  408. cursor: auto;
  409. }
  410. /*
  411. Global Area Network
  412. gan.html
  413. */
  414. .clickable{
  415. cursor: pointer;
  416. }
  417. .clickable:hover{
  418. opacity: 0.6;
  419. }
  420. #ganetRangeTable td{
  421. text-align: center;
  422. }
  423. .gansnetworks.disabled{
  424. opacity: 0.5;
  425. pointer-events: none;
  426. user-select: none;
  427. }
  428. .GANetMember.authorized{
  429. border-left: 6px solid #3c9c63 !important;
  430. }
  431. .GANetMember.unauthorized{
  432. border-left: 6px solid #9c3c3c !important;
  433. }