Browse Source

Various edit appompanying database surgery

pjc 5 years ago
parent
commit
eb04a5a2b4

+ 1
- 1
classes/torrent_form.class.php View File

176
             }
176
             }
177
           ?>
177
           ?>
178
           </select><br />
178
           </select><br />
179
-          What alphabet the sequence uses, n.b., plasmids fit in the Other category
179
+          What alphabet the sequence uses, unless it's images or supplemental data
180
         </td>
180
         </td>
181
       </tr>
181
       </tr>
182
     </table>
182
     </table>

+ 24
- 14
sections/rules/jump.php View File

6
       <td style="width: 150px;">Category</td>
6
       <td style="width: 150px;">Category</td>
7
       <td style="width: 400px;">Additional Information</td>
7
       <td style="width: 400px;">Additional Information</td>
8
     </tr>
8
     </tr>
9
+
9
     <tr class="row">
10
     <tr class="row">
10
       <td class="nobr">
11
       <td class="nobr">
11
-        <a href="rules.php">Golden Rules</a>
12
+        <strong><a href="rules.php?p=upload">Upload</a></strong>
12
       </td>
13
       </td>
13
       <td class="nobr">
14
       <td class="nobr">
14
-        These are the most important rules. Breaking these rules will result in the most serious consequences.
15
+      <strong>If you only read one rules page, this is the one to read</strong>
15
       </td>
16
       </td>
16
     </tr>
17
     </tr>
18
+
19
+    <!--
17
     <tr class="row">
20
     <tr class="row">
18
       <td class="nobr">
21
       <td class="nobr">
19
-        <a href="rules.php?p=ratio">Ratio</a>
22
+        <a href="rules.php">Golden Rules</a>
20
       </td>
23
       </td>
21
       <td class="nobr">
24
       <td class="nobr">
22
-        These are the rules for seeding/leeching activity on this site.
25
+        These are the most important rules. Breaking these rules will result in the most serious consequences.
23
       </td>
26
       </td>
24
     </tr>
27
     </tr>
28
+-->
29
+
25
     <tr class="row">
30
     <tr class="row">
26
       <td class="nobr">
31
       <td class="nobr">
27
-        <a href="rules.php?p=requests">Requests</a>
32
+        <strong><a href="rules.php?p=ratio">Ratio</a></strong>
28
       </td>
33
       </td>
29
       <td class="nobr">
34
       <td class="nobr">
30
-        These are the rules that govern requests.
35
+      <strong>There's really two pages: required ratio table and calculation</strong>
31
       </td>
36
       </td>
32
     </tr>
37
     </tr>
38
+
33
     <tr class="row">
39
     <tr class="row">
34
       <td class="nobr">
40
       <td class="nobr">
35
-        <a href="rules.php?p=collages">Collections</a>
41
+        <a href="rules.php?p=requests">Requests</a>
36
       </td>
42
       </td>
37
       <td class="nobr">
43
       <td class="nobr">
38
-        These are the rules that govern collections.
44
+        These are the rules that govern requests
39
       </td>
45
       </td>
40
     </tr>
46
     </tr>
47
+
41
     <tr class="row">
48
     <tr class="row">
42
       <td class="nobr">
49
       <td class="nobr">
43
-        <a href="rules.php?p=clients">Clients</a>
50
+        <a href="rules.php?p=collages">Collections</a>
44
       </td>
51
       </td>
45
       <td class="nobr">
52
       <td class="nobr">
46
-        These are the clients we allow to connect to our tracker and rules specific to them.
53
+        These are the rules that govern collections
47
       </td>
54
       </td>
48
     </tr>
55
     </tr>
56
+
49
     <tr class="row">
57
     <tr class="row">
50
       <td class="nobr">
58
       <td class="nobr">
51
-        <a href="rules.php?p=upload">Upload</a>
59
+        <a href="rules.php?p=clients">Clients</a>
52
       </td>
60
       </td>
53
       <td class="nobr">
61
       <td class="nobr">
54
-        This is the section of the rules regarding any and all content which is allowed on this site.
62
+        These are the clients we allow to connect to our tracker and rules specific to them
55
       </td>
