/*
 * Copyright (c) Baidu, Inc. All Rights Reserved.
 *
 * 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.
 */

@import (reference) 'tokens.less';

.@{prefix}-poi {
    box-sizing: border-box;
    clear: both;

    &-weak {
        .cos-line-clamp-1();
        .cos-flex();
        .cos-items-center();
        .cos-rounded-xs();
        .cos-color-bg-dent();
        .cos-space-p-xxs();
        .cos-space-mt-xs();
        .cos-space-mb-3xs();
        box-sizing: border-box;
        width: 100%;
        height: 24px;
        line-height: var(--cos-leading-headline-sm);

        &-icon {
            .cos-color-text();
            width: 14px;
            height: 14px;
            line-height: 14px;
        }
    }

    &-block {
        .cos-block();
        .cos-space-mt-xs();
        .cos-space-mb-sm();
    }
    &-line {
        .cos-space-ml-xxs();
        position: relative;
        top: -1px;
        opacity: .18;
    }

    &-map-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 26px;
        height: 33px;
        transform: translate(-50%, -50%)
    }
}
