/*!
 * 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-org-unit-level($level, $fontSize) {
  .waltz-org-unit-level-#{$level} {
    font-size: #{$fontSize};
    margin-left: #{($level - 1) * 32}px;
    border-radius: 6px;
  }

  .waltz-org-unit-level-#{$level} .waltz-org-unit-name {
    font-weight: bolder;
  }
}

@include waltz-org-unit-level(1, "large");
@include waltz-org-unit-level(2, "larger");
@include waltz-org-unit-level(3, "");
@include waltz-org-unit-level(4, "");
@include waltz-org-unit-level(5, "");
@include waltz-org-unit-level(6, "");
@include waltz-org-unit-level(7, "");


.waltz-org-unit-level {
  padding: 3px;
}

.waltz-org-unit-level:hover {
  background: $waltz-section-background-color;
}
