/*!
 * 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/variables";

.waltz-dynamic-sections-view {

    $wdsv-background: darken($waltz-background-color, 4);
    $wdsv-border: darken($waltz-background-color, 8);

    .wdsv-arrow_box {
        position: relative;
        background: $wdsv-background;
        border: 4px solid $wdsv-border;
        padding: 2em;
        margin: 2em 4em;
    }
    .wdsv-arrow_box:after, .wdsv-arrow_box:before {
        right: 100%;
        top: 50%;
        border: solid transparent;
        content: "";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .wdsv-arrow_box:after {
        border-color: rgba(0, 0, 0, 0);
        border-right-color: $wdsv-background;
        border-width: 20px;
        margin-top: -20px;
    }

    .wdsv-arrow_box:before {
        border-color: rgba(0, 0, 0, 0);
        border-right-color: $wdsv-border;
        border-width: 26px;
        margin-top: -26px;
    }
}

.waltz-page-top-anchor {
    display: block;
    position: relative;
    top: -130px;
    visibility: hidden;
}