63
       </td>
56
     </tr>
64
     </tr>
65
+
57
     <tr class="row">
66
     <tr class="row">
58
       <td class="nobr">
67
       <td class="nobr">
59
         <a href="rules.php?p=chat">Chat</a>
68
         <a href="rules.php?p=chat">Chat</a>
60
       </td>
69
       </td>
61
       <td class="nobr">
70
       <td class="nobr">
62
-        Read this before posting in our forums or talking on our IRC network.
71
+        Read this before posting in our forums or talking on our IRC network
63
       </td>
72
       </td>
64
     </tr>
73
     </tr>
74
+
65
     <tr class="row">
75
     <tr class="row">
66
       <td class="nobr">
76
       <td class="nobr">
67
         <a href="rules.php?p=tag">Tagging</a>
77
         <a href="rules.php?p=tag">Tagging</a>
68
       </td>
78
       </td>
69
       <td class="nobr">
79
       <td class="nobr">
70
-        These rules govern what tags can and cannot be added.
80
+        These rules govern what tags can and cannot be added
71
       </td>
81
       </td>
72
     </tr>
82
     </tr>
73
   </table>
83
   </table>

+ 30
- 26
sections/rules/upload.php View File

163
           <strong>Compression.</strong>
163
           <strong>Compression.</strong>
164
           "10 GiB or 10,000 files."
164
           "10 GiB or 10,000 files."
165
           Compression is required if your torrent is > 10 GiB or if it contains > 10,000 files.
165
           Compression is required if your torrent is > 10 GiB or if it contains > 10,000 files.
166
-          Otherwise, please compress text files if it reduces the torrent size by > 30%.
167
-          Never compress torrents < 2 GiB or binary files < 10 GiB. Multipart archives are only allowed for torrents > 10
168
-            GiB.
166
+          Otherwise, please compress text files only if it reduces the torrent size by > 30% and avoid compressing binary files.
167
+          Multipart archives are only allowed for torrents > 10 GiB.
169
         </li>
168
         </li>
170
 
169
 
171
         <li id="r1.10"><a href="#h1"><strong>&uarr;</strong></a> <a href="#r1.10">1.10</a>
170
         <li id="r1.10"><a href="#h1"><strong>&uarr;</strong></a> <a href="#r1.10">1.10</a>
183
           <strong>Supplemental Packs.</strong>
182
           <strong>Supplemental Packs.</strong>
184
           I strongly recommend <a href="https://semver.org/" target="_blank">Semantic Versioning</a> for your original
183
           I strongly recommend <a href="https://semver.org/" target="_blank">Semantic Versioning</a> for your original
185
           data.
184
           data.
186
-          Supplemental packs may include a collection of documents, utilities, protocols, metadata, etc., specifically
187
-          prepared for release.
185
+          Supplemental packs may include a collection of citations, documents, utilities, protocols, metadata, disk images, etc., specifically prepared for release.
188
           The collection should be a separate torrent if the collection constitutes a project in its own right.
186
           The collection should be a separate torrent if the collection constitutes a project in its own right.
189
-          But if you have, e.g., 100 MiB of XML and no other metadata for 5 GB of photos, please include it in the main
190
-          torrent.
187
+          If you only have metadata generated in the data processing workflow, please include it in the main torrent.
191
         </li>
188
         </li>
192
       </ul>
189
       </ul>
193
     </div>
190
     </div>
197
       <ul>
194
       <ul>
198
         <li id="r2.1"><a href="#h2"><strong>&uarr;</strong></a> <a href="#r2.1">2.1</a>
195
         <li id="r2.1"><a href="#h2"><strong>&uarr;</strong></a> <a href="#r2.1">2.1</a>
199
           <strong>Multiple Formats Allowed.</strong>
196
           <strong>Multiple Formats Allowed.</strong>
200
-          It's fine if there's an EMBL and a FASTA of the same data. If you need to convert a dataset for your analysis,
197
+          It's fine if there's an EMBL and a FASTA of the same data. If you need to convert a dataset for your own analysis,
201
           please upload a quality conversion with supplemetal info.
198
           please upload a quality conversion with supplemetal info.
