/*!
 * Waltz - Enterprise Architecture
 * Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project
 * See README.md for more information
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific
 *
 */

@import "../../../../style/util";
@import "../../../../style/variables";


.waltz-dynamic-section {
    background: #fff;
    display: block;
    margin-left: $waltz-section-margin;
    margin-right: $waltz-section-margin;
}


.waltz-dynamic-section-header {
    border-radius: 3px 3px 0px 0px;
    margin-top: 0px;
    color: $waltz-section-font-color;
}


.waltz-dynamic-section-header-title {
    background: $waltz-section-background-color;
    margin-top: 0px;
    padding: 4px 4px 4px 12px;
    font-weight: 300;
    font-size: 20px;
}


.waltz-dynamic-section-body {
    margin-top: 12px;
    padding-bottom: 12px;
}


.waltz-dynamic-section-render-mode-standard {
    border: 1px solid $waltz-border-color-lighter;
    border-radius: 3px;
    margin-bottom: 24px;
    @include waltz-box-shadow()
}


.waltz-dynamic-section-render-mode-chromeless {
    border-radius: 0;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
}


.waltz-dynamic-section-help {
    border-top: 1px solid #eee;
    background: linear-gradient(180deg, #fcfcf9 0%, rgba(255,255,255,1) 100%);

    .help-block {
        padding: 0.4em 1em 0 1em;
    }

    waltz-markdown {
        padding-left: 0.3em
    }
}