style.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  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 {
  57. width: auto !important;
  58. }
  59. table.attributes th {
  60. text-align: left;
  61. font-weight: bold;
  62. vertical-align: top;
  63. padding-right: 1em;
  64. white-space: nowrap;
  65. }
  66. table.attributes td {
  67. text-align: left !important;
  68. }
  69. .infobox .clients {
  70. font-family: "ionicons";
  71. color: #1566A9;
  72. word-spacing: -0.2em;
  73. }
  74. .infobox {
  75. position: relative;
  76. box-shadow: 0px 0.5px 3px rgba(0, 0, 0, 0.16), 0px 0.5px 2px rgba(0, 0, 0, 0.24);
  77. background: rgba(0, 0, 0, 0.02);
  78. padding: 0.25em 0;
  79. }
  80. button {
  81. -webkit-tap-highlight-color: transparent;
  82. font-family: "ionicons";
  83. box-shadow: 0px 0.5px 3px rgba(0, 0, 0, 0.16), 0px 0.5px 2px rgba(0, 0, 0, 0.24);
  84. border-radius: 0.9em;
  85. background: rgba(255, 255, 255, 0.7);
  86. border: none;
  87. cursor: pointer;
  88. height: 1.8em;
  89. width: 1.8em;
  90. font-size: 20pt;
  91. transition: box-shadow 0.5s, color 0.5s;
  92. outline: none;
  93. }
  94. button:hover {
  95. background: white;
  96. color: #dc0067;
  97. box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.19), 0px 3px 6px rgba(0, 0, 0, 0.23);
  98. }
  99. button:active {
  100. box-shadow: inset 0px 5px 20px rgba(0, 0, 0, 0.19), inset 0px 3px 6px rgba(0, 0, 0, 0.23);
  101. }
  102. button.close {
  103. position: absolute;
  104. right: 0.7em;
  105. top: 0.7em;
  106. }
  107. button.close:after {
  108. content: "\f12a";
  109. }
  110. .sidebar h2, .sidebar h3 {
  111. padding: 0 10pt;
  112. }
  113. .sidebar p, .sidebar table, .sidebar pre, .sidebar ul {
  114. padding: 0 10pt 1em;
  115. }
  116. .sidebarhandle {
  117. position: absolute;
  118. right: -2.5em;
  119. top: 0.7em;
  120. z-index: 10;
  121. transition: right 0.5s, box-shadow 0.5s, color 0.5s, transform 0.5s;
  122. }
  123. .sidebarhandle:after {
  124. padding-right: 0.125em;
  125. content: "\f124";
  126. }
  127. .sidebar.hidden .sidebarhandle {
  128. transform: scale(-1, 1);
  129. }
  130. .hostname {
  131. }
  132. .online {
  133. color: #558020 !important;
  134. }
  135. .offline {
  136. color: #D43E2A !important;
  137. }
  138. .sidebar {
  139. z-index: 5;
  140. width: 40em;
  141. box-sizing: border-box;
  142. position: absolute;
  143. top: 0;
  144. left: 0;
  145. background: white;
  146. box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.19), 0px 3px 6px rgba(0, 0, 0, 0.23);
  147. transition: left 0.5s;
  148. }
  149. .sidebar.hidden {
  150. left: -40em;
  151. }
  152. .sidebar .container {
  153. overflow: auto;
  154. box-sizing: border-box;
  155. }
  156. .sidebar .container, .map {
  157. height: 100vh;
  158. }
  159. .sidebar .icon {
  160. padding: 0 0.25em;
  161. }
  162. .sidebar table {
  163. width: 100%;
  164. }
  165. .sidebar table th {
  166. text-align: left;
  167. }
  168. .sidebar td:not(:first-child), .sidebar th:not(:first-child) {
  169. text-align: right;
  170. }
  171. .sidebar a {
  172. color: #1566A9;
  173. }
  174. .bar {
  175. display: block;
  176. height: 1.4em;
  177. background: rgba(85, 128, 32, 0.5);
  178. position: relative;
  179. }
  180. .bar span {
  181. display: inline-block;
  182. height: 1.4em;
  183. background: rgba(85, 128, 32, 0.8);
  184. }
  185. .bar label {
  186. font-weight: bold;
  187. white-space: nowrap;
  188. color: white;
  189. position: absolute;
  190. right: 0.5em;
  191. }
  192. .map .node-alert {
  193. -webkit-animation: blink 2s linear;
  194. -webkit-animation-iteration-count: infinite;
  195. animation: blink 2s linear;
  196. animation-iteration-count: infinite;
  197. }
  198. @-webkit-keyframes blink {
  199. 0% { opacity: 1.0; }
  200. 80% { opacity: 1.0; }
  201. 90% { opacity: 0.0; }
  202. }
  203. @keyframes blink {
  204. 0% { opacity: 1.0; }
  205. 80% { opacity: 1.0; }
  206. 90% { opacity: 0.0; }
  207. }
  208. @media screen and (max-width: 80em) {
  209. .sidebar {
  210. font-size: 0.8em;
  211. }
  212. }
  213. @media screen and (max-width: 60em) {
  214. .sidebar .container {
  215. overflow: visible;
  216. height: auto;
  217. padding-top: 1em;
  218. }
  219. .sidebarhandle {
  220. display: none;
  221. }
  222. .map {
  223. height: 60vh;
  224. }
  225. .sidebar {
  226. position: static;
  227. margin-left: 0em !important;
  228. width: auto;
  229. height: auto;
  230. }
  231. .sidebar.hidden {
  232. width: auto;
  233. }
  234. .sidebar.hidden .sidebar .container {
  235. display: block;
  236. }
  237. }