202
           Remember that small, one-shot metadata are better included with the data, and collections of docs and utils
199
           Remember that small, one-shot metadata are better included with the data, and collections of docs and utils
203
           are better separate from it.
200
           are better separate from it.
213
           Please add a link in the old data's Torrent Group Description to the new data.
210
           Please add a link in the old data's Torrent Group Description to the new data.
214
           Git repos can be trumped at the commit and patch levels.
211
           Git repos can be trumped at the commit and patch levels.
215
           Then normal SemVer rules take effect for properly tagged releases.
212
           Then normal SemVer rules take effect for properly tagged releases.
213
+          In an ideal world, only releases tagged with a specific version number would be allowed because this is BitTorrent's main strength.
216
         </li>
214
         </li>
217
 
215
 
218
         <li id="r2.3"><a href="#h2"><strong>&uarr;</strong></a> <a href="#r2.3">2.3</a>
216
         <li id="r2.3"><a href="#h2"><strong>&uarr;</strong></a> <a href="#r2.3">2.3</a>
225
         </li>
223
         </li>
226
 
224
 
227
         <li id="r2.4"><a href="#h2"><strong>&uarr;</strong></a> <a href="#r2.4">2.4</a>
225
         <li id="r2.4"><a href="#h2"><strong>&uarr;</strong></a> <a href="#r2.4">2.4</a>
228
-          <strong>Two Weeks Unseeded.</strong>
229
-          If you have the original torrent files for the inactive torrent, reseed those original files instead of
230
-          uploading a new torrent.
231
-          Uploading a replacement torrent should be done only when the original files are unavailable.
226
+          <strong>One Month Unseeded.</strong>
227
+          Please try requesting a reseed before anything.
228
+          This sends a mass PM to all snatchers asking them to resume seeding the files.
229
+          If you have the original torrent files for the inactive torrent, reseed those instead of uploading a new torrent. 
230
+          Uploading a replacement torrent should be done only when the original files are unavailable and/or the torrent hasn't been seeded for a month.
231
+          The site automatically deletes dead torrents after 6 months.
232
         </li>
232
         </li>
233
 
233
 
234
         <li id="r2.5"><a href="#h2"><strong>&uarr;</strong></a> <a href="#r2.5">2.5</a>
234
         <li id="r2.5"><a href="#h2"><strong>&uarr;</strong></a> <a href="#r2.5">2.5</a>
245
           Add the announce URL as the only item on the tracker list and click the checkbox marked private.
245
           Add the announce URL as the only item on the tracker list and click the checkbox marked private.
246
           Please don't share <code>.torrent</code> files because they have your passkey embedded in them.
246
           Please don't share <code>.torrent</code> files because they have your passkey embedded in them.
247
           This passkey lets the tracker know who's uploading and downloading, and leaking it will nuke your ratio.
247
           This passkey lets the tracker know who's uploading and downloading, and leaking it will nuke your ratio.
248
+          It's okay to share the files themselves any way you see fit.
249
+          Automatic mirroring to OpenBitTorrent is in development.
248
           <br /><br />
250
           <br /><br />
249
         </li>
251
         </li>
250
 
252
 
253
           The categories loosely follow the central dogma.
255
           The categories loosely follow the central dogma.
254
           It depends on what alphabet the sequence uses, e.g., ACGT vs. ACGU.
256
           It depends on what alphabet the sequence uses, e.g., ACGT vs. ACGU.
255
           All medical imaging data goes in the Imaging category.
257
           All medical imaging data goes in the Imaging category.
256
-          All extra documentation, custom scripts, etc., goes in Documents.
257
-          Plasmids and things that don't quite fit go in Other.
258
+          <!-- All extra documentation, custom scripts, etc., goes in Documents. -->
259
+          Toolkits and other things that aren't strictly biology data go in Extras.
258
           <br /><br />
260
           <br /><br />
259
         </li>
261
         </li>
260
 
262
 
261
         <li id="r3.3"><a href="#h3"><strong>&uarr;</strong></a> <a href="#r3.3">3.3</a>
