2020-12-11 17:38:47 +01:00
|
|
|
@import "../chroma/dark.less";
|
2020-11-17 06:33:19 +01:00
|
|
|
|
2020-10-31 04:52:10 +01:00
|
|
|
:root {
|
2021-11-25 08:14:48 +01:00
|
|
|
--is-dark-theme: true;
|
2020-10-31 04:52:10 +01:00
|
|
|
--color-primary: #87ab63;
|
|
|
|
--color-primary-dark-1: #93b373;
|
|
|
|
--color-primary-dark-2: #9fbc82;
|
|
|
|
--color-primary-dark-3: #abc492;
|
|
|
|
--color-primary-dark-4: #b7cda1;
|
|
|
|
--color-primary-dark-5: #cfddc1;
|
|
|
|
--color-primary-dark-6: #e7eee0;
|
|
|
|
--color-primary-dark-7: #f8faf6;
|
|
|
|
--color-primary-light-1: #7a9e55;
|
|
|
|
--color-primary-light-2: #6c8c4c;
|
|
|
|
--color-primary-light-3: #5f7b42;
|
|
|
|
--color-primary-light-4: #516939;
|
|
|
|
--color-primary-light-5: #364626;
|
|
|
|
--color-primary-light-6: #1b2313;
|
|
|
|
--color-primary-light-7: #080b06;
|
2020-10-31 13:17:32 +01:00
|
|
|
--color-primary-alpha-10: #87ab6319;
|
|
|
|
--color-primary-alpha-20: #87ab6333;
|
|
|
|
--color-primary-alpha-30: #87ab634b;
|
|
|
|
--color-primary-alpha-40: #87ab6366;
|
|
|
|
--color-primary-alpha-50: #87ab6380;
|
|
|
|
--color-primary-alpha-60: #87ab6399;
|
|
|
|
--color-primary-alpha-70: #87ab63b3;
|
|
|
|
--color-primary-alpha-80: #87ab63cc;
|
|
|
|
--color-primary-alpha-90: #87ab63e1;
|
2020-11-01 21:04:26 +01:00
|
|
|
--color-secondary: #454a57;
|
2020-11-07 22:04:40 +01:00
|
|
|
--color-secondary-dark-1: #505665;
|
|
|
|
--color-secondary-dark-2: #5b6273;
|
|
|
|
--color-secondary-dark-3: #71798e;
|
|
|
|
--color-secondary-dark-4: #7f8699;
|
|
|
|
--color-secondary-dark-5: #8c93a4;
|
|
|
|
--color-secondary-dark-6: #9aa0af;
|
|
|
|
--color-secondary-dark-7: #a8adba;
|
2021-03-22 05:04:19 +01:00
|
|
|
--color-secondary-dark-8: #b6bac5;
|
|
|
|
--color-secondary-dark-9: #c4c7d0;
|
|
|
|
--color-secondary-dark-10: #d2d4db;
|
|
|
|
--color-secondary-dark-11: #dfe1e6;
|
|
|
|
--color-secondary-dark-12: #edeef1;
|
|
|
|
--color-secondary-dark-13: #fbfbfc;
|
2020-11-07 22:04:40 +01:00
|
|
|
--color-secondary-light-1: #373b46;
|
|
|
|
--color-secondary-light-2: #292c34;
|
|
|
|
--color-secondary-light-3: #1c1e23;
|
|
|
|
--color-secondary-light-4: #0e0f11;
|
|
|
|
--color-secondary-alpha-10: #454a5719;
|
|
|
|
--color-secondary-alpha-20: #454a5733;
|
|
|
|
--color-secondary-alpha-30: #454a574b;
|
|
|
|
--color-secondary-alpha-40: #454a5766;
|
|
|
|
--color-secondary-alpha-50: #454a5780;
|
|
|
|
--color-secondary-alpha-60: #454a5799;
|
|
|
|
--color-secondary-alpha-70: #454a57b3;
|
|
|
|
--color-secondary-alpha-80: #454a57cc;
|
|
|
|
--color-secondary-alpha-90: #454a57e1;
|
2020-11-15 21:58:16 +01:00
|
|
|
/* colors */
|
|
|
|
--color-red: #db2828;
|
|
|
|
--color-orange: #f2711c;
|
|
|
|
--color-yellow: #fbbd08;
|
|
|
|
--color-olive: #b5cc18;
|
|
|
|
--color-green: #21ba45;
|
|
|
|
--color-teal: #00b5ad;
|
|
|
|
--color-blue: #2185d0;
|
|
|
|
--color-violet: #6435c9;
|
|
|
|
--color-purple: #a333c8;
|
|
|
|
--color-pink: #e03997;
|
|
|
|
--color-brown: #a5673f;
|
2020-12-04 12:18:37 +01:00
|
|
|
--color-grey: #767a85;
|
|
|
|
--color-black: #1e222e;
|
2020-11-15 21:58:16 +01:00
|
|
|
--color-gold: #a1882b;
|
|
|
|
--color-white: #ffffff;
|
2020-12-17 16:52:58 +01:00
|
|
|
--color-diff-removed-word-bg: #6f3333;
|
|
|
|
--color-diff-added-word-bg: #3c653c;
|
|
|
|
--color-diff-removed-row-bg: #3c2626;
|
Prevent NPE in CSV diff rendering when column removed (#17018)
Fixes #16837 if a column is deleted.
We were clobbering the columns that were added by looping through the aline (base) and then when bline (head) was looped through, it clobbered what was in the "cells" array that is show in the diff, and then left a nil cell because nothing was shifted.
This fix properly shifts the cells, and properly puts the b cell either at its location or after, according to what the aline placed in the cells.
This includes test, adding a new test function since adding/removing cells works best with three columns, not two, which results in 4 columns of the resulting cells because it has a deleted column and an added column. If you try this locally, you can try those cases and others, such as adding a column.
There was no need to do anything special for the rows when `aline == 0 || bline == 0` so that was removed. This allows the same code to be used for removed or added lines, with the bcell text always being the RightCell, acell text being the LeftCell.
I still added the patch zeripath gave at https://github.com/go-gitea/gitea/issues/16837#issuecomment-913007382 so that just in case for some reason a cell is nil (which shouldn't happen now) it doesn't throw a 500 error, so the user can at least view the raw diff.
Also fixes in the [view.go](https://github.com/go-gitea/gitea/pull/17018/files#diff-43a7f4747c7ba8bff888c9be11affaafd595fd55d27f3333840eb19df9fad393L521) file how if a CSV file is empty (either created empty or if you edit it and remove all contents) it throws a huge 500 error when you then save it (when you view the file). Since we allow creating, saving and pushing empty files, we shouldn't throw an error on an empty CSV file, but just show its empty contents. This doesn't happen if it is a Markdown file or other type of file that is empty.
EDIT: Now handled in the markup/csv renderer code
2021-10-20 21:10:03 +02:00
|
|
|
--color-diff-moved-row-bg: #818044;
|
2020-12-17 16:52:58 +01:00
|
|
|
--color-diff-added-row-bg: #283e2d;
|
|
|
|
--color-diff-removed-row-border: #634343;
|
Prevent NPE in CSV diff rendering when column removed (#17018)
Fixes #16837 if a column is deleted.
We were clobbering the columns that were added by looping through the aline (base) and then when bline (head) was looped through, it clobbered what was in the "cells" array that is show in the diff, and then left a nil cell because nothing was shifted.
This fix properly shifts the cells, and properly puts the b cell either at its location or after, according to what the aline placed in the cells.
This includes test, adding a new test function since adding/removing cells works best with three columns, not two, which results in 4 columns of the resulting cells because it has a deleted column and an added column. If you try this locally, you can try those cases and others, such as adding a column.
There was no need to do anything special for the rows when `aline == 0 || bline == 0` so that was removed. This allows the same code to be used for removed or added lines, with the bcell text always being the RightCell, acell text being the LeftCell.
I still added the patch zeripath gave at https://github.com/go-gitea/gitea/issues/16837#issuecomment-913007382 so that just in case for some reason a cell is nil (which shouldn't happen now) it doesn't throw a 500 error, so the user can at least view the raw diff.
Also fixes in the [view.go](https://github.com/go-gitea/gitea/pull/17018/files#diff-43a7f4747c7ba8bff888c9be11affaafd595fd55d27f3333840eb19df9fad393L521) file how if a CSV file is empty (either created empty or if you edit it and remove all contents) it throws a huge 500 error when you then save it (when you view the file). Since we allow creating, saving and pushing empty files, we shouldn't throw an error on an empty CSV file, but just show its empty contents. This doesn't happen if it is a Markdown file or other type of file that is empty.
EDIT: Now handled in the markup/csv renderer code
2021-10-20 21:10:03 +02:00
|
|
|
--color-diff-moved-row-border: #bcca6f;
|
2020-12-17 16:52:58 +01:00
|
|
|
--color-diff-added-row-border: #314a37;
|
|
|
|
--color-diff-inactive: #353846;
|
2020-11-15 21:58:16 +01:00
|
|
|
/* target-based colors */
|
2020-10-31 04:52:10 +01:00
|
|
|
--color-body: #383c4a;
|
2020-12-17 16:52:58 +01:00
|
|
|
--color-box-header: #404652;
|
|
|
|
--color-box-body: #303440;
|
|
|
|
--color-text-dark: #dbe0ea;
|
2020-11-26 20:33:28 +01:00
|
|
|
--color-text: #bbc0ca;
|
2020-12-04 12:18:37 +01:00
|
|
|
--color-text-light: #a6aab5;
|
2020-12-20 19:00:03 +01:00
|
|
|
--color-text-light-2: #8a8e99;
|
|
|
|
--color-text-light-3: #707687;
|
2020-11-29 07:22:04 +01:00
|
|
|
--color-footer: #2e323e;
|
2020-12-17 16:52:58 +01:00
|
|
|
--color-timeline: #4c525e;
|
2020-11-26 20:33:28 +01:00
|
|
|
--color-input-text: #d5dbe6;
|
2021-04-03 10:37:32 +02:00
|
|
|
--color-input-background: #292d39;
|
2020-11-12 16:59:33 +01:00
|
|
|
--color-input-border: #454a57;
|
|
|
|
--color-input-border-hover: #505667;
|
2020-11-26 20:33:28 +01:00
|
|
|
--color-navbar: #2a2e3a;
|
2020-12-27 11:53:53 +01:00
|
|
|
--color-light: #00000028;
|
2021-06-28 10:21:43 +02:00
|
|
|
--color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled)));
|
2020-12-27 11:53:53 +01:00
|
|
|
--color-light-border: #ffffff28;
|
2021-04-03 10:37:32 +02:00
|
|
|
--color-hover: #ffffff10;
|
|
|
|
--color-active: #ffffff16;
|
2020-11-29 07:22:04 +01:00
|
|
|
--color-menu: #2e323e;
|
2020-12-05 11:09:09 +01:00
|
|
|
--color-card: #2e323e;
|
2021-05-07 10:43:41 +02:00
|
|
|
--color-markup-table-row: #ffffff06;
|
2021-05-16 22:18:18 +02:00
|
|
|
--color-markup-code-block: #292d39;
|
2020-11-29 16:52:11 +01:00
|
|
|
--color-button: #353846;
|
2020-12-04 12:18:37 +01:00
|
|
|
--color-code-bg: #2a2e3a;
|
2021-06-28 01:13:20 +02:00
|
|
|
--color-code-sidebar-bg: #2e323e;
|
2020-12-05 11:09:09 +01:00
|
|
|
--color-shadow: #00000060;
|
2020-12-10 03:59:05 +01:00
|
|
|
--color-secondary-bg: #2a2e3a;
|
2020-12-20 19:00:03 +01:00
|
|
|
--color-text-focus: #fff;
|
|
|
|
--color-expand-button: #3c404d;
|
2021-04-03 10:37:32 +02:00
|
|
|
--color-placeholder-text: #6a737d;
|
2021-04-08 11:53:00 +02:00
|
|
|
--color-editor-line-highlight: var(--color-primary-light-5);
|
2021-04-20 06:13:03 +02:00
|
|
|
--color-project-board-bg: var(--color-secondary-light-2);
|
2021-05-05 20:14:04 +02:00
|
|
|
--color-caret: var(--color-text); /* should ideally be --color-text-dark, see #15651 */
|
2021-05-12 08:16:22 +02:00
|
|
|
--color-reaction-bg: #ffffff12;
|
|
|
|
--color-reaction-active-bg: var(--color-primary-alpha-40);
|
2020-11-01 21:04:26 +01:00
|
|
|
}
|
|
|
|
|
2021-05-04 15:56:43 +02:00
|
|
|
::-webkit-calendar-picker-indicator {
|
|
|
|
filter: invert(.8);
|
|
|
|
}
|
|
|
|
|
2019-05-13 08:26:32 +02:00
|
|
|
.ui.horizontal.segments > .segment {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: #383c4a;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
|
|
|
.ui.green.progress .bar {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: #668844;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
|
|
|
.ui.progress.success .bar {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: #7b9e57 !important;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
|
|
|
.following.bar.light {
|
2020-08-25 21:48:53 +02:00
|
|
|
background: #2e323e;
|
2020-11-26 20:33:28 +01:00
|
|
|
border-color: var(--color-secondary-alpha-40);
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
|
|
|
.following.bar .top.menu a.item:hover {
|
2020-10-31 23:15:11 +01:00
|
|
|
color: #fff;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
|
|
|
.feeds .list ul li.private {
|
2020-08-25 21:48:53 +02:00
|
|
|
background: #353945;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2019-05-14 02:54:23 +02:00
|
|
|
.ui.red.label,
|
|
|
|
.ui.red.labels .label {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: #7d3434 !important;
|
|
|
|
border-color: #8a2121 !important;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2020-10-22 21:48:48 +02:00
|
|
|
.ui.yellow.label,
|
|
|
|
.ui.yellow.labels .label {
|
|
|
|
border-color: #664d02 !important;
|
|
|
|
background-color: #936e00 !important;
|
|
|
|
}
|
|
|
|
|
2019-05-13 08:26:32 +02:00
|
|
|
.ui.accordion .title:not(.ui) {
|
2020-08-25 21:48:53 +02:00
|
|
|
color: #dbdbdb;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2019-05-14 02:54:23 +02:00
|
|
|
.ui.green.label,
|
|
|
|
.ui.green.labels .label,
|
|
|
|
.ui.basic.green.label {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: #2d693b !important;
|
|
|
|
border-color: #2d693b !important;
|
2018-09-17 16:59:49 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2020-11-01 21:04:26 +01:00
|
|
|
.ui.green.labels a.label:hover,
|
2019-05-14 02:54:23 +02:00
|
|
|
.ui.basic.green.labels a.label:hover,
|
2020-11-01 21:04:26 +01:00
|
|
|
a.ui.ui.ui.green.label:hover,
|
2019-05-14 02:54:23 +02:00
|
|
|
a.ui.basic.green.label:hover {
|
2020-11-01 21:04:26 +01:00
|
|
|
background-color: #3d794b !important;
|
|
|
|
border-color: #3d794b !important;
|
2020-10-31 23:15:11 +01:00
|
|
|
color: #fff !important;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2020-10-31 13:17:32 +01:00
|
|
|
.ui.divider:not(.vertical):not(.horizontal) {
|
2020-11-01 21:04:26 +01:00
|
|
|
border-bottom-color: var(--color-secondary);
|
2020-10-31 13:17:32 +01:00
|
|
|
border-top-color: transparent;
|
2020-08-24 00:45:21 +02:00
|
|
|
}
|
|
|
|
|
2020-11-12 16:59:33 +01:00
|
|
|
.form .help {
|
|
|
|
color: #7f8699;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2020-11-12 16:59:33 +01:00
|
|
|
.ui .text.light.grey {
|
|
|
|
color: #7f8699 !important;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2020-10-20 07:22:10 +02:00
|
|
|
.ui.form .fields.error .field textarea,
|
|
|
|
.ui.form .fields.error .field select,
|
|
|
|
.ui.form .fields.error .field input:not([type]),
|
|
|
|
.ui.form .fields.error .field input[type="date"],
|
|
|
|
.ui.form .fields.error .field input[type="datetime-local"],
|
|
|
|
.ui.form .fields.error .field input[type="email"],
|
|
|
|
.ui.form .fields.error .field input[type="number"],
|
|
|
|
.ui.form .fields.error .field input[type="password"],
|
|
|
|
.ui.form .fields.error .field input[type="search"],
|
|
|
|
.ui.form .fields.error .field input[type="tel"],
|
|
|
|
.ui.form .fields.error .field input[type="time"],
|
|
|
|
.ui.form .fields.error .field input[type="text"],
|
|
|
|
.ui.form .fields.error .field input[type="file"],
|
|
|
|
.ui.form .fields.error .field input[type="url"],
|
|
|
|
.ui.form .field.error textarea,
|
|
|
|
.ui.form .field.error select,
|
|
|
|
.ui.form .field.error input:not([type]),
|
|
|
|
.ui.form .field.error input[type="date"],
|
|
|
|
.ui.form .field.error input[type="datetime-local"],
|
|
|
|
.ui.form .field.error input[type="email"],
|
|
|
|
.ui.form .field.error input[type="number"],
|
|
|
|
.ui.form .field.error input[type="password"],
|
|
|
|
.ui.form .field.error input[type="search"],
|
|
|
|
.ui.form .field.error input[type="tel"],
|
|
|
|
.ui.form .field.error input[type="time"],
|
|
|
|
.ui.form .field.error input[type="text"],
|
|
|
|
.ui.form .field.error input[type="file"],
|
|
|
|
.ui.form .field.error input[type="url"] {
|
|
|
|
background-color: #522;
|
|
|
|
border: 1px solid #7d3434;
|
|
|
|
color: #f9cbcb;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.form .field.error select:focus,
|
|
|
|
.ui.form .field.error input:not([type]):focus,
|
|
|
|
.ui.form .field.error input[type="date"]:focus,
|
|
|
|
.ui.form .field.error input[type="datetime-local"]:focus,
|
|
|
|
.ui.form .field.error input[type="email"]:focus,
|
|
|
|
.ui.form .field.error input[type="number"]:focus,
|
|
|
|
.ui.form .field.error input[type="password"]:focus,
|
|
|
|
.ui.form .field.error input[type="search"]:focus,
|
|
|
|
.ui.form .field.error input[type="tel"]:focus,
|
|
|
|
.ui.form .field.error input[type="time"]:focus,
|
|
|
|
.ui.form .field.error input[type="text"]:focus,
|
|
|
|
.ui.form .field.error input[type="file"]:focus,
|
|
|
|
.ui.form .field.error input[type="url"]:focus {
|
|
|
|
background-color: #522;
|
|
|
|
border: 1px solid #a04141;
|
|
|
|
color: #f9cbcb;
|
|
|
|
}
|
|
|
|
|
2019-05-14 02:54:23 +02:00
|
|
|
.ui.green.button,
|
|
|
|
.ui.green.buttons .button {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: #87ab63;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2019-05-14 02:54:23 +02:00
|
|
|
.ui.green.button:hover,
|
|
|
|
.ui.green.buttons .button:hover {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: #a0cc75;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2020-10-20 07:22:10 +02:00
|
|
|
.ui.search > .results {
|
|
|
|
background: #383c4a;
|
2020-11-01 21:04:26 +01:00
|
|
|
border-color: var(--color-secondary);
|
2020-10-20 07:22:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.ui.search > .results .result:hover,
|
|
|
|
.ui.category.search > .results .category .result:hover {
|
2020-11-01 21:04:26 +01:00
|
|
|
background: var(--color-secondary);
|
2020-10-20 07:22:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.ui.search > .results .result .title {
|
|
|
|
color: #dbdbdb;
|
|
|
|
}
|
|
|
|
|
2019-12-17 22:34:11 +01:00
|
|
|
.ui.table > thead > tr > th {
|
2020-11-01 21:04:26 +01:00
|
|
|
background: var(--color-secondary);
|
2020-08-25 21:48:53 +02:00
|
|
|
color: #dbdbdb !important;
|
2019-12-17 22:34:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.repository.file.list #repo-files-table tr {
|
2020-08-25 21:48:53 +02:00
|
|
|
background: #2a2e3a;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
|
|
|
.repository.file.list #repo-files-table tr:hover {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: #393d4a !important;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2019-06-21 15:27:47 +02:00
|
|
|
.repository.file.editor.edit,
|
|
|
|
.repository.wiki.new .CodeMirror {
|
2020-08-25 21:48:53 +02:00
|
|
|
.editor-preview,
|
|
|
|
.editor-preview-side,
|
|
|
|
& + .editor-preview-side {
|
|
|
|
background: #353945;
|
|
|
|
|
2021-05-07 10:43:41 +02:00
|
|
|
.markup.ui.segment {
|
2020-08-25 21:48:53 +02:00
|
|
|
border-width: 0;
|
2019-06-21 15:27:47 +02:00
|
|
|
}
|
2020-08-25 21:48:53 +02:00
|
|
|
}
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
|
|
|
.overflow.menu .items .item {
|
2020-08-25 21:48:53 +02:00
|
|
|
color: #9d9d9d;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
|
|
|
.overflow.menu .items .item:hover {
|
2020-08-25 21:48:53 +02:00
|
|
|
color: #dbdbdb;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2019-12-17 22:34:11 +01:00
|
|
|
.ui.list > .item > .content {
|
2020-11-07 22:04:40 +01:00
|
|
|
color: var(--color-secondary-dark-6) !important;
|
2019-12-17 22:34:11 +01:00
|
|
|
}
|
|
|
|
|
2020-11-26 20:33:28 +01:00
|
|
|
.repository .navbar .active.item,
|
|
|
|
.repository .navbar .active.item:hover {
|
|
|
|
border-color: transparent !important;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
|
|
|
.ui .info.segment.top {
|
2020-11-01 21:04:26 +01:00
|
|
|
background-color: var(--color-secondary) !important;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2020-11-01 21:04:26 +01:00
|
|
|
.repository .diff-stats li {
|
|
|
|
border-color: var(--color-secondary);
|
|
|
|
}
|
|
|
|
|
2019-08-08 16:46:03 +02:00
|
|
|
.tag-code,
|
|
|
|
.tag-code td {
|
2020-08-25 21:48:53 +02:00
|
|
|
background: #353945 !important;
|
2020-06-30 23:34:03 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
.tag-code td.lines-num {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: #3a3e4c !important;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2020-06-30 23:34:03 +02:00
|
|
|
.tag-code td.lines-type-marker,
|
|
|
|
td.blob-hunk {
|
2020-08-25 21:48:53 +02:00
|
|
|
color: #dbdbdb !important;
|
2020-06-30 23:34:03 +02:00
|
|
|
}
|
|
|
|
|
2019-05-14 02:54:23 +02:00
|
|
|
.ui.attached.info.message,
|
|
|
|
.ui.info.message {
|
2020-08-25 21:48:53 +02:00
|
|
|
box-shadow: 0 0 0 1px #4b5e71 inset, 0 0 0 0 transparent;
|
2018-09-17 16:59:49 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
|
|
|
.ui.bottom.attached.message {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: #2c662d;
|
|
|
|
color: #87ab63;
|
2019-01-30 00:11:53 +01:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2019-01-30 00:11:53 +01:00
|
|
|
.ui.bottom.attached.message .pull-right {
|
2020-08-25 21:48:53 +02:00
|
|
|
color: #87ab63;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
|
|
|
.ui.info.message {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: #2c3b4a;
|
|
|
|
color: #9ebcc5;
|
2018-09-17 16:59:49 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2020-10-04 22:54:22 +02:00
|
|
|
.ui .warning.header,
|
|
|
|
.ui.warning.message {
|
|
|
|
background-color: #542 !important;
|
|
|
|
border-color: #ec8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.warning.message {
|
|
|
|
color: #ec8;
|
|
|
|
box-shadow: 0 0 0 1px #ec8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.warning.segment {
|
|
|
|
border-color: #ec8;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2020-08-04 21:56:37 +02:00
|
|
|
.ui.red.message,
|
|
|
|
.ui.error.message {
|
2020-10-04 22:54:22 +02:00
|
|
|
background-color: #522;
|
2020-08-25 21:48:53 +02:00
|
|
|
color: #f9cbcb;
|
2020-10-04 22:54:22 +02:00
|
|
|
box-shadow: 0 0 0 1px #a04141 inset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui .error.header,
|
|
|
|
.ui.error.message {
|
|
|
|
background-color: #522 !important;
|
|
|
|
border-color: #a04141;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.error.segment {
|
|
|
|
border-color: #a04141;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2019-05-14 02:54:23 +02:00
|
|
|
.ui.red.button,
|
|
|
|
.ui.red.buttons .button {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: #7d3434;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2019-05-14 02:54:23 +02:00
|
|
|
.ui.red.button:hover,
|
|
|
|
.ui.red.buttons .button:hover {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: #984646;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2020-02-23 05:32:15 +01:00
|
|
|
.ui.positive.message {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: #0d491b;
|
|
|
|
color: #87ab63;
|
|
|
|
box-shadow: 0 0 0 1px #2d693b inset, 0 0 0 0 transparent;
|
2020-02-23 05:32:15 +01:00
|
|
|
}
|
|
|
|
|
2019-05-13 08:26:32 +02:00
|
|
|
.ui.negative.message {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: rgba(80, 23, 17, .6);
|
|
|
|
color: #f9cbcb;
|
|
|
|
box-shadow: 0 0 0 1px rgba(121, 71, 66, .5) inset, 0 0 0 0 transparent;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2019-05-14 02:54:23 +02:00
|
|
|
.ui.list .list > .item .header,
|
|
|
|
.ui.list > .item .header {
|
2020-08-25 21:48:53 +02:00
|
|
|
color: #dedede;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2019-05-14 02:54:23 +02:00
|
|
|
.ui.list .list > .item .description,
|
|
|
|
.ui.list > .item .description {
|
2020-11-07 22:04:40 +01:00
|
|
|
color: var(--color-secondary-dark-6);
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2020-02-11 18:02:41 +01:00
|
|
|
.repository.file.list #repo-files-table tbody .svg.octicon-file-directory,
|
|
|
|
.repository.file.list #repo-files-table tbody .svg.octicon-file-submodule {
|
2020-08-25 21:48:53 +02:00
|
|
|
color: #7c9b5e;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2019-12-04 02:39:58 +01:00
|
|
|
.repository.labels .ui.basic.black.label {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: #bbbbbb !important;
|
2019-12-04 02:39:58 +01:00
|
|
|
}
|
|
|
|
|
2019-08-08 16:46:03 +02:00
|
|
|
.lines-num {
|
2020-11-07 22:04:40 +01:00
|
|
|
color: var(--color-secondary-dark-6) !important;
|
2020-11-01 21:04:26 +01:00
|
|
|
border-color: var(--color-secondary) !important;
|
2019-08-08 16:46:03 +02:00
|
|
|
}
|
|
|
|
|
2020-02-07 20:19:50 +01:00
|
|
|
td.blob-excerpt {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: rgba(0, 0, 0, .15);
|
2020-02-07 20:19:50 +01:00
|
|
|
}
|
2019-08-08 16:46:03 +02:00
|
|
|
|
2020-10-04 22:54:22 +02:00
|
|
|
.lines-code.active,
|
|
|
|
.lines-code .active {
|
2020-08-25 21:48:53 +02:00
|
|
|
background: #534d1b !important;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2020-10-04 22:54:22 +02:00
|
|
|
.ui.ui.ui.ui.table tr.active,
|
|
|
|
.ui.ui.table td.active {
|
|
|
|
color: #dbdbdb;
|
|
|
|
}
|
|
|
|
|
2020-11-08 18:21:54 +01:00
|
|
|
.ui.active.label {
|
|
|
|
background: #393d4a;
|
|
|
|
border-color: #393d4a;
|
|
|
|
color: #dbdbdb;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2020-02-27 20:20:55 +01:00
|
|
|
.repository .ui.attached.message.isSigned.isVerified {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: #394829;
|
2020-11-07 22:04:40 +01:00
|
|
|
color: var(--color-secondary-dark-6);
|
2020-02-27 20:20:55 +01:00
|
|
|
|
2020-08-25 21:48:53 +02:00
|
|
|
&.message {
|
|
|
|
color: #87ab63;
|
|
|
|
.ui.text {
|
2020-11-07 22:04:40 +01:00
|
|
|
color: var(--color-secondary-dark-6);
|
2020-02-27 20:20:55 +01:00
|
|
|
}
|
2020-08-25 21:48:53 +02:00
|
|
|
.pull-right {
|
|
|
|
color: #87ab63;
|
|
|
|
}
|
|
|
|
}
|
2020-02-27 20:20:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.repository .ui.attached.message.isSigned.isVerifiedUntrusted {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: #4a3903;
|
2020-11-07 22:04:40 +01:00
|
|
|
color: var(--color-secondary-dark-6);
|
2020-08-25 21:48:53 +02:00
|
|
|
&.message {
|
|
|
|
color: #c2c193;
|
|
|
|
.ui.text {
|
2020-11-07 22:04:40 +01:00
|
|
|
color: var(--color-secondary-dark-6);
|
2020-02-27 20:20:55 +01:00
|
|
|
}
|
2020-08-25 21:48:53 +02:00
|
|
|
a {
|
|
|
|
color: #c2c193;
|
|
|
|
}
|
|
|
|
}
|
2020-02-27 20:20:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.repository .ui.attached.message.isSigned.isVerifiedUnmatched {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: #4e3321;
|
2020-11-07 22:04:40 +01:00
|
|
|
color: var(--color-secondary-dark-6);
|
2020-08-25 21:48:53 +02:00
|
|
|
&.message {
|
|
|
|
color: #c2a893;
|
|
|
|
.ui.text {
|
2020-11-07 22:04:40 +01:00
|
|
|
color: var(--color-secondary-dark-6);
|
2020-08-25 21:48:53 +02:00
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: #c2a893;
|
2020-02-27 20:20:55 +01:00
|
|
|
}
|
2020-08-25 21:48:53 +02:00
|
|
|
}
|
2020-02-27 20:20:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.repository .ui.attached.message.isSigned.isWarning {
|
2020-08-25 21:48:53 +02:00
|
|
|
background-color: rgba(80, 23, 17, .6);
|
|
|
|
&.message {
|
|
|
|
color: #d07d7d;
|
|
|
|
.ui.text {
|
|
|
|
color: #d07d7d;
|
2020-02-27 20:20:55 +01:00
|
|
|
}
|
2020-08-25 21:48:53 +02:00
|
|
|
}
|
2020-02-27 20:20:55 +01:00
|
|
|
}
|
|
|
|
|
2019-05-13 08:26:32 +02:00
|
|
|
.ui.header .sub.header {
|
2020-11-07 22:04:40 +01:00
|
|
|
color: var(--color-secondary-dark-6);
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
|
|
|
.ui.dividing.header {
|
2020-11-01 21:04:26 +01:00
|
|
|
border-bottom: 1px solid var(--color-secondary);
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
|
|
|
.ui.modal > .header {
|
2020-11-01 21:04:26 +01:00
|
|
|
background: var(--color-secondary);
|
2020-08-25 21:48:53 +02:00
|
|
|
color: #dbdbdb;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
|
|
|
.ui.modal > .actions {
|
2020-11-01 21:04:26 +01:00
|
|
|
background: var(--color-secondary);
|
2020-11-13 02:31:25 +01:00
|
|
|
border-color: var(--color-secondary);
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
|
|
|
.ui.modal > .content {
|
2020-08-25 21:48:53 +02:00
|
|
|
background: #383c4a;
|
2018-07-05 23:25:04 +02:00
|
|
|
}
|
2019-05-13 08:26:32 +02:00
|
|
|
|
2020-10-24 21:15:29 +02:00
|
|
|
.minicolors-panel {
|
2020-11-01 21:04:26 +01:00
|
|
|
background: var(--color-secondary) !important;
|
2020-10-24 21:15:29 +02:00
|
|
|
border-color: #6a737d !important;
|
|
|
|
}
|
|
|
|
|
2020-11-29 16:52:11 +01:00
|
|
|
/* invert emojis that are hard to read otherwise */
|
|
|
|
.emoji[aria-label="check mark"],
|
|
|
|
.emoji[aria-label="currency exchange"],
|
|
|
|
.emoji[aria-label="TOP arrow"],
|
|
|
|
.emoji[aria-label="END arrow"],
|
|
|
|
.emoji[aria-label="ON! arrow"],
|
|
|
|
.emoji[aria-label="SOON arrow"],
|
|
|
|
.emoji[aria-label="heavy dollar sign"],
|
|
|
|
.emoji[aria-label="copyright"],
|
|
|
|
.emoji[aria-label="registered"],
|
|
|
|
.emoji[aria-label="trade mark"],
|
|
|
|
.emoji[aria-label="multiply"],
|
|
|
|
.emoji[aria-label="plus"],
|
|
|
|
.emoji[aria-label="minus"],
|
|
|
|
.emoji[aria-label="divide"],
|
|
|
|
.emoji[aria-label="curly loop"],
|
|
|
|
.emoji[aria-label="double curly loop"],
|
|
|
|
.emoji[aria-label="wavy dash"],
|
|
|
|
.emoji[aria-label="paw prints"],
|
|
|
|
.emoji[aria-label="musical note"],
|
|
|
|
.emoji[aria-label="musical notes"] {
|
2021-11-24 13:42:03 +01:00
|
|
|
filter: invert(100%) hue-rotate(180deg);
|
2020-11-29 16:52:11 +01:00
|
|
|
}
|
|
|
|
|
2020-05-14 18:06:01 +02:00
|
|
|
.edit-diff > div > .ui.table {
|
2020-11-01 21:04:26 +01:00
|
|
|
border-left-color: var(--color-secondary) !important;
|
|
|
|
border-right-color: var(--color-secondary) !important;
|
2020-05-14 18:06:01 +02:00
|
|
|
}
|
|
|
|
|
2019-06-28 04:45:54 +02:00
|
|
|
/* code mirror dark theme */
|
|
|
|
|
|
|
|
.CodeMirror {
|
2020-08-25 21:48:53 +02:00
|
|
|
&.cm-s-default,
|
|
|
|
&.cm-s-paper {
|
|
|
|
.cm-property {
|
|
|
|
color: #a0cc75;
|
|
|
|
}
|
2019-06-28 04:45:54 +02:00
|
|
|
|
2020-08-25 21:48:53 +02:00
|
|
|
.cm-header {
|
|
|
|
color: #9daccc;
|
2019-06-28 04:45:54 +02:00
|
|
|
}
|
|
|
|
|
2020-08-25 21:48:53 +02:00
|
|
|
.cm-quote {
|
|
|
|
color: #009900;
|
2019-06-28 04:45:54 +02:00
|
|
|
}
|
|
|
|
|
2020-08-25 21:48:53 +02:00
|
|
|
.cm-keyword {
|
|
|
|
color: #cc8a61;
|
2019-06-28 04:45:54 +02:00
|
|
|
}
|
|
|
|
|
2020-08-25 21:48:53 +02:00
|
|
|
.cm-atom {
|
|
|
|
color: #ef5e77;
|
2019-06-28 04:45:54 +02:00
|
|
|
}
|
2020-08-25 21:48:53 +02:00
|
|
|
|
|
|
|
.cm-number {
|
|
|
|
color: #ff5656;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-def {
|
|
|
|
color: #e4e4e4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-variable-2 {
|
|
|
|
color: #00bdbf;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-variable-3 {
|
|
|
|
color: #008855;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-comment {
|
|
|
|
color: #8e9ab3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-string {
|
|
|
|
color: #a77272;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-string-2 {
|
|
|
|
color: #ff5500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-meta,
|
|
|
|
.cm-qualifier {
|
|
|
|
color: #ffb176;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-builtin {
|
|
|
|
color: #b7c951;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-bracket {
|
|
|
|
color: #999977;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-tag {
|
|
|
|
color: #f1d273;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-attribute {
|
|
|
|
color: #bfcc70;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-hr {
|
|
|
|
color: #999999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-url {
|
|
|
|
color: #c5cfd0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-link {
|
|
|
|
color: #d8c792;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-error {
|
|
|
|
/* color: #ff6e00; */
|
|
|
|
color: #dbdbeb;
|
|
|
|
}
|
|
|
|
}
|
2019-06-28 04:45:54 +02:00
|
|
|
}
|
2020-01-20 05:39:21 +01:00
|
|
|
|
2020-02-23 05:32:15 +01:00
|
|
|
footer .container .links > * {
|
2020-08-25 21:48:53 +02:00
|
|
|
border-left-color: #888;
|
2020-02-23 05:32:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.repository.file.list #repo-files-table tbody .svg {
|
2020-11-07 22:04:40 +01:00
|
|
|
color: var(--color-secondary-dark-6);
|
2020-02-23 05:32:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.repository.release #release-list > li .detail .dot {
|
2020-11-03 00:10:22 +01:00
|
|
|
background-color: #505667;
|
2020-08-25 21:48:53 +02:00
|
|
|
border-color: #383c4a;
|
2020-07-31 03:27:06 +02:00
|
|
|
}
|
|
|
|
|
2020-05-21 04:00:43 +02:00
|
|
|
.tribute-container {
|
2020-08-25 21:48:53 +02:00
|
|
|
box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .6);
|
2020-05-21 04:00:43 +02:00
|
|
|
}
|
|
|
|
|
2020-06-26 02:07:15 +02:00
|
|
|
.repository .repo-header .ui.huge.breadcrumb.repo-title .repo-header-icon .avatar {
|
2020-08-25 21:48:53 +02:00
|
|
|
color: #2a2e3a;
|
2020-06-26 02:07:15 +02:00
|
|
|
}
|
2020-07-27 08:24:09 +02:00
|
|
|
|
2020-10-22 05:51:12 +02:00
|
|
|
img[src$="/img/matrix.svg"] {
|
|
|
|
filter: invert(80%);
|
|
|
|
}
|
|
|
|
|
2020-07-27 08:24:09 +02:00
|
|
|
.mermaid-chart {
|
2020-08-25 21:48:53 +02:00
|
|
|
filter: invert(84%) hue-rotate(180deg);
|
2020-07-27 08:24:09 +02:00
|
|
|
}
|
2020-08-04 21:56:37 +02:00
|
|
|
|
2020-11-10 19:28:07 +01:00
|
|
|
.is-loading::after {
|
2020-08-25 21:48:53 +02:00
|
|
|
border-color: #4a4c58 #4a4c58 #d7d7da #d7d7da;
|
2020-08-04 21:56:37 +02:00
|
|
|
}
|
|
|
|
|
2021-05-07 10:43:41 +02:00
|
|
|
.markup-block-error {
|
2020-08-25 21:48:53 +02:00
|
|
|
border: 1px solid rgba(121, 71, 66, .5) !important;
|
|
|
|
border-bottom: none !important;
|
2020-08-04 21:56:37 +02:00
|
|
|
}
|