@import '../styles/z-index';

.CenterPanel {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;

    .octo-board {
        flex: 0 1 auto;

        display: flex;
        flex-direction: column;
    }
}


.BoardComponent {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;

    > * {
        padding: 0 32px;

        @media screen and (max-width: 768px) {
            padding: 0 40px;
        }

        &:first-child {
            padding-top: 8px;

            @media screen and (max-width: 768px) {
                padding: 0 8px;
            }
        }

        &:last-child {
            padding-bottom: 8px;
        }
    }

    > .top-head {
        @include z-index(center-panel);
        position: sticky;
        top: 0;
        left: 0;
        background: rgb(var(--center-channel-bg-rgb));

        > .mid-head {
            margin-top: 24px;
            flex: 0 0 auto;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
        }

        .ViewTitle {
            flex: 1;
            padding: 0 16px 0 0;
            position: relative;
            min-height: 40px;
            justify-content: center;
            display: flex;
            flex-direction: column;
        }
    }


    > div:nth-child(2) {
        padding: 0 0 0 1px;
        margin-left: 32px;

        @media (max-width: 768px) {
            margin-left: 0;
            padding-left: 20px;
            -webkit-overflow-scrolling: touch;
        }
    }

    .shareButtonWrapper {
        position: relative;
        flex: 0 0 auto;
    }

    .NotificationBox {
        .AlertIcon {
            color: #ffbc1f;
            font-size: 24px;
        }
    }
}
