base.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. body {
  2. background-color: #000;
  3. color: #ccc;
  4. }
  5. body, input {
  6. font-family: 'Cantarell', sans-serif;
  7. font-size: 16px;
  8. }
  9. a:link, a:visited {
  10. color: #08a;
  11. text-decoration: none;
  12. }
  13. a:hover {
  14. color: #0af;
  15. text-decoration: underline;
  16. }
  17. img {
  18. border-style: none;
  19. vertical-align: middle;
  20. }
  21. form {
  22. display: inline;
  23. text-align: center;
  24. }
  25. input, button {
  26. background-color: #050505;
  27. border: 1px solid #aaa;
  28. color: #eee;
  29. padding: 2px 5px;
  30. }
  31. input:focus {
  32. border: 1px solid #38a;
  33. }
  34. input[type="submit"] {
  35. background-color: #111;
  36. padding: 1px 5px;
  37. line-height: 27px;
  38. }
  39. label {
  40. cursor: pointer;
  41. }
  42. header, article {
  43. width: 900px;
  44. margin: 20px auto;
  45. clear: both;
  46. }
  47. img.aa {
  48. float: left;
  49. opacity: 0.9;
  50. }
  51. header {
  52. position: relative; /* for #results */
  53. }
  54. header label, header input {
  55. position: absolute;
  56. }
  57. header label[for="user"] {
  58. left: 480px;
  59. top: 5px;
  60. }
  61. header input#user {
  62. left: 570px;
  63. top: 0px;
  64. }
  65. header label[for="song"] {
  66. left: 300px;
  67. top: 55px;
  68. }
  69. header input#song {
  70. left: 390px;
  71. top: 50px;
  72. width: 420px;
  73. text-align: center;
  74. }
  75. header input[type="submit"] {
  76. left: 830px;
  77. top: 50px;
  78. }
  79. div#results {
  80. display: none;
  81. position: absolute;
  82. width: 430px;
  83. height: 560px;
  84. left: 390px;
  85. top: 83px;
  86. background-color: #111;
  87. border: 1px solid #aaa;
  88. z-index: 1;
  89. }
  90. div#results ul {
  91. margin: 5px 10px;
  92. padding: 0;
  93. }
  94. div#results ul li {
  95. list-style: none;
  96. display: block;
  97. height: 50px;
  98. margin: 5px 0;
  99. overflow: hidden;
  100. }
  101. div#results ul li:hover {
  102. background-color: #024;
  103. }
  104. div#results ul li a {
  105. display: block;
  106. height: 100%;
  107. }
  108. div#results ul li a:hover {
  109. text-decoration: none;
  110. }
  111. div#results ul li img {
  112. height: 50px;
  113. width: 66px;
  114. float: left;
  115. margin-right: 10px;
  116. }
  117. object#player {
  118. position: absolute;
  119. left: -1px;
  120. top: 0;
  121. }
  122. section.song {
  123. background-color: #111;
  124. padding: 10px 15px;
  125. margin-top: 7px;
  126. position: relative; /* for remove */
  127. }
  128. section.song div.info {
  129. margin-bottom: 10px;
  130. float: left;
  131. }
  132. section.song div.user {
  133. float: right;
  134. margin-right: 20px;
  135. }
  136. section.song div.remove {
  137. position: absolute;
  138. top: 0;
  139. right: 5px;
  140. }
  141. section.song div.remove img {
  142. opacity: 0.6;
  143. }
  144. section.song div.remove img:hover {
  145. opacity: 1.0;
  146. }
  147. section.song div.reorder {
  148. position: absolute;
  149. bottom: 0;
  150. right: 5px;
  151. }
  152. section.song div.reorder img {
  153. display: block;
  154. margin-bottom: 5px;
  155. opacity: 0.6;
  156. }
  157. section.song div.reorder img:hover {
  158. opacity: 1.0;
  159. }
  160. section.song div.thumb {
  161. float: left;
  162. width: 140px;
  163. height: 90px;
  164. overflow: hidden;
  165. }
  166. section.song div.thumb img {
  167. height: 90px;
  168. }
  169. section.song canvas, section.song > img {
  170. position: relative;
  171. left: 5px;
  172. }
  173. section.song > img[src$='pause.png'] {
  174. display: none;
  175. }
  176. section.song > img {
  177. opacity: 0.5;
  178. }
  179. section.song > img:hover {
  180. opacity: 1.0;
  181. }
  182. .clear {
  183. line-height: 0;
  184. clear: both;
  185. }