refactor: re-format CSS files in VSCode
This commit is contained in:
@@ -12,7 +12,7 @@ gitea-theme-meta-info {
|
||||
--color-primary: hsl(204deg, 90%, 60%);
|
||||
--color-primary-hover: hsl(204deg, 90%, 50%);
|
||||
--color-primary-active: hsl(204deg, 90%, 45%);
|
||||
--color-primary-bg: hsla(204deg, 100%, 36%, .6);
|
||||
--color-primary-bg: hsla(204deg, 100%, 36%, 0.6);
|
||||
--color-primary-text: hsl(204deg, 90%, 72%);
|
||||
--color-primary-contrast: #ffffff;
|
||||
|
||||
@@ -122,13 +122,13 @@ gitea-theme-meta-info {
|
||||
--color-blue-light: hsl(206, 55%, 45.3%);
|
||||
--color-blue-dark-1: hsl(213deg, 89%, 64%);
|
||||
--color-blue-dark-2: #2e6e9f;
|
||||
--color-blue-dark-bg: hsla(213deg, 89%, 64%, .15);
|
||||
--color-blue-dark-bg: hsla(213deg, 89%, 64%, 0.15);
|
||||
|
||||
--color-violet: hsl(259.2, 66.5%, 65%);
|
||||
--color-violet-light: hsl(259.1, 66.2%, 58%);
|
||||
--color-violet-dark-1: hsl(262deg, 66%, 66%);
|
||||
--color-violet-dark-2: #6733d6;
|
||||
--color-violet-dark-bg: hsla(262deg, 66%, 66%, .15);
|
||||
--color-violet-dark-bg: hsla(262deg, 66%, 66%, 0.15);
|
||||
|
||||
--color-purple: hsl(285, 55.9%, 58%);
|
||||
--color-purple-light: hsl(285, 55.6%, 52%);
|
||||
@@ -211,17 +211,17 @@ gitea-theme-meta-info {
|
||||
--color-priority-text: #a371f7;
|
||||
|
||||
--color-red-badge: var(--color-red);
|
||||
--color-red-badge-bg: hsla(0, 56.4%, 54.1%, .1);
|
||||
--color-red-badge-hover-bg: hsla(0, 56.4%, 54.1%, .3);
|
||||
--color-red-badge-bg: hsla(0, 56.4%, 54.1%, 0.1);
|
||||
--color-red-badge-hover-bg: hsla(0, 56.4%, 54.1%, 0.3);
|
||||
--color-green-badge: var(--color-green);
|
||||
--color-green-badge-bg: hsla(124deg, 41%, 35%, .1);
|
||||
--color-green-badge-hover-bg: hsla(124deg, 41%, 35%, .3);
|
||||
--color-green-badge-bg: hsla(124deg, 41%, 35%, 0.1);
|
||||
--color-green-badge-hover-bg: hsla(124deg, 41%, 35%, 0.3);
|
||||
--color-yellow-badge: var(--color-yellow);
|
||||
--color-yellow-badge-bg: hsla(44.8, 97%, 40.6%, .1);
|
||||
--color-yellow-badge-hover-bg: hsla(44.8, 97%, 40.6%, .3);
|
||||
--color-yellow-badge-bg: hsla(44.8, 97%, 40.6%, 0.1);
|
||||
--color-yellow-badge-hover-bg: hsla(44.8, 97%, 40.6%, 0.3);
|
||||
--color-orange-badge: var(--color-orange);
|
||||
--color-orange-badge-bg: hsla(23.8, 89%, 42.4%, .1);
|
||||
--color-orange-badge-hover-bg: hsla(23.8, 89%, 42.4%, .3);
|
||||
--color-orange-badge-bg: hsla(23.8, 89%, 42.4%, 0.1);
|
||||
--color-orange-badge-hover-bg: hsla(23.8, 89%, 42.4%, 0.3);
|
||||
|
||||
--color-git: #f05133;
|
||||
--color-logo: #609926;
|
||||
@@ -230,7 +230,7 @@ gitea-theme-meta-info {
|
||||
|
||||
--color-box-header: hsl(213, 12%, 22%);
|
||||
--color-box-body: hsl(213, 12%, 18%);
|
||||
--color-box-body-highlight: hsla(204deg, 60%, 15%, .15);
|
||||
--color-box-body-highlight: hsla(204deg, 60%, 15%, 0.15);
|
||||
|
||||
--color-text: #bbc0ca;
|
||||
--color-text-dark: hsl(220, 26%, 89%);
|
||||
@@ -242,12 +242,17 @@ gitea-theme-meta-info {
|
||||
/* "color-light" is actually a subtle black in dark themes, to darken an element.
|
||||
* against different backgrounds. */
|
||||
--color-light: hsla(0, 0%, 0%, 0.2);
|
||||
--color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled)));
|
||||
--color-light-mimic-enabled: rgba(
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
calc(40 / 255 * 222 / 255 / var(--opacity-disabled))
|
||||
);
|
||||
--color-light-border: hsla(0, 0%, 100%, 0.2);
|
||||
|
||||
--color-hover: hsla(213, 18%, 90%, .05);
|
||||
--color-hover: hsla(213, 18%, 90%, 0.05);
|
||||
--color-hover-opaque: #232528;
|
||||
--color-active: hsla(213, 18%, 90%, .1);
|
||||
--color-active: hsla(213, 18%, 90%, 0.1);
|
||||
|
||||
--color-menu: hsl(213, 12%, 21%);
|
||||
--color-card: #202327;
|
||||
@@ -269,7 +274,7 @@ gitea-theme-meta-info {
|
||||
|
||||
/* Navbar */
|
||||
--color-nav-bg: hsl(213, 10%, 18%);
|
||||
--color-nav-hover-bg: hsla(213, 18%, 90%, .05);
|
||||
--color-nav-hover-bg: hsla(213, 18%, 90%, 0.05);
|
||||
--color-nav-text: var(--color-text);
|
||||
--color-secondary-nav-bg: hsl(213, 10%, 16%);
|
||||
|
||||
@@ -301,7 +306,7 @@ gitea-theme-meta-info {
|
||||
|
||||
--color-small-accent: var(--color-primary-light-5);
|
||||
--color-active-line: hsl(53.6, 50.9%, 22%);
|
||||
|
||||
|
||||
/* Labels. e.g. issues count indicator in repo tabs */
|
||||
--color-label-text: var(--color-text-light);
|
||||
--color-label-bg: var(--color-secondary-alpha-60);
|
||||
@@ -412,7 +417,7 @@ a.ui.primary.label:hover,
|
||||
|
||||
/* Code syntax highlighting */
|
||||
.tag-code .code-inner {
|
||||
opacity: .5;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.same-code .lines-num.lines-num-old,
|
||||
@@ -433,20 +438,70 @@ a.ui.primary.label:hover,
|
||||
color: var(--color-text-dark-2) !important;
|
||||
}
|
||||
|
||||
.repository .diff-file-box .file-body.file-code table tbody tr.add-code:hover .lines-num,
|
||||
.repository .diff-file-box .file-body.file-code table tbody tr.del-code:hover .lines-num,
|
||||
.repository .diff-file-box .file-body.file-code table tbody tr.same-code:hover .lines-num,
|
||||
.repository .diff-file-box .file-body.file-code table tbody .diff-unified tr:hover .del-code .lines-num {
|
||||
.repository
|
||||
.diff-file-box
|
||||
.file-body.file-code
|
||||
table
|
||||
tbody
|
||||
tr.add-code:hover
|
||||
.lines-num,
|
||||
.repository
|
||||
.diff-file-box
|
||||
.file-body.file-code
|
||||
table
|
||||
tbody
|
||||
tr.del-code:hover
|
||||
.lines-num,
|
||||
.repository
|
||||
.diff-file-box
|
||||
.file-body.file-code
|
||||
table
|
||||
tbody
|
||||
tr.same-code:hover
|
||||
.lines-num,
|
||||
.repository
|
||||
.diff-file-box
|
||||
.file-body.file-code
|
||||
table
|
||||
tbody
|
||||
.diff-unified
|
||||
tr:hover
|
||||
.del-code
|
||||
.lines-num {
|
||||
color: var(--color-text-dark) !important;
|
||||
}
|
||||
|
||||
.repository .diff-file-box .file-body.file-code table tbody tr.same-code:hover .lines-num {
|
||||
.repository
|
||||
.diff-file-box
|
||||
.file-body.file-code
|
||||
table
|
||||
tbody
|
||||
tr.same-code:hover
|
||||
.lines-num {
|
||||
color: var(--color-text-dark-2) !important;
|
||||
}
|
||||
|
||||
.repository .diff-file-box .file-body.file-code table tbody tr.same-code:hover .lines-code,
|
||||
.repository .diff-file-box .file-body.file-code table tbody tr.same-code:hover .lines-num,
|
||||
.repository .diff-file-box .file-body.file-code table tbody tr.same-code:hover .lines-type-marker {
|
||||
.repository
|
||||
.diff-file-box
|
||||
.file-body.file-code
|
||||
table
|
||||
tbody
|
||||
tr.same-code:hover
|
||||
.lines-code,
|
||||
.repository
|
||||
.diff-file-box
|
||||
.file-body.file-code
|
||||
table
|
||||
tbody
|
||||
tr.same-code:hover
|
||||
.lines-num,
|
||||
.repository
|
||||
.diff-file-box
|
||||
.file-body.file-code
|
||||
table
|
||||
tbody
|
||||
tr.same-code:hover
|
||||
.lines-type-marker {
|
||||
background-color: var(--color-code-line-bg-hover) !important;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user