aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/app/scripts/view-models/workspace/tabs/product-hierarchy/product-hierarchy.less
blob: c992558ed293474ef6b2de848e3ebba1b65f9a2b (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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
.workspace-hierarchy {
    display: inline-block;
    width: 93%;

    .scrollbar-container{
        max-height:400px;
        .perfect-scrollbar;
    }

    .dropdown-container {
        position: relative;
        display: inline-block;
        width: 100%;

        &:after{
            top: 47%;
            right: 1%;
            border: solid transparent;
            content: " ";
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none;
            border-color: rgba(0, 0, 0, 0);
            border-top-color: black;
            border-width: 4px;
            margin-left: -4px;
        }

        .dropdown-input-text {
            width: 100%;
            padding: 4px 10px;
        }

        .dropdown-content {
            .perfect-scrollbar;
            border: 1px solid #d8d8d8;
            display: none;
            position: absolute;
            overflow: hidden;
            width: 100%;
            .bg_c;
            max-height: 400px;
            z-index: 999999;

            .dropdown-option {
                border-bottom: 1px solid #d8d8d8;
                display: inline-block;
                width: 100%;
            }

            .category-container{
                width: 250px;
                float: left;
                padding-left: 5px;

                .category {
                    .bold;
                    padding: 3px 3px 2px 3px;
                    &:after{
                        .sprite;
                        .arrow-left;
                        content: '';
                        margin-left: 5px;
                        transform: rotate(180deg);
                    }
                }
                .subcategory {
                    padding-left: 3px;
                }
            }

            .groupings-container{
                display: inline-block;
                width: 424px;
                border-left: 1px solid #d8d8d8;
                min-height: 55px;
                .group{
                    padding: 3px 3px 3px 10px;
                    &:hover{
                        .hand;
                        .bg_n;
                    }
                    &.disabled-group {
                        opacity: 0.5;
                        &:hover{
                            cursor: auto;
                            .bg_c;
                        }
                    }
                }
            }

            .seperator {
                height: 1px;
                width: 100%;
                .bg_j;
                margin: 5px 0px;
            }
        }
        .show {
            display: block;
        }
    }

    .hierarchy-groups-container{
        .b_9;
        width: 100%;
        border: 1px solid #d8d8d8;
        height: 425px;
        padding: 15px;
        text-align: center;

        .scrollbar-container {
            z-index: 0;
        }

        .no-group-text{
            text-align: center;
            margin-top:25px;
            a {
                cursor: pointer;
            }
        }
        .group-tag{
            display: inline-block;
            float: left;
        }
    }
}