view src/DML/MainVisBundle/Resources/assets/bem-blocks/help.less @ 0:493bcb69166c

added public content
author Daniel Wolff
date Tue, 09 Feb 2016 20:54:02 +0100
parents
children
line wrap: on
line source
@import "../config.less";

.help {

    .position_fixed_everywhere();
    .font_standard();
    z-index: @z-index_help;
    
    background: @--popup-base-color;
    display: none;

    &_animating {
        .transition(opacity 0.2s linear);
    }
    
    &_state_hidden {
        display: none;
    }
    &_state_pre-hidden {
        pointer-events: none;
        display: block;
        opacity: 0;
    }
    &_state_pre-shown {
        display: block;
        opacity: 0;
    }
    &_state_shown {
        display: block;
    }
    
    // ==================================
    &__body {
        .border-radius(@--border-radius);
        .position_fixed_everywhere(@help--margin);
        .box-shadow(@help--box-shadow);
        background: #fff; 
        overflow: hidden;
        z-index: @z-index_help + 1;
    }
    
    // ==================================
    &__toc-container {
        .position_absolute_everywhere();
        right: auto;
        width: @help--toc-width;
        background: #eee;

        @media all and (max-width: @help--toc-hiding-threshold) {
            & {
                display: none;
            }
        }
    }

    // ==================================
    &__toc {
        padding: 1em 0 0 0;
        
    }
    

    // ==================================
    &__toc-element {
        position: relative;
        display: block;
        padding: .5em;
        text-decoration: none;
        color: #888;
        
        &:hover {
            color: #000;
        }
    }
    
    &__toc-element_current {
        color: #000;
        cursor: default;
    }
    &__toc-element_hierarchy_1 {
        padding-left: 25px;
    }
    &__toc-element_hierarchy_2 {
        padding-left: 25px;
    }
    &__toc-element_hierarchy_3 {
        padding-left: 40px;
    }

    // ==================================
    &__toc-pointer {

    }

    // ==================================
    &__content-container {
        .position_absolute_everywhere();
        left: @help--toc-width;
        overflow: scroll;

        @media all and (max-width: @help--toc-hiding-threshold) {
            & {
                left: 0;
            }
        }
    }
    
    // ==================================
    &__closer {
        position: fixed;
        cursor: pointer;
        height: 30px;
        width: 30px;
        background: no-repeat 0 0 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWF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ElFTkSuQmCC);
        top: @help--margin - 15px;
        left: @help--margin - 15px;
        z-index: @z-index_help + 2;
        

        &_position_right {
            left: auto;
            right: @help--margin - 15px;
        }
    }
}