/*
 * 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.
 */
 
.we-tag {
    .we-tag-content {
        background-color: #ecf5ff;
        display: inline-block;
        height: 32px;
        padding: 0 10px;
        line-height: 30px;
        color: #409eff;
        border: 1px solid #d9ecff;
        border-radius: 4px;
        white-space: nowrap;
        margin-right: 10px;
        margin-bottom: 4px;
        max-width: 100%;
        position: relative;
        .we-input-label {
            display: inline-block;
            max-width: 100%;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            padding-right: 10px;
        }
        .we-tag-content-close {
            cursor: pointer;
            font-size: 16px;
            border-radius: 50%;
            text-align: center;
            height: 16px;
            width: 16px;
            line-height: 16px;
            vertical-align: middle;
            position: absolute;
            top: 8px;
            right: 2px;
            &:hover {
                color: #fff;
                background-color: #409eff;
            }
        }
    }
    .we-tag-add-btn {
        display: inline-block;
        height: 32px;
        line-height: 30px;
        padding: 0 10px;
        border: 1px solid #dcdfe6;
        border-radius: 3px;
        background: #fff;
        white-space: nowrap;
        color: #606266;
        font-weight: 500;
        cursor: pointer;
        &:hover {
            color: #409eff;
            border-color: #c6e2ff;
            background-color: #ecf5ff;
        }
    }
    .we-tag-add-input {
        height: 32px;
        line-height: 30px;
        border: 1px solid #409eff;
        width: 80px;
        border-radius: 4px;
        padding: 0 10px;
        color: #606266;
    }
}