263
         <li id="r3.3"><a href="#h3"><strong>&uarr;</strong></a> <a href="#r3.3">3.3</a>
262
           <strong>Accession Number.</strong>
264
           <strong>Accession Number.</strong>
263
-          Please add accession numbers when the data source issued them.
264
-          The number can be any format but it must correspond to the actual torrent data.
265
+          Please add accession numbers if they come with the data or if you acquired them for your own data.
266
+          The number can be any format but it must correspond to the actual nucleotide or amino acid sequences represented on disk.
265
           Don't add accession numbers just because the metadata matches.
267
           Don't add accession numbers just because the metadata matches.
266
           RefSeq and UniProt integration is in development.
268
           RefSeq and UniProt integration is in development.
267
           <br /><br />
269
           <br /><br />
269
 
271
 
270
         <li id="r3.4"><a href="#h3"><strong>&uarr;</strong></a> <a href="#r3.4">3.4</a>
272
         <li id="r3.4"><a href="#h3"><strong>&uarr;</strong></a> <a href="#r3.4">3.4</a>
271
           <strong>Torrent Title.</strong>
273
           <strong>Torrent Title.</strong>
272
-          A short description of the torrent contents.
274
+          A short description of the torrent contents such as a FASTA definition line.
273
           It doesn't need to match the folders but it should tell you what the data is at a glance.
275
           It doesn't need to match the folders but it should tell you what the data is at a glance.
274
           Please avoid adding other metadata such as Strain, Platform, etc., with a dedicated field.
276
           Please avoid adding other metadata such as Strain, Platform, etc., with a dedicated field.
275
           <br /><br />
277
           <br /><br />
278
         <li id="r3.5"><a href="#h3"><strong>&uarr;</strong></a> <a href="#r3.5">3.5</a>
280
         <li id="r3.5"><a href="#h3"><strong>&uarr;</strong></a> <a href="#r3.5">3.5</a>
279
           <strong>Organism.</strong>
281
           <strong>Organism.</strong>
280
           The relevant organism's binomial name and optional subspecies.
282
           The relevant organism's binomial name and optional subspecies.
281
-          Please use <em>Genus species subspecies</em> and no terms such as var. and subsp.
282
-          Multiple organisms and a FASTA/GenBank parser are both in development.
283
+          Please use <em>Genus species subspecies</em> and not terms such as var. and subsp.
284
+          Multiple organisms and a way to autofill from FASTA/GenBank headers are both in development.
283
           <br /><br />
285
           <br /><br />
284
         </li>
286
         </li>
285
 
287
 
286
         <li id="r3.6"><a href="#h3"><strong>&uarr;</strong></a> <a href="#r3.6">3.6</a>
288
         <li id="r3.6"><a href="#h3"><strong>&uarr;</strong></a> <a href="#r3.6">3.6</a>
287
           <strong>Strain/Variety.</strong>
289
           <strong>Strain/Variety.</strong>
288
           The strain's name if known.
290
           The strain's name if known.
289
-          This should correspond to a specific cell line or breed.
291
+          This should correspond to a specific cell line, cultivar, or breed.
292
+          If the species is <em>H. sapiens</em> and the subject's race is known and relevant, e.g., as in a torrent of gene sequences related to sickle cell anemia, please add it here.
290
           Otherwise, please omit it.
293
           Otherwise, please omit it.
294
+          Do not put any identifying patient data here or anywhere else.
291
           <br /><br />
295
           <br /><br />
292
         </li>
296
         </li>
293
 
297
 
294
         <li id="r3.7"><a href="#h3"><strong>&uarr;</strong></a> <a href="#r3.7">3.7</a>
298
         <li id="r3.7"><a href="#h3"><strong>&uarr;</strong></a> <a href="#r3.7">3.7</a>
295
           <strong>Authors(s).</strong>
299
           <strong>Authors(s).</strong>
296
-          The Author field should contain only the author name.
300
+          The Author field should contain only the author name and no titles.
297
           The upload form supports multiple authors.
301
           The upload form supports multiple authors.
298
           Do a search before uploading to get their names right.
302
           Do a search before uploading to get their names right.
299
           Consistent author naming makes browsing easier because it groups torrents on a common page.
