style.css 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. .stroke-first {
  2. paint-order: stroke;
  3. }
  4. .tabs {
  5. list-style: none;
  6. display: flex;
  7. }
  8. .tabs li {
  9. flex: 1;
  10. text-align: center;
  11. padding: 0.5em;
  12. cursor: pointer;
  13. }
  14. .tabs li:hover {
  15. background: rgba(0, 0, 0, 0.03);
  16. color: #dc0067;
  17. }
  18. .tabs .visible {
  19. font-weight: bold;
  20. border-bottom: 2pt solid black;
  21. }
  22. .tab {
  23. display: none;
  24. }
  25. .tab.visible {
  26. display: block;
  27. }
  28. body {
  29. margin: 0;
  30. padding: 0;
  31. font-family: 'Roboto Slab', serif;
  32. font-size: 11pt;
  33. }
  34. th.sort-header::selection {
  35. background: transparent;
  36. }
  37. th.sort-header {
  38. cursor: pointer;
  39. }
  40. table th.sort-header:after {
  41. font-family: "ionicons";
  42. padding-left: 0.25em;
  43. content: '\f10d';
  44. visibility: hidden;
  45. }
  46. table th.sort-header:hover:after {
  47. visibility: visible;
  48. }
  49. table th.sort-up:after, table th.sort-down:after, table th.sort-down:hover:after {
  50. visibility: visible;
  51. opacity: 0.4;
  52. }
  53. table th.sort-up:after {
  54. content: '\f104';
  55. }
  56. table.attributes th {
  57. text-align: left;
  58. font-weight: bold;
  59. vertical-align: top;
  60. padding-right: 1em;
  61. white-space: nowrap;
  62. }
  63. table.attributes td {
  64. text-align: left !important;
  65. width: 100%;
  66. }
  67. .infobox .clients {
  68. font-family: "ionicons";
  69. color: #1566A9;
  70. word-spacing: -0.2em;
  71. }
  72. .infobox {
  73. position: relative;
  74. box-shadow: 0px 0.5px 3px rgba(0, 0, 0, 0.16), 0px 0.5px 2px rgba(0, 0, 0, 0.24);
  75. background: rgba(0, 0, 0, 0.02);
  76. padding: 0.25em 0;
  77. }
  78. button {
  79. -webkit-tap-highlight-color: transparent;
  80. font-family: "ionicons";
  81. box-shadow: 0px 0.5px 3px rgba(0, 0, 0, 0.16), 0px 0.5px 2px rgba(0, 0, 0, 0.24);
  82. border-radius: 0.9em;
  83. background: rgba(255, 255, 255, 0.7);
  84. border: none;
  85. cursor: pointer;
  86. height: 1.8em;
  87. width: 1.8em;
  88. font-size: 20pt;
  89. transition: box-shadow 0.5s, color 0.5s;
  90. outline: none;
  91. }
  92. button:hover {
  93. background: white;
  94. color: #dc0067;
  95. box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.19), 0px 3px 6px rgba(0, 0, 0, 0.23);
  96. }
  97. button:active {
  98. box-shadow: inset 0px 5px 20px rgba(0, 0, 0, 0.19), inset 0px 3px 6px rgba(0, 0, 0, 0.23);
  99. }
  100. button.close {
  101. position: absolute;
  102. right: 0.7em;
  103. top: 0.7em;
  104. }
  105. button.close:after {
  106. content: "\f12a";
  107. }
  108. .sidebar h2, .sidebar h3 {
  109. padding: 0 10pt;
  110. }
  111. .sidebar p, .sidebar table, .sidebar pre, .sidebar ul {
  112. padding: 0 10pt 1em;
  113. }
  114. .sidebarhandle {
  115. position: absolute;
  116. right: -2.5em;
  117. top: 0.7em;
  118. z-index: 10;
  119. transition: right 0.5s, box-shadow 0.5s, color 0.5s, transform 0.5s;
  120. }
  121. .sidebarhandle:after {
  122. padding-right: 0.125em;
  123. content: "\f124";
  124. }
  125. .sidebar.hidden .sidebarhandle {
  126. transform: scale(-1, 1);
  127. }
  128. .hostname {
  129. }
  130. .online {
  131. color: #558020 !important;
  132. }
  133. .offline {
  134. color: #D43E2A !important;
  135. }
  136. .sidebar {
  137. z-index: 5;
  138. width: 40em;
  139. box-sizing: border-box;
  140. position: absolute;
  141. top: 0;
  142. left: 0;
  143. background: white;
  144. box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.19), 0px 3px 6px rgba(0, 0, 0, 0.23);
  145. transition: left 0.5s;
  146. }
  147. .sidebar.hidden {
  148. left: -40em;
  149. }
  150. .sidebar .container {
  151. overflow: auto;
  152. box-sizing: border-box;
  153. }
  154. .sidebar .container, .map {
  155. height: 100vh;
  156. }
  157. .sidebar .icon {
  158. padding: 0 0.25em;
  159. }
  160. .sidebar table {
  161. width: 100%;
  162. }
  163. .sidebar table th {
  164. text-align: left;
  165. }
  166. .sidebar td:not(:first-child), .sidebar th:not(:first-child) {
  167. text-align: right;
  168. }
  169. .sidebar a {
  170. color: #1566A9;
  171. }
  172. .bar {
  173. display: block;
  174. height: 1.4em;
  175. background: rgba(85, 128, 32, 0.5);
  176. position: relative;
  177. }
  178. .bar span {
  179. display: inline-block;
  180. height: 1.4em;
  181. background: rgba(85, 128, 32, 0.8);
  182. }
  183. .bar label {
  184. font-weight: bold;
  185. white-space: nowrap;
  186. color: white;
  187. position: absolute;
  188. right: 0.5em;
  189. }
  190. .map .node-alert {
  191. -webkit-animation: blink 2s linear;
  192. -webkit-animation-iteration-count: infinite;
  193. animation: blink 2s linear;
  194. animation-iteration-count: infinite;
  195. }
  196. .proportion th {
  197. font-weight: normal;
  198. text-align: right !important;
  199. font-size: 0.95em;
  200. }
  201. .proportion td {
  202. text-align: left !important;
  203. width: 100%;
  204. }
  205. .proportion td, .proportion th {
  206. white-space: nowrap;
  207. }
  208. .proportion span {
  209. display: inline-block;
  210. height: 1.4em;
  211. background: black;
  212. padding: 0 0.5em;
  213. font-weight: bold;
  214. min-width: 1.5em;
  215. box-sizing: border-box;
  216. }
  217. @-webkit-keyframes blink {
  218. 0% { opacity: 1.0; }
  219. 80% { opacity: 1.0; }
  220. 90% { opacity: 0.0; }
  221. }
  222. @keyframes blink {
  223. 0% { opacity: 1.0; }
  224. 80% { opacity: 1.0; }
  225. 90% { opacity: 0.0; }
  226. }
  227. @media screen and (max-width: 80em) {
  228. .sidebar {
  229. font-size: 0.8em;
  230. }
  231. }
  232. @media screen and (max-width: 60em) {
  233. .sidebar .container {
  234. overflow: visible;
  235. height: auto;
  236. padding-top: 1em;
  237. }
  238. .sidebarhandle {
  239. display: none;
  240. }
  241. .map {
  242. height: 60vh;
  243. }
  244. .sidebar {
  245. position: static;
  246. margin-left: 0em !important;
  247. width: auto;
  248. height: auto;
  249. }
  250. .sidebar.hidden {
  251. width: auto;
  252. }
  253. .sidebar.hidden .sidebar .container {
  254. display: block;
  255. }
  256. }