Skip to content
Snippets Groups Projects
contentbar.scss 3.27 KiB
Newer Older
    background-color: var(--dark-gray-color-5);
    border: solid thin var(--dark-gray-color-30);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
    min-height: 30px;
    padding: 1em 2em;

    .contentbar-nav {
        display: flex;
        width: auto;
    }
    .contentbar-wrapper-left {
        .contentbar-breadcrumb {
            font-size: 1.25em;
            line-height: 1.5em;
            margin-right: 1em;
            min-width: 0;

            .contentbar-icon {
                height: 24px;
                margin-top: 2px;
                width: 24px;
                display: inline-flex;
                list-style: none;
                margin-left: 15px;
                max-width: 100%;
                padding-left: 0;

                li+li:before {
                    padding: 0 0.25em;
                    content: '/';
                    background-repeat: no-repeat;
                    background-position: center;
                }
                .contentbar-breadcrumb-item {
                    display: inline;
                    flex-shrink: 100000;
                    min-width: 0;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;

                    a {
                        text-decoration: none;
                        &:hover {
                            color: var(--active-color);
                        }
                    }

                    &.contentbar-breadcrumb-item-current {
                        flex-shrink: 1;
                    }
                }
            }
        }
    .contentbar-wrapper-right {
        justify-content: flex-end;
        position: relative;
        .contentbar-button-wrapper {
            height: 24px;
            margin: 0 7px;
            @-moz-document url-prefix() {
                &.contentbar-action-menu-wrapper {
                    margin-top: 2px;
                }
            .contentbar-button, .cw-ribbon-button {
                background-color: transparent;
                background-position: center;
                background-repeat: no-repeat;
                background-size: 24px;
                border: none;
                cursor: pointer;
                display: inline-block;
                height: 24px;
                width: 24px;
                &.contentbar-button-menu,
                &.cw-ribbon-button-menu {
                    @include background-icon(table-of-contents, clickable, 24);
                }

                &.contentbar-button-zoom::before {
                    left: -5px;
                    position: relative;
                    top: -2px;
                }

                @-moz-document url-prefix() {
                    &.contentbar-button-zoom::before {
                        top: -3px;
                    }