@import '~bootstrap/scss/_functions';
@import '~bootstrap/scss/_variables';
@import '~bootstrap/scss/_mixins';
@import "../../../assets/css/abstracts/custom-variables.scss";

// General
.title {
    margin-top: 0;
    @media only screen and (min-width: 768px) {
        float: left !important;
    }
}

.site-icon {
    font-size: 23px;
    display: block;
    text-align: right;
    line-height: 1.1;
}

.site-item-visible {
    visibility: hidden;
    display: none;
}

.label-indent {
    margin-left: 15px;
}
.homepage-site-item {
    border-top: 1px solid $gray-300;
}
.as-sortable-item {
    border-top: 1px solid $gray-300;
}
.as-sortable-placeholder {
    margin-bottom: 5px;
    &:after {
        content: '';
        padding: 12px 20px;
        border: 1px dashed $gray-300;
        background-color: $gray-100;
        width: 100%;
        display: block;
        height: 100%;
    }
}
.menuitem-list .as-sortable-placeholder {
    padding-left: 0;
}

.as-sortable-dragging {
    .as-sortable-item {
        background-color: rgba(255,255,255,0.4);
    }
    > .as-sortable-item {
        border-bottom: 1px solid $gray-300;
    }
}

.as-sortable-un-selectable {
    .droppable-list {
        min-height: 10px;
    }
}

.menuitem-list > .as-sortable-item:last-of-type {
    border-bottom: 1px solid $gray-300;
}
.sub-menuitem-list .as-sortable-placeholder {
    padding-left: 60px;
}

.pages-url-prefix-view {
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: rtl;
}

.pages-url-prefix-edit {
    max-width: 60%;
    overflow: hidden;

    @include media-breakpoint-down(lg) {
        width: 50%;
    }
}

// Removes focus outline when clicking on page on site admin page
.site-item-link:focus {
    outline: none;
}

.break-url {
    word-break: break-all;
    word-wrap: break-word;
}

.ie .break-url {
    display: block;
}


.tooltip-inner {
    width: auto;
    max-width: 750px;
}
