page_index.css 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512
  1. /*
  2. Home/Main Window Stylings
  3. */
  4. #home {
  5. display: block;
  6. position: absolute;
  7. z-index: 1;
  8. top: 40px;
  9. left: 4px;
  10. right: 4px;
  11. bottom: 24px;
  12. background-color: rgb(32,32,32);
  13. }
  14. #home .panel {
  15. display: block;
  16. width: 400px;
  17. position: absolute;
  18. z-index: 5;
  19. top: 0;
  20. right: 0;
  21. bottom: 0;
  22. }
  23. #home .panel .loading {
  24. position: absolute;
  25. left: 0;
  26. right: 0;
  27. top: 50%;
  28. height: 20%;
  29. text-align: center;
  30. font-size: 12pt;
  31. font-weight: 600;
  32. opacity: 0.3;
  33. }
  34. #home #bookmarklist {
  35. position: absolute;
  36. z-index: 5;
  37. left: 0;
  38. top: 0;
  39. right: 0;
  40. display: block;
  41. width: 600px;
  42. height: calc(100vh - 64px);
  43. overflow-x: hidden;
  44. overflow-y: auto;
  45. }
  46. #home .bookmark {
  47. height: 64px;
  48. margin: 10px 10px 0;
  49. background-color: rgb(48,48,48);
  50. box-shadow: 0px 3px 10px rgba(0,0,0,0.5);
  51. position: relative;
  52. cursor: pointer;
  53. }
  54. #home .bookmark img.avatar {
  55. position: absolute;
  56. top: 0;
  57. left: 0;
  58. display: block;
  59. width: 64px;
  60. height: 64px;
  61. }
  62. #home .bookmark h1 {
  63. position: absolute;
  64. top: 4px;
  65. left: 72px;
  66. font-size: 14pt;
  67. font-weight: 300;
  68. line-height: 24px;
  69. }
  70. #home .bookmark h2 {
  71. position: absolute;
  72. top: 8px;
  73. right: 20px;
  74. font-size: 14pt;
  75. font-weight: 600;
  76. line-height: 16px;
  77. color: rgb(240,240,0);
  78. }
  79. #home .bookmark h3 {
  80. position: absolute;
  81. top: 40px;
  82. left: 72px;
  83. font-size: 10pt;
  84. font-weight: 400;
  85. line-height: 20px;
  86. }
  87. #home .panel {
  88. padding: 5px 10px 5px 5px;
  89. display: block;
  90. overflow-x: hidden;
  91. overflow-y: auto;
  92. }
  93. #home .panel .section {
  94. display: block;
  95. border: solid;
  96. border: solid 2px rgba(255,255,255,0.1);
  97. padding: 5px 10px;
  98. border-radius: 3px;
  99. margin: 15px 0;
  100. }
  101. #home .panel .section i.icon {
  102. vertical-align: middle;
  103. }
  104. #home .panel .section p {
  105. font-size: 11pt;
  106. padding: 0 5px;
  107. }
  108. #queue-list {
  109. display: none;
  110. width: 400px;
  111. overflow-x: hidden;
  112. overflow-y: auto;
  113. position: absolute;
  114. z-index: 1000;
  115. left: 590px;
  116. top: 40px;
  117. padding: 0;
  118. color: rgb(128,128,128);
  119. }
  120. #queue-list .download {
  121. display: block;
  122. height: 56px;
  123. margin: 0;
  124. position: relative;
  125. background-color: rgb(64,64,64);
  126. border-bottom: solid 2px rgb(32,32,32);
  127. }
  128. #queue-list .download.active {
  129. color: rgb(240,240,240);
  130. }
  131. #queue-list .download.error {
  132. }
  133. #queue-list .download .filename {
  134. font-size: 9pt;
  135. font-weight: 400;
  136. position: absolute;
  137. left: 8px;
  138. right: 8px;
  139. top: 4px;
  140. display: block;
  141. line-height: 24px;
  142. text-align: left;
  143. text-overflow: ellipsis;
  144. }
  145. #queue-list .download .status {
  146. font-size: 9pt;
  147. font-weight: 600;
  148. position: absolute;
  149. left: 8px;
  150. right: 32px;
  151. top: 34px;
  152. display: block;
  153. line-height: 20px;
  154. text-align: left;
  155. text-overflow: ellipsis;
  156. }
  157. #queue-list .download .status span {
  158. float: right;
  159. }
  160. #queue-list .download .progress-bar {
  161. position: absolute;
  162. top: 28px;
  163. left: 4px;
  164. right: 32px;
  165. display: block;
  166. height: 4px;
  167. background-color: rgb(24,24,24);
  168. }
  169. #queue-list .download .progress-bar .bar {
  170. display: block;
  171. height: 4px;
  172. width: 0%;
  173. background-color: rgb(0,240,0);
  174. }
  175. #queue-list .download .cancel {
  176. position: absolute;
  177. right: 8px;
  178. top: 20px;
  179. font-size: 16px;
  180. cursor: pointer;
  181. }
  182. /*
  183. Settings
  184. */
  185. #settings {
  186. display: none;
  187. position: absolute;
  188. z-index: 1000;
  189. top: 0;
  190. left: 0;
  191. right: 0;
  192. bottom: 0;
  193. background-color: rgb(0,0,0);
  194. padding: 0;
  195. }
  196. #settings input[type=text] {
  197. padding: 0 4px;
  198. background: transparent;
  199. border-color: rgba(255,255,255,0.3);
  200. }
  201. #settings a.close-settings {
  202. position: absolute;
  203. top: 4px;
  204. right: 24px;
  205. display: block;
  206. width: 32px;
  207. height: 32px;
  208. line-height: 32px;
  209. text-align: center;
  210. cursor: pointer;
  211. }
  212. #settings a.close-settings:hover { background-color: rgba(255,255,255,0.1); }
  213. #settings a.close-settings i.icon { font-size: 24px; line-height: 32px; vertical-align: middle; }
  214. #settings div.area {
  215. display: block;
  216. height: 100vh;
  217. overflow-x: hidden;
  218. overflow-y: scroll;
  219. padding: 0 0 40px;
  220. }
  221. #settings div.area div.section {
  222. display: block;
  223. width: 600px;
  224. border: solid 1px rgba(255,255,255,0.1);
  225. border-radius: 3px;
  226. background: rgba(250, 250, 250, 0.01);
  227. margin: 20px auto;
  228. position: relative;
  229. }
  230. #settings div.area div.section ul {
  231. margin: 10px 0;
  232. }
  233. #settings div.area div.section ul li a {
  234. color: rgb(248,248,248);
  235. }
  236. #settings h4#appname {
  237. font-size: 32pt;
  238. font-weight: 300;
  239. }
  240. #settings h6#version {
  241. position: absolute;
  242. top: 20px;
  243. right: 50px;
  244. font-size: 12pt;
  245. color: rgb(96,96,96);
  246. }
  247. #settings ul, #settings p {
  248. padding: 4px 40px;
  249. }
  250. /*
  251. */
  252. .app-menu {
  253. cursor: pointer;
  254. position: absolute;
  255. top: 0;
  256. left: 0;
  257. font-size: 16px;
  258. display: block;
  259. width: 40px;
  260. height: 40px;
  261. line-height: 40px;
  262. text-align: center;
  263. }
  264. /*
  265. Details View
  266. */
  267. .details > div.avatar {
  268. display: inline-block;
  269. width: 120px;
  270. height: 120px;
  271. position: relative;
  272. }
  273. .details > div.avatar img.avatar {
  274. position: absolute;
  275. top: 0;
  276. left: 0;
  277. width: 120px;
  278. height: 120px;
  279. }
  280. .details > div.avatar a.save {
  281. display: block;
  282. width: 28px;
  283. height: 28px;
  284. position: absolute;
  285. bottom: 2px;
  286. right: 2px;
  287. opacity: 0.25;
  288. text-decoration: none;
  289. color: rgba(255,255,255,0.82);
  290. background-color: rgba(0,0,0,0.5);
  291. font-size: 16px;
  292. padding: 6px;
  293. border-radius: 14px;
  294. }
  295. .details > div.avatar > a.save:hover {
  296. opacity: 0.7;
  297. }
  298. .details > div.info {
  299. display: inline-block;
  300. width: calc(100% - 136px);
  301. height: 120px;
  302. padding: 0 10px;
  303. position: relative;
  304. vertical-align: top;
  305. }
  306. .details > div.info a {
  307. text-decoration: none;
  308. color: rgb(224,220,192);
  309. font-size: 10pt;
  310. }
  311. .details > div.info > div.buttons {
  312. position: absolute;
  313. display: block;
  314. bottom: 8px;
  315. right: 0;
  316. }
  317. .details > div.info div.buttons a.button {
  318. display: inline-block;
  319. margin-left: 8px;
  320. color: rgb(224,224,224);
  321. opacity: 0.6;
  322. }
  323. .details > div.info a.button:hover { opacity: 1.0; }
  324. .details > div.info h1 a, .details > div.info h2 a {
  325. background-color: transparent;
  326. float: right;
  327. padding: 0;
  328. line-height: 24px;
  329. height: 24px;
  330. }
  331. .details > div.info h1 a { height: 40px; width: 40px; line-height: 40px; }
  332. .details > div.info h1 a i.icon { font-size: 24px; vertical-align: middle; }
  333. .details > div.info h2 a i.icon { font-size: 12px; line-height: 12px; vertical-align: middle; }
  334. .details > div.info a.followers, .details > div.info a.following { padding: 0 16px; }
  335. .details > div.info h1, .details > div.info h2 {
  336. background-color: rgba(255,255,255,0.1);
  337. }
  338. .details > div.info h1 {
  339. border-radius: 20px;
  340. font-size: 18pt;
  341. line-height: 40px;
  342. margin: 24px 112px 24px 0;
  343. padding: 0 4px 0 12px;
  344. }
  345. .details > div.info h2 {
  346. position: absolute;
  347. bottom: 4px;
  348. display: inline-block;
  349. font-size: 12pt;
  350. line-height: 24px;
  351. border-radius: 12px;
  352. padding: 0 12px 0 12px;
  353. margin: 4px 16px 4px 0;
  354. text-align: right;
  355. }
  356. .details > div.info h2.id { padding-right: 4px; left: 12px;}
  357. .details > div.info h2.shortid { padding-right: 4px; left: 248px;}
  358. .details > div.info h2.level { left: 448px;}
  359. .details > div.info h2 span, .details > div.info h2 span {
  360. font-size: 10pt;
  361. font-weight: 600;
  362. display: inline-block;
  363. float: left;
  364. }
  365. .details > div.info h2.id { width: 212px; }
  366. .details > div.info h2.shortid { width: 176px; }
  367. .details > div.info h2.level { width: 96px; }
  368. .details > div.info h2.stars, .details > div.info h2.stars { width: 96px; }
  369. .details > div.info h4 {
  370. position: absolute;
  371. top: -12px;
  372. right: 0;
  373. font-size: 64pt;
  374. font-weight: 600;
  375. letter-spacing: -0.05em;
  376. color: rgba(255,255,255,0.2);
  377. }
  378. /*
  379. User Search Entry
  380. */
  381. .user-search:hover { background-color: rgba(255,255,255,0); }
  382. .user-search td { height: 96px; }
  383. .user-search td.details {
  384. position: relative;
  385. }
  386. .user-search td.details a.button.replays, .user-search td.details a.button.followings, .user-search td.details a.button.followers {
  387. position: absolute;
  388. bottom: 4px;
  389. width: 128px;
  390. }
  391. .user-search td.details a.button.replays { right: 320px; }
  392. .user-search td.details a.button.followings { right: 176px; }
  393. .user-search td.details a.button.followers { right: 32px; }
  394. .user-search td.details h4 {
  395. font-size: 18pt;
  396. line-height: 32pt;
  397. font-weight: 300;
  398. }
  399. .user-search h5 {
  400. position: absolute;
  401. font-size: 12pt;
  402. line-height: 16pt;
  403. margin: 0;
  404. padding: 0;
  405. }
  406. .user-search h5 a.button {
  407. position: relative;
  408. top: -1px;
  409. width: 16px;
  410. height: 16px;
  411. line-height: 16px;
  412. font-size: 12px;
  413. background: transparent;
  414. }
  415. .user-search h5 span {
  416. display: inline-block;
  417. min-width: 24px;
  418. text-align: right;
  419. }
  420. .user-search h5.userid { left: 8px; bottom: 48px; }
  421. .user-search h5.shortid { left: 240px; bottom: 48px; }
  422. .user-search h5.level { left: 8px; bottom: 16px; }
  423. .user-search h5.country { left: 96px; bottom: 16px; }
  424. .user-search div.bookmarked, .user-search div.viewed {
  425. position: absolute;
  426. top: 4px;
  427. }
  428. .user-search div.bookmarked i.icon, .user-search div.viewed i.icon { font-size: 20px; line-height: 20px; }
  429. .user-search div.viewed { right: 12px; }
  430. .user-search div.bookmarked { right: 40px; }
  431. .user-search img { margin-top: 8px; }
  432. .user-search.male img { border: solid 8px rgba(0,120,252,0.8); }
  433. .user-search.female img { border: solid 8px rgba(240,160,150,0.8); }