rdt-client/client/src/app/add-new-torrent/add-new-torrent.component.scss

55 lines
821 B
SCSS

.file-name {
max-width: 24em;
width: 24em;
}
.separator {
display: flex;
align-items: center;
text-align: center;
color: darkgray;
font-size: 10px;
margin-top: 12px;
margin-bottom: 12px;
}
.separator::before,
.separator::after {
content: "";
flex: 1;
border-bottom: 1px solid darkgray;
}
.separator:not(:empty)::before {
margin-right: 0.25em;
}
.separator:not(:empty)::after {
margin-left: 0.25em;
}
.category-combo {
position: relative;
}
.category-dropdown {
position: absolute;
z-index: 10;
width: 100%;
background: white;
border: 1px solid #dbdbdb;
border-top: none;
border-radius: 0 0 4px 4px;
max-height: 200px;
overflow-y: auto;
}
.category-option {
display: block;
padding: 0.375rem 0.75rem;
color: #363636;
&:hover {
background: #f5f5f5;
}
}