Skip to content

Instantly share code, notes, and snippets.

@ConnerWill
Created April 13, 2023 20:49
Show Gist options
  • Save ConnerWill/eb663982c68585be5cb4b73d1df4b203 to your computer and use it in GitHub Desktop.
Save ConnerWill/eb663982c68585be5cb4b73d1df4b203 to your computer and use it in GitHub Desktop.
Dark Mode Theme For Jira/Bitbucket
// ==UserScript==
// @name Jira Dark Theme
// @version 1.0.0
// @description Dark Theme For Jira
// @author @ConnerWill
// @include *ENTER-URL-HERE*
// @icon https://www.google.com/s2/favicons?sz=64&domain=atlassian.net
// @grant GM_addStyle
// @run-at document-start
// ==/UserScript==
(function() {
let css = `
*{
color: #FFFFFF;
background: #0a0c10;
}
code{
color: #000000;
background: #FFFFFF;
}
:root{
--primary-text: #f8f8f2;
--primary-bg: #272822;
--light-bg: #41423d;
--dark-bg: #272822;
--label-text: #bdbdbd;
--anchor-color: #66d9ef;
}
.ghx-type-1>div.ghx-grabber {
background-color: #841f1f !important;
}
/* Issue card tab color (story)*/
.ghx-type-6>div.ghx-grabber {
background-color: #2e6b31 !important;
}
/* Issue card tab color (task)*/
.ghx-type-3>div.ghx-grabber {
background-color: #2f557b !important;
}
html,
body,
html body,
.aui-dialog2-content,
.aui-dialog2-header,
.aui-dialog2-footer,
.activity-item-description .user-content,
#page,
#dashboard,
#ghx-header,
#ghx-backlog,
#issue-content,
.aui-dialog,
.activity-item-summary,
.aui-dialog .dialog-page-body,
.aui-page-panel,
.ghx-backlog-container,
#ghx-rabid,
#ghx-header h1,
#ghx-header h2,
#ghx-report-scrollarea,
.ui-popout-detached,
.page-type-split .navigator-group,
.navigator-body,
.navigator-search,
.saved-search-selector,
.jira-dialog .buttons-container,
.jira-dialog .jira-dialog-heading h2,
.jira-dialog .jira-dialog-heading,
.jira-dialog .jira-dialog-content,
.issue-view>.issue-container .issue-header,
.issue-header .issue-header-content>.command-bar,
#ghx-column-header-group.ghx-fixed,
.ghx-column-headers .ghx-column,
.ghx-column-headers .ghx-column>h2,
#project-config-header,
.aui-navgroup-horizontal,
#header .aui-message,
table.aui>tbody>tr,
#content .aui-sidebar+.aui-page-header,
#content .aui-sidebar-submenu+.aui-page-header,
.aui-tabs>.tabs-menu .menu-item.active-tab a:active,
.aui-tabs>.tabs-menu .menu-item.active-tab a,
.aui-tabs>.tabs-menu .menu-item.active-tab a:link,
.aui-tabs>.tabs-menu .menu-item.active-tab a:visited,
.aui-tabs>.tabs-menu .menu-item.active-tab a:focus,
.aui-tabs>.tabs-menu .menu-item.active-tab a:hover,
#ghx-pool,
.workflow-designer,
.ghx-content-container,
.release-report-tab .tab-count,
.release-report-tab a,
.release-report-tab a:hover,
.sprint-module-heading .zephyr-tb-name,
.jira-avatar-picker-trigger:hover,
.project-config-scheme-item .project-config-split-panel,
form.aui option,
form.aui optgroup option {
background: var(--primary-bg);
color: var(--primary-text);
}
.ghx-drag-overlay:before,
.ghx-drag-overlay:after {
display: none;
}
.ghx-marker.ui-sortable-helper,
textarea {
background-color: var(--dark-bg);
color: var(--primary-text);
border: none;
}
.ghx-parent-stub,
.ghx-parent-stub .ghx-group {
background: none;
border: none;
}
.ghx-parent-stub .ghx-group::before {
background-color: var(--light-bg);
}
.ghx-parent-stub .ghx-key {
border-left: 10px solid #ccc;
color: #ccc;
}
.ghx-parent-stub .ghx-summary {
color: var(--primary-text);
}
.stuck,
.stuck-bottom,
.stuck * {
background: var(--primary-bg);
border-bottom: none !important;
}
#jira .ghx-label-0 {
background: none;
}
.ghx-iconfont.aui-icon.aui-icon-small.aui-iconfont-expanded,
.aui-icon.ghx-iconfont.aui-icon-small.aui-iconfont-more {
background: none;
}
.ops li .button {
background: var(--dark-bg);
color: var(--primary-text);
border-radius: 0 !important;
border: none;
}
.release-report-tab.active-tab a,
.release-report-tab:hover a {
border-bottom-color: #999;
}
.ghx-plan-band-1 .ghx-issue-compact .ghx-issue-content:after,
#ghx-chart-view > div.legend > div:first-child,
.blender {
display: none;
}
#add-project-dialog .template,
.aui-page-panel {
border: none;
}
.ghx-drag-in-progress .ghx-backlog-container.ghx-open.ghx-target-hover .ghx-no-issues .ghx-helper,
.ghx-drag-in-progress .ghx-backlog-container.ghx-open .ghx-no-issues .ghx-helper {
background: #101010;
}
.aui-dialog2.aui-layer[aria-hidden="false"] .aui-dialog2-header,
.aui-dialog2.aui-layer[aria-hidden="false"] .aui-dialog2-footer,
.aui-dialog2.aui-layer[aria-hidden="false"] .aui-dialog2-content {
border: 1px solid #999;
}
.tabwrap>.tabs.horizontal,
.tabwrap>.tabs.horizontal>li.active>a,
.tabwrap>.tabs.horizontal>li.active>strong,
.tabwrap>.tabs.horizontal>li>a,
.tabwrap>.tabs.horizontal>li>strong,
.jira-dialog,
.jira-dialog .jira-dialog-heading,
.jira-dialog .buttons-container {
border-color: #606060;
}
.aui-ss>.aui-ss-field.active~.aui-ss-icon.drop-menu,
.jira-multi-select>textarea.active~.icon.drop-menu,
.aui-ss>.aui-ss-icon.drop-menu:active,
.aui-ss>.aui-ss-icon.drop-menu:hover {
background: #606060;
border-color: #999;
}
.aui-button.aui-dropdown2-trigger:not(.aui-dropdown2-trigger-arrowless):after,
.aui-buttons .aui-button.aui-button-primary.aui-dropdown2-trigger:not(.aui-dropdown2-trigger-arrowless):after {
border-top-color: #999;
}
.editable-field:not(.active):hover,
.editable-field.saving {
box-shadow: 0 0 0 1px #999;
}
.attachment-content .attachment-delete {
width: 17px;
}
.ghx-column-headers .ghx-column {
border-bottom: 5px solid var(--light-bg);
}
.aui-label,
span.aui-label,
#components-add__component,
.aui-message.hint,
.aui-message-hint,
.aui-message.info,
.aui-message-info,
#dashboard>.tabs.vertical a,
#dashboard>.tabs.vertical li.active,
table.aui>tbody>tr>th,
#releases-add__version,
table.aui>tfoot>tr,
.tabwrap>.tabs.horizontal>li,
.tabwrap>ul.tabs>li a,
.tabwrap>ul.tabs>li a:link,
.tabwrap>ul.tabs>li a:visited {
background: none;
color: var(--primary-text);
}
#summary-val {
padding-bottom: 5px;
}
*:focus {
outline: none;
}
.iic-widget__issue-type-selector__trigger:active,
.iic-widget__issue-type-selector__trigger.active,
.iic-widget__issue-type-selector__trigger:focus,
.iic-widget__issue-type-selector__trigger:hover,
.ghx-issue-compact.ui-sortable-helper,
.ghx-issue-compact.ui-sortable-helper .ghx-end,
.aui-sidebar-submenu .aui-sidebar-footer,
.ghx-marker,
body#tinymce,
.ghx-columns .ghx-column {
background: var(--light-bg);
}
#add-project-dialog .template.selected,
form#issue-filter .check-list-item.active,
form.aui .check-list-item.active,
.check-list-item.active,
.check-list-group-footer.active,
.query-component .search-container[data-mode="advanced"] .atlassian-autocomplete .search-entry,
.ghx-issuetable .issuerow:hover,
.links-list dd:hover,
.details-layout .split-view .list-results-panel .list-panel .issue-list>li.focused,
#issuetable>tbody>tr,
.issue-table>tbody>tr,
#issuetable>tfoot>tr,
.issue-table>tfoot>tr,
#issuetable,
.issue-table,
.workflow-designer .actions,
.screen-editor .aui-restfultable-create tr.aui-restfultable-focused:hover td,
.screen-editor .aui-restfultable-create tr.aui-restfultable-focused td,
#project-config-panel-roles table.aui tbody tr:hover,
table.aui.aui-table-rowhover>tbody tr:hover,
table.aui.aui-restfultable>thead>tr>th,
.aui-restfultable-allowhover tr.aui-restfultable-focused td,
.aui-restfultable-allowhover tr:hover td,
table.aui.ghx-hover-highlight tbody tr:hover,
#activity-stream-show-more:hover,
.dynamic-table tr:hover,
.ghx-classification-item.ghx-selected,
.ghx-classification-item:hover,
.ghx-ide-menu>li:hover,
.item-attachments .attachment-content:hover,
.issue-data-block.collapsed:hover,
.issue-data-block:hover,
.issue-data-block.focused,
.calendar,
.calendar table,
.calendar .headrow {
background-color: var(--dark-bg);
}
form.aui .button,
.zephyr-tb-cycle-compact,
.zephyr-tb-issue-compact,
.jira-multi-select>.representation .value-item,
.activity-item-description blockquote,
.ghx-issue-compact,
.ghx-issue.ghx-selected,
.ghx-issue {
background: var(--dark-bg);
border: 1px solid var(--light-bg);
color: var(--primary-text);
}
form.aui option,
form.aui optgroup option,
.split-view #stalker,
.split-view .issue-header,
.details-layout .split-view .detail-panel .issue-container .issue-header,
.issue-header,
.layout .column .placeholder,
.layout .column-empty .empty-text,
.ghx-column-headers .ghx-column.ghx-target-option,
.ghx-zone-overlay div {
background: var(--primary-bg) !important;
}
#content > div.aui-sidebar.projects-sidebar.fade-in > div > div.aui-sidebar-body > nav > div > div.aui-sidebar-group.jira-sidebar-group-with-divider.project-shortcuts-group.aui-alignment-target.aui-alignment-abutted.aui-alignment-abutted-top.aui-alignment-element-attached-top.aui-alignment-element-attached-left.aui-alignment-target-attached-top.aui-alignment-target-attached-right.active,
.project-shortcuts-group li:hover,
.ghx-issue.ghx-selected:hover,
.ghx-detail-nav-item.ghx-selected,
.ghx-issue-compact.ghx-selected,
.ghx-issue-compact .ghx-selected-group,
.ghx-issue-compact:hover,
.ghx-issue-compact.ghx-selected:hover,
.ghx-issue-compact .ghx-selected-group:hover,
.ghx-issue.ghx-selected,
.ghx-issue-compact.ghx-selected .ghx-issue-content .ghx-end,
.ghx-issue-compact.ghx-selected:hover .ghx-issue-content .ghx-end,
.ghx-issue-compact:hover .ghx-issue-content .ghx-end,
.ghx-issue:hover,
.aui-navgroup-horizontal .aui-nav>.aui-nav-selected a:focus,
.aui-navgroup-vertical .aui-nav .aui-nav-selected a:focus,
.aui-nav-vertical .aui-nav .aui-nav-selected a:focus,
.aui-navgroup-horizontal .aui-nav>.aui-nav-selected a:hover,
.aui-navgroup-vertical .aui-nav .aui-nav-selected a:hover,
.aui-nav-vertical .aui-nav .aui-nav-selected a:hover,
.tabwrap>.tabs.horizontal>li.active>a,
.tabwrap>.tabs.horizontal>li.active>strong,
.tipsy-inner,
form.aui .button:focus,
form.aui .button:hover,
.aui-restfultable-allowhover td:hover .aui-restfultable-editable,
.aui-sidebar-section-tooltip .tipsy-inner,
.ghx-detail-nav-item b,
.iic-widget,
.iic-widget__form,
ul.project-issuetypes>li>a:focus,
ul.project-issuetypes>li>a:hover,
form.aui .text,
form.aui .password,
form.aui .upfile,
form.aui .textarea,
form.aui .select,
form.aui .multi-select,
form.aui .aui-select2-container,
.check-list-select .aui-list-scroll .no-suggestions,
#content > div.aui-sidebar.projects-sidebar.fade-in > div > div.aui-sidebar-body > nav > div > div.aui-sidebar-group.jira-sidebar-group-with-divider.project-shortcuts-group.aui-alignment-target.aui-alignment-abutted.aui-alignment-abutted-top.aui-alignment-element-attached-top.aui-alignment-element-attached-left.aui-alignment-target-attached-top.aui-alignment-target-attached-right:hover,
.aui-sidebar[aria-expanded=false] .aui-navgroup-vertical .aui-nav .aui-nav-child-selected a,
.aui-sidebar-submenu[aria-expanded=false] .aui-navgroup-vertical .aui-nav .aui-nav-child-selected a,
.aui-sidebar .aui-navgroup-vertical .aui-nav .aui-nav-selected a,
.aui-sidebar-submenu .aui-navgroup-vertical .aui-nav .aui-nav-selected a,
.zephyr-tb-cycle-compact:hover,
.zephyr-tb-issue-compact:hover {
background: #151515;
}
.ghx-issue-compact:hover .ghx-issue-content .ghx-end.ghx-row,
.ghx-issue-compact.ghx-selected .ghx-issue-content .ghx-end.ghx-row {
box-shadow: -20px 5px 50px 10px #151515;
-webkit-box-shadow: -20px 5px 50px 10px #151515;
}
.ghx-issue-compact .ghx-issue-content .ghx-end {
background: var(--dark-bg);
}
.ghx-issue-compact .ghx-issue-content .ghx-end.ghx-row {
box-shadow: -20px 5px 50px 10px var(--dark-bg);
-webkit-box-shadow: -20px 5px 50px 10px var(--dark-bg);
}
form.aui .text,
form.aui .password,
form.aui .textarea,
form.aui .select,
form.aui .multi-select,
form.aui .aui-select2-container .select2-choices {
border-color: #151515;
}
.aui-lozenge.aui-lozenge-subtle.jira-issue-status-lozenge-yellow {
color: #abaf38;
}
.aui-message.warning,
.aui-message-warning {
background: var(--primary-bg);
color: var(--primary-text);
border-color: rgba(246, 195, 66, 0.63);
}
.aui-message.success,
.aui-message-success {
background: var(--primary-bg);
color: var(--primary-text);
border-color: #256921;
}
.aui-message.success:before,
.aui-message-success:before {
background-color: #256921;
}
.aui-message.error,
.aui-message-error {
background: var(--primary-bg);
color: var(--primary-text);
border-color: #862a2a;
}
.aui-message.error:before,
.aui-message-error:before {
background-color: #862a2a;
}
#ghx-plan,
#ghx-work,
#ghx-report-scrollarea,
.aui-dialog,
.aui-dialog .dialog-title,
.aui-dialog .dialog-button-panel,
.wiki-edit-toolbar,
.ghx-backlog-container,
.richeditor-cover~.rte-container:not(:empty),
form.aui .jira-wikifield~.save-options.wiki-button-bar,
.sd-rte-bar,
.iic-widget__summary,
.aui-navgroup-vertical .aui-nav,
.aui-navgroup-vertical .aui-nav-heading,
.aui-sidebar[aria-expanded="false"] .sidebar-content-container .jira-sidebar-group-with-divider:before,
div[class^="aui-sidebar"],
div[class*=" aui-sidebar-"] {
border-color: #606060 !important;
}
.wiki-edit-content .aui-tabs.editor-toggle-tabs .tabs-menu {
margin-top: 9px !important;
}
.ghx-issue.ghx-selected.ghx-flagged,
.ghx-issue.ghx-flagged.ghx-selected .ghx-end,
.ghx-issue:hover .ghx-end,
.ghx-issue.ghx-flagged .ghx-end,
.ghx-issue.ghx-selected:hover .ghx-end,
.ghx-issue.ghx-flagged:hover .ghx-end,
.ghx-issue.ghx-flagged.ghx-selected:hover .ghx-end,
.ghx-issue-compact.ghx-flagged.ghx-selected .ghx-end,
.ghx-issue-compact.ghx-flagged .ghx-end,
ul.labels li .lozenge,
.ghx-issue .ghx-end,
.ghx-issuetable,
.aui-ss>.aui-ss-icon.drop-menu,
#footer-logo,
span.applinks-auth-request,
.ghx-swimlane-header:after,
.ghx-issue.ghx-selected .ghx-end,
.ghx-issue:hover .ghx-end,
.ghx-issue.ghx-selected:hover .ghx-end,
.aui-tabs.horizontal-tabs>.tabs-menu>.menu-item,
.aui-lozenge.aui-lozenge-subtle.jira-issue-status-lozenge-green,
.aui-lozenge.aui-lozenge-subtle.jira-issue-status-lozenge-yellow,
.aui-lozenge.aui-lozenge-subtle.jira-issue-status-lozenge-blue-gray,
.ghx-issue-compact:hover .ghx-end,
.ghx-issue-compact.ghx-selected:hover .ghx-end,
.ghx-issue-compact.ghx-flagged:hover .ghx-end,
.ghx-issue-compact.ghx-flagged.ghx-selected:hover .ghx-end,
.ghx-issue-compact.ghx-selected .ghx-end,
.ghx-issue-compact .ghx-end,
.upload-progress-bar .upload-progress-bar__file-size {
background: none;
box-shadow: none;
-webkit-box-shadow: none;
}
h1,
h2,
h3,
h4,
h5,
.action-body blockquote,
.aui-list a:link,
.aui-list a:visited,
.wiki-edit-toolbar,
.qf-picker-button,
form.aui .button:focus,
form.aui .button:hover,
#content .aui-page-panel-nav .tabs.vertical .active a,
.filter-list>li .filter-link:active,
.filter-list>li .filter-link.active,
.filter-list>li .filter-link:focus,
form.aui .jira-wikifield~.save-options.wiki-button-bar,
.aui-dropdown2.aui-style-default [role="menuitem"],
.aui-dropdown2.aui-style-default [role="menuitemcheckbox"],
.aui-dropdown2.aui-style-default [role="menuitemradio"],
.aui-dropdown2.aui-style-default [role="radio"],
.aui-dropdown2.aui-style-default [role="checkbox"],
.aui-dropdown2.aui-style-default a,
.sd-rte-bar,
.scope-filter .scope-filter-trigger.aui-button-link:hover,
.operations>li:focus,
.operations>li:hover,
.operations>li>.active,
.aui-button:active,
.aui-button.active,
form.aui .checkbox>label,
form.aui .radio>label,
.aui-header .aui-button-split-more.active,
.aui-button-subtle.aui-button:active,
.aui-button-subtle.aui-button.active,
.query-component .search-container[data-mode="advanced"] .atlassian-autocomplete .search-entry,
#issuetable>tbody>tr,
.issue-table>tbody>tr,
#issuetable>tfoot>tr,
.issue-table>tfoot>tr,
.aui-sidebar-section-tooltip .tipsy-inner,
.aui-button.aui-button-subtle,
.criteria-list .fieldLabel,
.ghx-detail-nav-item b,
.ghx-detail-view.gh-editable-detail-view .ghx-detail-issue .ghx-fa,
.ghx-detail-view.gh-editable-detail-view .ghx-detail-issue .module.toggle-wrap .toggle-title,
.ghx-detail-issue,
.aui-navgroup-horizontal .aui-nav>li a,
.aui-navgroup-vertical .aui-nav>li>a,
.aui-nav-vertical>li>a,
#dashboard>.tabs.vertical .active a,
#dashboard>.tabs.vertical li.active,
#dashboard>.tabs.vertical a:focus,
#dashboard>.tabs.vertical a:hover,
.ghx-backlog-header .ghx-name,
.ghx-href-fix-list.aui-list .aui-list-item-link,
input.js-editing-field,
.ghx-classification-item .aui-item,
.aui-badge {
color: var(--primary-text) !important;
}
.ghx-editable:after,
input.js-editing-field,
.ghx-editable:hover {
border-color: #606060;
box-shadow: 0 0 0 1px #606060;
background-color: var(--primary-bg);
color: var(--primary-text);
}
.code.panel,
.sprint-health-dashboard-item,
.wiki-edit-toolbar,
.filter-list>li:hover,
.filter-list>li.hover,
#content .aui-page-panel-nav .tabs.vertical a:focus,
#content .aui-page-panel-nav .tabs.vertical a:hover,
#content .aui-page-panel-nav .tabs.vertical .active a:focus,
#content .aui-page-panel-nav .tabs.vertical .active a:hover,
form.aui .jira-wikifield~.save-options.wiki-button-bar,
.sd-rte-bar,
.operations>li:focus,
.operations>li:hover,
.operations>li>.active,
.aui-button:active,
.aui-button.active,
.ghx-detail-nav-menu,
.aui-sidebar .aui-sidebar-footer,
.aui-sidebar .aui-sidebar-footer>.aui-sidebar-toggle:focus,
.aui-sidebar .aui-sidebar-footer>.aui-sidebar-settings-button,
.aui-sidebar-submenu .aui-sidebar-footer>.aui-sidebar-settings-button,
.aui-sidebar .aui-sidebar-footer>.aui-sidebar-toggle,
.aui-sidebar-submenu .aui-sidebar-footer>.aui-sidebar-toggle,
.aui-sidebar .aui-sidebar-footer>.aui-sidebar-settings-button:hover,
.aui-sidebar-submenu .aui-sidebar-footer>.aui-sidebar-settings-button:hover,
.aui-sidebar .aui-sidebar-footer>.aui-sidebar-toggle:hover,
.aui-sidebar-submenu .aui-sidebar-footer>.aui-sidebar-toggle:hover,
.aui-sidebar .aui-sidebar-footer>.aui-sidebar-settings-button:focus,
.aui-sidebar-submenu .aui-sidebar-footer>.aui-sidebar-settings-button:focus,
.aui-sidebar-submenu .aui-sidebar-footer>.aui-sidebar-toggle:focus,
.aui-header .aui-button-split-more.active,
.aui-button-subtle.aui-button:active,
.aui-button-subtle.aui-button.active,
.gadget .dashboard-item-content,
.layout .column .placeholder,
.layout .column.empty .empty-text,
table.aui>caption,
#dashboard>.tabs.vertical .active a,
#dashboard>.tabs.vertical li.active,
#dashboard>.tabs.vertical a:focus,
#dashboard>.tabs.vertical a:hover,
.aui-sidebar .aui-sidebar-wrapper,
.aui-sidebar-submenu .aui-sidebar-wrapper,
html:not(.webkit):not(.chrome),
body:not(#jira):not(.has-footer-options) {
background: var(--dark-bg) !important;
}
.aui-tabs.horizontal-tabs>.tabs-menu>.menu-item.active-tab,
.aui-tabs.horizontal-tabs[data-aui-responsive]>.tabs-menu>.menu-item.active-tab,
.aui-tabs.aui-tabs-disabled.horizontal-tabs>.tabs-menu>.active-tab:focus,
.aui-tabs.aui-tabs-disabled.horizontal-tabs>.tabs-menu>.active-tab:hover,
.aui-tabs.aui-tabs-disabled.horizontal-tabs>.tabs-menu>.active-tab:active {
margin-bottom: 0 !important;
}
form.aui .button,
form.aui .button:focus,
form.aui .button:hover,
.query-component .search-container[data-mode="advanced"] .atlassian-autocomplete .search-entry,
.operations>li>.active,
.aui-tabs.horizontal-tabs>.tabs-menu>.menu-item.active-tab,
.aui-tabs.horizontal-tabs[data-aui-responsive]>.tabs-menu>.menu-item.active-tab,
.aui-tabs.aui-tabs-disabled.horizontal-tabs>.tabs-menu>.active-tab:focus,
.aui-tabs.aui-tabs-disabled.horizontal-tabs>.tabs-menu>.active-tab:hover,
.aui-tabs.aui-tabs-disabled.horizontal-tabs>.tabs-menu>.active-tab:active,
.wiki-edit-content .aui-tabs.editor-toggle-tabs .menu-item:first-child>a,
.wiki-edit-content .aui-tabs.editor-toggle-tabs .menu-item:last-child>a,
.gadget .dashboard-item-header,
.gadget .dashboard-item-content,
.aui-sidebar .aui-sidebar-wrapper,
.aui-sidebar-submenu .aui-sidebar-wrapper {
}
.sprint-health-dashboard-item .ag-header-region,
#issuetable>thead>tr>th,
.issue-table>thead>tr>th,
#issuetable>tbody>tr>th,
.issue-table>tbody>tr>th,
#issuetable>thead>tr>td,
.issue-table>thead>tr>td,
#issuetable>tbody>tr>td,
.issue-table>tbody>tr>td,
#issuetable>tfoot>tr>td,
.issue-table>tfoot>tr>td {
border-bottom: 1px solid var(--light-bg);
}
form.aui div.radio input.radio,
form.aui div.checkbox input.checkbox,
body > div.gadget.default > div > div > img,
.planOperations img,
#ghx-chart-view>canvas.base,
#ghx-report-content>div>canvas:first-child,
#ghx-chart-overview > canvas.base,
.reports__list__report:before,
.twixi-block .icon-twixi,
.toggle-wrap .icon-twixi,
.twixi-block .twixi-opened,
.toggle-wrap .twixi-opened,
.aui-icon {
filter: invert(100%);
}
.aui-header>div>div>ul>li>a>.aui-icon,
.aui-header>div>div>a>.aui-icon {
filter: none;
}
.gadget.color1 .dashboard-item-header,
.gadget-colors .color1>a,
.aui-header {
background: #2f557b;
}
#ghx-backlog,
.ghx-version-expanded .ghx-classification-column,
.ghx-epic-expanded .ghx-classification-column,
.aui-dropdown2.aui-style-default,
.aui-dropdown2.aui-style-default:hover .aui-dropdown2-checkbox,
.aui-dropdown2.aui-style-default:hover .aui-dropdown2-radio,
.aui-dropdown2.aui-style-default:hover a {
background-color: var(--primary-bg);
border-radius: 0;
border-color: #707070;
color: var(--primary-text);
}
a,
.ghx-issuetable td.assignee>a,
.gadget a:hover,
.config a:hover,
.gadget a:focus,
.config a:focus,
.gadget a:active,
.config a:active,
.gadget a,
.config a {
color: var(--anchor-color);
}
.aui-button.ghx-dropdown-trigger:after,
.aui-buttons .aui-button.aui-button-primary.ghx-dropdown-trigger:after {
border-top-color: #999;
}
.ghx-issue.ghx-flagged,
.ghx-issue-compact.ghx-flagged,
.ghx-issue.ghx-flagged .ghx-end,
.ghx-issue-compact.ghx-flagged .ghx-issue-content .ghx-end.ghx-row {
background: rgb(82, 72, 40);
}
.ghx-issue-compact.ghx-flagged .ghx-issue-content .ghx-end.ghx-row {
box-shadow: -20px 5px 50px 10px rgb(82, 72, 40);
-webkit-box-shadow: -20px 5px 50px 10px rgb(82, 72, 40);
}
.ghx-issue.ghx-flagged:hover,
.ghx-issue.ghx-selected.ghx-flagged,
.ghx-issue-compact.ghx-flagged:hover,
.ghx-issue-compact.ghx-selected.ghx-flagged,
.ghx-issue-compact.ghx-selected.ghx-flagged .ghx-issue-content .ghx-end.ghx-row,
.ghx-issue-compact.ghx-flagged:hover .ghx-issue-content .ghx-end.ghx-row,
.ghx-issue-compact .ghx-selected-group.ghx-flagged {
background: rgb(41, 37, 22);
}
.ghx-issue-compact.ghx-flagged:hover .ghx-issue-content .ghx-end.ghx-row,
.ghx-issue-compact.ghx-selected.ghx-flagged .ghx-issue-content .ghx-end.ghx-row {
box-shadow: -20px 5px 50px 10px rgb(41, 37, 22);
-webkit-box-shadow: -20px 5px 50px 10px rgb(41, 37, 22);
}
.operations>li,
.aui-button.aui-button-light,
a.aui-button.aui-button-light,
.aui-button:visited.aui-button-light,
.aui-tabs>.tabs-menu .menu-item a,
.aui-tabs>.tabs-menu .menu-item a:link,
.aui-tabs>.tabs-menu .menu-item a:visited,
.aui-toolbar .toolbar-group .toolbar-trigger,
.aui-toolbar .aui-dd-parent a.aui-dd-trigger,
.aui-button:hover,
.aui-dialog .dialog-button-panel button.button-panel-button,
.aui-button.aui-button-subtle,
.aui-button,
a.aui-button,
.aui-button:visited {
background: var(--light-bg);
background-color: var(--light-bg);
border-radius: 0;
border: none;
color: var(--primary-text);
text-shadow: none;
}
#attachment_thumbnails .attachment-delete,
.aui-button-subtle.aui-button:hover,
#search-header-view > div > ul > li > button:hover,
.aui-toolbar .aui-dropdown2-trigger.toolbar-trigger.active,
.aui-toolbar .toolbar-splitbutton:hover .toolbar-trigger,
.aui-toolbar .toolbar-group .toolbar-trigger:focus,
.aui-toolbar .toolbar-group .toolbar-trigger:hover,
.aui-toolbar .toolbar-group button:focus,
.aui-toolbar .toolbar-group button:hover,
.aui-toolbar .aui-dd-parent .aui-dd-trigger:focus,
.aui-toolbar .aui-dd-parent .aui-dd-trigger:hover,
.aui-toolbar .toolbar-group .active .toolbar-trigger:hover,
.aui-dialog .dialog-button-panel button.button-panel-button:focus,
.aui-dialog .dialog-button-panel button.button-panel-button:hover,
.aui-button:focus,
.aui-button-subtle.aui-button:focus {
background-color: var(--dark-bg);
color: var(--primary-text);
outline: none;
}
.calendar .combo .hilite,
.aui-sidebar[aria-expanded="false"] .aui-sidebar-group-tier-one>.aui-nav>li>.aui-nav-item.active,
.aui-sidebar-submenu[aria-expanded="false"] .aui-sidebar-group-tier-one>.aui-nav>li>.aui-nav-item.active,
.aui-navgroup-horizontal .aui-nav>li a:focus,
.aui-navgroup-vertical .aui-nav>li>a:focus,
.aui-nav-vertical>li>a:focus,
.aui-navgroup-horizontal .aui-nav>li a:hover,
.aui-navgroup-vertical .aui-nav>li>a:hover,
.aui-nav-vertical>li>a:hover,
.ghx-detail-contents .ghx-detail-view-blanket,
.details-layout>.loading,
.aui-sidebar[aria-expanded="false"] .aui-sidebar-group.aui-sidebar-group-actions:hover:after,
.aui-sidebar-submenu[aria-expanded="false"] .aui-sidebar-group.aui-sidebar-group-actions:hover:after,
.aui-sidebar[aria-expanded="false"] .aui-sidebar-group.aui-sidebar-group-actions:focus:after,
.aui-sidebar-submenu[aria-expanded="false"] .aui-sidebar-group.aui-sidebar-group-actions:focus:after,
.aui-sidebar[aria-expanded="false"] .aui-sidebar-group.aui-sidebar-group-actions.active:after,
.aui-sidebar-submenu[aria-expanded="false"] .aui-sidebar-group.aui-sidebar-group-actions.active:after {
background-color: #151515;
}
.build-history span a {
background-color: #1c2d1a !important;
}
.build-result-successful {
background-color: #1c2d1a !important;
border: none !important;
}
.build-result-error {
border: none !important;
background-color: #33191a !important;
}
.build-history span.error a {
background-color: #33191a !important;
}
.editable-field form.aui .text,
.editable-field form.aui .password,
.editable-field form.aui .textarea,
.editable-field form.aui .select,
.editable-field form.aui .multi-select {
box-shadow: none;
}
div.build-result-error *,
div.build-result-error a {
color: #c76060!important;
}
.sprint-health-dashboard-item .ag-status-header a,
.sprint-health-dashboard-item .ag-progress-group a,
.sprint-health-dashboard-item .ag-meta-section a {
color: var(--primary-text);
}
.aui-inline-dialog .aui-inline-dialog-contents,
.aui-inline-dialog-contents {
border: none;
background-color: #151515 !important;
}
.user-hover-buttons>ul {
border-color: var(--light-bg);
}
.aui-inline-dialog-arrow.aui-css-arrow:after,
.aui-inline-dialog-arrow.aui-css-arrow:before {
display: none;
}
.user-hover-more {
background-color: #151515;
color: var(--primary-text) !important;
border: none !important;
}
/*Upper right dropdowns on sprint board*/
.atlassian-autocomplete .suggestions,
.atlassian-autocomplete .suggestions li,
.query-component .search-container[data-mode="basic"] .search-entry,
.check-list-select .check-list-field-container .check-list-field,
form.aui .text,
form.aui .password,
form.aui .upfile,
form.aui .textarea,
form.aui .select,
form.aui .multi-select,
form.aui .aui-select2-container,
.ajs-layer {
background-color: var(--primary-bg);
border-radius: 0;
border-color: #707070;
color: var(--primary-text);
}
.aui-list li.disabled a:link,
.aui-list li.disabled a:visited,
.aui-list li.disabled a:focus,
.aui-list li.disabled a:hover,
.aui-list li.disabled.active a:link,
.aui-list li.disabled.active a:visited,
.aui-list li.disabled.active a:focus,
.aui-list li.disabled.active a:hover,
.aui-list li a.disabled:link,
.aui-list li a.disabled:visited,
.aui-list li a.disabled:focus,
.aui-list li a.disabled:hover,
.aui-list li.active a.disabled:link,
.aui-list li.active a.disabled:visited,
.aui-list li.active a.disabled:focus,
.aui-list li.active a.disabled:hover {
background: #5f5f5f;
}
aui-inline-dialog .aui-inline-dialog-contents,
.aui-inline-dialog .aui-inline-dialog-contents,
aui-inline-dialog .contents,
.aui-inline-dialog .contents {
background-color: var(--primary-bg);
border-radius: 0;
border-color: #707070;
color: var(--primary-text);
}
.ghx-quick-content .ghx-quickfilter-trigger,
.ghx-quick-content[aria-expanded="false"] .ghx-quickfilter-trigger {
padding-top: 10px;
}
.aui-list h5,
.iic-trigger button:hover {
color: white;
}
#ghx-plan {
display: inline-block;
}
#ghx-plan-group,
#ghx-work {
display: inline-table;
}
.no-results,
.page-type-split .navigator-body,
#project-config-panel-roles .roles-filter-form,
#stepped-process > div > section > form > table > tbody > tr:nth-child(3),
.issue-body-content .module>.mod-header>h1,
.issue-body-content .module>.mod-header>h2,
.issue-body-content .module>.mod-header>h3,
.issue-body-content .module>.mod-header>h4,
.issue-body-content .module>.mod-header>h5,
.issue-body-content .module>.mod-header>h6 {
background-color: var(--primary-bg);
}
.jira-multi-select>.icon.drop-menu,
.ghx-detail-contents {
background: none;
border-color: #606060;
}
.editable-field {
transition: none;
-webkit-transition: none;
}
.editable-field.active,
.issue-body-content .module>.mod-header .ops,
.ghx-detail-view.gh-editable-detail-view #commentmodule .tabwrap .sortwrap .issue-activity-sort-link,
.editable-field:hover {
background-color: var(--primary-bg);
border-radius: 0;
}
.aui-sidebar-section-tooltip .tipsy-arrow {
color: #151515;
background: none;
border-right-color: #151515;
}
.code-keyword {
color: #3253ff;
}
.code-object {
color: #ce02ce;
}
.calendar td.hilite,
.calendar .daysrow .day+.day.hilite,
.calendar .daysrow .emptycell+.day.hilite,
form.aui .text[disabled],
form.aui .password[disabled],
form.aui .textarea[disabled],
form.aui .select[disabled],
form.aui .multi-select[disabled],
form.aui .select[disabled] option,
form.aui .select[disabled] optgroup,
form.aui .multi-select[disabled] option,
form.aui .multi-select[disabled] optgroup {
background-color: #606060;
}
.jira-multi-select>.icon.drop-menu:active,
.jira-multi-select>.icon.drop-menu:focus,
.jira-multi-select>.icon.drop-menu:hover {
background: #606060;
border: none;
}
.calendar table .wn,
.calendar .daynames td.wn,
.calendar .combo,
#issuetable tr.focused,
.issue-table tr.focused,
#issuetable>thead .sortable:hover,
.issue-table>thead .sortable:hover,
#issuetable>thead .active,
.issue-table>thead .active,
#issuetable>tbody>tr:hover,
.issue-table>tbody>tr:hover,
.editable-field .save-options {
background-color: var(--light-bg);
}
.ghx-issue-compact.ui-sortable-helper .ghx-end,
.criteria-list .aui-button:focus,
.criteria-list .search-entry:focus,
.operations>li>.active,
.ghx-detail-view .text,
.ghx-timetracking-inline-dialog-contents .text,
.ghx-detail-view .password,
.ghx-detail-view .select {
box-shadow: none;
}
.operations>li>.active,
.iic-widget__summary,
.tabwrap>.tabs.horizontal>li:first-child>a,
.tabwrap>.tabs.horizontal>li:first-child>strong,
.tabwrap>.tabs.horizontal>li:last-child>a,
.tabwrap>.tabs.horizontal>li:last-child>strong,
.wiki-edit-toolbar .aui-buttons .aui-button,
.query-component .search-container[data-mode="advanced"] .atlassian-autocomplete .search-entry,
.wiki-edit-content .aui-tabs.editor-toggle-tabs .menu-item:first-child>a,
.wiki-edit-content .aui-tabs.editor-toggle-tabs .menu-item:last-child>a,
.aui-ss>.aui-ss-icon.drop-menu,
.jira-multi-select>textarea.active~.icon.drop-menu,
.jira-multi-select>.icon.drop-menu:active,
.jira-multi-select>.icon.drop-menu:focus,
.jira-multi-select>.icon.drop-menu:hover,
.toolbar-group .toolbar-item.toolbar-splitbutton:last-of-type .aui-dd-trigger,
.toolbar-group .toolbar-item:last-of-type a,
.toolbar-group .toolbar-item:last-of-type button,
.toolbar-group .toolbar-item:last-of-type input[type="button"],
.toolbar-group .toolbar-item:last-of-type input[type="reset"],
.toolbar-group .toolbar-item:last-of-type input[type="submit"],
.toolbar-group .toolbar-item:last-of-type .toolbar-trigger,
.toolbar-group .toolbar-item:first-of-type a,
.toolbar-group .toolbar-item:first-of-type button,
.toolbar-group .toolbar-item:first-of-type input[type="button"],
.toolbar-group .toolbar-item:first-of-type input[type="reset"],
.toolbar-group .toolbar-item:first-of-type input[type="submit"],
.toolbar-group .toolbar-item:first-of-type .toolbar-trigger {
border-radius: 0 !important;
}
.tipsy .tipsy-w .aui-sidebar-section-tooltip .tooltip-shown {
background: black !important;
}
.versions-table .versions-table__handle .aui-icon {
filter: none;
}
.ghx-detail-head .ghx-project-avatar {
border: none;
z-index: 4;
}
.ghx-detail-nav-menu {
top: 0px;
height: 100%;
padding-top: 70px;
}
.jira-multi-select>.representation .item-row>.value-item {
font-size: 13px;
}
.wiki-edit-toolbar a.wiki-edit-operation-color {
vertical-align: top;
}
.attachments-drop-zone__dragover-fade .attachments-drop-zone__dragover-border {
background: rgba(0, 0, 0, 0.5) !important;
}
.attachments-drop-zone__dragover-border {
border-color: #12912e;
}
div.attachments-drop-zone__dragover-info {
background: var(--dark-bg);
border-color: #12912e;
}
/*Status and Epic Colors*/
.aui-lozenge.jira-issue-status-lozenge-blue-gray {
background-color: rgba(74, 103, 133, 0.63);
border-color: rgba(74, 103, 133, 0.63);
}
.aui-lozenge.jira-issue-status-lozenge-yellow {
background-color: rgba(255, 211, 81, 0.63);
border-color: rgba(255, 211, 81, 0.63);
}
.aui-lozenge.jira-issue-status-lozenge-green {
background-color: rgba(20, 137, 44, 0.63);
border-color: rgba(20, 137, 44, 0.63);
}
#jira .ghx-label-1 {
background-color: rgba(129, 91, 58, 0.63);
border-color: rgba(129, 91, 58, 0.63);
}
#jira .ghx-label-2 {
background-color: rgba(247, 146, 50, 0.63);
border-color: rgba(247, 146, 50, 0.63);
}
#jira .ghx-label-3 {
background-color: rgba(211, 156, 63, 0.63);
border-color: rgba(211, 156, 63, 0.63);
}
#jira .ghx-label-4 {
background-color: rgba(59, 127, 196, 0.63);
border-color: rgba(59, 127, 196, 0.63);
}
#jira .ghx-label-5 {
background-color: rgba(74, 103, 133, 0.63);
border-color: rgba(74, 103, 133, 0.63);
}
#jira .ghx-label-6 {
background-color: rgba(142, 176, 33, 0.63);
border-color: rgba(142, 176, 33, 0.63);
}
#jira .ghx-label-7 {
background-color: rgba(172, 112, 122, 0.63);
border-color: rgba(172, 112, 122, 0.63);
}
#jira .ghx-label-8 {
background-color: rgba(101, 73, 130, 0.63);
border-color: rgba(101, 73, 130, 0.63);
}
#jira .ghx-label-9 {
background-color: rgba(241, 92, 117, 0.63);
border-color: rgba(241, 92, 117, 0.63);
}
/*Scrollbars*/
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, .1);
border-radius: 0px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, .25);
}
::-webkit-scrollbar-thumb:active {
background: rgba(255, 255, 255, .5);
}
.item-details dl>dt {
color: var(--label-text);
}
.property-list .item .name {
color: var(--label-text);
}
`;
if (typeof GM_addStyle !== "undefined") {
GM_addStyle(css);
}
else {
let styleNode = document.createElement("style");
styleNode.appendChild(document.createTextNode(css));
(document.querySelector("head") || document.documentElement).appendChild(styleNode);
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment