vrifox/gitea-theme
Archived
1
0
Fork 0

updated repository-(summary)-menu for gitea 1.13.x

This commit is contained in:
Vrifox 2020-12-08 15:54:40 +01:00
parent 4f35a2d72b
commit cb0aab5e3d

View file

@ -162,15 +162,9 @@
border-radius: $border-radius; border-radius: $border-radius;
padding: 0; padding: 0;
.item { .item {
border-bottom: 2px solid transparent;
border-radius: 0 !important; border-radius: 0 !important;
border-top: 2px solid transparent;
margin: 0; margin: 0;
padding: 0; padding: 0;
transition: background .2s;
&:hover {
background: $bg50;
}
&.active { &.active {
background: initial; background: initial;
border-bottom: 2px solid $white; border-bottom: 2px solid $white;
@ -178,14 +172,16 @@
background: $bg50; background: $bg50;
} }
} }
a { a,
span {
color: $white !important; color: $white !important;
display: block; display: block;
padding: 8px; padding: 10px;
svg { }
@if $nojavascript == true { a {
display: none; transition: background .2s;
} &:hover {
background: $bg50;
} }
} }
} }