/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You 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.
 */
 
.field-table {
    .field-table-header,
    .field-table-body {
        display: flex;
        border: 1px solid #dcdee2;
        min-height: 46px;
        justify-content: center;
        align-items: center;
    }
    .field-table-header {
        justify-content: space-evenly;
        background-color: #5e9de0;
        color: #fff;
        font-weight: bold;
        margin-top: 10px;
        border: none;
        .field-table-header-wrap {
            width: calc(100% - 18px);
            display: flex;
        }
    }
    .field-table-body {
        border-top: none;
        background: #fff;
        justify-content: space-evenly;
        padding-top: 12px;
        height: 70px;
        &:hover {
            background-color: #ebf7ff;
        }
        &.actived {
            background-color: #ebf7ff;
        }
    }
    .field-table-item {
        padding: 0 10px;
        display: inline-block;
        height: 100%;
        text-align: center;
        font-size: 12px;
        margin: 0;
        &.nowrap {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .field-table-item-tag {
            display: inline-block;
            width: 100%;
            height: 32px;
            line-height: 1.5;
            padding: 4px 7px;
            font-size: 12px;
            border: 1px solid #dcdee2;
            border-radius: 4px;
            color: #515a6e;
            background-color: #fff;
            background-image: none;
            position: relative;
            cursor: pointer;
            &:hover {
                border-color: #57a3f3;
            }
            .field-table-item-tag-item {
                height: 24px;
                line-height: 22px;
                max-width: 99%;
                display: inline-block;
                padding: 0 8px;
                border: 1px solid #e8eaec;
                border-radius: 3px;
                background: #f7f7f7;
                font-size: 12px;
                vertical-align: middle;
                opacity: 1;
                overflow: hidden;
                cursor: pointer;
            }
            .field-table-item-tag-arrow {
                font-size: 14px;
                color: #808695;
                position: absolute;
                right: 8px;
                top: 8px;
            }
        }
    }
    .field-table-item-action {
        min-width: 60px;
        display: inline-block;
        text-align: center;
        padding-bottom: 20px;
    }
    .field-table-index {
        width: 5%;
        min-width: 50px;
    }
}