303
           Consistent author naming makes browsing easier because it groups torrents on a common page.
348
             href="forums.php?action=viewforum&forumid=<?= SUGGESTIONS_FORUM_ID ?>">Please
352
             href="forums.php?action=viewforum&forumid=<?= SUGGESTIONS_FORUM_ID ?>">Please
349
             post in the suggestions forum</a>
353
             post in the suggestions forum</a>
350
           if you'd like to request a new format.
354
           if you'd like to request a new format.
351
-          Note that the formats change for the Imaging category.
355
+          Note that the formats change for the Protein and Imaging categories.
352
           A file extension parser is in development.
356
           A file extension parser is in development.
353
           <br /><br />
357
           <br /><br />
354
         </li>
358
         </li>
360
           The options correspond in higher conceptual language to:
364
           The options correspond in higher conceptual language to:
361
           a single piece of information, structural information, especially deep or broad information, and an exhaustive
365
           a single piece of information, structural information, especially deep or broad information, and an exhaustive
362
           source.
366
           source.
363
-          Please use the Other option if you'd like to enter a resolution such as "420 subjects."
367
+          Please use the Other option if you'd like to enter a specific resolution such as "420 subjects from Boston."
364
           <br /><br />
368
           <br /><br />
365
         </li>
369
         </li>
366
 
370
 
397
           DOI numbers should be well-formed, one per line.
401
           DOI numbers should be well-formed, one per line.
398
           The system currently discards malformed DOI numbers instead of extracting them from arbitrary strings.
402
           The system currently discards malformed DOI numbers instead of extracting them from arbitrary strings.
399
           An auto-extract feature is in development.
403
           An auto-extract feature is in development.
400
-          If your research is a URI, please use the Torrent Group Description field.
404
+          If your research is a URI, please use the Torrent Group Description field for now.
401
           <br /><br />
405
           <br /><br />
402
         </li>
406
         </li>
403
 
407
 
413
           <strong>Torrent Description.</strong>
417
           <strong>Torrent Description.</strong>
414
           Specific info about the protocols and equipment relevant to <em>this</em> data.
418
           Specific info about the protocols and equipment relevant to <em>this</em> data.
415
           This text is hidden by default.
419
           This text is hidden by default.
416
-          It displays when you click the Torrent Title next to [ DL | ... | PL ].
420
+          It displays when you click the Torrent Title next to [ DL | PL ].
417
           Please discuss materials and methods here.
421
           Please discuss materials and methods here.
418
           <br /><br />
422
           <br /><br />
419
         </li>
423
         </li>
420
 
424
 
421
         <li id="r3.20"><a href="#h3"><strong>&uarr;</strong></a> <a href="#r3.20">3.20</a>
425
         <li id="r3.20"><a href="#h3"><strong>&uarr;</strong></a> <a href="#r3.20">3.20</a>
422
           <strong>Aligned Sequence.</strong>
426
           <strong>Aligned Sequence.</strong>
423
-          Does the data come with any metadata of an analytical nature, such as alignment data (mandatory)?
427
+          Does the data come with any metadata of an analytical nature, such as alignment data (mandatory if checked)?
424
           If so, does the torrent folder contain the scripts used to generate the metadata (optional)?
428
           If so, does the torrent folder contain the scripts used to generate the metadata (optional)?
425
           <br /><br />
429
           <br /><br />
426
         </li>
430
         </li>

+ 1
- 1
sections/schedule/daily/delete_dead_torrents.php View File

13
   FROM torrents AS t
13
   FROM torrents AS t
14
     JOIN torrents_group AS tg ON tg.ID = t.GroupID
14
     JOIN torrents_group AS tg ON tg.ID = t.GroupID
15
   WHERE
15
   WHERE
16
-    (t.last_action < (NOW() - INTERVAL 28 DAY) AND t.last_action IS NOT NULL)
16
+    (t.last_action < (NOW() - INTERVAL 180 DAY) AND t.last_action IS NOT NULL)
17
     OR
17
     OR
18
     (t.Time < (NOW() - INTERVAL 2 DAY) AND t.last_action IS NULL)");
