vrifox/gitea-theme
Archived
1
0
Fork 0
This commit is contained in:
Vrifox 2020-10-20 22:35:00 +02:00
parent 510408837b
commit b0be0ed0be

View file

@ -427,7 +427,7 @@
.green.button {
background: $green;
box-shadow: none;
color: $white;
color: $white-light;
&:hover {
background: $green-dark;
}
@ -549,6 +549,168 @@
}
}
/* repository: milestones */
.repository.milestones {
.container {
.navbar {
.left.small.menu {
background: transparent;
border: 0;
.item {
background: $bg60;
color: $white;
&:first-child {
border-radius: $border-radius 0 0 $border-radius;
}
&:hover {
background: $bg50;
}
&:last-child {
border-radius: 0 $border-radius $border-radius 0;
}
&.active {
background: $bg50;
}
}
}
}
.divider {
border-top: 1px solid $bg60;
}
.basic.button {
&:not(.active) {
background: $bg60;
color: $white;
&:hover {
background: $bg50;
}
}
&.green {
background: $green;
box-shadow: none;
color: $white-light;
&:hover {
background: $green-dark;
}
}
&.red {
background: $red;
box-shadow: none;
color: $white-light;
&:hover {
background: $red-dark;
}
}
.svg {
@if $nojavascript == true {
display: none;
}
}
}
.filter.menu {
.item {
background: $bg60;
color: $white;
&:first-of-type {
margin-left: auto;
}
&:hover {
background: $bg50;
.menu {
@if $nojavascript == true {
display: block;
}
}
}
&.label-filter {
.menu {
.info {
@if $nojavascript == true {
display: none;
}
}
.item {
&.label-filter-item {
@if $nojavascript == true {
padding-left: 25px !important;
}
}
.label.color {
@if $nojavascript == true {
display: none;
}
}
}
}
}
.menu {
background: $bg60;
border: 1px solid $bg50;
box-shadow: none;
margin-top: 0;
.item {
color: $white !important;
&:hover {
background: $bg50;
}
}
}
}
}
.milestone.list {
.item {
border-bottom: 1px dashed $bg70;
svg.octicon-milestone {
@if $nojavascript == true {
display: none;
}
}
a {
color: $white-light;
&:hover {
color: $red;
}
}
.green.progress {
background: $bg50;
.bar {
background: $green;
}
@if $nojavascript == true {
@for $i from 1 through 100 {
&[data-percent*="#{$i}"] {
.bar {
width: $i + 0%;
.progress::before {
content: "#{$i}%";
}
}
}
}
}
}
}
}
}
}
/* repository: milestones view */
.repository {
.container {
div {
.column {
svg.octicon-calendar {
@if $nojavascript == true {
display: none;
}
}
}
}
}
}
/* repository: issues view issue */
.repository.view.issue {