Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. html, body, svg {
  2. padding:0;
  3. margin:0;
  4. font-family: Liberation sans, sans-serif;
  5. }
  6. #canvas {
  7. transform-origin: 0 0;
  8. }
  9. #loadingMessage {
  10. font-size: 1.5em;
  11. background: #eee linear-gradient(#eeeeee, #cccccc);
  12. padding: 20px;
  13. width: 40%;
  14. line-height: 50px;
  15. text-align: center;
  16. border-radius: 10px;
  17. position:fixed;
  18. top: 40%;
  19. left: 30%;
  20. z-index: 1;
  21. box-shadow: 0 0 2px #333333;
  22. transition: 1s;
  23. }
  24. #loadingMessage.hidden {
  25. display: none;
  26. opacity: 0;
  27. z-index: -1;
  28. }
  29. #loadingMessage::after {
  30. content: "...";
  31. }
  32. /* Hide scrollbar for Chrome, Safari and Opera */
  33. #menu::-webkit-scrollbar {
  34. display: none;
  35. }
  36. #menu {
  37. -ms-overflow-style: none;
  38. scrollbar-width: none;
  39. font-size: 16px;
  40. border-radius: 0;
  41. overflow-y: scroll;
  42. position: fixed;
  43. margin-bottom: 30px;
  44. left: 0;
  45. top: 0;
  46. color: black;
  47. max-height: 100%;
  48. transition-duration: 1s;
  49. cursor: default;
  50. padding: 10px;
  51. }
  52. #menu.closed {
  53. border-radius:3px;
  54. left:10px;
  55. top:10px;
  56. background-color:rgba(100,200,255,0.7);
  57. width:6vw;
  58. height:2em;
  59. transition-duration:1s;
  60. }
  61. #menu h2{ /*Menu title ("Menu")*/
  62. display: none;
  63. font-size:4vh;
  64. text-align: center;
  65. letter-spacing:.5vw;
  66. text-shadow: 0px 0px 5px white;
  67. color:black;
  68. padding:0;
  69. margin:0;
  70. }
  71. #menu .tools {
  72. list-style-type:none;
  73. padding:0;
  74. }
  75. #settings {
  76. margin-bottom: 20px;
  77. }
  78. #menu .tool {
  79. position: relative;
  80. -webkit-touch-callout: none; /* iOS Safari */
  81. -webkit-user-select: none; /* Safari */
  82. -khtml-user-select: none; /* Konqueror HTML */
  83. -moz-user-select: none; /* Old versions of Firefox */
  84. -ms-user-select: none; /* Internet Explorer/Edge */
  85. user-select: none; /* Non-prefixed version, currently
  86. supported by Chrome, Opera and Firefox */
  87. pointer-events: auto;
  88. white-space: nowrap;
  89. list-style-position:inside;
  90. border:1px solid #eeeeee;
  91. text-decoration:none;
  92. cursor:pointer;
  93. background: #ffffff;
  94. margin-top: 10px;
  95. height: 40px;
  96. line-height: 40px;
  97. border-radius: 0px;
  98. max-width: 40px;
  99. transition-duration: .2s;
  100. overflow: hidden;
  101. width: max-content;
  102. box-shadow: inset 0 0 3px #8FA2BC;
  103. }
  104. #menu .tool:hover {
  105. max-width: 100%;
  106. }
  107. @media (hover: none), (pointer: coarse) {
  108. #menu .tool:hover {
  109. max-width: 40px;
  110. }
  111. #menu .tool:focus {
  112. max-width: 100%;
  113. }
  114. #menu {
  115. pointer-events: auto;
  116. }
  117. #menu:focus-within {
  118. pointer-events: none;
  119. }
  120. }
  121. #menu .oneTouch:active {
  122. border-radius: 3px;
  123. background-color:#eeeeff;
  124. }
  125. #menu .tool:active {
  126. box-shadow: inset 0 0 1px #ddeeff;
  127. background-color:#eeeeff;
  128. }
  129. #menu .tool.curTool {
  130. box-shadow: 0 0 5px #0074D9;
  131. background: linear-gradient(#96E1FF, #36A2FF);
  132. }
  133. #menu .tool-icon {
  134. display: inline-block;
  135. text-align:center;
  136. width: 35px;
  137. height: 35px;
  138. margin: 2.5px;
  139. font-family: mono, monospace;
  140. overflow: hidden;
  141. }
  142. #menu img.tool-icon {
  143. pointer-events: none;
  144. }
  145. #menu .tool-icon > * {
  146. display: block;
  147. margin: auto;
  148. }
  149. #menu .tool-name {
  150. text-align: center;
  151. font-size: 23px;
  152. margin-right: 20px;
  153. margin-left: 20px;
  154. margin-bottom: 2.5px;
  155. display: inline-block;
  156. vertical-align: text-bottom;
  157. }
  158. #menu .tool-name.slider {
  159. display: inline-block;
  160. width: 150px;
  161. height: 30px;
  162. font-size: .9em;
  163. line-height: 15px;
  164. vertical-align: top;
  165. padding: 6px;
  166. }
  167. #menu .tool.hasSecondary .tool-icon{
  168. margin-top:0px;
  169. margin-left:0px;
  170. }
  171. #menu .tool .tool-icon.secondaryIcon{
  172. display: none;
  173. }
  174. #menu .tool.hasSecondary .tool-icon.secondaryIcon{
  175. display: block;
  176. position: absolute;
  177. bottom: 0px;
  178. left: 26px;
  179. width: 12px;
  180. height: 12px;
  181. }
  182. input {
  183. font-size:16px;
  184. }
  185. #chooseColor {
  186. width: 100%;
  187. height:100%;
  188. border: 0;
  189. border-radius: 0;
  190. color:black;
  191. display: block;
  192. margin: 0;
  193. padding: 0;
  194. }
  195. .colorPresets {
  196. margin-right: 20px;
  197. vertical-align: top;
  198. display: inline-block;
  199. }
  200. .colorPresetButton {
  201. width: 30px;
  202. height: 30px;
  203. border: 1px solid black;
  204. border-radius: 3px;
  205. display: inline-block;
  206. margin-right: 6px;
  207. padding: 0;
  208. vertical-align: middle;
  209. }
  210. .rangeChooser {
  211. display: block;
  212. border: 0;
  213. width: 100%;
  214. margin: 0;
  215. background: transparent;
  216. }
  217. line {
  218. fill: none;
  219. stroke-linecap: round;
  220. stroke-linejoin: round;
  221. }
  222. path {
  223. fill: none;
  224. stroke-linecap: round;
  225. stroke-linejoin: round;
  226. }
  227. text {
  228. font-family:"Arial", "Helvetica", sans-serif;
  229. user-select:none;
  230. -moz-user-select:none;
  231. }
  232. circle.opcursor {
  233. pointer-events: none;
  234. transition: .1s;
  235. }
  236. #cursor-me {
  237. transition: 0s;
  238. }
  239. /* Internet Explorer specific CSS */
  240. @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  241. #chooseColor {
  242. color: transparent;
  243. }
  244. label.tool-name[for=chooseColor] {
  245. line-height: 10px;
  246. }
  247. }