18
     (t.Time < (NOW() - INTERVAL 2 DAY) AND t.last_action IS NULL)");
19
 $Torrents = $DB->to_array(false, MYSQLI_NUM, false);
19
 $Torrents = $DB->to_array(false, MYSQLI_NUM, false);

+ 6
- 4
sections/torrents/browse.php View File

222
 
222
 
223
             <select id="container" name="container" class="ft_container fti_advanced">
223
             <select id="container" name="container" class="ft_container fti_advanced">
224
               <option value="">Seq Format</option>
224
               <option value="">Seq Format</option>
225
-  <?php  foreach ($Containers as $Container) { ?>
226
-              <option value="<?=display_str($Container);?>" <?Format::selected('container', $Container)?>><?=display_str($Container);?></option>
225
+  <?php  foreach ($Containers as $Key => $Container) { ?>
226
+              <option value="<?=display_str($Key);?>" <?Format::selected('container', $Key)?>><?=display_str($Key);?></option>
227
+  <?php  } foreach ($ContainersProt as $Key => $ContainerProt) { ?>
228
+  <option value="<?=display_str($Key);?>" <?Format::selected('container', $Key)?>><?=display_str($Key);?></option>
227
   <?php  } ?>
229
   <?php  } ?>
228
             </select>
230
             </select>
229
 
231
 
236
 
238
 
237
             <select id="container" name="container" class="ft_container fti_advanced">
239
             <select id="container" name="container" class="ft_container fti_advanced">
238
               <option value="">Img Format</option>
240
               <option value="">Img Format</option>
239
-  <?php  foreach ($ContainersGames as $Container) { ?>
240
-              <option value="<?=display_str($Container);?>" <?Format::selected('container', $Container)?>><?=display_str($Container);?></option>
241
+  <?php  foreach ($ContainersGames as $Key => $Container) { ?>
242
+              <option value="<?=display_str($Key);?>" <?Format::selected('container', $Key)?>><?=display_str($Key);?></option>
241
   <?php  } ?>
243
   <?php  } ?>
242
             </select>
244
             </select>
243
 
245
 

BIN
static/common/bioicons/dna.png View File


BIN
static/common/bioicons/extras.png View File


BIN
static/common/bioicons/imaging.png View File


static/common/bioicons/other.png → static/common/bioicons/plasmid.png View File


BIN
static/common/bioicons/protein.png View File


static/common/logo-bw.png → static/common/logo.black.png View File


BIN
static/common/logo.png View File


BIN
static/common/logo.purple.png View File


+ 20
- 14
static/styles/beluga/style.css View File

18
   padding: 0
18
   padding: 0
19
 }
19
 }
20
 
20
 
21
-.cats_dna, .cats_rna, .cats_protein, .cats_imaging, .cats_other {
21
+.cats_dna, .cats_rna, .cats_protein, .cats_imaging, .cats_extras {
22
   /* width: 36px!important; */
22
   /* width: 36px!important; */
23
   height: 36px!important;
23
   height: 36px!important;
24
   line-height: 36px;
24
   line-height: 36px;
25
 }
25
 }
26
 .group .cats_dna:after, .group .cats_rna:after, .group .cats_protein:after,
26
 .group .cats_dna:after, .group .cats_rna:after, .group .cats_protein:after,
27
-.group .cats_imaging:after, .group .cats_other:after {
27
+.group .cats_imaging:after, .group .cats_extras:after {
28
   color: black!important;
28
   color: black!important;
29
 }
29
 }
30
 
30
 
64
 }
64
 }
