@keyframes toShadow { from { opacity: 1; } to { opacity: 0.25; } } @keyframes fromShadow { from { opacity: 0.25; } to { opacity: 1; } } .conversation-header { .message-selection-overlay { position: absolute; display: flex; left: 0px; right: 0px; padding: 0px var(--margins-md); align-items: center; justify-content: space-between; height: var(--main-view-header-height); background: var(--background-primary-color); .close-button { float: left; } .session-button.danger { display: flex; } } .message-selection-overlay div[role='button'] { display: inline-block; } .message-selection-overlay .button-group { display: flex; } } .session-conversation { position: relative; flex-grow: 1; display: flex; flex-direction: column; width: var(--main-panel-content-width); height: 100%; .selection-mode { .messages-container > *:not(.message-selected) { animation: toShadow var(--default-duration); opacity: 0.3; } } } .conversation-content { display: flex; flex-grow: 1; flex-direction: column; position: relative; outline: none; height: inherit; &-left { flex-grow: 1; } .conversation-messages { display: flex; flex-direction: column; flex-grow: 1; width: 100%; height: 0; background-color: inherit; outline: none; position: relative; background-color: var(--background-secondary-color); border-top: 1px solid var(--border-color); } } .composition-container { display: flex; justify-content: center; align-items: center; padding: 0px var(--margins-md); min-height: min-content; border-top: 1px solid var(--border-color); z-index: 1; .session-icon-button { display: flex; justify-content: center; align-items: center; margin-right: var(--margins-sm); .send { padding: var(--margins-xs); border-radius: 50%; height: 30px; width: 30px; } } } .session-recording { height: var(--composition-container-height); display: flex; justify-content: space-between; align-items: center; flex-grow: 1; outline: none; $actions-element-size: 30px; &--actions { display: flex; align-items: center; width: $actions-element-size; height: $actions-element-size; border-radius: 50%; .session-button { animation: fadein var(--default-duration); } .session-icon-button { animation: fadein var(--default-duration); border-radius: 50%; width: $actions-element-size; height: $actions-element-size; .play { margin-left: 4px; } } } &--visualisation { z-index: 2; width: 100%; display: flex; align-items: center; justify-content: center; position: relative; canvas { position: absolute; width: 100%; padding: 0px var(--margins-lg); } } &--timer { display: inline-flex; align-items: center; font-family: var(--font-default); font-weight: bold; font-size: 14px; flex-shrink: 0; &.playback-timer { animation: fadein var(--default-duration); @media (-webkit-min-device-pixel-ratio: 1.6) { margin-left: auto; } } } }