beautify assets
Cette révision appartient à :
Parent
3c34b0a728
révision
a931b47bff
|
@ -1,38 +1,61 @@
|
|||
/* This is a placeholder so the classic theme can be used */
|
||||
|
||||
|
||||
/* Ideally, the decorative parts of main.css would be here instead of there. This will have to do for now though */
|
||||
body { color: #333; background: #ededed; }
|
||||
|
||||
.header, .box, .pagination li, .user-menu { box-shadow: 1px 3px 4px rgba(0,0,0,0.1) }
|
||||
body {
|
||||
color: #333;
|
||||
background: #ededed;
|
||||
}
|
||||
|
||||
.header, .box, .pagination li, .user-menu {
|
||||
box-shadow: 1px 3px 4px rgba(0, 0, 0, 0.1)
|
||||
}
|
||||
|
||||
a {
|
||||
color: #196759;
|
||||
pointer-events: auto;
|
||||
}
|
||||
a:hover { color: #238BC7; }
|
||||
|
||||
a:hover {
|
||||
color: #238BC7;
|
||||
}
|
||||
|
||||
.header {
|
||||
background: #111; /* Old browsers */
|
||||
background: #111;
|
||||
/* Old browsers */
|
||||
background: -moz-linear-gradient(bottom, #222 0%, #111 100%);
|
||||
background: -webkit-linear-gradient(bottom, #222 0%, #111 100%);
|
||||
background: linear-gradient(to top, #222 0%, #111 100%);
|
||||
border-color: #444;
|
||||
}
|
||||
.header .nav-btn { color: #ccc; }
|
||||
.header .nav-btn:hover { color: #d5d5d5; }
|
||||
|
||||
.header .nav-btn {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.header .nav-btn:hover {
|
||||
color: #d5d5d5;
|
||||
}
|
||||
|
||||
.box, .pagination li {
|
||||
background: rgba(255, 255, 255, 0.8);
|
||||
border-color: #BBC9CF !important;
|
||||
}
|
||||
|
||||
.form-input {
|
||||
border-color: #BBC9CF !important;
|
||||
background: #fafafa;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.form-input { border-color: #BBC9CF !important; background: #fafafa; color: #666; }
|
||||
|
||||
.btn:hover, .up-btn:hover { background: rgba(192,192,192,0.2); }
|
||||
|
||||
.form-input:focus { box-shadow: 0 0 5px #fff; }
|
||||
.btn:hover, .up-btn:hover {
|
||||
background: rgba(192, 192, 192, 0.2);
|
||||
}
|
||||
|
||||
.form-input:focus {
|
||||
box-shadow: 0 0 5px #fff;
|
||||
}
|
||||
|
||||
select:after {
|
||||
content: "AAAAA";
|
||||
|
@ -43,15 +66,29 @@ select:after {
|
|||
border-color: #444;
|
||||
}
|
||||
|
||||
table thead { background: #fff; }
|
||||
table thead {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
th a {
|
||||
color: #6E96AA;
|
||||
}
|
||||
|
||||
th a { color: #6E96AA; }
|
||||
th { border-color: #ddd !important; }
|
||||
td { border-color: #ccc !important; }
|
||||
th {
|
||||
border-color: #ddd !important;
|
||||
}
|
||||
|
||||
td.tr-se, .success-text { color: #22A243; }
|
||||
td.tr-le, .error-text { color: #E84C4C; }
|
||||
td {
|
||||
border-color: #ccc !important;
|
||||
}
|
||||
|
||||
td.tr-se, .success-text {
|
||||
color: #22A243;
|
||||
}
|
||||
|
||||
td.tr-le, .error-text {
|
||||
color: #E84C4C;
|
||||
}
|
||||
|
||||
.btn-red {
|
||||
background-color: #E84C4C;
|
||||
|
@ -65,21 +102,61 @@ td.tr-le, .error-text { color: #E84C4C; }
|
|||
.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; }
|
||||
|
||||
.torrent-info-box>p>a:hover, .torrent-info-box>div>a:hover, #description-box a:hover {
|
||||
color: #1fa4d0;
|
||||
}
|
||||
|
||||
|
||||
/* Original Nyaa colors, do NOT change! */
|
||||
.aplus, .btn-blue { background: #60B0F0; }
|
||||
.trusted, .btn-green { background: #98D9A8; }
|
||||
.remake, .btn-orange { background: #F0B080; }
|
||||
|
||||
.pagination .active { background: #d5d5d5; color: #222; }
|
||||
.pagination .disabled { color: #d5d5d5; cursor: unset; }
|
||||
.aplus, .btn-blue {
|
||||
background: #60B0F0;
|
||||
}
|
||||
|
||||
.sukebei { color: #9C7575; }
|
||||
.sukebei a { color: #893636; }
|
||||
.sukebei a:hover { color: #C7235D; }
|
||||
.sukebei th { color: #9C7575; }
|
||||
.sukebei th a { color: #893636; }
|
||||
.sukebei #mascot { background-image: url('/img/mafuyu.svg'); background-size: 100%; }
|
||||
.trusted, .btn-green {
|
||||
background: #98D9A8;
|
||||
}
|
||||
|
||||
.form-input.language { background-color: #f5f5f5; }
|
||||
.remake, .btn-orange {
|
||||
background: #F0B080;
|
||||
}
|
||||
|
||||
.pagination .active {
|
||||
background: #d5d5d5;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.pagination .disabled {
|
||||
color: #d5d5d5;
|
||||
cursor: unset;
|
||||
}
|
||||
|
||||
.sukebei {
|
||||
color: #9C7575;
|
||||
}
|
||||
|
||||
.sukebei a {
|
||||
color: #893636;
|
||||
}
|
||||
|
||||
.sukebei a:hover {
|
||||
color: #C7235D;
|
||||
}
|
||||
|
||||
.sukebei th {
|
||||
color: #9C7575;
|
||||
}
|
||||
|
||||
.sukebei th a {
|
||||
color: #893636;
|
||||
}
|
||||
|
||||
.sukebei #mascot {
|
||||
background-image: url('/img/mafuyu.svg');
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.form-input.language {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
background: url('flags.png') no-repeat;
|
||||
}
|
||||
|
||||
|
||||
.flag.flag-zh {
|
||||
background-position: -16px 0;
|
||||
}
|
||||
|
|
168
public/css/g.css
168
public/css/g.css
|
@ -1,27 +1,57 @@
|
|||
body { color: #373737; background: url('theme_g_anon/bg-body.png'); }
|
||||
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) }
|
||||
.header, .user-menu {
|
||||
box-shadow: 1px 3px 4px hsla(200, 20%, 20%, 0.15)
|
||||
}
|
||||
|
||||
#mascot { background-image: url('/img/renchon.svg'); }
|
||||
a { color: #676767; }
|
||||
a:hover { color: #444; }
|
||||
.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; }
|
||||
.header .nav-btn {
|
||||
color: #1d6d90;
|
||||
}
|
||||
|
||||
.form-input { border-color: #c4c4c4 !important; background: #fff; color: #676767; }
|
||||
.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;
|
||||
}
|
||||
|
||||
.header .h-user .user-avatar {
|
||||
background: #99BFD0;
|
||||
border-color: #a3c7d3;
|
||||
}
|
||||
|
||||
.sukebei .header .h-user .user-avatar {
|
||||
background: #bf99d0;
|
||||
border-color: #d3a3d1;
|
||||
|
@ -34,54 +64,122 @@ a:hover { color: #444; }
|
|||
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);}
|
||||
|
||||
.header .h-user button:focus {
|
||||
background-color: rgba(0, 100, 200, 0.15);
|
||||
}
|
||||
|
||||
table thead {
|
||||
background: #dcccea !important; /* Old browsers */
|
||||
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 {
|
||||
color: #9b85ae;
|
||||
}
|
||||
|
||||
th { border-color: #cbbdd7 !important; }
|
||||
td { border-color: #e6eff4 !important; }
|
||||
th a {
|
||||
color: #7A5C94;
|
||||
}
|
||||
|
||||
td.tr-se, .success-text { color: #22A243; }
|
||||
td.tr-le, .error-text { color: #E84C4C; }
|
||||
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; }
|
||||
.btn-red:hover {
|
||||
color: #E8E8E8;
|
||||
}
|
||||
|
||||
.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; }
|
||||
.aplus, .btn-blue {
|
||||
background: hsla(200, 100%, 50%, 0.2) !important;
|
||||
}
|
||||
|
||||
.pagination .active { background: #cbbdd7; color: #444; }
|
||||
.trusted, .btn-green {
|
||||
background: hsla(100, 100%, 50%, 0.2) !important;
|
||||
}
|
||||
|
||||
.pagination .disabled { color: #cbbdd7; cursor: unset; }
|
||||
.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);}
|
||||
.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;
|
||||
|
|
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
|
@ -1,16 +1,18 @@
|
|||
@font-face {
|
||||
font-family: 'nyacon';
|
||||
src: url('./font/nyacon.eot?1588873');
|
||||
src: url('./font/nyacon.eot?1588873#iefix') format('embedded-opentype'),
|
||||
url('./font/nyacon.woff2?1588873') format('woff2'),
|
||||
url('./font/nyacon.woff?1588873') format('woff'),
|
||||
url('./font/nyacon.ttf?1588873') format('truetype'),
|
||||
url('./font/nyacon.svg?1588873#nyacon') format('svg');
|
||||
src: url('./font/nyacon.eot?1588873#iefix') format('embedded-opentype'), url('./font/nyacon.woff2?1588873') format('woff2'), url('./font/nyacon.woff?1588873') format('woff'), url('./font/nyacon.ttf?1588873') format('truetype'), url('./font/nyacon.svg?1588873#nyacon') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
|
||||
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
|
||||
|
||||
|
||||
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
|
||||
|
||||
|
||||
/*
|
||||
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
||||
@font-face {
|
||||
|
@ -25,45 +27,109 @@
|
|||
font-style: normal;
|
||||
font-weight: normal;
|
||||
speak: none;
|
||||
|
||||
display: inline-block;
|
||||
text-decoration: inherit;
|
||||
width: 1em;
|
||||
margin-right: .2em;
|
||||
text-align: center;
|
||||
/* opacity: .8; */
|
||||
|
||||
/* For safety - reset parent styles, that can break glyph codes*/
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
|
||||
/* fix buttons height, for twitter bootstrap */
|
||||
line-height: 1em;
|
||||
|
||||
/* Animation center compensation - margins should be symmetric */
|
||||
/* remove if not needed */
|
||||
margin-left: .2em;
|
||||
|
||||
/* you can be more comfortable with increased icons size */
|
||||
/* font-size: 120%; */
|
||||
|
||||
/* Font smoothing. That was taken from TWBS */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
/* Uncomment for 3D effect */
|
||||
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
|
||||
}
|
||||
|
||||
.icon-heart:before { content: '\e800'; } /* '' */
|
||||
.icon-help-circled:before { content: '\e801'; } /* '' */
|
||||
.icon-magnet:before { content: '\e802'; } /* '' */
|
||||
.icon-upload:before { content: '\e803'; } /* '' */
|
||||
.icon-search:before { content: '\e804'; } /* '' */
|
||||
.icon-floppy:before { content: '\e805'; } /* '' */
|
||||
.icon-users:before { content: '\e806'; } /* '' */
|
||||
.icon-chat:before { content: '\e807'; } /* '' */
|
||||
.icon-attention:before { content: '\e808'; } /* '' */
|
||||
.icon-rss-squared:before { content: '\f143'; } /* '' */
|
||||
.icon-trash:before { content: '\f1f8'; } /* '' */
|
||||
.icon-user-plus:before { content: '\f234'; } /* '' */
|
||||
.icon-heart:before {
|
||||
content: '\e800';
|
||||
}
|
||||
|
||||
|
||||
/* '' */
|
||||
|
||||
.icon-help-circled:before {
|
||||
content: '\e801';
|
||||
}
|
||||
|
||||
|
||||
/* '' */
|
||||
|
||||
.icon-magnet:before {
|
||||
content: '\e802';
|
||||
}
|
||||
|
||||
|
||||
/* '' */
|
||||
|
||||
.icon-upload:before {
|
||||
content: '\e803';
|
||||
}
|
||||
|
||||
|
||||
/* '' */
|
||||
|
||||
.icon-search:before {
|
||||
content: '\e804';
|
||||
}
|
||||
|
||||
|
||||
/* '' */
|
||||
|
||||
.icon-floppy:before {
|
||||
content: '\e805';
|
||||
}
|
||||
|
||||
|
||||
/* '' */
|
||||
|
||||
.icon-users:before {
|
||||
content: '\e806';
|
||||
}
|
||||
|
||||
|
||||
/* '' */
|
||||
|
||||
.icon-chat:before {
|
||||
content: '\e807';
|
||||
}
|
||||
|
||||
|
||||
/* '' */
|
||||
|
||||
.icon-attention:before {
|
||||
content: '\e808';
|
||||
}
|
||||
|
||||
|
||||
/* '' */
|
||||
|
||||
.icon-rss-squared:before {
|
||||
content: '\f143';
|
||||
}
|
||||
|
||||
|
||||
/* '' */
|
||||
|
||||
.icon-trash:before {
|
||||
content: '\f1f8';
|
||||
}
|
||||
|
||||
|
||||
/* '' */
|
||||
|
||||
.icon-user-plus:before {
|
||||
content: '\f234';
|
||||
}
|
||||
|
||||
|
||||
/* '' */
|
||||
|
|
|
@ -1,27 +1,53 @@
|
|||
body { color: #c5c8c6; background: #1d1f21 ; }
|
||||
body {
|
||||
color: #c5c8c6;
|
||||
background: #1d1f21;
|
||||
}
|
||||
|
||||
.header, .box, .pagination li, .user-menu { box-shadow: 1px 3px 4px rgba(0,0,0,0.2) }
|
||||
.header, .box, .pagination li, .user-menu {
|
||||
box-shadow: 1px 3px 4px rgba(0, 0, 0, 0.2)
|
||||
}
|
||||
|
||||
#mascot { background-image: url('/img/megumin.svg'); }
|
||||
#mascot {
|
||||
background-image: url('/img/megumin.svg');
|
||||
}
|
||||
|
||||
a { color: #81a2be; }
|
||||
a:hover { color: #5F89AC; }
|
||||
a {
|
||||
color: #81a2be;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #5F89AC;
|
||||
}
|
||||
|
||||
.header {
|
||||
background: #282A2E;
|
||||
border-color: #000;
|
||||
}
|
||||
.header .nav-btn { color: #c5c8c6; }
|
||||
.header .nav-btn:hover { color: #eee; }
|
||||
|
||||
.box, .pagination li { background: hsla(222, 8%, 20%, 0.85); border-color: #141517 !important; }
|
||||
.header .nav-btn {
|
||||
color: #c5c8c6;
|
||||
}
|
||||
|
||||
.form-input { border-color: #0C0D0E !important; background: #141517; color: #c5c8c6; }
|
||||
.header .nav-btn:hover {
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
.box, .pagination li {
|
||||
background: hsla(222, 8%, 20%, 0.85);
|
||||
border-color: #141517 !important;
|
||||
}
|
||||
|
||||
.form-input {
|
||||
border-color: #0C0D0E !important;
|
||||
background: #141517;
|
||||
color: #c5c8c6;
|
||||
}
|
||||
|
||||
.header .h-user .user-avatar {
|
||||
background: #99BFD0;
|
||||
border-color: #282A2E;
|
||||
}
|
||||
|
||||
.header .h-user .user-menu {
|
||||
background: #282A2E;
|
||||
background: -moz-linear-gradient(top, #282A2E 0%, #34373C 100%);
|
||||
|
@ -30,31 +56,71 @@ a:hover { color: #5F89AC; }
|
|||
border-color: #282A2E;
|
||||
}
|
||||
|
||||
table thead { background: #141517 !important; }
|
||||
table thead {
|
||||
background: #141517 !important;
|
||||
}
|
||||
|
||||
th { color: #838B98; }
|
||||
th a { color: #c5c8c6; }
|
||||
th {
|
||||
color: #838B98;
|
||||
}
|
||||
|
||||
th, td { border-color: #141517 !important; }
|
||||
th a {
|
||||
color: #c5c8c6;
|
||||
}
|
||||
|
||||
td.tr-se, .success-text { color: #b5bd68; }
|
||||
td.tr-le, .error-text { color: #cc6666; }
|
||||
th, td {
|
||||
border-color: #141517 !important;
|
||||
}
|
||||
|
||||
td.tr-se, .success-text {
|
||||
color: #b5bd68;
|
||||
}
|
||||
|
||||
td.tr-le, .error-text {
|
||||
color: #cc6666;
|
||||
}
|
||||
|
||||
.btn-red {
|
||||
background-color: #cc6666;
|
||||
}
|
||||
|
||||
.aplus, .btn-blue { background: hsla(180, 50%, 50%, 0.2) !important; }
|
||||
.trusted, .btn-green { background: hsla(90, 50%, 50%, 0.2) !important; }
|
||||
.remake, .btn-orange { background: hsla(40, 50%, 50%, 0.2) !important; }
|
||||
.aplus, .btn-blue {
|
||||
background: hsla(180, 50%, 50%, 0.2) !important;
|
||||
}
|
||||
|
||||
.pagination .active { background: #141517; color: #c5c8c6; }
|
||||
.pagination .disabled { color: #141517; cursor: unset; }
|
||||
.trusted, .btn-green {
|
||||
background: hsla(90, 50%, 50%, 0.2) !important;
|
||||
}
|
||||
|
||||
.sukebei { color: #c5c8c6; }
|
||||
.sukebei a { color: #cc6666; }
|
||||
.sukebei a:hover { color: #c82829; }
|
||||
.sukebei th, .sukebei th a { color: #c5c8c6; }
|
||||
.remake, .btn-orange {
|
||||
background: hsla(40, 50%, 50%, 0.2) !important;
|
||||
}
|
||||
|
||||
.pagination .active {
|
||||
background: #141517;
|
||||
color: #c5c8c6;
|
||||
}
|
||||
|
||||
.pagination .disabled {
|
||||
color: #141517;
|
||||
cursor: unset;
|
||||
}
|
||||
|
||||
.sukebei {
|
||||
color: #c5c8c6;
|
||||
}
|
||||
|
||||
.sukebei a {
|
||||
color: #cc6666;
|
||||
}
|
||||
|
||||
.sukebei a:hover {
|
||||
color: #c82829;
|
||||
}
|
||||
|
||||
.sukebei th, .sukebei th a {
|
||||
color: #c5c8c6;
|
||||
}
|
||||
|
||||
.captcha-container img {
|
||||
background: #fff;
|
||||
|
@ -63,41 +129,59 @@ td.tr-le, .error-text { color: #cc6666; }
|
|||
margin-bottom: -.5em;
|
||||
}
|
||||
|
||||
|
||||
/* Markdown editor */
|
||||
|
||||
.editor-toolbar a {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.editor-toolbar a.active, .editor-toolbar a:hover {
|
||||
background: #666;
|
||||
border-color: #828282;
|
||||
}
|
||||
|
||||
.editor-toolbar {
|
||||
background: #000 !important;
|
||||
}
|
||||
|
||||
.editor-toolbar.fullscreen::before, .editor-toolbar.fullscreen::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.editor-preview, .editor-preview-side, .editor-toolbar.disabled-for-preview a:not(.no-disable) {
|
||||
background: #141517;
|
||||
}
|
||||
|
||||
.CodeMirror {
|
||||
color: #fff;
|
||||
background: #141517;
|
||||
}
|
||||
|
||||
.CodeMirror-cursor {
|
||||
border-color: #fff;
|
||||
}
|
||||
|
||||
.CodeMirror .CodeMirror-selected {
|
||||
background: #585858;
|
||||
}
|
||||
|
||||
.CodeMirror-focused .CodeMirror-selected, .CodeMirror-line::selection, .CodeMirror-line>span::selection, .CodeMirror-line>span>span::selection {
|
||||
background: #454545;
|
||||
}
|
||||
|
||||
.CodeMirror-line::-moz-selection, .CodeMirror-line>span::-moz-selection, .CodeMirror-line>span>span::-moz-selection {
|
||||
background: #454545;
|
||||
}
|
||||
|
||||
.form-input.language { background-color: #35363c; }
|
||||
.form-input.language {
|
||||
background-color: #35363c;
|
||||
}
|
||||
|
||||
.torrent-info-box > p > a, .torrent-info-box > div > a, #description-box a { text-decoration: none; }
|
||||
.torrent-info-box { border-color: #53565e; }
|
||||
.torrent-info-box>p>a, .torrent-info-box>div>a, #description-box a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.torrent-info-box {
|
||||
border-color: #53565e;
|
||||
}
|
||||
|
|
|
@ -35,8 +35,14 @@ var Kilo = function (params) {
|
|||
["fr", "fr", "it", "en", "en", "en", "en", "en", "ja", "ja", "ja", "ja"]
|
||||
]
|
||||
var Keywords_categories = [
|
||||
[["[jav]","[h-games]"], [7,3]],
|
||||
[[""], [0]]
|
||||
[
|
||||
["[jav]", "[h-games]"],
|
||||
[7, 3]
|
||||
],
|
||||
[
|
||||
[""],
|
||||
[0]
|
||||
]
|
||||
]
|
||||
|
||||
// Parsing categories
|
||||
|
@ -154,7 +160,8 @@ var Kilo = function (params) {
|
|||
this.debounce = function (func, wait, immediate) {
|
||||
var timeout
|
||||
return function () {
|
||||
var context = this, args = arguments
|
||||
var context = this,
|
||||
args = arguments
|
||||
var later = function () {
|
||||
timeout = null
|
||||
if (!immediate) func.apply(context, args)
|
||||
|
|
|
@ -21,9 +21,13 @@ var Torrents = {
|
|||
function (data) {
|
||||
var torrents = data.torrents
|
||||
Templates.ApplyItemListRenderer({
|
||||
templateName: "torrents.item", method: "prepend", element: document.getElementById("torrentListResults")
|
||||
templateName: "torrents.item",
|
||||
method: "prepend",
|
||||
element: document.getElementById("torrentListResults")
|
||||
})(torrents)
|
||||
for (var i =0; i < torrents.length; i++) { if (Torrents.LastID < torrents[i].id) Torrents.LastID = torrents[i].id; }
|
||||
for (var i = 0; i < torrents.length; i++) {
|
||||
if (Torrents.LastID < torrents[i].id) Torrents.LastID = torrents[i].id;
|
||||
}
|
||||
parseAllDates()
|
||||
Torrents.Refresh()
|
||||
});
|
||||
|
|
|
@ -121,7 +121,10 @@ var TorrentsMod = {
|
|||
},
|
||||
generatingModal: function () {
|
||||
var listLength = this.queued.length;
|
||||
var div = {"edit": "", "delete": ""};
|
||||
var div = {
|
||||
"edit": "",
|
||||
"delete": ""
|
||||
};
|
||||
for (var i = 0; i < listLength; i++) {
|
||||
var listHTML = "";
|
||||
for (key in this.queued[i].selection) {
|
||||
|
@ -297,8 +300,14 @@ var TorrentsMod = {
|
|||
checkboxEventHandlerFunc: function (el) {
|
||||
var name = el.dataset.name;
|
||||
var id = el.value;
|
||||
if (el.checked) TorrentsMod.addToSelection({name:name, id:id});
|
||||
else TorrentsMod.removeFromSelection({name:name, id:id});
|
||||
if (el.checked) TorrentsMod.addToSelection({
|
||||
name: name,
|
||||
id: id
|
||||
});
|
||||
else TorrentsMod.removeFromSelection({
|
||||
name: name,
|
||||
id: id
|
||||
});
|
||||
if (TorrentsMod.selected.length > 0) TorrentsMod.enableBtnActions();
|
||||
else TorrentsMod.disableBtnActions();
|
||||
},
|
||||
|
@ -308,18 +317,21 @@ var TorrentsMod = {
|
|||
var withReport = confirm(T.r("delete_reports_with_torrents"))
|
||||
var selection = TorrentsMod.selected;
|
||||
if (locked)
|
||||
TorrentsMod.AddToQueue({ action: "delete",
|
||||
TorrentsMod.AddToQueue({
|
||||
action: "delete",
|
||||
withReport: withReport,
|
||||
selection: selection,
|
||||
queryPost: "",
|
||||
infos: T.r("with_st", T.r("lock")) + ((withReport) ? T.r("and_reports") : ""),
|
||||
status: "5" });
|
||||
status: "5"
|
||||
});
|
||||
else TorrentsMod.AddToQueue({
|
||||
action: "delete",
|
||||
withReport: withReport,
|
||||
selection: selection,
|
||||
infos: (withReport) ? T.r("with_st", T.r("reports")) : "",
|
||||
queryPost: ""});
|
||||
queryPost: ""
|
||||
});
|
||||
for (i in selection) document.getElementById("torrent_" + i).style.display = "none";
|
||||
TorrentsMod.selected = []
|
||||
TorrentsMod.disableBtnActions();
|
||||
|
@ -348,7 +360,8 @@ var TorrentsMod = {
|
|||
infos: (infos != "") ? T.r("with_st", infos) : T.r("no_changes"),
|
||||
status: status,
|
||||
category: category,
|
||||
owner: owner_id });
|
||||
owner: owner_id
|
||||
});
|
||||
if (status != "") {
|
||||
for (i in selection) document.getElementById("torrent_" + i).className = "torrent-info " + TorrentsMod.statusToClassName(status);
|
||||
}
|
||||
|
|
|
@ -23,10 +23,9 @@ function Translations() {
|
|||
};
|
||||
this.format = function (format, ...args) {
|
||||
return format.replace(/{(\d+)}/g, function (match, number) {
|
||||
return typeof args[number] != 'undefined'
|
||||
? args[number]
|
||||
: match
|
||||
;
|
||||
return typeof args[number] != 'undefined' ?
|
||||
args[number] :
|
||||
match;
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,18 +1,35 @@
|
|||
{{ import "layouts/partials/helpers/search" }}
|
||||
{{ block rss_link()}}{{end}}
|
||||
{{ import "layouts/partials/helpers/search" }} {{ block rss_link()}}{{end}}
|
||||
<div class="container">
|
||||
<div class="h-left">
|
||||
<div class="h-logo">
|
||||
<a href="{{URL.Parse("/")}}"><img class="hide-md" src="/img/{{if Sukebei()}}sukebei_logo.png{{else}}logo.png{{end}}" alt="Nyaa Pantsu"><img class="visible-md" src="/img/logo_s.png"/></a>
|
||||
<a href="{{URL.Parse(" / ")}}">
|
||||
<img class="hide-md" src="/img/{{if Sukebei()}}sukebei_logo.png{{else}}logo.png{{end}}" alt="Nyaa Pantsu"/>
|
||||
<img class="visible-md" src="/img/logo_s.png" alt="Nyaa Pantsu"/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="h-nav">
|
||||
<a href="{{URL.Parse("/upload")}}" class="nav-btn"><div class="icon-upload visible-md"></div><span class="hide-md">{{ T("upload") }}</span></a>
|
||||
<a href="/feed{{ yield rss_link() }}" class="nav-btn"><div class="icon-rss-squared visible-md"></div><span class="hide-md">RSS</span></a>
|
||||
<a href="{{URL.Parse("/faq")}}" class="nav-btn"><div class="icon-help-circled visible-md"></div><span class="hide-md">{{ T("faq") }}</span></a>
|
||||
<a href="{{URL.Parse(" /upload ")}}" class="nav-btn">
|
||||
<div class="icon-upload visible-md"></div>
|
||||
<span class="hide-md">{{ T("upload") }}</span>
|
||||
</a>
|
||||
<a href="/feed{{ yield rss_link() }}" class="nav-btn">
|
||||
<div class="icon-rss-squared visible-md"></div>
|
||||
<span class="hide-md">RSS</span>
|
||||
</a>
|
||||
<a href="{{URL.Parse(" /faq ")}}" class="nav-btn">
|
||||
<div class="icon-help-circled visible-md"></div>
|
||||
<span class="hide-md">{{ T("faq") }}</span>
|
||||
</a>
|
||||
{{if Sukebei()}}
|
||||
<a href="{{Config.WebAddress.Nyaa}}" class="nav-btn"><div class="icon-heart visible-md"></div><span class="hide-md">{{ T("fun") }}</span></a>
|
||||
<a href="{{Config.WebAddress.Nyaa}}" class="nav-btn">
|
||||
<div class="icon-heart visible-md"></div>
|
||||
<span class="hide-md">{{ T("fun") }}</span>
|
||||
</a>
|
||||
{{else}}
|
||||
<a href="{{Config.WebAddress.Sukebei}}" class="nav-btn"><div class="icon-heart visible-md"></div><span class="hide-md">{{ T("fap") }}</span></a>
|
||||
<a href="{{Config.WebAddress.Sukebei}}" class="nav-btn">
|
||||
<div class="icon-heart visible-md"></div>
|
||||
<span class="hide-md">{{ T("fap") }}</span>
|
||||
</a>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -20,8 +37,7 @@
|
|||
{{ include "layouts/partials/helpers/badgemenu" }}
|
||||
<div class="h-search">
|
||||
<form role="search" action="{{URL.Parse(" /search ")}}" id="header-form" method="get">
|
||||
{{ yield search_common() }}
|
||||
{{ yield search_button() }}
|
||||
{{ yield search_common() }} {{ yield search_button() }}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Référencer dans un nouveau ticket