Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/public/css/g.css
kilo 5a184bfb50 "Alternating Colors" option in settings (#1440)
* Non-bold torrent name when using alternating background colors

* Add alternating colors for g.css

* Add alternating colors for classic.css

* Add alternating colors for tomorreuw

* Update classic.css

* Add alternating colors to settings page

* Add alt-colors class to tbody if enabled

* Add GetAltColorsFromRequest() function to get AltColors cookie value

* Create AltColors variable for usage in listing

* Make settings handle altColors input

* Add AltColors in user struct

* Returned the wrong variable here

* Turn function return value into bool

* Condition checks variable like a bool

* ditto

* better color for g.css

* even better color

* better

* Last change for g.css

* Improvement for tomorrow

* Update classic.css

* add alt-colors class to upload preview

* Add alt-colors to user profile

* more vivid color for g

* Fix typo

* Remove browser outline for refine when clicked on

* remove browser outline

* Fix rules that didn't apply and category icon being way too small on user profile thanks to usage of percentage

* Remove show-xs class for search inputs

* Turn refine button back into position: absolute to pin at very bottom of refine

* Alternating colors for g's trusted, remake & aplus

* Update tomorrow.css

* attempt at fixing travis

* test (will have to rollback that change)

* rollback

* will have to rollback

* will have to rollback

* will have to rollback

* will have to rollback

* add AltColors variable to template test

* rollback

* rollback

* rollback

* rollback
2017-08-30 15:21:45 +10:00

211 lignes
3,9 Kio
CSS

body {
color: #373737;
background: url('theme_g_anon/bg-body.png');
}
.header, .user-menu {
box-shadow: 1px 3px 4px hsla(200, 20%, 20%, 0.15)
}
.box, .pagination li {
box-shadow: 1px 3px 4px hsla(270, 20%, 20%, 0.15)
}
#mascot {
background-image: url('/img/renchon.svg');
}
a {
color: #676767;
}
a:hover {
color: #444;
}
.header {
background: #bfe3f3 url('theme_g_anon/bg-header-tile.png') repeat-x;
border-color: #1d6d90;
}
.header .nav-btn {
color: #1d6d90;
}
.header .nav-btn:hover {
color: #2586B0;
}
.box, .pagination li {
background: hsla(198, 63%, 97%, 0.85);
border-color: #cbbdd7 !important;
}
.form-input {
border-color: #c4c4c4 !important;
background: #fff;
color: #676767;
}
.form-input.refine {
background: #73afe2;
border-color: #6eb9d6!important;
color: white;
}
.header .h-user .user-avatar {
background: #99BFD0;
border-color: #a3c7d3;
}
.sukebei .header .h-user .user-avatar {
background: #bf99d0;
border-color: #d3a3d1;
}
.header .h-user .user-menu {
background: #BDE0EF;
background: -moz-linear-gradient(top, #BDE0EF 0%, #ABCFDF 100%);
background: -webkit-linear-gradient(top, #BDE0EF 0%, #ABCFDF 100%);
background: linear-gradient(to bottom, #BDE0EF 0%, #ABCFDF 100%);
border-color: #1d6d90;
}
.header .h-user button:focus {
background-color: rgba(0, 100, 200, 0.15);
}
table thead {
background: #dcccea !important;
/* Old browsers */
background: -moz-linear-gradient(top, #dcccea 0%, #d7c6e7 100%) !important;
background: -webkit-linear-gradient(top, #dcccea 0%, #d7c6e7 100%) !important;
background: linear-gradient(to bottom, #dcccea 0%, #d7c6e7 100%) !important;
}
th {
color: #9b85ae;
}
th a {
color: #7A5C94;
}
th {
border-color: #cbbdd7 !important;
}
td {
border-color: #e6eff4 !important;
}
td.tr-se, .success-text {
color: #22A243;
}
td.tr-le, .error-text {
color: #E84C4C;
}
.btn-red {
background-color: #E84C4C;
color: #E8E8E8!important;
}
.btn-red:hover {
color: #E8E8E8;
}
.alt-colors tr:nth-child(odd) {
background: hsla(288, 39%, 83%, 0.2);
}
.alt-colors tr:nth-child(even).aplus {
background: hsla(200, 90%, 56%, 0.2) !important;
}
.alt-colors tr:nth-child(even).trusted {
background: hsla(100, 100%, 63%, 0.2) !important;
}
.alt-colors tr:nth-child(even).remake {
background: hsla(30, 100%, 62%, 0.2) !important;
.aplus, .btn-blue {
background: hsla(200, 100%, 50%, 0.2) !important;
}
.trusted, .btn-green {
background: hsla(100, 100%, 50%, 0.2) !important;
}
.remake, .btn-orange {
background: hsla(30, 100%, 50%, 0.2) !important;
}
.pagination .active {
background: #cbbdd7;
color: #444;
}
.pagination .disabled {
color: #cbbdd7;
cursor: unset;
}
.torrent-info-box>p>a, .torrent-info-box>div>a, #description-box a {
color: #1fa4d0;
}
.torrent-info-box>p>a:hover, .torrent-info-box>div>a:hover, #description-box a:hover {
color: #1fa4d0;
}
.sukebei {
color: #373737;
}
.sukebei .header {
background-image: url('theme_g_anon/s_bg-header-tile.png');
border-color: #C48CBE;
}
.sukebei .header .nav-btn {
color: #C48CBE;
}
.sukebei .header .nav-btn:hover {
color: #AD6CA6;
}
.sukebei a {
color: #676767;
}
.sukebei a:hover {
color: #444;
}
.sukebei th {
color: #9b85ae;
}
.sukebei th a {
color: #7A5C94;
}
.sukebei tr:nth-child(2n+1) {
background: hsla(330, 100%, 91%, 0.2);
}
.sukebei .header .h-user button:focus {
background-color: rgba(150, 100, 255, 0.16);
}
.sukebei .header .h-user .user-menu {
background: #EFDCF0;
background: -moz-linear-gradient(top, #EFDCF0 0%, #EBCFEC 100%);
background: -webkit-linear-gradient(top, #EFDCF0 0%, #EBCFEC 100%);
background: linear-gradient(to bottom, #EFDCF0 0%, #EBCFEC 100%);
border-color: #C48CBE;
}
.modtools {
background-color: #F7F8F9;
border-color: #cbbdd7;
}