bookmark-audio-fragment/app/assets/ main.css
139 lines
2.0 KiB

  1. body {
  2. all: unset;
  3. min-height: 100vh;
  4. display: flex;
  5. justify-content: center;
  6. align-items: center;
  7. user-select: none;
  8. }
  9. main {
  10. flex-grow: 1;
  11. display: flex;
  12. }
  13. #controls {
  14. margin: 20px;
  15. display: flex;
  16. flex-flow: column;
  17. justify-content: center;
  18. align-items: center;
  19. }
  20. #container {
  21. flex-grow: 1;
  22. margin: 20px;
  23. }
  24. ::-moz-focus-inner {
  25. border: none;
  26. }
  27. button#playpause {
  28. border: none;
  29. background: none;
  30. cursor: pointer;
  31. font-size: 64px;
  32. margin: 8px;
  33. vertical-align: middle;
  34. transition: all 50ms;
  35. }
  36. button#playpause:hover,
  37. button#playpause:focus {
  38. filter: brightness(120%);
  39. outline: none;
  40. }
  41. button#playpause:active {
  42. transform: translate(1px, 1px);
  43. }
  44. label#volume-label {
  45. font-size: 30px;
  46. vertical-align: middle;
  47. }
  48. input#volume {
  49. vertical-align: middle;
  50. width: 80px;
  51. height: 30px;
  52. border-radius: 3px;
  53. background: #eee;
  54. cursor: pointer;
  55. -webkit-appearance: none;
  56. }
  57. input#volume::-moz-range-thumb {
  58. height: 30px;
  59. width: 20px;
  60. background-color: #999;
  61. border-radius: 3px;
  62. border: none;
  63. }
  64. input#volume::-webkit-slider-thumb {
  65. height: 30px;
  66. width: 20px;
  67. background-color: #999;
  68. border-radius: 3px;
  69. -webkit-appearance: none;
  70. }
  71. input#volume:hover,
  72. input#volume:focus {
  73. filter: brightness(102%);
  74. outline: none;
  75. }
  76. .context-menu {
  77. list-style: none;
  78. margin: 0;
  79. padding: 0;
  80. position: absolute;
  81. z-index: 9999999;
  82. border: 1px solid #999999;
  83. border-radius: 2px;
  84. box-shadow: 2px 2px 6px #66666633;
  85. background: #fcfcfc;
  86. }
  87. .context-menu button {
  88. background: none;
  89. border: none;
  90. font-size: 1em;
  91. padding: 4px 20px;
  92. }
  93. .context-menu button:hover {
  94. background: #dddddd99;
  95. }
  96. .playlist .channel {
  97. background: #aaa;
  98. }
  99. .playlist .channel-progress {
  100. background: none;
  101. }
  102. .playlist .selection.point {
  103. width: 2px !important;
  104. }
  105. .playlist .selection.segment {
  106. background: #f006;
  107. border-left: 1px solid red;
  108. border-right: 1px solid red;
  109. }
  110. .playlist .playlist-time-scale {
  111. color: #666;
  112. font-family: sans-serif;
  113. font-size: smaller;
  114. }
  115. .playlist .cursor {
  116. width: 2px !important;
  117. background: #666;
  118. }