2021-06-12 17:20:19 +03:00

153 lines
2.3 KiB
SCSS

.Management {
position: relative;
height: 100%;
& > .custom-scroll {
height: 100%;
overflow-y: scroll;
overflow-x: hidden;
}
.section {
padding: 1rem 1.5rem;
border-top: 1px solid var(--color-borders);
&.wide {
padding: 1.5rem;
}
&:first-of-type {
border-top: none;
padding-top: 1rem;
}
&.no-border {
border-top: none;
}
> .ChatInfo {
margin: 0 0 2rem !important;
.title h3 {
margin-bottom: 0;
}
}
.section-icon {
width: 8.75rem;
height: 8.75rem;
margin: 0 auto 2rem;
position: relative;
.AnimatedSticker {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
&.hidden {
display: none
}
}
}
.ListItem {
margin: 0 -.75rem;
&:last-child {
margin-bottom: 0;
}
.multiline-item .subtitle {
line-height: 1.25rem;
}
&:not(.picker-list-item) .Checkbox {
margin-top: 2rem;
margin-bottom: 2rem;
}
&.narrow {
.Checkbox {
margin-top: 1rem;
margin-bottom: 1rem;
}
}
&.exceptions-member {
.ChatInfo .status {
white-space: pre-wrap;
}
}
}
.section-heading {
font-weight: 500;
font-size: .9375rem;
color: var(--color-text-secondary);
&[dir=auto] {
text-align: initial;
}
}
.section-help {
color: var(--color-text-secondary);
line-height: 1.375rem;
&[dir=auto] {
text-align: initial;
}
}
.section-info {
color: var(--color-text-secondary);
font-size: .875rem;
}
&[dir=rtl] {
text-align: right;
}
}
textarea.form-control {
height: auto;
}
.group-link {
color: var(--color-text);
}
.radio-group {
margin-top: 2rem;
.Radio {
padding-left: 3.5rem;
margin-bottom: 2rem;
&:last-child {
margin-bottom: .625rem;
}
}
.Radio-main {
&::before {
left: 0.125rem;
top: .25rem;
transform: none;
}
&::after {
left: 0.4375rem;
top: .5625rem;
transform: none;
}
}
}
}
.ManageGroupMembers {
padding: 0.5rem 1rem;
}