lbry-desktop/ui/scss/component/_input-radio-panel.scss
2022-02-03 10:59:10 -05:00

52 lines
1 KiB
SCSS

.input-toggle-panel {
padding: var(--spacing-m);
margin-bottom: var(--spacing-m);
width: 100%;
background-color: var(--color-card-background);
border-radius: var(--card-radius);
overflow: hidden;
border: 1px solid var(--color-border);
display: flex;
justify-content: space-between;
.button--close {
position: unset;
}
&:last-child {
margin-bottom: 0;
}
}
.input-toggle-panel__details {
display: flex;
flex-direction: row;
flex-wrap: wrap;
@media (max-width: $breakpoint-small) {
flex-direction: column;
}
}
.input-toggle-panel__name {
min-width: 100px;
width: 100px;
}
.input-toggle-panel__url {
text-overflow: ellipsis;
}
.input-toggle-panel--active {
color: var(--color-button-toggle-text);
background-color: var(--color-button-toggle-bg);
}
.input-toggle-panel--input {
min-height: var(--spacing-l);
padding: 0 0 var(--spacing-s) 0;
fieldset-section,
.fieldset-group {
margin-top: var(--spacing-m);
}
&.checkbox,
.checkbox:only-child {
height: var(--spacing-l);
float: left;
}
}