annotations-ui.css 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  1. @font-face {
  2. font-family: Gonville;
  3. src: url("fonts/Gonville-18.woff2") format("woff2"), url("fonts/Gonville-18.woff") format("woff"), url("fonts/Gonville-18.ttf") format("truetype");
  4. }
  5. body {
  6. --mdc-theme-primary: #eb6201;
  7. --mdc-theme-secondary: #eb6201;
  8. }
  9. /* tooltip styles. Unused for now - Perhaps remove if it remains so */
  10. [data-md-tooltip] {
  11. position: relative;
  12. }
  13. [data-md-tooltip]:before {
  14. content: attr(data-md-tooltip);
  15. position: absolute;
  16. bottom: 8px;
  17. left: 50%;
  18. padding: 1px 8px;
  19. transform: translateX(-50%) scale(0);
  20. transition: transform 0.3s ease-in-out;
  21. transition-delay: 0.7s;
  22. transform-origin: top;
  23. background: #616161;
  24. color: white;
  25. border-radius: 2px;
  26. font-size: 12px;
  27. font-family: Roboto,sans-serif;
  28. font-weight: 400;
  29. z-index: 99999;
  30. }
  31. .mdc-tab--active[data-md-tooltip]:before {
  32. background: var(--mdc-theme-primary);
  33. }
  34. [data-md-tooltip]:hover:before {
  35. transform: translateX(-50%) scale(1);
  36. }
  37. /* POSITIONING */
  38. .left {
  39. text-align: left;
  40. }
  41. .right {
  42. text-align: right;
  43. }
  44. .center {
  45. text-align: center;
  46. margin-left: auto;
  47. margin-right: auto;
  48. }
  49. .justify {
  50. text-align: justify;
  51. }
  52. .d-inline-block{
  53. display: inline-block;
  54. }
  55. .d-block{
  56. display: block;
  57. }
  58. .d-inline{
  59. display: inline;
  60. }
  61. .d-none{
  62. display: none;
  63. }
  64. .v-align-middle{
  65. vertical-align: middle;
  66. }
  67. .v-align-top{
  68. vertical-align: top;
  69. }
  70. .v-align-bottom{
  71. vertical-align: bottom;
  72. }
  73. /* ==== GRID SYSTEM ==== */
  74. .container {
  75. width: 90%;
  76. margin-left: auto;
  77. margin-right: auto;
  78. }
  79. .row {
  80. position: relative;
  81. width: 100%;
  82. }
  83. .row [class^="col"] {
  84. float: left;
  85. margin: 0.5rem 2%;
  86. min-height: 0.125rem;
  87. }
  88. .col-1 {
  89. width: 6.3333%;
  90. }
  91. .col-2 {
  92. width: 14.6666%;
  93. }
  94. .col-3 {
  95. width: 23%;
  96. }
  97. .col-4 {
  98. width: 31.3333%;
  99. }
  100. .col-5 {
  101. width: 39.6666%;
  102. }
  103. .col-6 {
  104. width: 48%;
  105. }
  106. .col-7 {
  107. width: 56.3333%;
  108. }
  109. .col-8 {
  110. width: 64.6666%;
  111. }
  112. .col-9 {
  113. width: 73%;
  114. }
  115. .col-10 {
  116. width: 81.3333%;
  117. }
  118. .col-11 {
  119. width: 89.6666%;
  120. }
  121. .col-12 {
  122. width: 98%;
  123. }
  124. .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12{
  125. display: inline-block;
  126. }
  127. .mdc-touch-target-wrapper{
  128. z-index: 99;
  129. }
  130. .annotation-ui-container{
  131. font-family: 'Roboto', sans-serif;
  132. }
  133. .toolbar{
  134. padding: 8px;
  135. border-bottom: solid 1px #888888;
  136. }
  137. .text-center{
  138. text-align: center;
  139. }
  140. .half-container{
  141. display: inline-block;
  142. width: 49.2%;
  143. vertical-align: middle;
  144. }
  145. .settings-button-container{
  146. position:fixed;
  147. bottom: 15px;
  148. left: 5px;
  149. z-index: 50;
  150. }
  151. .settings-button-container .mdc-fab{
  152. margin-left: 5px;
  153. margin-right: 5px;
  154. }
  155. .control-panel{
  156. position:fixed;
  157. bottom: 60px;
  158. left: 0;
  159. padding: 0 5px;
  160. width: 100%;
  161. overflow: hidden;
  162. background: transparent;
  163. }
  164. .controls-container{
  165. width: 350px;
  166. }
  167. .playback-title-bar{
  168. margin-bottom: 8px;
  169. }
  170. .controls-container .volume-toolbar, .controls-container .metronome-toolbar{
  171. padding-left: 10px;
  172. padding-right: 10px;
  173. }
  174. .controls-container .metronome-toolbar{
  175. margin-top: 10px;
  176. }
  177. .controls-container .mdc-button.mdc-button--outlined {
  178. height: 28px;
  179. padding: 0px;
  180. }
  181. .controls-container .mdc-button.mdc-button--outlined.mdc-icon-button--on .mdc-button__ripple{
  182. background-color: rgba(241, 154, 92, 0.25);
  183. transition: background-color 0.5s ease;
  184. }
  185. .playback-buttons{
  186. position: fixed;
  187. bottom: 5px;
  188. left: calc(50% - 56px);
  189. }
  190. .playpause-button .pause-icon {
  191. display: none;
  192. }
  193. .playpause-button.playing .pause-icon {
  194. display:block;
  195. }
  196. .playpause-button.playing .play-icon {
  197. display:none;
  198. }
  199. .slider-container{
  200. margin-left: 10px;
  201. }
  202. .annotation-menu{
  203. position:fixed;
  204. bottom: 60px;
  205. left: 5px;
  206. width: 375px;
  207. max-width: 90%;
  208. overflow-x: hidden;
  209. background-color: #FFFFFF;
  210. }
  211. .preview-container{
  212. position: fixed;
  213. bottom: 60px;
  214. left: 385px;
  215. width: 90px;
  216. height: 90px;
  217. max-width: 10%;
  218. background-color: #FFFFFF;
  219. }
  220. .preview-container > #render-element{
  221. text-align: center;
  222. width: 100%;
  223. line-height: 1.5;
  224. margin-top: 38px;
  225. max-height: 100%;
  226. }
  227. .hide {
  228. visibility: hidden !important;
  229. display: none !important;
  230. transition: display 0.5s ease;
  231. transition: visibility 0.5s ease;
  232. }
  233. .comment-input-dragger, .symbol-placer-dragger{
  234. font-size: 1.25rem;
  235. cursor: pointer;
  236. z-index: 999;
  237. vertical-align: top;
  238. }
  239. .comment-input {
  240. background-color: rgba(255, 255, 128, .4);
  241. border: dotted 1px blue;
  242. resize: none;
  243. overflow: hidden;
  244. font-family: Times New Roman;
  245. line-height: 1.1;
  246. z-index: 1000;
  247. }
  248. .mdc-tab-scroller__scroll-content{
  249. overflow-y: hidden;
  250. }
  251. .add-symbol-mode{
  252. overflow-y: hidden;
  253. }
  254. .gonville-icon{
  255. font-family: Gonville;
  256. max-height: 100%;
  257. margin-top: -18px;
  258. }
  259. /*Special rules for custom SVG icon*/
  260. .symbol-icon-group{
  261. fill: var(--mdc-theme-text-secondary-on-background);
  262. stroke: var(--mdc-theme-text-secondary-on-background);
  263. }
  264. .mdc-tab--active .symbol-icon-group{
  265. fill: var(--mdc-theme-primary);
  266. stroke: var(--mdc-theme-primary);
  267. }
  268. .gonville-icon div span{
  269. padding: 0px 2px;
  270. }
  271. .symbol-render{
  272. font-family: Gonville;
  273. display: inline-block;
  274. z-index: 1000;
  275. line-height: 1;
  276. }
  277. .symbol-render-measure{
  278. position: absolute;
  279. visibility: hidden;
  280. font-family: Gonville;
  281. display: inline-block;
  282. z-index: -99999;
  283. line-height: 1;
  284. }
  285. .comment-input:focus {
  286. border-width: 2px;
  287. outline: none;
  288. outline-offset: 0px;
  289. }
  290. .color-swatch-list {
  291. display: inline-block;
  292. overflow-x: hidden;
  293. white-space: nowrap;
  294. margin: 0;
  295. font: inherit;
  296. vertical-align: baseline;
  297. list-style: none;
  298. }
  299. .color-swatch-list .color-swatch{
  300. display: inline-block;
  301. border: 0;
  302. vertical-align: baseline;
  303. color: #fff;
  304. cursor: pointer;
  305. outline: 0;
  306. position: relative;
  307. width: 28px;
  308. height: 28px;
  309. margin: 2px;
  310. list-style-type: none;
  311. transition: border-width 0.6s linear;
  312. }
  313. .color-swatch-list .color-swatch.selected{
  314. outline: 2px solid;
  315. }
  316. .color-swatch-list .color-swatch.selected{
  317. outline-color: #000000;
  318. }
  319. .color-swatch-list .color-swatch.selected.negative{
  320. outline-color: #666666;
  321. }
  322. .symbol-swatch-list .symbol-swatch.selected{
  323. background-color: rgba(0, 0, 0, 0.3);
  324. border-radius: 80px;
  325. }
  326. .symbol-swatch-list .symbol-swatch, .preview-container > #render-element, .gonville-icons{
  327. font-family: Gonville;
  328. }
  329. .layer-list-item{
  330. border-bottom: 1px solid #666666;
  331. font-weight: bold;
  332. color: #333333;
  333. cursor: pointer;
  334. transition: background-color 0.5s ease;
  335. }
  336. .layer-list-item .text-content{
  337. padding-top: 15px;
  338. padding-bottom: 15px;
  339. }
  340. .layer-list-item:hover{
  341. background-color: rgba(0,0,0,0.05);
  342. }
  343. .layer-list-item.selected {
  344. background-color: #eb620160;
  345. }
  346. .layer-list-item .mdc-icon-button, .add-layer-controls-container .mdc-icon-button{
  347. float: right;
  348. }
  349. .layer-list-item .list-buttons {
  350. z-index: 50;
  351. }
  352. .splide{
  353. padding: 2rem 3rem;
  354. }
  355. .splide.vertical{
  356. padding: 3.5rem 2rem;
  357. }
  358. .splide.splide.vertical .splide__list{
  359. border-top: 1px solid #666666;
  360. }
  361. .splide.vertical .splide__list{
  362. width: 100%;
  363. }
  364. .splide__arrow{
  365. z-index: 20;
  366. }
  367. .splide__pagination__page{
  368. background-color: #aaa;
  369. }
  370. .splide__pagination__page.is-active {
  371. background-color: #ccc;
  372. }