2
0

editor.css 1.5 KB

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