taiga-front/app/styles/modules/wiki/wiki-nav.scss

60 lines
1.2 KiB
SCSS

.wiki-link {
@extend %large;
@extend %title;
align-items: center;
border-bottom: 1px solid $gray-light;
display: flex;
justify-content: space-between;
padding: 1rem 0 1rem 1rem;
text-transform: uppercase;
&:hover {
.remove-wiki-page {
cursor: pointer;
opacity: 1;
transition: opacity .2s linear;
transition-delay: .2s;
}
}
.remove-wiki-page {
opacity: 0;
&:hover {
.icon {
fill: $red;
}
}
}
.link-title {
cursor: pointer;
}
.icon-trash {
fill: $gray-light;
}
}
.wiki-nav {
ul {
border-top: 1px solid $gray-light;
}
.add-button {
color: $white;
display: block;
margin-bottom: .5rem;
text-align: center;
}
input[type="text"] {
@extend %text;
@extend %medium;
background: $grayer;
color: $whitish;
@include placeholder {
color: $gray-light;
}
}
.loading {
margin: 0;
padding: 8px;
text-align: center;
width: 100%;
}
}