p.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. header label, header input {
  2. position: absolute;
  3. }
  4. header label[for="user"] {
  5. left: 480px;
  6. top: 5px;
  7. }
  8. header input#user {
  9. left: 570px;
  10. top: 0px;
  11. }
  12. header label[for="song"] {
  13. left: 300px;
  14. top: 55px;
  15. }
  16. header input#song {
  17. left: 390px;
  18. top: 50px;
  19. width: 420px;
  20. text-align: center;
  21. }
  22. header input[type="submit"] {
  23. left: 830px;
  24. top: 50px;
  25. }
  26. div#results {
  27. display: none;
  28. position: absolute;
  29. width: 430px;
  30. height: 560px;
  31. left: 390px;
  32. top: 83px;
  33. background-color: #111;
  34. border: 1px solid #aaa;
  35. z-index: 1;
  36. }
  37. div#results ul {
  38. margin: 5px 10px;
  39. padding: 0;
  40. }
  41. div#results ul li {
  42. list-style: none;
  43. display: block;
  44. height: 50px;
  45. margin: 5px 0;
  46. overflow: hidden;
  47. }
  48. div#results ul li:hover {
  49. background-color: #024;
  50. }
  51. div#results ul li a {
  52. display: block;
  53. height: 100%;
  54. }
  55. div#results ul li a:hover {
  56. text-decoration: none;
  57. }
  58. div#results ul li img {
  59. height: 50px;
  60. width: 66px;
  61. float: left;
  62. margin-right: 10px;
  63. }
  64. object#player {
  65. position: absolute;
  66. left: -1px;
  67. top: 0;
  68. }
  69. section.song {
  70. background-color: #111;
  71. padding: 10px 15px;
  72. margin-top: 7px;
  73. position: relative; /* for remove */
  74. }
  75. section.song div.info {
  76. margin-bottom: 10px;
  77. float: left;
  78. }
  79. section.song div.user {
  80. float: right;
  81. margin-right: 20px;
  82. }
  83. section.song div.remove {
  84. position: absolute;
  85. top: 0;
  86. right: 5px;
  87. }
  88. section.song div.remove img {
  89. opacity: 0.6;
  90. }
  91. section.song div.remove img:hover {
  92. opacity: 1.0;
  93. }
  94. section.song div.reorder {
  95. position: absolute;
  96. bottom: 0;
  97. right: 5px;
  98. }
  99. section.song div.reorder img {
  100. display: block;
  101. margin-bottom: 5px;
  102. opacity: 0.6;
  103. }
  104. section.song div.reorder img:hover {
  105. opacity: 1.0;
  106. }
  107. section.song div.thumb {
  108. float: left;
  109. width: 140px;
  110. height: 90px;
  111. overflow: hidden;
  112. }
  113. section.song div.thumb img {
  114. height: 90px;
  115. }
  116. section.song canvas, section.song > img {
  117. position: relative;
  118. left: 5px;
  119. }
  120. section.song > img[src$='pause.png'] {
  121. display: none;
  122. }
  123. section.song > img {
  124. opacity: 0.5;
  125. }
  126. section.song > img:hover {
  127. opacity: 1.0;
  128. }