/*
 * Copyright (c) 2008-2016 Haulmont.
 *
 * 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 language governing permissions and
 * limitations under the License.
 *
 */

@mixin cuba-role-editor {
  .role-permission-red {
    color: #ff0000;
  }

  .role-permission-green {
    color: green;
  }

  .role-permission-black {
    color: #000000;
  }

  .role-permission-blue {
    color: blue;
  }

  .role-permission-red,
  .role-permission-green,
  .role-permission-blue,
  .role-permission-black {
    padding: round($v-unit-size/10) round($v-unit-size/3);
  }

  .v-selected .role-permission-red,
  .v-selected .role-permission-green,
  .v-selected .role-permission-blue,
  .v-selected .role-permission-black {
    border-radius: round($v-unit-size/5);
    background: $v-table-background-color or valo-table-background-color();
  }
}