2
0

editor.css 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. #controls {
  2. position: fixed;
  3. width: 90%;
  4. background-color: white;
  5. }
  6. .waveform-container {
  7. position: relative;
  8. height: 60px;
  9. }
  10. #waveform, #waveform-overlay {
  11. position: absolute;
  12. height: 100%;
  13. width: 100%;
  14. }
  15. .scrubber {
  16. display: grid;
  17. grid-template-rows: 10px 20px;
  18. background: lightgrey;
  19. }
  20. .bar {
  21. grid-row: 1 / 2;
  22. }
  23. .bar-overlay {
  24. background: red;
  25. height: 100%;
  26. }
  27. li.highlight {
  28. background-color: yellow;
  29. }
  30. .markers {
  31. grid-row: 2 / 3;
  32. position: relative;
  33. }
  34. .marker {
  35. position: absolute;
  36. box-sizing: border-box;
  37. border-left: solid 2px black;
  38. border-bottom: solid 5px black;
  39. height: 100%;
  40. width: 5px;
  41. }
  42. .text-areas {
  43. padding-top: 160px;
  44. display: grid;
  45. grid-template-columns: 33% 33% auto;
  46. grid-template-rows: 20px auto;
  47. grid-gap: 2px;
  48. }
  49. #intervals-label,
  50. #kana-label,
  51. #kanji-label {
  52. grid-row: 1 / 2;
  53. }
  54. #intervals, #kana, #kanji {
  55. grid-row: 2 / 3;
  56. }
  57. #intervals,
  58. #intervals-label {
  59. grid-column: 1 / 2;
  60. }
  61. #kana,
  62. #kana-label {
  63. grid-column: 2 / 3;
  64. }
  65. #kanji,
  66. #kanji-label {
  67. grid-columN: 3 / 4;
  68. }
  69. #intervals input {
  70. width: 100px;
  71. }
  72. #kanji, #kana {
  73. border: solid 1px lightgrey;
  74. min-height: 200px;
  75. white-space: pre;
  76. overflow-x: auto;
  77. font-size: 16px;
  78. }
  79. #json {
  80. width: 100%;
  81. height: 200px;
  82. }