PageRenderTime 63ms CodeModel.GetById 36ms RepoModel.GetById 0ms app.codeStats 0ms

/static/styles/layer_cake/style.css

https://github.com/opensciencefund/gazelle
CSS | 742 lines | 587 code | 139 blank | 16 comment | 0 complexity | 47a727574007c35a67b13461b5c63be3 MD5 | raw file
  1. /* Layout (Torrents page) */
  2. /* We're going to opt for the category icon method for now, tags_* is also available */
  3. .cats_applications { width: 28px; height: 28px; background: url('images/apps.png') no-repeat center center; }
  4. .cats_audiobooks { width: 28px; height: 28px; background: url('images/audiobook.png') no-repeat center center; }
  5. .cats_comedy { width: 28px; height: 28px; background: url('images/comedy.png') no-repeat center center; }
  6. .cats_comics { width: 28px; height: 28px; background: url('images/comics.png') no-repeat center center; }
  7. .cats_ebooks { width: 28px; height: 28px; background: url('images/ebook.png') no-repeat center center; }
  8. .cats_elearningvideos { width: 28px; height: 28px; background: url('images/elearning.png') no-repeat center center; }
  9. .cats_music { width: 28px; height: 28px; background: url('images/music.png') no-repeat center center; }
  10. /* Global */
  11. * {
  12. padding: 0em;
  13. margin: 0em;
  14. }
  15. html {
  16. width: 100%;
  17. }
  18. body {
  19. width: 100%;
  20. background-color: #E2E2E2;
  21. font-family: tahoma, helvetica, sans-serif;
  22. font-size: 8pt;
  23. color: #000;
  24. min-width: 850px;
  25. }
  26. /* Common elements */
  27. a {
  28. text-decoration: none;
  29. border: none;
  30. color: #444;
  31. }
  32. a:hover {
  33. text-decoration: underline;
  34. color: #555;
  35. }
  36. h1,h2,h3,h4 {
  37. margin: 5px 0px;
  38. font-weight: bold;
  39. }
  40. h2 {
  41. text-align: center;
  42. font-size: 12pt;
  43. }
  44. h4 {
  45. font-size: 8pt;
  46. }
  47. p {
  48. margin: 10px 5px;
  49. }
  50. li {
  51. margin: 5px 15px;
  52. }
  53. input {
  54. padding: 2px 3px;
  55. }
  56. textarea {
  57. padding: 2px 3px;
  58. }
  59. img {
  60. border: none;
  61. }
  62. /* Ratio Colors */
  63. .r00 { color: #FF0000; }
  64. .r01 { color: #FF1300; }
  65. .r02 { color: #FF1300; }
  66. .r03 { color: #FF2600; }
  67. .r04 { color: #FF4C00; }
  68. .r05 { color: #FF5E00; }
  69. .r06 { color: #FF5E00; }
  70. .r07 { color: #FF7100; }
  71. .r08 { color: #FF9700; }
  72. .r09 { color: #FFAA00; }
  73. .r10 { color: #74C42E; }
  74. .r20 { color: #418B00; }
  75. .r50 { color: #418B00; }
  76. .r99 { color: #418B00; }
  77. /* Styles generated by the BBCode parser */
  78. span.size1 { font-size:0.75em; }
  79. span.size2 { font-size:1em; }
  80. span.size3 { font-size:1.25em; }
  81. span.size4 { font-size:1.5em; }
  82. span.size5 { font-size:1.75em; }
  83. span.size6 { font-size:2em; }
  84. span.size7 { font-size:2.25em; }
  85. span.size8 { font-size:2.5em; }
  86. span.size9 { font-size:2.75em; }
  87. span.size10 { font-size:3em; }
  88. ul.thin { margin:0px 0px 0px 25px; padding:0px; }
  89. ul.thin li { margin:0px 0px; padding:0px; }
  90. /* Layout (Every page) */
  91. #header {
  92. width: 100%;
  93. padding: 0px 0 0 0;
  94. background: #CCC;
  95. }
  96. #content {
  97. margin: auto;
  98. margin-top: 100px;
  99. width: 90%;
  100. overflow: hidden;
  101. }
  102. #footer {
  103. margin-top: 40px;
  104. width: 100%;
  105. text-align: center;
  106. padding: 1em 0;
  107. }
  108. #logo {
  109. width: 344px;
  110. height: 197px;
  111. background: url('images/logo.png') no-repeat top left;
  112. margin: 0 auto;
  113. }
  114. #logo a {
  115. border: none;
  116. width: 344px;
  117. height: 197px;
  118. display: block;
  119. }
  120. #logo a:hover {
  121. border: none;
  122. }
  123. #menu {
  124. position: absolute;
  125. top: 226px;
  126. width: 100%;
  127. padding: 0.6em 0;
  128. text-align: center;
  129. background-color: #666666;
  130. font-size: 10pt;
  131. }
  132. #menu ul li {
  133. position: relative;
  134. display: inline;
  135. }
  136. #menu ul li a {
  137. padding: 0.6em 1.1%;
  138. color: #ccc;
  139. }
  140. #menu ul li a.active {
  141. background-color: #565656;
  142. }
  143. #menu ul li a:hover {
  144. background-color: #565656;
  145. text-decoration: none;
  146. }
  147. #userinfo {
  148. position: absolute;
  149. top: 258px;
  150. background: #D7D7D7;
  151. color: #444;
  152. padding: 4px 0px;
  153. width: 100%;
  154. text-align: center;
  155. font-size: 8pt;
  156. }
  157. #userinfo img {
  158. margin-top: -5px;
  159. }
  160. #userinfo ul {
  161. display: inline;
  162. margin: 0px 0.8%;
  163. }
  164. #userinfo ul li {
  165. position: relative;
  166. display: inline;
  167. margin: 0 0.1em;
  168. line-height: 20px;
  169. vertical-align: middle;
  170. padding: 0px;
  171. }
  172. #userinfo a {
  173. color: #222;
  174. }
  175. #userinfo a:hover {
  176. text-decoration: underline;
  177. }
  178. #userinfo b a {
  179. font-weight: normal;
  180. font-size: 0.9em;
  181. font-weight: bold;
  182. }
  183. #searchbars {
  184. position: absolute;
  185. top: 199px;
  186. width: 100%;
  187. text-align: center;
  188. background-color: #999999;
  189. padding: 4px 0px;
  190. }
  191. #searchbars input {
  192. position: relative;
  193. border: 1px solid #CCC;
  194. padding: 2px 2px 2px 4px;
  195. font-size: 0.9em;
  196. background-color: #A8A8A8;
  197. color: #444;
  198. }
  199. #searchbars ul {
  200. margin: 0 auto;
  201. }
  202. #searchbars ul li {
  203. display: inline;
  204. margin: 0px 1px;
  205. }
  206. #searchbars ul li form {
  207. display: inline;
  208. }
  209. #alerts {
  210. margin-top: 85px;
  211. margin-bottom: -85px;
  212. background: #e2e2e2;
  213. padding: 10px 0px;
  214. }
  215. #cat-selector ul {
  216. width: 100%;
  217. }
  218. #cat-selector ul li {
  219. display: inline;
  220. width: 12em;
  221. height: 1em;
  222. float: left;
  223. }
  224. .alertbar {
  225. border: 1px solid #999;
  226. background-color: #d7d7d7;
  227. text-align: center;
  228. color: #444;
  229. font-weight: bold;
  230. font-size: 0.95em;
  231. width: 350px;
  232. margin: 0px auto 0px auto;
  233. padding: 10px;
  234. }
  235. .alertbar a {
  236. color: #555;
  237. text-decoration: underline;
  238. }
  239. .alertbar a:hover {
  240. color: #777;
  241. text-decoration: none;
  242. }
  243. /* IE doesn't appear to like a simple display:none in our header. Random things start fucking up pretty badly. */
  244. .hidden {
  245. position: absolute;
  246. left: -10000px;
  247. }
  248. input.hidden {
  249. position: absolute;
  250. display: none;
  251. }
  252. /* Layout (Any page) */
  253. .thin {
  254. width: 850px;
  255. margin: 0px auto;
  256. }
  257. #userinfo_username .brackets:before {
  258. content: "[";
  259. }
  260. #userinfo_username .brackets:after {
  261. content: "]";
  262. }
  263. #userinfo_major .brackets:before {
  264. font-weight: bold;
  265. content: "[";
  266. }
  267. #userinfo_major .brackets:after {
  268. font-weight: bold;
  269. content: "]";
  270. }
  271. div.linkbox {
  272. text-align:center;
  273. padding: 5px;
  274. }
  275. .center {
  276. text-align: center;
  277. }
  278. .right {
  279. text-align: right;
  280. }
  281. .min_padding {
  282. padding: 0px;
  283. margin: 0px 0px;
  284. }
  285. p.min_padding {
  286. margin: 2px 0px;
  287. }
  288. .pad {
  289. padding: 1em;
  290. }
  291. .vertical_space {
  292. margin-bottom: 10px;
  293. }
  294. .box {
  295. font-size: 8pt;
  296. background-color: #EAEAEA;
  297. border: 1px solid #666666;
  298. }
  299. .pad h3, .pad h4, .padbox h3, .padbox h4 {
  300. margin-top: 0px;
  301. padding-top: 0px;
  302. }
  303. .sidebar {
  304. float: right;
  305. width: 250px;
  306. height: 100%;
  307. }
  308. .sidebar .box {
  309. margin: 0px 5px 10px 5px;
  310. }
  311. .head {
  312. padding: 4px;
  313. border-bottom: 1px solid #666;
  314. background: #E1E1E1;
  315. color: #333;
  316. }
  317. .body {
  318. padding: 3px 10px 10px 10px;
  319. }
  320. .main_column {
  321. margin: 0px 255px 10px 0px;
  322. width: 590px;
  323. }
  324. .main_column .box, .main_column table {
  325. margin-bottom: 10px;
  326. }
  327. .tags {
  328. padding: 0px 0px 0px 20px;
  329. font-style: italic;
  330. }
  331. .tags a {
  332. color: #222;
  333. }
  334. .tags a:hover {
  335. color: #444;
  336. text-decoration: underline;
  337. }
  338. .noborder {
  339. border: none;
  340. }
  341. ul.nobullet {
  342. list-style-type: none;
  343. }
  344. table {
  345. width: 100%;
  346. border-collapse: collapse;
  347. border: 1px solid #666666;
  348. }
  349. tr {
  350. border: 1px solid #666666;
  351. background-color: #EEE;
  352. }
  353. tr.rowa {
  354. background-color: #DDD;
  355. }
  356. td {
  357. border: 1px solid #666666;
  358. padding: 5px;
  359. text-align: left;
  360. }
  361. .colhead {
  362. background: #BBB;
  363. font-weight: bold;
  364. color: #ffffff;
  365. }
  366. td.colhead, .colhead td {
  367. padding-left: 10px;
  368. padding-right: 10px;
  369. }
  370. .colhead .sign, .colhead_dark .sign {
  371. padding: 0px 8px 0px 8px;
  372. vertical-align:middle;
  373. text-align:center;
  374. font-size: 12pt;
  375. font-weight: bold;
  376. }
  377. .colhead .sign {
  378. padding: 0px 8px 0px 8px;
  379. font-size: 12pt;
  380. font-weight: bold;
  381. }
  382. .colhead_dark {
  383. background: #E1E1E1;
  384. color: #333;
  385. }
  386. td.label {
  387. font-weight: bold;
  388. text-align: right;
  389. width: 180px;
  390. }
  391. table.slice {
  392. margin-top: -1px;
  393. }
  394. .error_message {
  395. border: 1px solid #666;
  396. padding: 3px 0px 3px 0px;
  397. background-color: #AF2525;
  398. text-align: center;
  399. color: white;
  400. font-weight: bold;
  401. }
  402. .save_message {
  403. border: 1px solid #666;
  404. padding: 3px 0px 3px 0px;
  405. background-color: #F4E649;
  406. text-align: center;
  407. color: #492802;
  408. font-weight: bold;
  409. }
  410. .elem_error {
  411. border: 3px solid #B00D0D;
  412. }
  413. .hidden {
  414. display:none;
  415. }
  416. /* Layout (home page) */
  417. ul.stats li {
  418. padding: 0px 0px 1px 0px;
  419. }
  420. ul.poll li {
  421. padding: 0px 0px 0px 10px;
  422. margin: 0px;
  423. }
  424. ul.poll li.graph {
  425. margin-bottom: 3px;
  426. padding-left: 20px;
  427. }
  428. /* Layout (Torrents page) */
  429. .show_torrents {
  430. width: 28px;
  431. height: 28px;
  432. background: url('images/show.png') no-repeat center center;
  433. }
  434. .hide_torrents {
  435. width: 28px;
  436. height: 28px;
  437. background: url('images/hide.png') no-repeat center center;
  438. }
  439. .show_torrents_link {
  440. border: none;
  441. width: 28px;
  442. height: 28px;
  443. display: block;
  444. }
  445. .filter_torrents {
  446. width:750px;
  447. margin:auto;
  448. }
  449. .filter_torrents .submit {
  450. text-align:right;
  451. padding-top:5px;
  452. }
  453. .cat_list tr td {
  454. border:none;
  455. }
  456. .torrent_table tr {
  457. vertical-align:top;
  458. }
  459. .torrent_table tr.torrent, .torrent_table tr.group {
  460. font-weight:bold;
  461. }
  462. .torrent_table tr.group {
  463. background-color:#cfcfcf;
  464. }
  465. .torrent_table tr.group_torrent {
  466. background-color:#fafafa;
  467. }
  468. .torrent_table tr.torrent {
  469. background-color:#ddd;
  470. }
  471. .torrent_table div.tags {
  472. font-weight:normal;
  473. }
  474. .torrent_table tr .center {
  475. vertical-align:middle;
  476. text-align:center;
  477. }
  478. .group_torrent span {
  479. float: right;
  480. }
  481. .torrent span {
  482. font-weight:normal;
  483. float:right;
  484. }
  485. .nobr {
  486. white-space:nowrap;
  487. }
  488. /* Layout (Forums) */
  489. .last_read {width: 15px; height: 15px; background: url(images/go_last_read.png) no-repeat center center; margin-left: 5px;}
  490. .last_read a { border: none; width: 100%; height: 100%; display: block; }
  491. .last_read a:hover { border: none; }
  492. .unread_locked_sticky{background: url(images/locked_sticky_unread.png) no-repeat center center;}
  493. .read_locked_sticky{background: url(images/locked_sticky_read.png) no-repeat center center;}
  494. .read_sticky{background: url(images/sticky_read.png) no-repeat center center;}
  495. .unread_sticky{background: url(images/sticky_unread.png) no-repeat center center;}
  496. .unread_locked{background: url(images/locked_unread.png) no-repeat center center;}
  497. .read_locked{background: url(images/locked_read.png) no-repeat center center;}
  498. .unread{background: url(images/unread.png) no-repeat center center;}
  499. .read{background: url(images/read.png) no-repeat center center;}
  500. table.forum_post {
  501. margin: 10px 0px;
  502. }
  503. table.forum_post td {
  504. border: 1px solid #666;
  505. }
  506. table.forum_unread {
  507. border: 2px solid #F0BBD6;
  508. }
  509. td.avatar {
  510. width: 150px;
  511. padding: 0px;
  512. }
  513. table.forum_post td.body {
  514. width:690px;
  515. }
  516. blockquote {
  517. margin: 10px;
  518. padding: 10px;
  519. border: 1px dashed #666;
  520. }
  521. /* Layout (Inbox) */
  522. tr.unreadpm {
  523. background-color: #ECC;
  524. }
  525. /* Layout (Permission Page) */
  526. .permission_head {
  527. width:400px;
  528. margin-left:auto;
  529. margin-right:auto;
  530. }
  531. .permissions {
  532. width:930px;
  533. margin-left:auto;
  534. margin-right:auto;
  535. }
  536. .permission_container {
  537. float:left;
  538. width:300px;
  539. padding:5px;
  540. }
  541. .permission_container input {
  542. margin:0px 3px 5px 0px;
  543. vertical-align:top;
  544. }
  545. .submit_container {
  546. clear:both;
  547. text-align:right;
  548. }
  549. /* Layout (Invite tree) */
  550. ul .invitetree {
  551. margin: 0px 0px 0px 25px;
  552. }
  553. .invitetree li {
  554. list-style: none;
  555. margin: 10px 2px;
  556. }
  557. /* Layout (MISC) */
  558. #left_poll {
  559. width: 2px;
  560. height: 9px;
  561. background: url('images/bar_left.gif') no-repeat center center;
  562. float: left;
  563. margin: 0px;
  564. padding: 0px;
  565. }
  566. #center_poll {
  567. height: 9px;
  568. background: url('images/bar.gif') repeat;
  569. float: left;
  570. margin: 0px;
  571. padding: 0px;
  572. }
  573. #right_poll {
  574. width: 2px;
  575. height: 9px;
  576. background: url('images/bar_right.gif') no-repeat center center;
  577. float: left;
  578. margin: 0px;
  579. padding: 0px;
  580. }
  581. .curtain {
  582. position: fixed;
  583. top: 0%;
  584. left: 0%;
  585. width: 100%;
  586. height: 100%;
  587. background-color: black;
  588. z-index:1001;
  589. -moz-opacity: 0.8;
  590. opacity:.80;
  591. filter: alpha(opacity=80);
  592. }
  593. .lightbox {
  594. position: fixed;
  595. text-align: center;
  596. top: 5%;
  597. left: 5%;
  598. width: 90%;
  599. height: 90%;
  600. padding: 0px;
  601. z-index:1002;
  602. overflow: auto;
  603. }