1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-27 07:26:43 +00:00

Qute: update GitHub style

This commit is contained in:
Phantop 2019-11-09 20:52:44 -05:00
parent ca8df0fddc
commit b1303f9ec6

View file

@ -9,7 +9,7 @@
// @include http://*.github.com/*
// @include https://*.github.com/*
// @run-at document-start
// @version 0.20190913082519
// @version 0.20191105161848
// ==/UserScript==
(function() {var css = [
":root{",
@ -109,7 +109,7 @@
" background: var(--bg1) !important;",
" border-color: var(--bg1) !important;",
"}",
".pagehead ul.actions a.feed, .explore h2 .feed, #code_search_instructions h2, td.inst, .metabox-loader, .pull-flag, .browser-content, .filterbar ul.filters li, .pagehead ul.tabs li.contextswitch, #wiki-header > div, .pagehead ul.tabs li.contextswitch:hover, .bigbutton a, #new_message, #issues_next ul.sorts li, ul.sorts li.asc, ul.sorts li.desc, .listings-layout .columns.main .content, .fieldswrap, .filterbar li.selected, #issues_next ul.filters li, table.instruction tr:nth-child(2n), .email-hidden-toggle a, #commit-activity-master-head, .action-indicator, .pull-head .diffstat, ul.suggestions, .discusion-topic-infobar, .commits-listing:before, .discussion-item-icon, .jstree-wholerow-hovered, .bubble-contents, .ellipsis-button, .filter-list li span.bar, .selectable_day.today, .billing-plans .current, .commits-listing:before, .billing-section .usage-bar, .issue-list em, .file-info-divider, .pagehead ul.tabs li a:hover, .repos .bottom-bar, #languages .popular, .tip-box h4, table.upgrades td, .commit-preview .message, .commit-preview p.error, .pagehead ul.tabs li.contextswitch, #browser tr th, .status-box h4, .line_numbers, #files span.icon, #issues_list .actions, #repos .public, .inset-callout, #repo-message, .repo-private-label, .label-admin, a.team-member-ellipsis, .code-list em, .user-list em, .credit-card.normal .signature, .credit-card.amex .gladiator, .subnav-item:hover, .subnav-item:focus, .wiki-list em, .progress-bar:not(.anim-grow-x), .header-search-scope:hover, .CommunityTemplate-highlight--focus, .related-issue-item.navigation-focus {",
".pagehead ul.actions a.feed, .explore h2 .feed, #code_search_instructions h2, td.inst, .metabox-loader, .pull-flag, .browser-content, .filterbar ul.filters li, .pagehead ul.tabs li.contextswitch, #wiki-header > div, .pagehead ul.tabs li.contextswitch:hover, .bigbutton a, #new_message, #issues_next ul.sorts li, ul.sorts li.asc, ul.sorts li.desc, .listings-layout .columns.main .content, .fieldswrap, .filterbar li.selected, #issues_next ul.filters li, table.instruction tr:nth-child(2n), .email-hidden-toggle a, #commit-activity-master-head, .action-indicator, .pull-head .diffstat, ul.suggestions, .discusion-topic-infobar, .commits-listing:before, .discussion-item-icon, .jstree-wholerow-hovered, .bubble-contents, .ellipsis-button, .filter-list li span.bar, .selectable_day.today, .billing-plans .current, .commits-listing:before, .billing-section .usage-bar, .issue-list em, .file-info-divider, .pagehead ul.tabs li a:hover, .repos .bottom-bar, #languages .popular, .tip-box h4, table.upgrades td, .commit-preview .message, .commit-preview p.error, .pagehead ul.tabs li.contextswitch, #browser tr th, .status-box h4, .line_numbers, #files span.icon, #issues_list .actions, #repos .public, .inset-callout, #repo-message, .repo-private-label, .label-admin, a.team-member-ellipsis, .code-list em, .user-list em, .credit-card.normal .signature, .credit-card.amex .gladiator, .subnav-item:hover, .subnav-item:focus, .wiki-list em, .progress-bar:not(.anim-grow-x), .header-search-scope:hover, .CommunityTemplate-highlight--focus, .related-issue-item.navigation-focus, .commit-sha {",
" background: var(--bg5) !important;",
"}",
".template-previews .discussion-sidebar-heading, body, .Box-row-link, .btn, .social-count, .form-control, .form-select, p.explain strong, .menu-item.selected, .menu-item .octicon, .tabnav-tab.selected, .tabnav-tab:focus, .tabnav-tab:hover, .UnderlineNav-item:focus, .UnderlineNav-item:hover, .UnderlineNav-item.selected, .text-gray-dark, .link-gray-dark, .text-emphasized, .Counter--gray-light, .markdown-body span.frame span span, .table-list-header-toggle .btn-link:hover, .table-list-header-toggle .btn-link.selected, .table-list-header-toggle .btn-link.selected:hover, .table-list-header-toggle .select-menu-button.selected, .table-list-header-toggle .select-menu-button.selected:hover, .table-list-header-toggle .select-menu-button:hover, .breadcrumb strong.final-path, .commit-author-section, .commits-list-item .commit-title, .signed-commit-signer-name .signer, .toc-select .select-menu-item-heading, .toc-select .select-menu-item-text, .blob-code-inner, .blob-code-addition .x, .blob-code-deletion .x, .tabnav-pr .tabnav-tab.selected, .discussion-item-entity, .discussion-item-ref-title .title-link, .pull-request-integrations-title, .discussion-item .renamed-is, .discussion-item .renamed-was, .dropdown-item, .keyboard-mappings th, .list-group-item-link, .team-mention, .user-mention, .pagehead-actions > li, .pagehead-tabs-item:hover, .pagehead-tabs-item.selected, .reponav-item:focus, .reponav-item:hover, .reponav-item.selected, .steps li.current, .prose-diff.collapsed .rich-diff-level-zero.expandable:hover .octicon, .prose-diff.collapsed .rich-diff-level-zero.expandable:only-child:hover:before, .radio-label, .select-menu-divider, .select-menu-header .select-menu-title, .select-menu-tabs .select-menu-tab-nav:hover, .select-menu-tabs a:hover, .select-menu-tabs .select-menu-tab-nav.selected, .select-menu-tabs .select-menu-tab-nav[aria-selected=true], .select-menu-tabs a.selected, .select-menu-tabs a[aria-selected=true], .select-menu-blankslate h3, .select-menu-item.selected, details-menu .select-menu-item[aria-checked=true], details-menu .select-menu-item[aria-selected=true], .select-menu-item.selected > .octicon, details-menu .select-menu-item[aria-checked=true] > .octicon, details-menu .select-menu-item[aria-selected=true] > .octicon, .select-menu-item-parent.navigation-focus, .select-menu-item-parent.navigation-focus.selected, .select-menu-item-parent[aria-selected=true], .select-menu-item-parent[aria-selected=true].selected, .select-menu-item-parent.navigation-focus .octicon-check, .select-menu-item-parent.navigation-focus.selected .octicon-check, .select-menu-item-parent[aria-selected=true] .octicon-check, .select-menu-item-parent[aria-selected=true].selected .octicon-check, .selected .checks-index-label, .code-list em, .search-autocomplete-dropdown .autocomplete-text, .CommunityTemplate-highlight, .dashboard-notice h2, .exploregrid-item-title, .getting-started .link-text, .jump-to-field-active, .page-responsive .HeaderMenu-link:hover, .page-responsive .HeaderMenu-details[open] .HeaderMenu-link, .header-nav-current-user .user-profile-link, .select-menu-item.navigation-focus > .octicon.label-options-icon, .select-menu-item[aria-selected=true] > .octicon.label-options-icon, .repository-lang-stats ol.repository-lang-stats-numbers li .lang, .marketplace-plan-emphasis, .merge-branch-heading, .oauth-org-access-details .oauth-org-item.on strong, .oauth-application-whitelist .request-info strong, .oauth-application-info .application-title, .developer-app-item .developer-app-name, .org-insights-cards [role=tab][aria-selected=true], .manage-repo-access-not-active, .manage-memberships-tabs-item.selected, .pinned-repo-checkbox:checked + .pinned-repo-name, .access-token .token-description, .token-scope, .shelf-dismiss .close-button:hover, .team-listing .is-open .expand-nested-team, .user-status-emoji-tab[role=tab][aria-selected=true], .subheader-nav .nav-item.selected, .illflow-item.selected .illflow-item-heading, .MarketingBody-lead > p:first-child, .site-header-nav .dropdown-menu a.active, .flash {",
@ -283,8 +283,34 @@
".blob-code-deletion .x {",
" background-color: hsla(353, 73%, 30%, 1);",
"}",
".timeline-comment {",
".timeline-comment",
"{",
" color: inherit;",
"}",
"/* comments */",
" .comment-body, .markdown-body, .js-comment-body {",
" color: rgba(255, 255, 255, 0.7) !important;",
"}",
"/* timeline background lines, badges, etc */",
" .TimelineItem-break {",
" background-color: var(--bg3) !important;",
" border-top: 4px solid var(--bg5) !important;",
"}",
".TimelineItem:before {",
" background-color: var(--bg5) !important;",
"}",
".TimelineItem-badge {",
" border: 2px solid var(--bg5) !important;",
"}",
"/* tabs on the comment box and such, Write, Preview, etc */",
" .tabnav-tab.selected, .tabnav-tab[aria-selected=true] {",
" background-color: var(--bg5) !important;",
" border-color: var(--bg4) !important;",
"}",
"/* badges, like bug, feature, etc, */",
" .protip code {",
" background-color: var(--bg5) !important;",
" padding: 3px;",
"}"
].join("\n");
if (typeof GM_addStyle != "undefined") {