Youtube music and video downloader

main.css 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. /* CSS declarations go here */
  2. body {
  3. font-family: sans-serif;
  4. background-color: #315481;
  5. background-image: linear-gradient(to bottom, #315481, #918e82 100%);
  6. background-attachment: fixed;
  7. position: absolute;
  8. top: 0;
  9. bottom: 0;
  10. left: 0;
  11. right: 0;
  12. padding: 0;
  13. margin: 0;
  14. font-size: 14px;
  15. }
  16. .container {
  17. max-width: 600px;
  18. margin: 200px auto;
  19. min-height: 100%;
  20. }
  21. .logo {
  22. font-size: 4em;
  23. color: white;
  24. margin-bottom: 80px;
  25. display: block;
  26. text-shadow: 1px 1px black;
  27. text-align: center;
  28. font-family: 'BonvenoCFLight';
  29. }
  30. .box-container {
  31. box-shadow: 0px 0px 20px 2px rgba(0,0,0, 0.3);
  32. }
  33. header {
  34. background: #d2edf4;
  35. background-image: linear-gradient(to bottom, #d0edf5, #e1e5f0 100%);
  36. padding: 20px 15px 15px 15px;
  37. position: relative;
  38. }
  39. #login-buttons {
  40. display: block;
  41. }
  42. h1 {
  43. font-size: 1.5em;
  44. margin: 0;
  45. margin-bottom: 10px;
  46. display: inline-block;
  47. margin-right: 1em;
  48. }
  49. input.new-link {
  50. box-sizing: border-box;
  51. background: transparent;
  52. border: none;
  53. width: 100%;
  54. padding: 10px;
  55. font-size: 1.5em;
  56. color: rgba(20, 20, 20);
  57. }
  58. input.new-link:focus{
  59. outline: 0;
  60. }
  61. ul {
  62. padding: 0;
  63. margin: 0;
  64. }
  65. .options-all {
  66. background: #d2edf4;
  67. background-image: linear-gradient(to top, #d0edf5, #e1e5f0 100%);
  68. display: flex;
  69. padding: 20px 15px 15px 15px;
  70. }
  71. button.option {
  72. background: white;
  73. border: none;
  74. margin: 0 5px;
  75. padding: 5px 10px;
  76. border: 1px solid rgba(0, 0, 0, 0.2);
  77. position: relative;
  78. }
  79. button.unreachable {
  80. background: rgba(117, 0, 0, 0.51);
  81. color: white;
  82. }
  83. button.option:hover {
  84. -webkit-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.3);
  85. -moz-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.3);
  86. box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.3);
  87. cursor: pointer;
  88. }
  89. button.unreachable:hover {
  90. cursor: not-allowed;
  91. }
  92. button.option .option-progress {
  93. background: rgba(0, 128, 0, 0.25);
  94. height: 100%;
  95. position: absolute;
  96. top: 0;
  97. left: 0;
  98. }
  99. .options-all .label {
  100. flex: 2;
  101. }
  102. .box-container {
  103. margin: 0;
  104. padding: 0;
  105. background: white;
  106. }
  107. .link {
  108. display: flex;
  109. flex-direction: row;
  110. }
  111. .link .link-text {
  112. flex: 10;
  113. -ms-text-overflow: ellipsis;
  114. text-overflow: ellipsis;
  115. white-space: nowrap;
  116. overflow: hidden;
  117. padding: 8px 10px 0;
  118. }
  119. .link .link-options {
  120. flex: 4;
  121. }
  122. .link .link-delete {
  123. font-weight: bold;
  124. background: none;
  125. font-size: 1em;
  126. border: none;
  127. flex: 1;
  128. cursor: pointer;
  129. }
  130. li {
  131. position: relative;
  132. list-style: none;
  133. padding: 15px;
  134. border-bottom: #eee solid 1px;
  135. }
  136. li .text {
  137. margin-left: 10px;
  138. }
  139. li.checked {
  140. color: #888;
  141. }
  142. li.checked .text {
  143. text-decoration: line-through;
  144. }
  145. li.private {
  146. background: #eee;
  147. border-color: #ddd;
  148. }
  149. header #accounts-ui {
  150. float: right;
  151. }
  152. .toggle-private {
  153. margin-left: 5px;
  154. }
  155. @media (max-width: 600px) {
  156. li {
  157. padding: 12px 15px;
  158. }
  159. .search {
  160. width: 150px;
  161. clear: both;
  162. }
  163. .new-link input {
  164. padding-bottom: 5px;
  165. }
  166. }
  167. #search-result {
  168. margin-top:20px;
  169. background: none;
  170. }
  171. #search-result .result-link {
  172. display: block;
  173. padding: 10px;
  174. border-bottom: 1px solid rgba(0,0,0,0.1);
  175. background: rgba(255,255,255,0.3);
  176. height: 45px;
  177. }
  178. #search-result .result-link:hover {
  179. background: rgba(255,255,255,0.5);
  180. -webkit-box-shadow: 0 5px 5px -5px black;
  181. -moz-box-shadow: 0 5px 5px -5px black;
  182. box-shadow: 0 5px 5px -5px black;
  183. cursor: pointer;
  184. }
  185. #search-result .result-thumb {
  186. float: left;
  187. }
  188. #search-result .result-info {
  189. vertical-align: top;
  190. margin-left: 100px;
  191. //line-height: 45px;
  192. display: flex;
  193. flex-direction: column;
  194. }
  195. #search-result .result-info .result-head {
  196. flex-direction: row;
  197. display: flex;
  198. }
  199. #search-result .result-info .result-head .result-duration {
  200. flex: 1;
  201. padding: 5px 0 10px;
  202. text-align: right;
  203. }
  204. #search-result .result-info .result-head .result-title {
  205. -ms-text-overflow: ellipsis;
  206. text-overflow: ellipsis;
  207. white-space: nowrap;
  208. overflow: hidden;
  209. padding: 5px 10px 10px 0;
  210. flex:10;
  211. }
  212. #search-result .result-info .result-stats {
  213. display: flex;
  214. flex-direction: row;
  215. font-size: 0.8em;
  216. }
  217. #search-result .result-info .result-stats div {
  218. flex: 1;
  219. }