aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/components/logic/hierarchy-navigtion/hierarchy-navigation.component.less
blob: 33ffb495373a417461672cc241151bb7583b1b55 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
@import './../../../../../assets/styles/mixins.less';

.navigation-wrapper {
    text-align: left;
}

.node-item {
    border: 1px dotted;
    border-right: none;
    border-bottom: none;
    width: 100%;
}

.node-item:last-child {
    border-left: none;
}

.node-data-wrapper {
    cursor: default;
    height: 39px;
    line-height: 39px;
    position: relative;
    top: -20px;
    background-color: white;
    margin-left: 0.7em;
}

.children-node {
    padding-left: 40px;
}

.node-data {
    margin-left: 10px;
    margin-right: 10px;
    align-items: center;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 300px;
    .archive-label{
        margin-left: 5px;
    }
}

.node-data-icon {
    vertical-align: middle;
    margin-right: 7px;
    
    &.defaulticon.small {
        background-color: #999;  
        border-radius: 14px;
    }
}

.node-data-wrapper.selected {
    background-color: #e6f6fb;

    .node-data {
        color:  #009fdb;
    }
}

.node-data-wrapper:hover {
    background-color: #eaeaea;
}

.mark{
    background-color: yellow;
}



.icon-group {
    .square-icon();
    background-color: @main_color_a;

    &::before {
        content: "G";
    }
}
.icon-policy {
    .square-icon();
    background-color: @main_color_r;

    &::before {
        content: "P";
    }
}