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.

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