style.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. html body {
  2. color: #555;
  3. font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
  4. margin: 0;
  5. padding: 0;
  6. }
  7. body {
  8. display: flex;
  9. height: 100vh;
  10. }
  11. a {
  12. color: #ff3784;
  13. text-decoration: none;
  14. }
  15. a:hover {
  16. color: #f0287a;
  17. text-decoration: underline;
  18. }
  19. button {
  20. background-color: #ff3784;
  21. border: none;
  22. border-radius: 0;
  23. color: white;
  24. cursor: pointer;
  25. padding: 0.4rem 1rem;
  26. }
  27. button:hover {
  28. background-color: #f0287a;
  29. color: white;
  30. text-decoration: none;
  31. }
  32. #side {
  33. -webkit-box-shadow: -4px 0px 4px -2px rgba(0,0,0,0.1) inset;
  34. -moz-box-shadow: -4px 0px 4px -2px rgba(0,0,0,0.1) inset;
  35. box-shadow: -4px 0px 4px -2px rgba(0,0,0,0.1) inset;
  36. min-width: 240px;
  37. max-width: 320px;
  38. overflow-y: auto;
  39. display: flex;
  40. flex-direction: column;
  41. flex: 1;
  42. }
  43. #header {
  44. text-align: center;
  45. padding: 0.5rem;
  46. }
  47. #header .scope {
  48. display: inline-block;
  49. font-size: 0.9em;
  50. font-weight: 600;
  51. padding: 4px 8px 8px;
  52. }
  53. #header .title {
  54. border: 1px solid #aaa;
  55. border-radius: 4px;
  56. color: #888;
  57. padding: 0.25rem;
  58. margin: 0.25rem 0;
  59. }
  60. #header .title .name {
  61. color: #222;
  62. font-weight: 600;
  63. }
  64. #header .desc {
  65. border-top: 1px dotted #ccc;
  66. font-size: 0.8rem;
  67. margin-top: 0.5rem;
  68. padding: 0.5rem;
  69. position: relative;
  70. }
  71. #navigator {
  72. display: flex;
  73. padding: 8px;
  74. }
  75. #actions,
  76. #options {
  77. border-top: 1px dashed #ddd;
  78. }
  79. #actions {
  80. display: flex;
  81. flex-direction: column;
  82. padding: 0.5em;
  83. }
  84. #actions button {
  85. flex: 1 1 auto;
  86. margin: 0 0 2px 0;
  87. overflow: hidden;
  88. text-overflow: ellipsis;
  89. white-space: nowrap;
  90. }
  91. #logs {
  92. display: flex;
  93. flex-direction: column;
  94. overflow-y: auto;
  95. font-size: 0.7rem;
  96. flex: 1 1 auto;
  97. }
  98. #logs > div {
  99. border-bottom: 1px dashed #ddd;
  100. padding: 0.5em 1em;
  101. }
  102. #logs > div:nth-child(n) { opacity: 0.2; }
  103. #logs > div:nth-child(5) { opacity: 0.4; }
  104. #logs > div:nth-child(4) { opacity: 0.6; }
  105. #logs > div:nth-child(3) { opacity: 0.8; }
  106. #logs > div:nth-child(2) { opacity: 1.0; }
  107. #logs > div:nth-child(1) { opacity: 1.0; font-weight: bold; }
  108. #charts {
  109. min-width: 200px;
  110. overflow-y: scroll;
  111. padding: 16px;
  112. flex: 5;
  113. }
  114. #charts .wrapper {
  115. position: relative;
  116. max-height: 768px;
  117. max-width: 768px;
  118. height: 100%;
  119. }
  120. @media (max-width: 640px) and (orientation: portrait) {
  121. body {
  122. flex-direction: column;
  123. }
  124. #side {
  125. -webkit-box-shadow: 0px -4px 4px -2px rgba(0,0,0,0.1) inset;
  126. -moz-box-shadow: 0px -4px 4px -2px rgba(0,0,0,0.1) inset;
  127. box-shadow: 0px -4px 4px -2px rgba(0,0,0,0.1) inset;
  128. max-height: 50vh;
  129. max-width: initial;
  130. flex: 0 1 auto;
  131. }
  132. #actions {
  133. flex-direction: row;
  134. }
  135. #actions button {
  136. margin: 0 2px 0 0;
  137. }
  138. #logs {
  139. min-height: 15vh;
  140. max-height: 15vh;
  141. }
  142. }