65
 .group .cats_imaging { background-color: #4DC593; }
65
 .group .cats_imaging { background-color: #4DC593; }
66
 
66
 
67
-/* Other */
68
-.cats_other:after {
69
-  content: "MISC";
67
+/* Extras */
68
+.cats_extras:after {
69
+  content: "XTRA";
70
   color: #77C5D4;
70
   color: #77C5D4;
71
   font-size: 18px;
71
   font-size: 18px;
72
   letter-spacing: -2px;
72
   letter-spacing: -2px;
73
 }
73
 }
74
-.group .cats_other { background-color: #77C5D4; }
74
+.group .cats_extras { background-color: #77C5D4; }
75
 
75
 
76
 /* Unused
76
 /* Unused
77
 .cats_unused:after {
77
 .cats_unused:after {
2121
 body.style_pink h1 a, body.style_pink h2 a, body.style_pink h3 a, body.style_pink h4 a, body.style_pink h5 a, body.style_pink h6 a {
2121
 body.style_pink h1 a, body.style_pink h2 a, body.style_pink h3 a, body.style_pink h4 a, body.style_pink h5 a, body.style_pink h6 a {
2122
   color: #df7cc2;
2122
   color: #df7cc2;
2123
 }
2123
 }
2124
+
2124
 body.style_pink .cats_dna:after { color: #78467f; }
2125
 body.style_pink .cats_dna:after { color: #78467f; }
2125
 body.style_pink .group .cats_dna { background-color: #78467f; }
2126
 body.style_pink .group .cats_dna { background-color: #78467f; }
2126
-body.style_pink .cats_mrna:after { color: #4f3063; }
2127
-body.style_pink .group .cats_mrna { background-color: #4f3063; }
2128
-body.style_pink .cats_rrna:after { color: #9f5c9c; }
2129
-body.style_pink .group .cats_rrna { background-color: #9f5c9c; }
2130
-body.style_pink .cats_trna:after { color: #c871b9; }
2131
-body.style_pink .group .cats_trna { background-color: #c871b9; }
2132
-body.style_pink .cats_other:after { color: #ef86d5; }
2133
-body.style_pink .group .cats_other { background-color: #ef86d5; }
2127
+
2128
+body.style_pink .cats_rna:after { color: #4f3063; }
2129
+body.style_pink .group .cats_rna { background-color: #4f3063; }
2130
+
2131
+body.style_pink .cats_protein:after { color: #9f5c9c; }
2132
+body.style_pink .group .cats_protein { background-color: #9f5c9c; }
2133
+
2134
+body.style_pink .cats_imaging:after { color: #c871b9; }
2135
+body.style_pink .group .cats_imaging { background-color: #c871b9; }
2136
+
2137
+body.style_pink .cats_extras:after { color: #ef86d5; }
2138
+body.style_pink .group .cats_extras { background-color: #ef86d5; }
2139
+
2134
 body.style_pink a:hover, body.style_pink .torrent_table .group a:hover { color: #db7bc7; }
2140
 body.style_pink a:hover, body.style_pink .torrent_table .group a:hover { color: #db7bc7; }
2135
 body.style_pink ::selection,
2141
 body.style_pink ::selection,
2136
 body.style_pink ::-moz-selection {
2142
 body.style_pink ::-moz-selection {

+ 7
- 7
static/styles/oppai/style.css View File

9
 .cats_rna { width: 36px; height: 36px; background: url('/static/common/bioicons/rna.png') no-repeat center center; }
9
 .cats_rna { width: 36px; height: 36px; background: url('/static/common/bioicons/rna.png') no-repeat center center; }
10
 .cats_protein { width: 36px; height: 36px; background: url('/static/common/bioicons/protein.png') no-repeat center center; }
10
 .cats_protein { width: 36px; height: 36px; background: url('/static/common/bioicons/protein.png') no-repeat center center; }
11
 .cats_imaging { width: 36px; height: 36px; background: url('/static/common/bioicons/imaging.png') no-repeat center center; }
11
 .cats_imaging { width: 36px; height: 36px; background: url('/static/common/bioicons/imaging.png') no-repeat center center; }
12
-.cats_other { width: 36px; height: 36px; background: url('/static/common/bioicons/other.png') no-repeat center center; }
12
+.cats_extras { width: 36px; height: 36px; background: url('/static/common/bioicons/extras.png') no-repeat center center; }
13
 
13
 
14
 
14
 
15
 /* Global */
15
 /* Global */
55
 }
55
 }
56
 
56
 
57
 button, input[type=button], input[type=submit] {
57
 button, input[type=button], input[type=submit] {
58
-  background: #fff9c7;
58
+  background: #fbe180;
59
   box-shadow: 2px 2px 10px -5px gray;
59
   box-shadow: 2px 2px 10px -5px gray;
60
 }
60
 }
61
 button:hover, input[type=button]:hover, input[type=submit]:hover {
61
 button:hover, input[type=button]:hover, input[type=submit]:hover {
62
-  background: #fbe180;
62
+  background: #fff9c7;
63
 }
63
 }
64
 button:focus, input[type=button]:focus, input[type=submit]:focus {
64
 button:focus, input[type=button]:focus, input[type=submit]:focus {
65
-  background: #fbe180;
65
+  background: #fff9c7;
66
 }
66
 }
67
 
67
 
68
 .spoilerButton {
68
 .spoilerButton {
157
 #logo {
157
 #logo {
158
   width: 250px;
158
   width: 250px;
159
   height: 50px;
159
   height: 50px;
160
-  background: url('/static/common/logo-bw.png') no-repeat center center;
160
+  background: url('/static/common/logo.black.png') no-repeat center center;
161
   margin: 0 0 0 10%;
161
   margin: 0 0 0 10%;
162
 }
162
 }
163
 
163
 
787
 .read_locked{background: url(images/locked_read.png) no-repeat center center;}
787
 .read_locked{background: url(images/locked_read.png) no-repeat center center;}
788
 .unread{background: url(images/unread.png) no-repeat center center;}
788
 .unread{background: url(images/unread.png) no-repeat center center;}
789
 .read{background: url(images/read.png) no-repeat center center;}
789
 .read{background: url(images/read.png) no-repeat center center;}
790
-strong.quoteheader {color: #000;}
790
+strong.quoteheader {color: black;}
791
 
791
 
792
 tr.row:nth-of-type(odd) {
792
 tr.row:nth-of-type(odd) {
793
   background-color: white;
793
   background-color: white;
803
 }
803
 }
804
 
804
 
805
 table.forum_unread {
805
 table.forum_unread {
806
-  border: 2px solid #F0BBD6;
806
+  border: 2px solid red;
807
 }
807
 }
808
 
808
 
809
 td.avatar {
809
 td.avatar {

+ 5
- 5
static/styles/public/style.css View File

28
 }
28
 }
29
 
29
 
30
 a {
30
 a {
31
-  color: white;
31
+  color: #016670;
32
   text-decoration: none;
32
   text-decoration: none;
33
 }
33
 }
34
 
34
 
35
 a:hover {
35
 a:hover {
36
-  color:white;
36
+  color: black;
37
   text-decoration: underline;
37
   text-decoration: underline;
38
 }
38
 }
39
 
39
 
65
 
65
 
66
 #loginform input[type="submit"], #recoverform input[type="submit"] {
66
 #loginform input[type="submit"], #recoverform input[type="submit"] {
67
   width: 100%;
67
   width: 100%;
68
-  background-color: #fff9c7;
68
+  background-color: #fbe180;
69
   font: 500 14px/29px Helvetica, Arial, sans-serif;
69
   font: 500 14px/29px Helvetica, Arial, sans-serif;
70
   border: none;
70
   border: none;
71
   border-radius: 0 0 5px 5px;
71
   border-radius: 0 0 5px 5px;
72
   cursor: pointer;
72
   cursor: pointer;
73
 }
73
 }
74
 #loginform input[type="submit"]:hover, #recoverform input[type="submit"]:hover {
74
 #loginform input[type="submit"]:hover, #recoverform input[type="submit"]:hover {
75
-  background-color: #fbe180;
75
+  background-color: #fff9c7;
76
 }
76
 }
77
 
77
 
78
 #recoverform .layout td:first-child {
78
 #recoverform .layout td:first-child {
134
 #logo {
134
 #logo {
135
   width: 250px;
135
   width: 250px;
136
   height: 50px;
136
   height: 50px;
137
-  background-image: url('/static/common/logo-bw.png');
137
+  background-image: url('/static/common/logo.black.png');
138
   background-repeat: no-repeat;
138
   background-repeat: no-repeat;
139
   background-position: center;
139
   background-position: center;
140
   background-size: contain;
140
   background-size: contain;

Loading…
Cancel
Save