common.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. /* common.css */
  2. /* latin */
  3. @font-face {
  4. font-family: 'Montserrat';
  5. font-style: normal;
  6. font-weight: 500;
  7. font-display: swap;
  8. src: url(fonts/montserrat.woff2) format('woff2');
  9. unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
  10. U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
  11. U+2212, U+2215, U+FEFF, U+FFFD;
  12. }
  13. body
  14. {
  15. font-family: Montserrat, Arial;
  16. font-size: 12px;
  17. background-color: black;
  18. margin: 0px;
  19. overflow: hidden;
  20. color:#606060;
  21. }
  22. input, button, select, textarea
  23. {
  24. font-family: Montserrat, Arial;
  25. font-size: 12px;
  26. padding:2px;
  27. border: 1px solid #c0c0c0;
  28. border-radius: 2px;
  29. }
  30. input:focus, button:focus, select:focus, textarea:focus
  31. {
  32. outline: none;
  33. box-shadow: 0 0 0 2px rgba(228, 30, 30, 0.3);
  34. transition: box-shadow 0.4s ease;
  35. }
  36. button
  37. {
  38. background-color: #f0f0f0;
  39. color:#404040;
  40. border: 1px solid #ff8080;
  41. border-radius: 3px;
  42. margin: 3px;
  43. box-shadow: 0px 0px 3px 0px rgba(50, 50, 50, 0.2);
  44. }
  45. button:disabled
  46. {
  47. outline: none;
  48. color: #c0c0c0;
  49. border: 1px solid #ffc0c0;
  50. opacity: 0.7;
  51. }
  52. button:disabled:hover
  53. {
  54. background-color: #f0f0f0;
  55. }
  56. button:hover
  57. {
  58. background-color: #ffd8d8;
  59. }
  60. button:active
  61. {
  62. box-shadow:none;
  63. outline: none;
  64. }
  65. select
  66. {
  67. background-color: white;
  68. }
  69. input[readonly]
  70. {
  71. background: #f0f0f0;
  72. color: #a0a0a0;
  73. }
  74. fieldset
  75. {
  76. padding: 6px;
  77. display: inline-block;
  78. border: 1px solid #c0c0c0;
  79. border-radius: 4px;
  80. }
  81. fieldset > label
  82. {
  83. vertical-align: middle;
  84. text-align: left;
  85. display: inline-block;
  86. }
  87. fieldset > label > input
  88. {
  89. vertical-align: text-bottom;
  90. }
  91. fieldset > label > span
  92. {
  93. vertical-align: middle;
  94. }
  95. /* selection */
  96. ::-moz-selection,
  97. select::-moz-selection
  98. {
  99. color: #200000;
  100. background: #ffb0b0;
  101. }
  102. ::selection,
  103. select::selection
  104. {
  105. color: #200000;
  106. background: #ffb0b0;
  107. }
  108. /* scrollbars */
  109. div, ul
  110. {
  111. scrollbar-width: thin;
  112. scrollbar-color: #ffb0b0 transparent;
  113. }
  114. ::-webkit-scrollbar
  115. {
  116. width: 8px;
  117. height: 8px;
  118. }
  119. ::-webkit-scrollbar-track
  120. {
  121. background-color: transparent;
  122. }
  123. ::-webkit-scrollbar-thumb
  124. {
  125. background: #ffb0b0;
  126. border-radius: 0;
  127. }
  128. /* input range */
  129. input[type=range]
  130. {
  131. -webkit-appearance: none;
  132. width: 100%;
  133. background: transparent;
  134. }
  135. input[type=range]::-webkit-slider-thumb
  136. {
  137. -webkit-appearance: none;
  138. }
  139. input[type=range]:focus {
  140. outline: none;
  141. }
  142. input[type=range]::-webkit-slider-thumb
  143. {
  144. -webkit-appearance: none;
  145. border: 1px solid rgb(100, 100, 100);
  146. height: 12px;
  147. width: 12px;
  148. border-radius: 2px;
  149. background: rgba(220, 220, 220, 0.8);
  150. cursor: pointer;
  151. box-shadow: 0px 0px 2px #a0a0a0;
  152. }
  153. input[type=range]::-moz-range-thumb
  154. {
  155. border: 1px solid rgb(100, 100, 100);
  156. height: 12px;
  157. width: 12px;
  158. border-radius: 2px;
  159. background: rgba(220, 220, 220, 0.8);
  160. cursor: pointer;
  161. box-shadow: 0px 0px 2px #a0a0a0;
  162. }
  163. input[type=range]::-webkit-slider-runnable-track
  164. {
  165. width: 100%;
  166. height: 12px;
  167. cursor: pointer;
  168. background: rgba(128, 128, 128, 0.1);
  169. }
  170. input[type=range]::-moz-range-track
  171. {
  172. width: 100%;
  173. height: 12px;
  174. cursor: pointer;
  175. background: rgba(128, 128, 128, 0.1);
  176. }
  177. div.code_editor
  178. {
  179. position: relative;
  180. height: 100px;
  181. }
  182. div.code_editor > label
  183. {
  184. position: absolute;
  185. height: 20px;
  186. width: 100%;
  187. }
  188. div.code_editor > .cm-editor-holder
  189. {
  190. position: absolute;
  191. top: 20px;
  192. border: 1px solid #c0c0c0;
  193. border-radius: 2px;
  194. font-size: 14px;
  195. font-family: monospace;
  196. height: calc(100% - 20px);
  197. width: 100%;
  198. overflow: auto;
  199. box-sizing: border-box;
  200. }
  201. table.data
  202. {
  203. padding: 0;
  204. border: 1px solid #c0c0c0;
  205. box-sizing:border-box;
  206. border-collapse: collapse;
  207. width:calc(100% - 8px);
  208. margin: 0 auto;
  209. margin-top: 4px;
  210. margin-bottom: 4px;
  211. }
  212. table.data > thead > tr
  213. {
  214. border-bottom: 1px solid #c0c0c0;
  215. background-color: #fff0f0;
  216. }
  217. table.data > tbody > tr
  218. {
  219. border-bottom: 1px solid #d0d0d0;
  220. }
  221. table.data > tbody > tr:hover
  222. {
  223. background-color: #f0f0f0;
  224. }
  225. /* animation */
  226. @keyframes item_hover
  227. {
  228. from {background-color: transparent;}
  229. to {background-color: #C0C0C0;color: black;}
  230. }
  231. @keyframes fade_in
  232. {
  233. from {opacity:0;}
  234. to {opacity:1;}
  235. }
  236. @keyframes fade_out
  237. {
  238. from {opacity:1;}
  239. to {opacity:0;}
  240. }