summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/directives/utils/sdc-tags/sdc-tags.less
blob: af24776cd3ec3a6aca4619e50a114fcb90449b08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
.tags-box {

    height: 100px;
    .bg_c;

    .perfect-scrollbar {
        height: 70px;
    }

    .new-tag-input {
        display: block;

        -webkit-border-bottom-left-radius: 0 !important;
        -moz-border-radius-bottomleft: 0 !important;
        -khtml-border-bottom-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;

        -webkit-border-bottom-right-radius: 0 !important;
        -moz-border-radius-bottomright: 0 !important;
        -khtml-border-bottom-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;

        border: solid 1px #d8d8d8;
        width: 100%;
        height: 30px;
        line-height: 30px;
        padding: 2px 10px;
        outline: none;
    }

    .tags-wrapper {
        padding: 10px;
        .border-radius-bottom-left(2px);
        .border-radius-bottom-right(2px);
        border: solid 1px #d8d8d8;
        border-top: none;

        .group-tag {
            display: inline-block;

            .sdc-tag {
                border: solid 1px @main_color_n;
                background-color: @main_color_p;
                min-width: auto;
                .tag {
                    margin-right: 10px;
                }
            }
        }
        &.view-mode .group-tag {
            opacity: 1;
            background-color: #f8f8f8 !important;
            .sdc-tag {
                background: none;
                border-color: @main_color_o;
            }
        }
    }

}