summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/assets/styles/table-flex.less
blob: 19355ddd80882f05c4cd015cbfe2dc1321691742 (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
164
165
166
167
168
169
170
171
172
173
.table-container-flex {
    /* height: 650px; */
    margin-top: 35px;
    clear: both;
    .table {
        width: 100%;
        border: 1px solid #d8d8d8;
        .head {
            background-color: #eaeaea;
            .head-row {
                color: #333333;
                font-weight: bold;
                text-align: center;
                border-right: 1px solid @border_color_d;
                padding: 8px 15px;

                &:last-child {
                    border-right: none;
                }

                .table-header-sort-arrow {
                    display: inline-block;
                    background-color: transparent;
                    border: none;
                    color: #AAA;
                    margin: 8px 0 0 5px;
                    &.up {
                        border-left: 5px solid transparent;
                        border-right: 5px solid transparent;
                        border-bottom: 5px solid;
                    }
                    &.down {
                        border-left: 5px solid transparent;
                        border-right: 5px solid transparent;
                        border-top: 5px solid;
                    }
                }
            }
        }
        .body {
            .scrollbar-container {
                max-height: 430px;
                .perfect-scrollbar;
            }
            .b_9;

            .data-row {
                border-bottom: 1px solid @border_color_d;
                div {

                    border-right: 1px solid @border_color_d;


                    &:last-child {
                        border-right: none;
                    }

                    .table-role-select {
                        background-color: transparent;
                        border: 0;
                        width: 100%;

                    }
                    .table-role-label {
                        margin-left:4px;
                    }

                }

                &.selected {
                    background-color:  #e6f6fb;
                }

                & + div.item-opened {
                    border-bottom: 1px solid @border_color_d;
                    padding: 10px 23px;
                    text-align: left;
                    word-break: break-all;
                }
            }
            .data-row:hover {
                .bg_j;
            }


            button.add-button {
                margin: 10px auto;
                display: block;
                border:  1px solid #eaeaea;
                background-color:  @func_color_r;
                box-shadow: 0px 1px 1px 0px rgba(24, 24, 25, 0.05);
                width: 297px;
                height: 39px;
                color:  #666666;
                font-size: 14px;
                font-weight: bold;

                &:before {
                    .sprite-new;
                    .add-icon-blue;
                    float: left;
                    margin-left: 5px;
                    content: "";
                }
            }
        }

        .no-row-text{
            text-align: center;
            margin-top:25px;

            a {
                cursor: pointer;
            }
        }

        .table-btn-col {

            line-height: 0px;
            text-align: center;

            button {
                background-color: transparent;
                border: none;
                .sprite;
                opacity: 0.8;
            }
            .table-delete-btn {
                .sprite.e-sdc-small-icon-delete;

            }
            .table-edit-btn {
                .e-sdc-small-icon-pencil;
                margin-right: 10px;
            }
            .table-save-btn {
                .sprite.e-sdc-green-save;
            }
            .table-download-btn {
                margin-left: 10px;
                .sprite.e-sdc-small-download;
            }
            .table-magnifier-btn {
                margin-left: 10px;
                .sprite.magnification-glass;
            }
        }

    }

    .no-row-text {
        text-align: center;
        font-size: 15px;
        border-bottom: 1px solid #d8d8d8;
        width: 300px;
        margin: 26px auto;
        padding-bottom: 22px;
    }

    .flex-container {
        display: flex;
    }

    .flex-item {
        width:10px;
        line-height: 25px;
        padding: 5px 15px;
        flex-grow: 1;
        text-align: left;

    }

}