vrifox/gitea-theme
Archived
1
0
Fork 0
This commit is contained in:
Vrifox 2020-12-10 20:13:32 +01:00
parent bdcc178e91
commit 2fb5874999
Signed by: vrifox
GPG key ID: D40098E5B60B2197
2 changed files with 49 additions and 40 deletions

View file

@ -397,3 +397,35 @@
} }
} }
} }
@mixin sha-label {
.sha.label {
background: $bg70;
border: 0 !important;
color: $white;
transition: background .2s, color .2s;
&:hover {
background: $bg60;
color: $white;
}
&.isSigned.isVerified {
background: $bg70 !important;
&:hover {
background: $bg60 !important;
.detail.icon {
background: $bg60 !important;
}
}
.detail.icon {
background: $bg70 !important;
border: 0 !important;
color: $green !important;
margin: -6px -8px -4px 0 !important;
padding: 5px 4px 5px 0 !important;
&:hover {
background: $bg60 !important;
}
}
}
}
}

View file

@ -413,7 +413,8 @@
border: 0; border: 0;
color: $white; color: $white;
} }
.table { .table,
#repo-files-table {
background: $bg30; background: $bg30;
border: 0; border: 0;
border-radius: 5px; border-radius: 5px;
@ -458,16 +459,7 @@
} }
.commit-list { .commit-list {
th { th {
.sha.label { @include sha-label;
background: $bg70;
border: 0 !important;
color: $white;
transition: background .2s, color .2s;
&:hover {
background: $bg60;
color: $white;
}
}
.commit-summary { .commit-summary {
.commit-button { .commit-button {
@if $nojavascript == true { @if $nojavascript == true {
@ -1203,15 +1195,7 @@
&.horizontal.segments:last-of-type { &.horizontal.segments:last-of-type {
border-bottom: 0; border-bottom: 0;
} }
h4.header { // »There has not been any commit activity in this period.« &.text {
background: $bg30;
}
#app {
@if $nojavascript == true {
display: none;
}
}
.text {
background: $bg30; background: $bg30;
.green.text { .green.text {
color: $green !important; color: $green !important;
@ -1232,6 +1216,14 @@
} }
} }
} }
h4.header { // »There has not been any commit activity in this period.«
background: $bg30;
}
#app {
@if $nojavascript == true {
display: none;
}
}
} }
.divider.header { .divider.header {
background: initial; background: initial;
@ -1323,19 +1315,13 @@
} }
} }
.table { .table {
.very.basic.table { #commits-table {
.commit-list { .commit-list {
tr { tr {
.sha.label { &:nth-child(2n) {
background: $bg70; background: unset;
border: 0 !important;
color: $white;
transition: background .2s, color .2s;
&:hover {
background: $bg60;
color: $white;
}
} }
@include sha-label;
.message { .message {
.commit-button { .commit-button {
@if $nojavascript == true { @if $nojavascript == true {
@ -1453,16 +1439,7 @@
color: $white-dark !important; color: $white-dark !important;
} }
} }
.sha.label { @include sha-label;
background: $bg70;
border: 0 !important;
color: $white;
transition: background .2s, color .2s;
&:hover {
background: $bg60;
color: $white;
}
}
} }
.attached.message.isSigned.isVerified { .attached.message.isSigned.isVerified {
background: $bg50; background: $bg50;