You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

576 lines
13 KiB

.subscribe-feed {
display: none !important;
}
/* allow for absolute positioning relative to the dashboard */
#dashboard,
.orgpage > .container {
position: relative !important;
}
#dashboard .new-repo {
display: none !important;
}
/* remove "Repositories you contribute to" dashboard sidebar box */
.dashboard-sidebar > .boxed-group[role="navigation"]:not(.repos) {
display: none !important;
}
/* remove the toolbar from the right repo box on the dashboard */
.dashboard-sidebar .user-repos > h3,
.dashboard-sidebar .user-repos > .boxed-group-action {
display: none !important;
}
.dashboard-sidebar .user-repos .boxed-group-inner {
border-radius: 3px !important;
}
.dashboard-sidebar .user-repos .filter-repos {
border-top-left-radius: 3px !important;
border-top-right-radius: 3px !important;
}
.dashboard-sidebar .user-repos .repo-icon {
opacity: 0.6 !important;
}
/* remove border between dashboard news items */
.news .alert {
border: 0 !important;
}
/* remove newsfeed tips */
.news form + .text-center {
display: none !important;
}
/* remove tooltips */
.tooltipped:not(.reaction-summary-item,.avatar-group-item,.avatar):before,
.tooltipped:not(.reaction-summary-item,.avatar-group-item,.avatar):after {
display: none !important;
}
/* fade out the file icons */
.file-wrap .files .octicon {
opacity: 0.6;
}
/* remove annoying hover in the repo file list */
.file-wrap .files .navigation-focus td {
background: none !important;
}
#readme > h3 {
display: none !important;
}
#readme .markdown-body {
border-radius: 3px !important;
border-radius: 3px !important;
}
.paginate-protip {
display: none !important;
}
.site-footer {
visibility: hidden;
}
/* remove useless message on the right side of the PR merge box */
.alt-merge-options {
display: none !important;
}
/* remove top buttons on comment box */
.timeline-comment-wrapper .tabnav-extra, .inline-comment-form-container .tabnav-extra {
display: none !important;
}
/* remove commentbox toolbar */
.toolbar-group {
display: none;
margin-left: 0 !important;
}
.toolbar-group:last-child {
display: inline-block;
}
.toolbar-group .toolbar-item {
display: none;
}
.toolbar-group .js-saved-reply-container {
display: block;
}
.toolbar-commenting {
margin-top: 4px;
}
/* remove upload message on comment box */
.write-content .drag-and-drop {
display: none !important;
}
.upload-enabled textarea {
border-bottom: 1px solid #ccc !important;
border-radius: 3px !important;
}
/* remove random protip at the bottom of the page */
.protip {
display: none !important;
}
/* remove message under the `Unsubscribe` button */
.sidebar-notifications .reason {
display: none !important;
}
/* move the dashboard organization switcher to the right column */
.account-switcher {
position: absolute !important;
right: 10px !important;
margin-top: 0 !important;
}
.account-switcher button {
width: 313px !important;
z-index: 0 !important;
}
.account-switcher .select-menu-button-gravatar {
float: none !important;
display: inline-block !important;
vertical-align: top !important;
}
.dashboard-sidebar {
padding-top: 50px;
}
/* organization dashboard */
.orgpage .underline-nav {
float: left !important;
}
.orgpage .account-switcher {
right: 0 !important;
}
.orgpage .user-repos {
position: static !important;
}
.orgpage + .container .dashboard-sidebar {
padding-top: 0;
}
/* remove "New pull request" button on repo page */
.file-navigation .new-pull-request-btn {
display: none !important;
}
/* add hover underline for `content.js` linkified branch refs in pull requests */
.commit-ref:hover,
.commit-ref:hover span {
text-decoration: underline !important;
}
.commit-ref.unlinked:hover,
.commit-ref.unlinked:hover span {
text-decoration: none !important;
}
/* remove the "new feature" notification box */
.js-notice {
display: none !important;
}
/* remove useless tip in the organization news feed */
#dashboard .alert.git_hub {
display: none !important;
}
/* remove Upload files button; drag and drop is available anyway */
.file-navigation a[href*="/upload/"] {
display: none !important;
}
/* style for edit README button */
#readme.blob #refined-github-readme-edit-link {
display: none;
}
#refined-github-readme-edit-link {
position: absolute;
top: 10px;
right: 10px;
opacity: 0.2;
transition: opacity 250ms;
}
#refined-github-readme-edit-link:hover {
opacity: 1;
}
/* indicate collapsible file headers with zoom cursor */
.js-details-container:not(.discussion-item) .file-header[data-path],
.file-header[data-path] .diffstat {
cursor: zoom-out !important;
}
.refined-github-minimized:not(.discussion-item) .file-header[data-path],
.refined-github-minimized .file-header[data-path] .diffstat {
cursor: zoom-in !important;
}
/* style for collapse/expand feature; images are rendered in .render-wrapper, not in .data */
.refined-github-minimized .data,
.refined-github-minimized .render-wrapper {
display: none !important;
}
/* style for delete fork link */
.post-merge-message {
min-height: 85px;
}
#refined-github-delete-fork-link {
position: absolute;
top: 45px;
right: 30px;
padding: 10px 10px 0;
}
#refined-github-delete-fork-link a {
color: #df3e3e;
}
/* hide news items when people:
pushed to a branch
deleted a branch
added someone as a collaborator
forked a repo
*/
.news .alert.push,
.news .alert.delete.simple,
.news .member_add,
.news .alert.fork.simple {
display: none !important;
}
/* ensure the news feed is still shown once the items above have been hidden */
.news {
min-height: 1px;
}
/*
remove padding from body of simple news alerts in Dashboard since some will be hidden
we will add it back on for the simple news alerts we decide to show
*/
.news .alert.create.simple,
.news .alert.create.simple .body {
padding-top: 0;
padding-bottom: 0;
}
/* add padding back to the contents of simple news alerts in Dashboard */
.news .alert.create.simple .body .title,
.news .alert.create.simple .body .time {
padding-top: 1em;
padding-bottom: 1em;
}
/* don't show contents of simple news alert in Dashboard when you create a branch */
.news .alert.create.simple .octicon-git-branch,
.news .alert.create.simple .octicon-git-branch + .title,
.news .alert.create.simple .octicon-git-branch + .title + .time {
display: none;
}
/* increase visibility of news item when someone stars a repo */
.watch_started.simple .body {
min-height: 55px;
}
svg.octicon.octicon-star.dashboard-event-icon {
height: 32px !important;
width: 28px !important;
}
.watch_started .time {
position: absolute;
top: 10px;
left: 45px;
}
.watch_started.simple.alert .simple .title {
position: absolute;
top: 26px;
font-size: 14px !important;
font-weight: bold;
color: inherit !important;
}
/* decrease font-size on commit details so our custom patch and diff links fit */
.commit .sha-block {
margin-left: 7px !important;
}
.commit .sha-block,
.commit .sha {
font-size: 10px !important;
}
.signed-commit-badge-medium {
padding: 2px 4px !important;
font-size: 10px !important;
margin-left: 5px !important;
}
/* remove `Developer Program Member` from profile page */
.page-profile .member-badge {
display: none !important;
}
/* fade out merge commits from commit list */
.refined-github-merge-commit .commit-title {
font-size: 12px !important;
margin-top: 4px !important;
}
.refined-github-merge-commit .commit-author-section {
font-size: 11.4px !important;
}
.refined-github-merge-commit .commit-avatar-cell svg {
color: #4078c0;
margin-left: 9px;
}
.refined-github-merge-commit .avatar-parent-child img.avatar-child {
width: 16px !important;
height: 16px !important;
}
/* Hide current filename in PR header when not sticky (top of page) */
.js-sticky-offset-scroll:not(.is-stuck) .diff-toolbar-filename {
display: none;
}
.js-sticky-offset-scroll.is-stuck .subset-files-tab,
.js-sticky-offset-scroll.is-stuck .stale-files-tab {
width: 120%;
text-align: center;
margin-top: 5px;
margin-left: -11%;
}
.diff-toolbar-filename {
font-weight: bold;
}
.diff-toolbar-filename.filename-width-check {
visibility: hidden;
position: absolute;
}
/* limit width of commit title and description inputs to 50/80 chars */
#commit-summary-input, #commit-description-textarea {
font-family: monospace !important;
}
#commit-summary-input {
width: 410px !important;
}
#commit-description-textarea {
width: 645px !important;
}
/* make tab indented code more readable on GitHub and Gist */
.tab-size[data-tab-size='2'],
.tab-size[data-tab-size='4'],
.tab-size[data-tab-size='8'],
.inline-review-comment,
.gist table.lines {
tab-size: 4 !important;
}
/* larger comment box */
.comment-form-textarea {
min-height: 200px !important;
}
/* styles for avatars Refined GitHub adds to Reactions */
.participants-container {
margin-left: 4px;
}
.reaction-summary-item {
padding-left: 10px !important;
padding-right: 10px !important;
}
.reaction-summary-item.add-reaction-btn {
padding-right: 0 !important;
}
.reaction-summary-item div,
.reaction-summary-item div a,
.reaction-summary-item div img {
display: inline-block;
}
.reaction-summary-item div a {
margin-left: -2px;
transition: margin-left 0.2s;
}
.reaction-summary-item div img,
.reaction-summary-item div span {
width: 20px;
height: 20px;
vertical-align: middle;
}
.reaction-summary-item div img {
color: #FFF; /* affects box-shadow */
box-shadow: 0 0 0 2px;
border-radius: 3px;
}
.reaction-summary-item.user-has-reacted div img {
color: #f2f8fa;
}
/* overlap reaction avatars when there are 5+ types of reactions */
.reaction-summary-item:first-child:nth-last-child(n+5):not(:hover) a:nth-child(n+2),
.reaction-summary-item:first-child:nth-last-child(n+5) ~ *:not(:hover) a:nth-child(n+2) {
margin-left: -12px;
}
/* limit reaction avatars when there are 6 types of reactions */
.reaction-summary-item:first-child:nth-last-child(6) a:nth-child(n+3),
.reaction-summary-item:first-child:nth-last-child(6) ~ * a:nth-child(n+3) {
display: none;
}
/* hide reaction popover text */
.reaction-popover-form.js-pick-reaction span.js-reaction-description,
.reaction-popover-form.js-pick-reaction .dropdown-divider {
display: none;
}
/* remove "Add your Reaction" tooltips */
.reaction-popover-container .tooltipped::before,
.reaction-popover-container .tooltipped::after {
display: none !important;
}
/*
create invisible content area below/above reactions popover to increase hover target
center popup on add reactions button
*/
.reaction-popover-container.dropdown .dropdown-menu-content {
margin-top: -15px;
position: absolute;
left: -94px;
width: 220px;
height: 15px;
}
/*
remove margin-top from invisible hover target for popover below comment content
add some space below popup so it doesn't cover button
*/
.comment-reactions .reaction-popover-container.dropdown .dropdown-menu-content {
margin-top: 0;
bottom: 20px;
}
/*
show reaction list when hovering over:
popover
Add Reactions button
hidden content area created to increase hover target
*/
.dropdown-menu.add-reaction-popover:hover,
.reaction-popover-container.dropdown:hover .dropdown-menu-content,
.dropdown-menu-content:hover {
display: block;
pointer-events: all;
}
/* remove top/bottom margin from popovers so there's no gap with invisible hover element */
.reaction-popover-container.dropdown .dropdown-menu.add-reaction-popover {
margin-top: 0;
margin-bottom: 0;
}
/* never show loading spinner for reactions */
.reaction-popover-container .reaction-popover-form .loading-spinner {
display: none !important;
}
/* move popup arrow point to center of popup */
.reaction-popover-container.dropdown .dropdown-menu-sw.dropdown-menu::before,
.reaction-popover-container.dropdown .dropdown-menu-sw.dropdown-menu::after,
.reaction-popover-container.dropdown .dropdown-menu-ne.dropdown-menu::before,
.reaction-popover-container.dropdown .dropdown-menu-ne.dropdown-menu::after {
left: 102px; /* 220px / 2 - 8px for popover arrow */
right: auto;
}
/* add colored button when hovering over reaction popover or hidden hover element */
.reaction-popover-container:hover .timeline-comment-action {
color: #4078c0;
text-decoration: none;
opacity: 1;
}
/* collapse multiple discussion items */
.discussion-item + .discussion-item {
padding-top: 0 !important;
border-top: none !important;
}
.comment-full-name {
font-weight: normal;
margin-left: 4px;
}
/* mark as unread */
.btn-mark-unread {
margin-top: 8px;
}
/* +/- pseudo elements on diffs */
td.blob-code.blob-code-addition:before,
td.blob-code.blob-code-deletion:before {
display: inline-block;
position: absolute;
top: 1px;
font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace !important;
font-size: 11px;
text-indent: -8px;
color: rgba(0, 0, 0, 0.3);
}
td.blob-code.blob-code-addition:before {
content: '+';
}
td.blob-code.blob-code-deletion:before {
content: '-';
}
/* remove "pro tip!" box on profile page (appears when name isn't set) */
.new-user-avatar-cta {
display: none !important;
}
/* fix for diffheader filename */
.diffbar > .diffstat {
float: right;
}
/* copy button for gists margin */
.gist-copy-btn {
margin: 0 10px 0 0;
}
/* multiple comment labels margin */
.timeline-comment .timeline-comment-label + .timeline-comment-label {
margin-right: -5px;
}
.review-comment .timeline-comment-label + .timeline-comment-label {
margin-left: 5px;
}