Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Fix mobile support by showing comments on mobile view, also vertical align DL icons

Cette révision appartient à :
kipukun 2017-06-05 15:11:28 -04:00
Parent c2d8b54554
révision 5316b0474c
5 fichiers modifiés avec 9 ajouts et 14 suppressions

Voir le fichier

@ -4,6 +4,7 @@
display: inline-block;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAbFBMVEUAAAA2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWsVx+37AAAAI3RSTlMAAQIDBQgKDhItLklOT1JdY2Z4e3x/kZiwx8jX5unt7/f7/b5l+wAAAABrSURBVBhXhY7JEgFBFARTa4ydwbONNf//H116Ilo4qFNWHiqKTn0ngEKqZqCn/+KsdgOgou9sImIPwDYidvxu3FQnQFI1cVI9jsit6h1W1jlAftaiAaZVXwIwe5T6mpcreXFRr+tx/W/YwwejJxM5Y6lK9QAAAABJRU5ErkJggg==');
background-size: 13px;
vertical-align: middle;
height: 13px;
width: 13px;
}
@ -11,6 +12,7 @@
display: inline-block;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAV1BMVEUAAAA2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWudYQmEAAAAHHRSTlMAAQIDBAYIDCAxO0pNYmN3ibS3urzBxcfM6+35eVmfrAAAAGZJREFUGFeNzkkOgCAMQNG2WnEecNbe/5wiRYM7f0iAF9IAozwdFdyJmdwloUTyufXA1oE/pEvzBUjX+guQnej2XmfupOoW+xBeiFJA0jBA935tULBleGEkQBEG8E/YJO4gQI4juAC37QvMhMtgFAAAAABJRU5ErkJggg==');
background-size: 13px;
vertical-align: middle;
height: 13px;
width: 13px;
}

Voir le fichier

@ -78,6 +78,7 @@ td.tr-le, .error-text { color: #E84C4C; }
display: inline-block;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAMAAABFNRROAAAARVBMVEUAAABnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2c4YLl1AAAAFnRSTlMAAQIFEBFDREZYWa3Bw9na3N7i5vf535CH5gAAAE5JREFUCFtVjTsWgCAQxAL4RxFB5/5HtUBE0+SlmF2itAMUSxJU/+uQIjR/+V+52u6ETdJkzChphUUvM7hUIzmgCyVCD4AdfM5+sO3Pww3AEwdA+ylEXQAAAABJRU5ErkJggg==');
background-size: 13px;
vertical-align: middle;
height: 13px;
width: 13px;
}
@ -85,6 +86,7 @@ td.tr-le, .error-text { color: #E84C4C; }
display: inline-block;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANBAMAAACAxflPAAAAG1BMVEUAAABnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2eKp/RtAAAACHRSTlMADA8SFLTA01I9jMYAAAA5SURBVAgdY4jo6OhIZmBgaOho4FB3gNCMxRCaQQ1IR3S0MnAAaaAaFBqosRUkDpTgwEKDzAXqhAEAilwTpKgo3zMAAAAASUVORK5CYII=');
background-size: 13px;
vertical-align: middle;
height: 13px;
width: 13px;
}

Voir le fichier

@ -560,17 +560,6 @@ div.profile-content.box > nav > ul > li, nav.adminNav > ul > li {
border-right-width: 1px;
}
.comment-icon {
width: 20px;
height: 20px;
display: inline-block;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAeCAYAAABNChwpAAAAAXNSR0IArs4c6QAAAARnQU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D7JarRfxJH+m6i5Is6txGRe9JY9QyrIer7vBjGSTo3DvDvSHYseXm5ub80n0D/jlDLKiWXQ6QSIuTLlUSsbq1E1EQ0NDalpa2mt8O1wmkRgYYMULudra2ppKoiMDWVBVfHy8ZOj/C1wzE5fyA5KVG3iqo0kcEHC3CKzYhNQ8j6XoKSkp6/jYkVGzNKwzjsSJ5/onMtm7/f39F6jJJ9hZ473PTUhIWMOX1S3EmpfQ9Q3lrUKheEDdDgZfNSFwGTNL2WHIE6xEB7HIG9jlRdoty8zM7EPfZzjrLaR6CzBCS13Y11YUDJhITk7+7e2yS4LnUwPFD3E0G5joK1x3VSaTrUL2A5Nu4HcBsiH6lPPmstQmCH8A1v3Sgmh4wg0AAAAASUVORK5CYII=');
background-repeat: no-repeat;
background-size: 20px 20px;
font-size: 0.8em;
line-height: 20px;
}
/* Filelist */
.filelist-control {
cursor: pointer;

Voir le fichier

@ -96,6 +96,7 @@ td.tr-le, .error-text { color: #cc6666; }
display: inline-block;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAbFBMVEUAAAA2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWsVx+37AAAAI3RSTlMAAQIDBQgKDhItLklOT1JdY2Z4e3x/kZiwx8jX5unt7/f7/b5l+wAAAABrSURBVBhXhY7JEgFBFARTa4ydwbONNf//H116Ilo4qFNWHiqKTn0ngEKqZqCn/+KsdgOgou9sImIPwDYidvxu3FQnQFI1cVI9jsit6h1W1jlAftaiAaZVXwIwe5T6mpcreXFRr+tx/W/YwwejJxM5Y6lK9QAAAABJRU5ErkJggg==');
background-size: 13px;
vertical-align: middle;
height: 13px;
width: 13px;
}
@ -103,6 +104,7 @@ td.tr-le, .error-text { color: #cc6666; }
display: inline-block;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAV1BMVEUAAAA2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWs2iWudYQmEAAAAHHRSTlMAAQIDBAYIDCAxO0pNYmN3ibS3urzBxcfM6+35eVmfrAAAAGZJREFUGFeNzkkOgCAMQNG2WnEecNbe/5wiRYM7f0iAF9IAozwdFdyJmdwloUTyufXA1oE/pEvzBUjX+guQnej2XmfupOoW+xBeiFJA0jBA935tULBleGEkQBEG8E/YJO4gQI4juAC37QvMhMtgFAAAAABJRU5ErkJggg==');
background-size: 13px;
vertical-align: middle;
height: 13px;
width: 13px;
}

Voir le fichier

@ -41,7 +41,7 @@ Your browser does not support the audio element.
<th class="tr-date hide-xs"><a href="{{ genSearchWithOrdering .URL "2" }}">{{call $.T "date"}}<span class="sort-arrows">{{ genSortArrows .URL "2" }}</span></a></th>
</tr>
</thead>
<tbody id="torrentListResults">
<tbody>
{{ range .Models}}
<tr id="torrent_{{ .ID }}" class="torrent-info
{{if eq .Status 2}}remake{{end}}
@ -66,9 +66,9 @@ Your browser does not support the audio element.
{{.Name}}
</a>
</td>
<td class="tr-cs home-td hide-xs">
<td class="tr-cs home-td">
{{ if gt (len .Comments) 0 }}
<i class="comment-icon" title="{{ call $.T "comments" }}">{{len .Comments}}</i>
<span>{{len .Comments}}</span>
{{end}}
</td>
<td class="tr-links home-td">