PeerTube/client/src/app/shared/shared-actor-image-edit/actor-banner-edit.component...

48 lines
766 B
SCSS
Raw Normal View History

2021-05-27 18:25:00 +02:00
@use '_variables' as *;
@use '_mixins' as *;
2021-04-07 17:01:29 +02:00
.banner-placeholder {
@include block-ratio('> div, > img', $banner-inverted-ratio);
}
.banner-placeholder {
background-color: pvar(--greyBackgroundColor);
}
.actor-img-edit-container {
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
2023-03-06 11:39:23 +01:00
.dropdown {
2021-04-07 17:01:29 +02:00
position: absolute;
2023-03-06 11:39:23 +01:00
> .actor-img-edit-button {
position: relative;
}
}
.actor-img-edit-button {
2021-04-07 17:01:29 +02:00
width: auto;
2023-03-06 11:39:23 +01:00
position: absolute;
2021-04-07 17:01:29 +02:00
label {
font-weight: $font-semibold;
margin-bottom: 0;
}
}
2023-03-06 11:39:23 +01:00
2023-05-24 15:27:15 +02:00
.button-focus-within:focus-within {
box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
}
2023-03-06 11:39:23 +01:00
.dropdown-item {
@include dropdown-with-icon-item;
}
.dropdown-toggle::after {
display: none;
}