Albirew/nyaa-pantsu
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/themes/tomorrow.css

369 lignes
7.0 KiB
CSS
Brut Vue normale Historique

body {
color: #c5c8c6;
background: #1d1f21;
}
.header, .box, .pagination span, .user-menu {
box-shadow: 1px 3px 4px rgba(0, 0, 0, 0.2)
}
#mascot {
background-image: url('/img/megumin.svg');
}
a {
color: #81a2be;
}
a:hover {
color: #5F89AC;
}
.header {
background: #282A2E;
border-color: #000;
}
.header .nav-btn {
color: #c5c8c6;
}
.header .nav-btn:hover {
color: #eee;
}
#cookie-warning {
background: hsla(0, 0%, 21%, 0.9);
border-top: 1px solid #4e4e4e;
color: #9a9a9a;
}
#cookie-warning .close {
color: #9a9a9a;
}
.box, .pagination span, .modtools {
background: hsla(222, 8%, 20%, 0.85);
border-color: #141517 !important;
}
.form-input {
border-color: #0C0D0E !important;
background: #141517;
color: #c5c8c6;
}
.form-input.refine {
border-color: #323232!important;
background: #424242;
color: #bbbbbb;
}
.header .h-user .user-avatar {
background: #99BFD0;
border-color: #282A2E;
}
.user-avatar span {
background-color: #d02727;
2017-10-29 01:26:19 +02:00
color: #272727;
}
.header .h-user .user-menu {
background: #282A2E;
background: -moz-linear-gradient(top, #282A2E 0%, #34373C 100%);
background: -webkit-linear-gradient(top, #282A2E 0%, #34373C 100%);
background: linear-gradient(to bottom, #282A2E 0%, #34373C 100%);
border-color: #282A2E;
}
table thead {
background: #141517 !important;
}
th {
color: #838B98;
}
th a {
color: #c5c8c6;
}
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;
}
.sukebei .btn-red {
color: #c5c8c6;
}
2017-10-29 19:33:42 +01:00
.btn-grey {
background-color: #777777;
}
.alt-colors tr:nth-child(even) {
background: hsla(244, 11%, 21%, 0.2);
}
.alt-colors tr:nth-child(odd) {
background: hsla(255, 31%, 6%, 0.2);
}
.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;
}
a.form-input[class*="btn"]:hover {
color: #dedede;
}
.pagination .active {
background: #141517;
color: #c5c8c6;
}
.sukebei .pagination .active {
color: #ff5252;
}
.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;
border-radius: .4em .4em 0 0;
border-bottom: .5em solid #fff;
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;
}
.torrent-info-box>p>a, .torrent-info-box>div>a, #description-box a {
text-decoration: none;
}
.modal-content {
background: hsla(222, 8%, 20%, 1);
border-color: #5a5a5a;
}
.modal-header {
background: #8149bf;
}
.modal-footer {
background: #1d1c1f;
}
.modal-footer span button {
border-color: black;
}
.modal-footer span #confirm_changes {
background: #5c966a;
}
.modal-footer span .close {
background: #cc4f4f;
}
Things (#1740) * Add new followers directly to user.Followers * Update user.go * Remove useless condition * Query an update of user followers if at 0 when looking at his profile * Fix comment not appearing until you refreshed the torrent page * call ViewHandler so that comments visually update properly * Remove now useless imports * Add "uploader" userstatus in comment * GetLikings() & GetFollowers() now return count too * Don't update follower count here * Update follower count directly here * show liking count * Update user.go * Update profile.jet.html * Update torrentParam.go * Fix locked torrents that were shown even when they should not * Update torrentParam_test.go * remove inline styling * Update main.css * Update upload.jet.html * Update main.css * Update tomorrow.css * Update classic.css * Update classic_colors.css * Update index_site.jet.html * Make announcements support markdown * Add markdown form to announcement creation * fix "report" text position * Add exclude search option to exclude words * Make sure the "NameLike" value is the search query because we edit it during a search * Show search content in page title for /feed too * rollback * Add "Search" variable that shows exactly what is being searched * Use "Search.Search" variable here instead of NameLike because NameLike is edited * Update torrentParam_test.go * Update torrentParam.go * remove redundant spaces from NameLike * Update torrentParam.go * Update torrentParam.go * Update torrentParam.go * Update torrentParam.go * turn date input into type date * bigger date inputs * add support for YYYY-MM-DD dates * rollback this change * rollback * Update search.jet.html * Update helpers.go * Update template_functions.go * Update torrentParam.go * only uploader & staff can comment on locked torrents * Add "Upload to Nyaa/Sukebei" button for mods * Update torrentlist.jet.html * Update view.jet.html * Update view.jet.html * fix wrong page title for notifications page
2017-11-20 02:13:00 +01:00
.announce {
color: #3a4249;
background-color: #F4E0C9;
border-color: #ae875b;
}
#admin-header {
background: hsla(222, 5%, 16%, 0.85);
border-color: #141517;
}
#admin-header .nav-btn {
border-color: #141517;
color: #a2a7a4;
}
#admin-header .nav-btn.active, #admin-header .nav-btn:hover, #admin-header:hover .nav-btn.active:hover, #admin-header .nav-btn:focus {
background-color: #2c2f34;
color: #c5c8c6;
}
.torrent-preview-table>table {
border-color: #141115;
}
.torrent-info-box {
border-color: #515456;
}
.tr-cat div.nyaa-cat { border-color: #232324!important; }
.torrent-preview-table > table { border: 2px solid #1a1a1d; }
.tag.pending {
background: #3c3c3c;
color: #c1c1c1;
border: 1px solid black;
}
.tag.pending a.tag-form {
color: white;
border-left: none;
}
.tag.pending a.tag-form.plus {
background-color: #3f7137;
}
.tag.pending a.tag-form.minus {
background-color: #9e3131;
font-weight: bold;
}
span.tag {
box-shadow: none;
}
.tag.accepted {
border: 1px solid #000000;
background: #272523;
}
.tag.accepted .tag-text a {
color: #7a8494;
}
.upload-status {
background-color: #1f2329;
border-color:#1f2329;
color: white;
}
.upload-status .upload-site-name {
border-right-color: black!important;
background: none!important;
}
.upload-status .icon-finished {
border-right-color: #9ea749!important
}
.upload-status .icon-pending {
border-right-color: #906718!important;
}
.upload-status .icon-error {
border-right-color: #b34d4d!important;
}
.upload-status .upload-progress {
background-color: #717171;
}
.multiple-upload input {
border-color: #7c8084;
color: #b3b3b3;
}
.multiple-upload .finished {
background-color: #b5bd68;
}
.multiple-upload .pending {
background-color: #b1893b;
}
.multiple-upload .error {
background-color: #cc6666;
}
.upload-form-table .checkbox-container {
border-color: #0c0d0e;
Upload to nyaa.si, anidex & TokyoTosho [done] (#1633) * Update upload.go * Update helpers.go * Update template_test.go * Update upload_multiple.jet.html * change variable names * wrong copypaste * change variable name * ditto * Fix travis * Update main.css * Update upload.go * Update upload.jet.html * Update main.css * Update upload.go * More compact form * CSS changes to go along * Update main.css * Update upload.jet.html * Slightly lower bottom margin * Update upload_multiple.jet.html * tomorrow color adjustements * small css adjustements * Update upload.go * Update default_config.yml * Update default_config.yml * Update structs.go * Update user.go * Update structs.go * Update upload.go * Update default_config.yml * Update upload_multiple.jet.html * Update upload.go * Update upload.jet.html * Update template_test.go * this one is optional for anidex * Update default_config.yml * Possible improvement As mentionned in my comment, it seems that having a checkbox already checked and disabled for logged in user + having the input text for apikey is a bit tedious. Moreover, asking to check and fill the input text to upload in anidex when you are not logged is doing things twice. If you don't want to upload to anidex, don't fill the input. So this commit push a new behaviour: * If you are logged in and you have filled your anidex/nyaasi api key : the form should only show the checkbox asking if you want to upload to nyaasi. * If you're not logged in or you don't have filled your api key in your profile settings: you only show the input text for the api key and not the checkbox. If someone wants to upload to nyaasi/anidex, he will just need to fill the input. * This adds back the support of anonymous upload when logged in or not. This works simply by checking if the user wants to upload as anon (when he checks the checkbox "upload as anonymous") or by checking the emptyness of apikey. + reverts the condition statements since it was needed to have apikey empty * Forgot to save this file * This commit adds the go routines for each upload service (anidex, nyaasi, tosho). New controller and url to check the upload status (/upload/status/:id). If you add ?json at the end, it outputs a json format of the multi upload status. To prevent memory overload, we only keep in memory the multiupload status for 5 minutes. Moved multipleform struct from templates to upload utils. * fix form display on classic theme * This commit adds: * Javascript refreshing of the upload status * Localization of the pages * Fixed some bugs This works, only need to get torrent file now. * Added a new function to get the Path to the torrent file. * Added a function to check that a torrent file exists and if not generate it on multiupload * Enabled file upload through http post request to anidex * Fixed bugs * Modified the behaviour to generate torrent preivously. It is a synchrone function now. So we need to make it asynchronous in download.go Now torrents file are always generated at upload time in a background processus with the correct trackers (needed ones + the ones provided by the user). I made the anidex tracker as a needed one to allow multiupload even if the user hasn't included in his torrent file/magnet url. * Moving deadtrackers list to default config Support torrent file creation when upload without scraping * Fix possible bug where no one is seeding a torrent yet (first time upload) Add primary tracker in torrent file * Fixing issue with boolean pointer for private torrent * fixing index out of range for announcelist filtering Fixing anidex tracker not found * Fixing lang id error * Anidex upload works * Fix for multiupload with magnet * This adds TokyoTosho support. Since TokyoTosho API only support upload by URL (and not torrent file upload). We need to make the download url available without ddos protection. Also TokyoTosho doesn't need a category select. Since it does have limited option, we can automatically convert our categories to the tokyotosho one. * Removing the folder tosho and put categories.go directly in upload package. Added category conversion for nyaasi too. Added tests on category conversion. * This should add nyaasi support. Is not tested though. * Updated defaut config with new nyaa.si behaviour? * Forgot to commit this file
2018-01-03 09:21:07 +01:00
background: #28282b;
}
#anidex-upload-info > div input[type="text"], #anidex-upload-info > div select {
background-color: #28282b;
}
.torrent-info-row .tr-se span, .torrent-info-row .tr-le span, .torrent-info-row .tr-dl span {
background-color: #544433;
}
.admin-content tr:hover {
background: #201f23;
}
.admin-content tr:hover a {
color: #bbd2e6;
}
.sukebei .admin-content tr:hover a {
color: #ea8c8c;
}
#subscribe-link::before, #subscribe-link::after {
2017-10-29 19:04:32 +01:00
color: #c5c8c6!important;
2017-10-28 22:47:31 +02:00
}
td.notification-status {
background-color: #505255;
}
td.notification-status.notification-unread {
background-color: rgba(144, 103, 24, 0.4);
2017-10-28 22:47:43 +02:00
color: #c5c8c6;
}