Add style and script for bitbucket

master
Jonathan Hodgson 6 years ago
parent fb3fb570c8
commit 78ebee2cf2
  1. 919
      config/dotcss/bitbucket.org.css
  2. 501
      config/dotcss/bitbucket.org.css.old
  3. 2
      config/dotjs/bitbucket.org.js

File diff suppressed because it is too large Load Diff

@ -0,0 +1,501 @@
body, .homepage-section, .homepage-footer, .homepage-teams, #content .aui-sidebar + .aui-page-header, table.aui > tbody > tr, .aui-page-panel-content, table.bb-list tr:hover .labels, table.bb-list tr .labels
{
background-color: #222 !important;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkAgMAAAANjH3HAAAACVBMVEUaGhohISElJSUh9lebAAAB20lEQVRIx4XWuZXDMAwE0C0SAQtggIIYoAAEU+aKOHhYojTrYP2+QfOW/5QIJOih/q8HwF/pb3EX+UPIveYcQGgEHiu9hI+ihEc5Jz5KBIlRRRaJ1JtoSAl5Hw96hLB1/up1tnIXOck5jZQy+3iU2hAOKSH1JvwxHsp+5TLF5MOl1/MQXsVs1miXc+KDbYydyMeUgpPQreZ7fWidbNhkXNJSeAhc6qHmHD8AYovunYyEACWEbyIhNeB9fRrH3hFi0bGPLuEW7xCNaohw1vAlS805nfsrTspclB/hVdoqusg53eH7FWot+wjYpOViX8KbFFKTwlnzvj65P9H/vD0/hibYBGhPwlPO8TmxRsaxsNnrUmUXpNhirlJMPr6Hqq9k5Xn/8iYQHYIuQsWFC6Z87IOxLxHphSY4SpuiU87xJnJr5axfeRd+lnMExXpEWPpuZ1v7qZdNBOjiHzDREHX5fs5Zz9p6X0vVKbKKchlSl5rv+3p//FJ/PYvoKryI8vs+2G9lzRmnEKkh+BU8yDk515jDj/HAswu7CCz6U/Mxb/PnC9N41ndpU4hUU7JGk/C9PmP/M2xZYdvBW2PObyf1IUiIzoHmHW9yTncliYs9A9tVNppdShfgQaTLMf+j3X723tLeHgAAAABJRU5ErkJggg==) !important;
background-clip: border-box !important;
background-origin: padding-box !important;
background-attachment: scroll !important;
background-repeat: repeat !important;
background-size: auto !important;
background-position: left top !important;
color: #FAFAFA;
}
input[type="email"], input[type="password"], input[type="text"], input[type="url"], input[type="search"], textarea, .select2-choices
{
background: #333 !important;
color: #FAFAFA !important;
}
.marketing-hero, .pipelines-testimonial, .marketing-section--alternate, #plans .pricing > div, #plans .stash
{
background: #1C1C1C;
}
#plans .features, #plans .pricing .users
{
background: #131313;
}
.featured-integrations
{
background: #3C3C3C;
}
.marketing-footer
{
background: #161616;
}
.aui-message-banner.warning
{
background: #131313;
}
.diff-container
{
background: #1C1C1C;
color: #FAFAFA;
}
.refract-container .addition pre.source
{
color: #FAFAFA;
background: #030;
opacity: 1;
}
.aui-dialog2-content
{
background: #161616 !important;
}
.aui-dialog2-header, .aui-dialog2-footer
{
background: #0A0A0A !important;
}
.refract-container .addition pre.source ins
{
color: #FAFAFA;
background: #252;
}
.refract-container .deletion pre.source del
{
background: #700;
}
.refract-container .deletion pre.source
{
background: #400;
opacity: 1;
color: #FAFAFA;
}
.refract-container.word-diff:not(.disable-word-diff) .addition pre.source ins, .refract-container.word-diff:not(.disable-word-diff) .deletion pre.source del
{
color: #0A0A0A;
}
.homepage-cross-sells-description, .footer-list a, h1, h2, h3, h4, h5, h6, .aui-dropdown2.aui-style-default a, form.aui .radio > label, form.aui .checkbox > label, .aui-nav-heading, .repo-sidebar .entity-name, h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child, .filter-search input, .aui-navgroup-horizontal .aui-nav > .aui-nav-selected a, #dashboard .dashboard-item .text, form.aui label, form.aui legend, .aui-navgroup-vertical .aui-nav .aui-nav-selected > a, .aui-dialog h2.dialog-title, .newsfeed .news-item-description a, .refract-content-container .source, .marketing-grid--description, .integration--description, .integration-atl--description, #repo-overview #repo-stats .stats li a:hover, .compare-widget .compare-widget-form .repo-title .repo-owner
{
color: #FAFAFA;
}
.filter-container .filter-label, .repository-list--byline, #profile-header #user-profile h1 .username, .newsfeed .news-item time, .newsfeed .news-item-info a, #repo-overview #repo-stats .stats li a, .compare-widget .compare-widget-form .metadata
{
color: #CCCCCC;
}
#repo-overview .repo-metadata > dt
{
color: #999999;
}
.workflow-box
{
background: #1C1C1C;
}
#footer-logo
{
background: #1C1C1C;
border: solid white 1px;
height: 30px;
}
#wiki-content h1,#wiki-content h2,#wiki-content h3,#wiki-content h4,#wiki-content h5,#wiki-content h6{
color:#FAFAFA;
}
.wiki-content pre
{
background: #1C1C1C;
border: solid white 1px;
}
#wiki-edit .buttons-container {
background-color: transparent;
}
.aui-select2-drop .select2-search input
{
background: #131313;
}
.bb-content-container-footer, .bb-content-container-header
{
background: #131313;
}
.highlighttable .highlight pre a.highlighted, .highlighttable .highlight pre a:target
{
background: #0A0A0A;
}
.CodeMirror-gutters
{
background: #161616;
}
.CodeMirror, .CodeMirror-scroll
{
background: #1C1C1C;
color: #FAFAFA;
}
.CodeMirror-cursor
{
border-color: #FAFAFA;
}
.codehilite .c
{
color: #CCCCCC;
}
.codehilite .nb
{
color: #FAFAFA;
}
.codehilite .nc
{
color: #3572B0;
}
.codehilite .nt
{
color: #3572B0;
}
code, .refract-container .line-numbers-skipped
{
background: #0A0A0A;
}
.refract-container .line-numbers
{
width: 67px;
}
.refract-container .line-numbers::before, .refract-container .line-numbers::after {
width: 33px;
}
.refract-container .gutter
{
border: none;
}
.refract-container .last.line-numbers-skipped
{
border: solid white 1px;
width: 95px;
height: 17px;
}
.refract-container .comment-thread-container, .refract-container .comment-thread-container .comments-list
{
background-color: inherit;
}
.refract-container .comment-thread-container
{
margin-top: 2px;
}
#issue-view #issues-comments-container li.issue-comment:target
{
background: #0A0A0A;
}
.bb-udiff .heading
{
background: #0A0A0A;
}
form.aui .text, .aui-button, a.aui-button, .aui-dropdown2.aui-style-default, body.onboarding .onboarding-content, form.aui .textarea, form.aui .password, .file-history-widget a:hover, .aui-select2-container .select2-choices .select2-search-choice
{
background: #1C1C1C;
color: #FAFAFA;
}
.file-history-widget a
{
background: #0A0A0A;
color: #FAFAFA;
}
.file-source-container .toolbar + #fileview-container .file-source
{
background: #161616;
}
.aui-button:hover, .aui-button.aui-dropdown2-trigger.active, .aui-sidebar .aui-sidebar-footer > .aui-sidebar-toggle:hover, .aui-sidebar.aui-is-hover .aui-sidebar-footer > .aui-sidebar-toggle
{
background: #0A0A0A;
color: #FAFAFA;
}
.file-source-container .toolbar
{
background: #0A0A0A;
}
.highlighttable td.linenos
{
background: #0A0A0A;
}
.highlighttable td.linenos a, #source-container .changeset-info .timestamp
{
color: #FAFAFA;
}
.nt
{
color: #3572B0;
}
.aui-button.aui-dropdown2-trigger:not(.aui-dropdown2-trigger-arrowless)::after, .aui-icon-dropdown, .marketing-grid--image
{
filter: invert(100%);
}
form.aui fieldset.big-radio-buttons input.radio:checked + label, .aui-navgroup-vertical .aui-nav > li > a:hover, .aui-select2-container.select2-container .select2-choice:hover, .aui-select2-container.select2-container.select2-container-active .select2-choice, form.aui .aui-select2-container, .aui-select2-container.select2-container .select2-choice, .aui-select2-container.select2-container a.select2-choice, .help-link:hover, .aui-tabs > .tabs-menu .menu-item.active-tab a:focus, .aui-tabs > .tabs-menu .menu-item.active-tab a:hover, .aui-tabs > .tabs-menu .menu-item.active-tab a, .aui-tabs > .tabs-menu .menu-item.active-tab a:link
{
background-color: #1C1C1C;
color: #FAFAFA;
}
form.aui fieldset.big-radio-buttons input.radio:hover + label, .aui-tabs > .tabs-menu .menu-item a:hover, .aui-tabs > .tabs-menu .menu-item a:link
{
background-color: #0A0A0A;
color: #FAFAFA;
}
.aui-sidebar .aui-navgroup-vertical .aui-nav .aui-nav-selected a
{
background-color: #0A0A0A;
color: #FAFAFA;
border-top: solid white 1px;
border-bottom: solid white 1px;
padding-top: 4px;
padding-bottom: 4px;
}
.aui-navgroup-vertical .aui-nav > li > a:hover, #repo-getting-started .getting-started-choice:hover, #repo-getting-started .getting-started-choice:hover, #repo-getting-started .getting-started-choice:focus, .aui-navgroup-vertical .aui-nav > li > a:focus, .aui-navgroup-vertical .aui-nav > li > a:hover
{
background-color: #161616;
color: #FAFAFA;
border-top: solid black 1px;
border-bottom: solid black 1px;
padding-top: 4px;
padding-bottom: 4px;
}
.aui-navgroup-vertical .aui-nav > li > a
{
padding-top: 5px;
padding-bottom: 5px;
}
.aui-select2-container.select2-container .select2-choice::after
{
border-top-color: #CCCCCC;
}
.filter-status > li[aria-pressed="true"] a, .filter-status > li[aria-pressed="true"] a:hover, a.aui-button.aui-button-light, .aui-dialog .dialog-button-panel, .aui-dialog h2.dialog-title
{
background-color: #1C1C1C;
color: #FAFAFA;
border: solid white 1px;
}
.filter-status > li a:hover, #content .bb-patch .heading .filename, .refract-content-container .line-numbers, .add-line-comment, .aui-sidebar .aui-sidebar-wrapper, .aui-navgroup-horizontal, .aui-inline-dialog .aui-inline-dialog-contents, .aui-inline-dialog .contents, .blank-slate-banner, .aui-button-subtle.aui-button:hover, .aui-dialog .dialog-page-body
{
background-color: #0A0A0A;
color: #FAFAFA;
border: solid white 1px;
}
.aui-buttons .aui-button:not(.aui-button-primary)
{
background-color: #1C1C1C;
color: #FAFAFA;
}
.aui-buttons .aui-button:hover:not(.aui-button-primary)
{
background-color: #0A0A0A;
color: #FAFAFA;
}
.aui-navgroup-horizontal .aui-nav > li a:hover
{
background-color: #0A0A0A;
color: #FAFAFA;
}
.aui-page-panel
{
background: #1C1C1C;
}
.aui-dropdown2.aui-style-default a, .aui-dropdown2.aui-style-default .aui-dropdown2-section > strong
{
background-color: #205081;
color: #FAFAFA;
}
#repo-clone-dialog .sourcetree-callout
{
background-image: linear-gradient(to bottom, #1C1C1C, #0A0A0A);
background-color: rgb(28, 28, 28);
}
#profile .blank-slate.no-following
{
background: none;
}
.participants ol li
{
background: transparent;
}
#pull-request-diff-header .main dt, #repo-content .view-pullrequest #pull-request-header .pull-request-self-link
{
color: #CCCCCC;
}
.sortable-table--column-header
{
background: transparent;
color: #CCCCCC;
}
.sortable-table--column-header:hover
{
background: transparent;
color: #FAFAFA;
}
.sortable-table--column-header[aria-sort="ascending"], .sortable-table--column-header[aria-sort="descending"]
{
background: transparent;
color: #FAFAFA;
}
.sortable-table--column-header[data-initial-sort-direction="ascending"]:hover::after
{
border-bottom-color: #FAFAFA;
}
.sortable-table--column-header[data-initial-sort-direction="descending"]:hover::after
{
border-top-color: #FAFAFA;
}
.sortable-table--column-header[aria-sort="ascending"]::after
{
border-bottom-color: #CCCCCC;
}
.sortable-table--column-header[aria-sort="descending"]::after
{
border-top-color: #CCCCCC;
}
.aui-select2-container.select2-container a.select2-choice
{
text-shadow: none;
}
.filter-bar .aui-select2-container.select2-container.filter-bar-async.select2-dropdown-open .select2-choice
{
background: #0A0A0A;
color: #FAFAFA !important;
}
.filter-bar .aui-button[aria-pressed="true"]
{
background: #0A0A0A;
color: #FAFAFA;
}
.filter-bar .aui-button[aria-pressed="true"]:focus, .filter-bar .aui-button[aria-pressed="true"]:hover
{
background: #131313;
color: #FAFAFA;
}
#issues-count, .aui-badge
{
background: #161616;
color: #FAFAFA;
}
.markItUpHeader
{
background: #161616;
}
.markItUpButton
{
background: #0A0A0A !important;
text-shadow: none !important;
}
.markItUpHeader .markItUpButton a
{
color: #FAFAFA !important;
}
.textarea-preview.previewing .preview-container
{
background: #1C1C1C;
}
table.bb-list .bb-list-item--highlight
{
background: #161616 !important;
}
.author .unmapped-user
{
color: #FAFAFA !important;
}
aui-inline-dialog .aui-inline-dialog-contents
{
background: #131313 !important;
}
/*Messages*/
#notification-content table.bb-list tbody tr td
{
background: #1C1C1C !important;
}
#notification-content table.bb-list tbody tr.read td
{
background: #131313 !important;
}
#notification-content table.bb-list tbody tr.selected td
{
background: #0A0A0A !important;
}

@ -2,7 +2,6 @@
const domLoaded = function domLoaded(){
document.removeEventListener("readystatechange",domLoaded);
document.querySelectorAll("li").forEach(li => {
console.log(li);
if( li.innerHTML.indexOf( '[' ) !== -1 ){
li.innerHTML = li.innerHTML.replace(/\[ \]/g, '☐');
li.innerHTML = li.innerHTML.replace(/\[x\]/g, '☒');
@ -10,7 +9,6 @@
} );
}
console.log("I get here");
if(document.readyState == "loading"){
//If the dom hasn't loaded, wait until it is

Loading…
Cancel
Save