/*!
 * 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
 *
 */


@mixin waltz-visibility($percent) {
    .waltz-visibility-parent .waltz-visibility-child-#{$percent} {
        opacity: #{$percent / 100};
        transition: opacity 0.3s linear;
    }
    .waltz-visibility-parent:hover .waltz-visibility-child-#{$percent} {
        opacity: 1;
        transition: opacity 0.2s linear;
    }
}

@include waltz-visibility(10);
@include waltz-visibility(20);
@include waltz-visibility(30);
@include waltz-visibility(40);
@include waltz-visibility(50);
@include waltz-visibility(60);
@include waltz-visibility(70);
@include waltz-visibility(80);
@include waltz-visibility(90);
