@use '@gear-js/ui/mixins' as *; @use '@/shared/assets/styles/variables' as *; @use '@/shared/assets/styles/mixins' as *; @use '@/shared/assets/styles/shared' as *; .message { display: flex; background-color: $bgColor4; border-radius: $borderRadius; position: relative; &:not(:last-child) { margin-bottom: 24px; } } .inputs, .buttons { padding: 32px 24px 64px; } .inputs { @include childrenMargin(24px); flex: 1; position: relative; overflow: hidden; &::after { @include transition(); content: ''; position: absolute; right: -40%; bottom: -100%; width: 100%; height: 200%; background-image: radial-gradient(50% 50% at 50% 50%, rgba($successColor, 0.23) 0%, rgba(24, 24, 27, 0) 100%); } &.expanded { &::after { opacity: 0; } } } .buttons { @include childrenMargin(24px); display: flex; flex-direction: column; align-items: flex-start; } .expandButton { @extend %absoluteCenterX; bottom: 24px; color: $successColor; font-size: 16px; font-weight: 500; letter-spacing: 0.08em; svg { margin-left: 8px; transform: rotate(90deg); path { fill: $successColor; } } &.expanded { svg { transform: rotate(-90deg); } } }