not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

468 lines
9.0 KiB

  1. html {
  2. height: 100%;
  3. -webkit-tap-highlight-color: rgba(0,0,0,0);
  4. }
  5. body {
  6. position: relative;
  7. height: 100%;
  8. margin: 0;
  9. font-family: sans-serif;
  10. font-size: 10pt;
  11. background-color: #c0c0c0;
  12. }
  13. .unselectable {
  14. -webkit-user-select: none;
  15. -moz-user-select: none;
  16. }
  17. .pull-right {
  18. float: right;
  19. }
  20. a {
  21. color: #0076c3;
  22. text-decoration: none;
  23. }
  24. .toolbar {
  25. height: 40px;
  26. padding: 0 42px;
  27. color: white;
  28. background-color: #282828;
  29. -webkit-user-select: none;
  30. -moz-user-select: none;
  31. }
  32. .toolbar hr {
  33. display: inline-block;
  34. height: 24px;
  35. margin: 1px;
  36. margin-bottom: -14px;
  37. border: 1px solid #808080;
  38. }
  39. .toolbar .toolbutton {
  40. position: relative;
  41. width: 32px;
  42. height: 32px;
  43. margin: 4px 2px;
  44. color: white;
  45. color: transparent;
  46. background-color: transparent;
  47. background-position: center;
  48. background-repeat: no-repeat;
  49. background-size: contain;
  50. border: 0;
  51. border-radius: 4px;
  52. }
  53. .toolbar .toolbutton:hover {
  54. background-color: black;
  55. }
  56. .toolbar .toolbutton:active,
  57. .toolbar .toolbutton.active {
  58. background-color: #808080;
  59. }
  60. .toolbar .toolbutton img {
  61. width: 100%;
  62. height: 100%;
  63. }
  64. .toolbar .toolbutton:before {
  65. position: absolute;
  66. right: -4px;
  67. bottom: -4px;
  68. display: block;
  69. width: 40px;
  70. height: 8px;
  71. background-color: transparent;
  72. content: "";
  73. }
  74. .toolbar .toolbutton.invoker:before {
  75. background-image: url('../icons/emblems/arrow-down.svg');
  76. }
  77. .toolbar #stop-button {
  78. background-image: url('../icons/actions/activity-stop.svg');
  79. }
  80. .alert {
  81. position: absolute;
  82. top: 40px;
  83. z-index: 10;
  84. height: 40px;
  85. width: 100%;
  86. color: white;
  87. background-color: black;
  88. -webkit-user-select: none;
  89. -moz-user-select: none;
  90. }
  91. .alert p {
  92. padding-left: 8px;
  93. vertical-align: middle;
  94. width: 80%;
  95. }
  96. .alert .button-box {
  97. position: fixed;
  98. top: 40px;
  99. right: 0px;
  100. height: 40px;
  101. width: 20%;
  102. margin: 8px;
  103. }
  104. .alert button {
  105. float: right;
  106. }
  107. .button-box button + button {
  108. margin-right: 8px;
  109. }
  110. #canvas {
  111. position: absolute;
  112. top: 40px;
  113. bottom: 0;
  114. width: 100%;
  115. overflow-y: auto;
  116. color: black;
  117. background-color: #c0c0c0;
  118. }
  119. button {
  120. padding: 2px 4px;
  121. line-height: 16px;
  122. color: white;
  123. background-color: #808080;
  124. border: 2px solid transparent;
  125. border-radius: 16px;
  126. -webkit-user-select: none;
  127. -moz-user-select: none;
  128. }
  129. button:hover {
  130. background-color: #a2a2a2;
  131. border-color: #a2a2a2;
  132. }
  133. button:active {
  134. color: black;
  135. background-color: white;
  136. border-color: #808080;
  137. }
  138. button:focus {
  139. border-color: white;
  140. }
  141. .toolbar button {
  142. margin-top: 8px;
  143. }
  144. button.icon {
  145. position: relative;
  146. padding-left: 20px;
  147. }
  148. button.icon span.ok {
  149. background-image: url(../icons/actions/dialog-ok.svg);
  150. }
  151. button.icon:active span.ok {
  152. background-image: url(../icons/actions/dialog-ok-active.svg);
  153. }
  154. button.icon span.cancel {
  155. background-image: url(../icons/actions/dialog-cancel.svg);
  156. }
  157. button.icon:active span.cancel {
  158. background-image: url(../icons/actions/dialog-cancel-active.svg);
  159. }
  160. button.icon span {
  161. position: absolute;
  162. display: inline-block;
  163. width: 16px;
  164. height: 16px;
  165. background-color: transparent;
  166. background-position: center;
  167. background-repeat: no-repeat;
  168. background-size: 16px 16px;
  169. }
  170. button.icon span {
  171. top: 2px;
  172. left: 2px;
  173. }
  174. input[type='text'] {
  175. width: 120px;
  176. padding: 4px;
  177. line-height: 16px;
  178. background-color: #e5e5e5;
  179. border: 2px solid #e5e5e5;
  180. border-radius: 16px;
  181. outline: 0;
  182. }
  183. input[type='text']:focus {
  184. background-color: white;
  185. }
  186. input[type='text']:disabled {
  187. background-color: #808080;
  188. border-color: #808080;
  189. }
  190. .toolbar input[type='text'],
  191. .palette .row input[type='text'] {
  192. margin-top: 6px;
  193. }
  194. .palette .row input[type='text']:nth-last-child(1) {
  195. margin-top: 4px;
  196. }
  197. input[type='text'].expand {
  198. width: calc(100%-12px);
  199. }
  200. .icon-input {
  201. position: relative;
  202. display: inline-block;
  203. }
  204. .icon-input input[type='text'] {
  205. width: 96px;
  206. padding-right: 28px;
  207. }
  208. .icon-input.expand {
  209. width: 100%;
  210. }
  211. .icon-input.expand input[type='text'] {
  212. width: calc(100%-36px);
  213. }
  214. .icon-input button {
  215. position: absolute;
  216. width: 28px;
  217. height: 28px;
  218. padding: 0;
  219. background-size: 16px 16px;
  220. }
  221. .icon-input button.right {
  222. right: 0;
  223. margin: 0 0 -28px;
  224. border-radius: 0 16px 16px 0;
  225. }
  226. .icon-input button {
  227. background-color: transparent;
  228. background-position: center;
  229. background-repeat: no-repeat;
  230. border: 0;
  231. }
  232. .icon-input button {
  233. top: 2px;
  234. }
  235. .toolbar .icon-input button:hover {
  236. background-color: transparent;
  237. }
  238. .toolbar .icon-input button {
  239. top: 6px;
  240. }
  241. button.cancel {
  242. background-image: url(../icons/actions/entry-cancel.svg);
  243. }
  244. button.cancel:active {
  245. background-image: url(../icons/actions/entry-cancel-active.svg);
  246. }
  247. button.cancel:disabled {
  248. background-image: url(../icons/actions/entry-cancel-disabled.svg);
  249. }
  250. input[type='range'] {
  251. height: 8px;
  252. cursor: pointer;
  253. background-color: #808080;
  254. border-radius: 16px;
  255. -webkit-appearance: none !important;
  256. }
  257. input[type='range']::-webkit-slider-thumb {
  258. width: 16px;
  259. height: 16px;
  260. background-color: #c0c0c0;
  261. border: 4px solid #808080;
  262. border-radius: 8px;
  263. -webkit-appearance: none !important;
  264. }
  265. input[type='range']::-webkit-slider-thumb:hover {
  266. background-color: #e2e2e2;
  267. border-color: #a2a2a2;
  268. }
  269. .toolbar input[type='range'] {
  270. margin-top: 16px;
  271. }
  272. label {
  273. -webkit-user-select: none;
  274. -moz-user-select: none;
  275. }
  276. .palette {
  277. position: absolute;
  278. color: white;
  279. pointer-events: none;
  280. background-color: transparent;
  281. }
  282. .palette-invoker {
  283. width: 36px;
  284. height: 38px;
  285. background-color: black;
  286. background-position: 2px 2px;
  287. background-repeat: no-repeat;
  288. background-size: 32px;
  289. border: 2px solid #808080;
  290. border-bottom: 0;
  291. }
  292. .palette-invoker:after {
  293. position: absolute;
  294. top: 32px;
  295. left: 0;
  296. display: block;
  297. width: 40px;
  298. height: 8px;
  299. background-color: transparent;
  300. background-image: url('../icons/emblems/arrow-up.svg');
  301. content: "";
  302. }
  303. .palette-invoker:before {
  304. position: absolute;
  305. top: 40px;
  306. left: 2px;
  307. display: block;
  308. width: 36px;
  309. height: 2px;
  310. background-color: black;
  311. content: "";
  312. }
  313. .palette .wrapper {
  314. max-width: 196px;
  315. min-width: 116px;
  316. min-height: 36px;
  317. pointer-events: auto;
  318. background-color: black;
  319. border: 2px solid #808080;
  320. }
  321. .palette .header {
  322. height: 36px;
  323. margin: 0 4px;
  324. font-weight: bold;
  325. line-height: 36px;
  326. -webkit-user-select: none;
  327. -moz-user-select: none;
  328. }
  329. .palette hr {
  330. border: 1px solid #808080;
  331. }
  332. .palette hr.header-separator {
  333. margin-top: 0;
  334. }
  335. .palette .row {
  336. height: 40px;
  337. margin: 0 4px;
  338. }
  339. .palette .row:nth-last-child(1) {
  340. height: 36px;
  341. }
  342. .palette .row.small {
  343. height: 16px;
  344. }
  345. .palette .row.expand {
  346. height: auto;
  347. }
  348. .palette .menu {
  349. padding: 0;
  350. margin-top: 8px;
  351. margin-bottom: 8px;
  352. list-style-type: none;
  353. }
  354. .palette .menu button {
  355. width: 100%;
  356. padding-top: 0;
  357. padding-bottom: 0;
  358. margin-top: 0;
  359. margin-bottom: 0;
  360. line-height: 24px;
  361. text-align: left;
  362. background-color: transparent;
  363. border: 0;
  364. border-radius: 0;
  365. }
  366. .palette .menu button:hover {
  367. color: white;
  368. background-color: #808080;
  369. }
  370. .palette .menu button.icon {
  371. padding-left: 28px;
  372. }
  373. .palette .menu button.icon span {
  374. top: 0;
  375. left: 0;
  376. width: 24px;
  377. height: 24px;
  378. }
  379. ::-webkit-scrollbar {
  380. width: 8px;
  381. background-color: #808080;
  382. }
  383. ::-webkit-scrollbar-thumb {
  384. background-color: white;
  385. border: 2px solid #dddddd;
  386. border-radius: 8px;
  387. }
  388. .grid {
  389. position: absolute;
  390. top: 0;
  391. left: 0;
  392. background-color: transparent;
  393. }
  394. input[type='checkbox'],
  395. input[type='radio'] {
  396. width: 16px;
  397. height: 16px;
  398. margin: 2px 2px 4px 2px;
  399. vertical-align: middle;
  400. background-position: center;
  401. background-size: contain;
  402. -webkit-appearance: none;
  403. -moz-appearance: none;
  404. appearance: none;
  405. }
  406. .toolbar input[type='checkbox'],
  407. .toolbar input[type='radio'] {
  408. margin-top: 10px;
  409. margin-bottom: 14px;
  410. }
  411. input[type='checkbox'] {
  412. background-image: url(../icons/actions/checkbox-unchecked.svg);
  413. }
  414. input[type='checkbox']:active {
  415. background-image: url(../icons/actions/checkbox-checked-selected.svg);
  416. }
  417. input[type='checkbox']:checked:active {
  418. background-image: url(../icons/actions/checkbox-checked-selected.svg);
  419. }
  420. input[type='checkbox']:checked {
  421. background-image: url(../icons/actions/checkbox-checked.svg);
  422. }
  423. input[type='radio'] {
  424. background-image: url(../icons/actions/radio.svg);
  425. }
  426. input[type='radio']:active {
  427. background-image: url(../icons/actions/radio-selected.svg);
  428. }
  429. input[type='radio']:checked:active {
  430. background-image: url(../icons/actions/radio-active-selected.svg);
  431. }
  432. input[type='radio']:checked {
  433. background-image: url(../icons/actions/radio-active.svg);
  434. }
  435. textarea {
  436. margin: 2px;
  437. border: 2px solid #808080;
  438. }
  439. textarea.expand {
  440. width: calc(100%-12px);
  441. }
  442. ul.flat-list {
  443. padding: 0;
  444. margin: 0;
  445. list-style-type: none;
  446. }
  447. ul.flat-list li {
  448. height: 22px;
  449. line-height: 22px;
  450. background-color: white;
  451. border-bottom: 2px dotted #c0c0c0;
  452. }
  453. ul.flat-list li:nth-last-child(1) {
  454. border-bottom: none;
  455. }
  456. ul.flat-list.big li {
  457. height: 30px;
  458. line-height: 30px;
  459. }
  460. ul.flat-list.striped li:nth-child(odd) {
  461. background-color: #e5e5e5;
  462. }
  463. #activity-palette .wrapper {
  464. width: 196px;
  465. }
  466. #activity-palette textarea {
  467. resize: none;
  468. }