aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/app/styles/layout/sidebar.less
blob: 9b8dc240c7694810f05acb2c6e9f57a60699b5d4 (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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
.w-sdc-left-sidebar {
    width: 242px;
    overflow: hidden;
    background-color: @main_color_p;
    .box-shadow(1px 0px 4px 0px rgba(24, 24, 25, 0.17));
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    padding: 12px 18px;
    z-index: 1;
}

.w-sdc-left-sidebar-menu {
    margin: 0;
    padding: 0;

    ul {
        margin: 0;
        padding: 0;
    }
}

/* Catalog */
.i-sdc-left-sidebar-nav-item {
    .c_6;
    .hand;
    .border-radius(4px);
    width: 220px;
    height: 60px;
    line-height: 19px;
    margin: 0 auto 10px;
    padding: 20px 10px 20px 60px;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, .3);
    text-align: left;

    &::before {
        .sprite;
        content: '';
        position: absolute;
        left: 50px;
        top: 18px;
    }

    &.catalog {
        .c_4;
        .bg_a;
        .uppercase;
        position: relative;
        text-indent: 20px;

        &:hover     { .bg_a_hover; }
        &::before   {.sprite.catalog;}
    }

    &.distribution {
        .bg_o;
        display: none;
        position: relative;
    }
    &.distribution::before {
        .sprite.distribution;
    }

    &.support {
        .bg_a;
        position: relative;
    }

    &.support::before {
        .sprite.support;

    }
}


/*  */
.i-sdc-left-sidebar-nav-item-hierachy {
     .c_6;
    .hand;
    .border-radius(4px);
    width: 220px;
    height: 60px;
    line-height: 19px;
    margin: 0 auto 10px;
    padding: 20px 10px 20px 60px;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, .3);
    text-align: left;

    &::before {
        .sprite;
        content: '';
        position: absolute;
        left: 50px;
        top: 18px;
    }

    &.catalog {
        .c_4;
        .bg_a;
        .uppercase;
        position: relative;
        text-indent: 20px;

        &:hover     { .bg_a_hover; }
        &::before   {.sprite.catalog;}
    }

    &.distribution {
        .bg_o;
        display: none;
        position: relative;
    }
    &.distribution::before {
        .sprite.distribution;
    }

    &.support {
        .bg_a;
        position: relative;
    }

    &.support::before {
        .sprite.support;

    }
}

/* Dashboard (Non Catalog) */
.i-sdc-left-sidebar-item {
    list-style: none;
    .m_14_r;
    line-height: 24px;

    &.category-title {
        text-transform: uppercase;
        .l_14_m;
        line-height: 30px;
    }

    input[type="checkbox"] {
        margin-right: 10px;
        vertical-align: sub;
    }

    /*&.selectedLink {
        .c_7;
    }*/

    .i-sdc-left-sidebar-item-state-count {
        float: right;
    }

    .sdc-element-checkbox {
        display: inline-flex;
    }

}

.i-sdc-left-sidebar-item-seperator {
    border-bottom: solid 1px @func_color_r;
    width: 208px;
}