vrifox/gitea-theme
Archived
1
0
Fork 0

added styles to repository: diff

This commit is contained in:
Vrifox 2020-09-28 15:53:56 +02:00
parent b1be8c9443
commit 74194873fd
2 changed files with 615 additions and 0 deletions

View file

@ -330,10 +330,125 @@
.top.info {
background: rgb(60, 60, 90) !important;
border: 0;
color: rgb(245, 245, 255);
.button {
background: rgb(80, 80, 120);
box-shadow: none;
color: rgb(245, 245, 255);
&:hover {
background: rgb(70, 70, 105);
}
}
.text.grey {
color: rgb(215, 215, 225) !important;
}
}
.info {
background: rgb(50, 50, 75);
border: 0;
color: rgb(245, 245, 255);
.text.grey {
.time-since {
color: rgb(215, 215, 225) !important;
}
}
.sha.label {
background: rgb(70, 70, 105);
border: 0 !important;
color: rgb(245, 245, 255);
transition: background .2s, color .2s;
&:hover {
background: rgb(60, 60, 90);
color: rgb(255, 255, 255);
}
}
}
.diff-detail-box {
background: rgb(50, 50, 75);
color: rgb(245, 245, 255);
padding: 10px;
.button {
background: rgb(70, 70, 105);
color: rgb(245, 245, 255);
&:hover {
background: rgb(60, 60, 90);
}
.menu {
background: rgb(50, 50, 75);
border: rgb(60, 60, 90);
.item {
color: rgb(245, 245, 255);
}
}
}
}
.diff-file-box {
.diff-file-header {
.diff-counter {
.bar {
background: rgb(255, 130, 130);
}
}
.file {
color: rgb(245, 245, 255);
}
.button {
background: rgb(80, 80, 120);
box-shadow: none;
color: rgb(245, 245, 255);
&:hover {
background: rgb(70, 70, 105);
}
}
}
.diff-file-body {
.file-body {
table {
tbody {
.tag-code {
td {
background: rgb(30, 30, 45) !important;
border-color: rgb(60, 60, 90) !important;
color: rgb(255, 255, 255);
}
}
.same-code {
td {
background: rgb(30, 30, 45) !important;
border-color: rgb(60, 60, 90) !important;
color: rgb(255, 255, 255);
}
}
.del-code {
td {
background: rgb(255, 130, 130) !important;
border-color: rgb(255, 100, 100) !important;
color: rgb(255, 255, 255);
.removed-code {
background: rgb(255, 100, 100);
}
}
}
.add-code {
td {
background: rgb(130, 220, 150) !important;
border-color: rgb(100, 220, 120) !important;
color: rgb(255, 255, 255);
.added-code {
background: rgb(80, 200, 120);
}
}
}
}
}
}
}
}
}
}
/* repository: files */
.repository.file {
}