BetterDiscordApp-v2/client/src/styles/partials/generic/forms/collections.scss

68 lines
1.3 KiB
SCSS
Raw Normal View History

2018-08-09 19:22:48 +02:00
.bd-formCollection {
display: flex;
flex-direction: column;
2018-08-10 15:11:25 +02:00
> :first-child {
2018-08-09 19:22:48 +02:00
flex: 1 1 auto;
}
.bd-collectionItem {
display: flex;
flex-grow: 1;
margin-top: 5px;
2018-08-10 15:11:25 +02:00
> :first-child {
flex: 1 0 auto;
}
2018-08-09 19:22:48 +02:00
.bd-removeCollectionItem {
width: 20px;
flex: 0 1 auto;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
svg {
width: 16px;
height: 16px;
fill: #ccc;
}
2018-08-15 11:42:43 +02:00
&:not(.bd-disabled) {
&:hover {
svg {
fill: #fff;
}
}
}
&.bd-disabled {
2018-08-15 11:42:43 +02:00
opacity: .5;
}
2018-08-09 19:22:48 +02:00
}
}
.bd-newCollectionItem {
display: flex;
2018-08-09 22:21:57 +02:00
cursor: pointer;
align-self: flex-end;
2018-08-09 19:22:48 +02:00
justify-content: center;
align-items: center;
2018-08-09 22:21:57 +02:00
margin-right: 2px;
2018-08-10 15:11:25 +02:00
margin-top: 10px;
2018-08-09 22:21:57 +02:00
svg {
width: 16px;
height: 16px;
fill: #ccc;
}
2018-08-09 19:22:48 +02:00
&:hover {
2018-08-09 22:21:57 +02:00
svg {
2018-08-15 11:42:43 +02:00
fill: #fff;
2018-08-09 22:21:57 +02:00
}
2018-08-09 19:22:48 +02:00
}
}
}