cm-admin 0.3.0 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +2 -1
- data/Gemfile.lock +25 -24
- data/README.md +5 -3
- data/app/assets/stylesheets/cm_admin/base/auth.scss +0 -12
- data/app/assets/stylesheets/cm_admin/base/common.scss +1 -1
- data/app/assets/stylesheets/cm_admin/base/filters.scss +8 -7
- data/app/assets/stylesheets/cm_admin/base/form.scss +7 -73
- data/app/assets/stylesheets/cm_admin/base/navbar.scss +1 -3
- data/app/assets/stylesheets/cm_admin/base/quicksearch.scss +7 -0
- data/app/assets/stylesheets/cm_admin/base/scaffold.scss +39 -2
- data/app/assets/stylesheets/cm_admin/base/show.scss +24 -2
- data/app/assets/stylesheets/cm_admin/base/table.scss +270 -253
- data/app/assets/stylesheets/cm_admin/cm_admin.css.scss +1 -0
- data/app/assets/stylesheets/cm_admin/components/_dropdown-popup.scss +22 -10
- data/app/assets/stylesheets/cm_admin/components/_range.scss +13 -2
- data/app/assets/stylesheets/cm_admin/components/_status-tag.scss +7 -6
- data/app/assets/stylesheets/cm_admin/helpers/_variable.scss +1 -0
- data/app/assets/stylesheets/cm_admin/scaffold.scss +14 -0
- data/app/controllers/cm_admin/application_controller.rb +5 -0
- data/app/controllers/cm_admin/exports_controller.rb +1 -1
- data/app/controllers/cm_admin/static_controller.rb +12 -0
- data/app/helpers/cm_admin/custom_helper.rb +4 -0
- data/app/javascript/packs/cm_admin/application.js +15 -1
- data/app/javascript/packs/cm_admin/filters.js +331 -16
- data/app/javascript/packs/cm_admin/quick_search.js +67 -0
- data/app/javascript/packs/cm_admin/scaffolds.js +30 -1
- data/app/javascript/stylesheets/cm_admin/application.scss +4 -0
- data/app/views/cm_admin/main/_associated_table.html.slim +60 -0
- data/app/views/cm_admin/main/_cm_pagy_nav.html.slim +6 -6
- data/app/views/cm_admin/main/_filters.html.slim +1 -10
- data/app/views/cm_admin/main/_nested_fields.html.slim +7 -0
- data/app/views/cm_admin/main/_nested_table_form.html.slim +6 -0
- data/app/views/cm_admin/main/_table.html.slim +9 -20
- data/app/views/cm_admin/main/_tabs.html.slim +5 -0
- data/app/views/cm_admin/main/_top_navbar.html.slim +12 -6
- data/app/views/cm_admin/main/associated_index.html.slim +6 -0
- data/app/views/cm_admin/main/associated_show.html.slim +6 -0
- data/app/views/cm_admin/main/edit.html.slim +10 -7
- data/app/views/cm_admin/main/index.html.slim +11 -8
- data/app/views/cm_admin/main/show.html.slim +12 -13
- data/app/views/cm_admin/static/error_401.html.slim +4 -0
- data/app/views/layouts/_flash_message.html.slim +9 -0
- data/app/views/layouts/_left_sidebar_nav.html.slim +7 -3
- data/app/views/layouts/_quick_links.html.slim +25 -0
- data/app/views/layouts/cm_admin.html.slim +25 -1
- data/app/views/layouts/static.html.slim +18 -0
- data/bin/console +0 -1
- data/cm_admin.gemspec +2 -1
- data/config/routes.rb +2 -1
- data/config/webpack/environment.js +3 -2
- data/lib/.DS_Store +0 -0
- data/lib/cm_admin/constants.rb +3 -0
- data/lib/cm_admin/model.rb +66 -167
- data/lib/cm_admin/models/action.rb +18 -2
- data/lib/cm_admin/models/cm_show_section.rb +20 -0
- data/lib/cm_admin/models/column.rb +49 -4
- data/lib/cm_admin/models/controller_method.rb +76 -0
- data/lib/cm_admin/models/custom_action.rb +13 -0
- data/lib/cm_admin/models/dsl_method.rb +122 -0
- data/lib/cm_admin/models/export.rb +16 -5
- data/lib/cm_admin/models/field.rb +2 -1
- data/lib/cm_admin/models/filter.rb +67 -2
- data/lib/cm_admin/models/form_field.rb +21 -0
- data/lib/cm_admin/models/tab.rb +13 -0
- data/lib/cm_admin/version.rb +1 -1
- data/lib/cm_admin/view_helpers/column_field_helper.rb +29 -0
- data/lib/cm_admin/view_helpers/field_display_helper.rb +71 -0
- data/lib/cm_admin/view_helpers/filter_helper.rb +190 -0
- data/lib/cm_admin/view_helpers/form_field_helper.rb +21 -4
- data/lib/cm_admin/view_helpers/form_helper.rb +22 -12
- data/lib/cm_admin/view_helpers/manage_column_popup_helper.rb +75 -0
- data/lib/cm_admin/view_helpers/navigation_helper.rb +22 -6
- data/lib/cm_admin/view_helpers/page_info_helper.rb +36 -0
- data/lib/cm_admin/view_helpers.rb +3 -1
- data/lib/cm_admin.rb +3 -1
- data/lib/generators/cm_admin/install_generator.rb +20 -8
- data/package.json +7 -1
- data/tmp/cache/webpacker/last-compilation-digest-development +1 -0
- data/yarn.lock +52 -17
- metadata +46 -9
- data/app/controllers/cm_admin/main_controller.rb +0 -8
- data/lib/c.png +0 -0
- data/lib/cm_admin/view_helpers/field_column_helper.rb +0 -23
- data/lib/generators/cm_admin/templates/cm_admin_initializer.rb +0 -4
- data/yarn-error.log +0 -44
@@ -1,303 +1,320 @@
|
|
1
1
|
@import "../helpers/index.scss";
|
2
2
|
|
3
|
-
.index-page {
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
&__filters {
|
8
|
-
// If you want to overwrite filters styles ---> add styles here
|
9
|
-
}
|
3
|
+
.cm-index-page {
|
4
|
+
.index-page {
|
5
|
+
background-color: $white;
|
6
|
+
overflow: auto;
|
10
7
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
}
|
8
|
+
&__filters {
|
9
|
+
// If you want to overwrite filters styles ---> add styles here
|
10
|
+
}
|
15
11
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
.record-found {
|
20
|
-
padding: 10px;
|
21
|
-
color: #31383d;
|
22
|
-
font-size: 14px;
|
23
|
-
opacity: 0.5;
|
12
|
+
&__table-container {
|
13
|
+
padding: 20px;
|
14
|
+
height: 100%;
|
24
15
|
}
|
25
|
-
.cm-table {
|
26
|
-
width: 100%;
|
27
|
-
&__header {
|
28
|
-
tr > th {
|
29
|
-
width: 20%;
|
30
|
-
color: #172b4d;
|
31
|
-
background-color: #fafbfc;
|
32
|
-
box-shadow: inset 0 1px 0 0 #ebecf0;
|
33
|
-
font-weight: 600;
|
34
|
-
font-size: 14px;
|
35
|
-
border-bottom: none;
|
36
|
-
height: 40px;
|
37
|
-
padding: 0 10px;
|
38
|
-
}
|
39
|
-
}
|
40
16
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
17
|
+
.admin-table {
|
18
|
+
background-color: $white;
|
19
|
+
border-radius: $radius-5;
|
20
|
+
.record-found {
|
21
|
+
padding: 10px;
|
22
|
+
color: #31383d;
|
23
|
+
font-size: 14px;
|
24
|
+
opacity: 0.5;
|
25
|
+
}
|
26
|
+
.cm-table {
|
27
|
+
width: 100%;
|
28
|
+
&__header {
|
29
|
+
tr > th {
|
30
|
+
width: 20%;
|
31
|
+
color: #172b4d;
|
32
|
+
background-color: #fafbfc;
|
33
|
+
box-shadow: inset 0 1px 0 0 #ebecf0;
|
34
|
+
font-weight: 600;
|
35
|
+
font-size: 14px;
|
36
|
+
border-bottom: none;
|
37
|
+
height: 40px;
|
38
|
+
padding: 0 10px;
|
46
39
|
}
|
47
40
|
}
|
48
41
|
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
font-size: 20px;
|
56
|
-
cursor: pointer;
|
57
|
-
@include transition-linear;
|
58
|
-
&:hover {
|
59
|
-
box-shadow: 0px 37px 20px -20px rgba(0, 0, 0, 0.2);
|
60
|
-
transform: scale(1.2);
|
42
|
+
&__body {
|
43
|
+
tr {
|
44
|
+
transition: all 0.2s linear;
|
45
|
+
&:hover {
|
46
|
+
background-color: #dfe4e7;
|
47
|
+
}
|
61
48
|
}
|
62
|
-
}
|
63
|
-
}
|
64
|
-
}
|
65
|
-
}
|
66
49
|
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
position: relative;
|
72
|
-
min-width: fit-content;
|
73
|
-
border-collapse: collapse;
|
74
|
-
white-space: nowrap;
|
75
|
-
border: 1px solid $grey-lighter-clr;
|
76
|
-
border-radius: $radius-8;
|
77
|
-
&__header {
|
78
|
-
.header-row {
|
79
|
-
display: block;
|
80
|
-
position: relative;
|
81
|
-
width: 100%;
|
82
|
-
box-shadow: inset 0px -1px 0px rgba(148, 151, 155, 0.15);
|
83
|
-
th {
|
84
|
-
@include font($size: $t6-text, $color: $ink-lighter-clr, $weight: bold);
|
85
|
-
text-transform: uppercase;
|
86
|
-
min-width: 200px;
|
87
|
-
max-width: 200px;
|
88
|
-
padding: 12px 16px 12px 16px;
|
50
|
+
tr > td {
|
51
|
+
color: #172b4d;
|
52
|
+
font-size: 14px;
|
53
|
+
padding: 8px 10px;
|
89
54
|
}
|
90
|
-
.
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
55
|
+
.edit-icon {
|
56
|
+
font-size: 20px;
|
57
|
+
cursor: pointer;
|
58
|
+
@include transition-linear;
|
59
|
+
&:hover {
|
60
|
+
box-shadow: 0px 37px 20px -20px rgba(0, 0, 0, 0.2);
|
61
|
+
transform: scale(1.2);
|
96
62
|
}
|
97
63
|
}
|
98
64
|
}
|
99
65
|
}
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
66
|
+
}
|
67
|
+
|
68
|
+
.new-admin-table {
|
69
|
+
overflow: auto;
|
70
|
+
margin-top: 40px;
|
71
|
+
margin-bottom: 50px;
|
72
|
+
.cm-table {
|
73
|
+
table-layout: fixed;
|
104
74
|
position: relative;
|
105
|
-
width:
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
75
|
+
min-width: fit-content;
|
76
|
+
border-collapse: collapse;
|
77
|
+
white-space: nowrap;
|
78
|
+
border: 1px solid $grey-lighter-clr;
|
79
|
+
border-radius: $radius-8;
|
80
|
+
&__header {
|
81
|
+
.header-row {
|
82
|
+
display: block;
|
83
|
+
position: relative;
|
84
|
+
width: 100%;
|
85
|
+
box-shadow: inset 0px -1px 0px rgba(148, 151, 155, 0.15);
|
86
|
+
th {
|
87
|
+
@include font($size: $t6-text, $color: $ink-lighter-clr, $weight: bold);
|
88
|
+
text-transform: uppercase;
|
89
|
+
min-width: 200px;
|
90
|
+
max-width: 200px;
|
91
|
+
padding: 12px 16px 12px 16px;
|
117
92
|
}
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
93
|
+
.check-box-space {
|
94
|
+
min-width: fit-content;
|
95
|
+
max-width: fit-content;
|
96
|
+
padding: 12px 8px 12px 16px;
|
97
|
+
span {
|
98
|
+
vertical-align: text-top;
|
99
|
+
}
|
125
100
|
}
|
126
101
|
}
|
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
|
-
|
102
|
+
}
|
103
|
+
&__body {
|
104
|
+
display: block;
|
105
|
+
position: relative;
|
106
|
+
width: 100%; .body-row {
|
107
|
+
box-shadow: inset 0px -1px 0px rgba(148, 151, 155, 0.15);
|
108
|
+
transition: all .2s linear;
|
109
|
+
&:nth-last-child(1) {
|
110
|
+
box-shadow: none;
|
111
|
+
}
|
112
|
+
&:hover {
|
113
|
+
background-color: $grey-lighter-clr;
|
114
|
+
.row-action-cell {
|
115
|
+
opacity: 1;
|
116
|
+
}
|
117
|
+
}
|
118
|
+
.check-box-space {
|
119
|
+
min-width: fit-content;
|
120
|
+
max-width: fit-content;
|
121
|
+
padding: 16px 8px 16px 16px;
|
122
|
+
span {
|
123
|
+
vertical-align: text-top;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
td {
|
127
|
+
@include font($size: $t4-text, $color: $primary-text-clr);
|
128
|
+
min-width: 200px;
|
129
|
+
max-width: 200px;
|
130
|
+
padding: 16px;
|
131
|
+
}
|
132
|
+
.row-action-cell {
|
133
|
+
position: absolute;
|
134
|
+
// left: 1225px;
|
135
|
+
right: 0;
|
136
|
+
width: 88px;
|
137
|
+
max-width: inherit;
|
138
|
+
min-width: inherit;
|
139
|
+
height: 56px;
|
140
|
+
padding: 0;
|
141
|
+
background: linear-gradient(270deg, #F3F4F6 81.75%, rgba(243, 244, 246, 0) 100%);
|
142
|
+
opacity: 0;
|
143
|
+
transition: all .1s linear;
|
144
|
+
.row-action-tool {
|
145
|
+
display: flex;
|
146
|
+
align-items: center;
|
147
|
+
justify-content: center;
|
148
|
+
height: 100%;
|
149
|
+
.tool-btn {
|
150
|
+
background-color: transparent;
|
151
|
+
border: none;
|
152
|
+
}
|
153
153
|
}
|
154
154
|
}
|
155
155
|
}
|
156
156
|
}
|
157
157
|
}
|
158
158
|
}
|
159
|
-
}
|
160
159
|
|
161
|
-
|
162
|
-
|
163
|
-
position:
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
&__total-count {
|
172
|
-
font-size: $t4-text;
|
173
|
-
line-height: 22px;
|
174
|
-
color: $ink-lighter-clr;
|
175
|
-
margin: 0;
|
160
|
+
.admin-table-index {
|
161
|
+
|
162
|
+
position: fixed;
|
163
|
+
width: calc(100% - 285px);
|
164
|
+
left: 245px;
|
165
|
+
background-color: #fff;
|
166
|
+
z-index: 1;
|
167
|
+
.table-sticky-top {
|
168
|
+
position: sticky;
|
169
|
+
top: 254px;
|
176
170
|
}
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
171
|
+
.table-top {
|
172
|
+
display: flex;
|
173
|
+
justify-content: space-between;
|
174
|
+
align-items: center;
|
175
|
+
padding-bottom: 16px;
|
176
|
+
&__total-count {
|
177
|
+
font-size: $t4-text;
|
178
|
+
line-height: 22px;
|
179
|
+
color: $ink-lighter-clr;
|
180
|
+
margin: 0;
|
181
|
+
}
|
182
|
+
&__column-action {
|
183
|
+
.column-btn {
|
184
|
+
padding: 4px 8px;
|
185
|
+
span:nth-child(2) {
|
186
|
+
margin: 0 0 0 4px;
|
187
|
+
}
|
182
188
|
}
|
183
189
|
}
|
184
190
|
}
|
185
191
|
}
|
186
|
-
}
|
187
192
|
|
188
|
-
|
189
|
-
|
193
|
+
// table-column-modal
|
194
|
+
.table-column-modal {
|
195
|
+
|
196
|
+
//modal overwritten styles
|
197
|
+
.modal-dialog {
|
198
|
+
.modal-content {
|
199
|
+
.modal-header {
|
200
|
+
position: relative;
|
201
|
+
padding: 24px 32px 18px;
|
202
|
+
border: none;
|
203
|
+
box-shadow: inset 0px -1px 0px rgba(148, 151, 155, 0.15);
|
204
|
+
.modal-title {
|
205
|
+
@include font($size: 24px, $color: $primary-text-clr, $weight: 600);
|
206
|
+
line-height: 32px;
|
207
|
+
}
|
208
|
+
.close {
|
209
|
+
position: absolute;
|
210
|
+
top: 4px;
|
211
|
+
right: 8px;
|
212
|
+
padding: 4px;
|
213
|
+
margin: 0;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
.modal-body {
|
217
|
+
padding: 0;
|
218
|
+
}
|
219
|
+
.modal-footer {
|
220
|
+
padding: 16px 32px;
|
221
|
+
border: none;
|
222
|
+
box-shadow: inset 0px 1px 0px rgba(148, 151, 155, 0.15);
|
223
|
+
}
|
224
|
+
}
|
225
|
+
}
|
190
226
|
|
191
|
-
|
192
|
-
|
193
|
-
.modal-content {
|
194
|
-
.modal-header {
|
227
|
+
.columns-list {
|
228
|
+
.column-item {
|
195
229
|
position: relative;
|
196
|
-
|
197
|
-
|
230
|
+
display: flex;
|
231
|
+
align-items: center;
|
232
|
+
justify-content: space-between;
|
233
|
+
padding: 8px 24px;
|
198
234
|
box-shadow: inset 0px -1px 0px rgba(148, 151, 155, 0.15);
|
199
|
-
|
200
|
-
|
201
|
-
|
235
|
+
&:hover {
|
236
|
+
.dragger {
|
237
|
+
display: block;
|
238
|
+
}
|
239
|
+
}
|
240
|
+
&__name {
|
241
|
+
font-size: $t4-text;
|
242
|
+
line-height: 22px;
|
243
|
+
margin-left: 4px;
|
244
|
+
color: $primary-text-clr;
|
245
|
+
p {
|
246
|
+
margin: 0;
|
247
|
+
}
|
248
|
+
}
|
249
|
+
&__action {
|
250
|
+
padding: 5px 8px;
|
251
|
+
font-size: $t4-text;
|
252
|
+
color: $ink-lightest-clr;
|
202
253
|
}
|
203
|
-
.
|
254
|
+
.dragger {
|
255
|
+
display: none;
|
204
256
|
position: absolute;
|
205
|
-
|
206
|
-
|
207
|
-
padding:
|
208
|
-
|
257
|
+
left: 4px;
|
258
|
+
top: 8px;
|
259
|
+
padding: 5px;
|
260
|
+
color: $ink-lightest-clr;
|
261
|
+
border-radius: $radius-4;
|
262
|
+
animation: fadeIn .1s ease-in-out;
|
263
|
+
cursor: grab;
|
264
|
+
&:hover {
|
265
|
+
background: $grey-lighter-clr;
|
266
|
+
}
|
209
267
|
}
|
210
268
|
}
|
211
|
-
|
212
|
-
|
213
|
-
}
|
214
|
-
.modal-footer {
|
215
|
-
padding: 16px 32px;
|
216
|
-
border: none;
|
217
|
-
box-shadow: inset 0px 1px 0px rgba(148, 151, 155, 0.15);
|
218
|
-
}
|
219
|
-
}
|
220
|
-
}
|
269
|
+
}
|
270
|
+
}
|
221
271
|
|
222
|
-
.
|
223
|
-
|
224
|
-
|
225
|
-
|
272
|
+
.cm-pagination {
|
273
|
+
position: fixed;
|
274
|
+
background-color: #FFF;
|
275
|
+
bottom: 0;
|
276
|
+
width: calc(100% - 225px);
|
277
|
+
display: flex;
|
278
|
+
justify-content: space-between;
|
279
|
+
align-items: center;
|
280
|
+
padding: 16px 24px;
|
281
|
+
border: 1px solid $grey-lighter-clr;
|
282
|
+
&__lhs {
|
283
|
+
@include font($size: $t4-text, $color: $ink-lightest-clr, $weight: bold);
|
284
|
+
line-height: 22px;
|
285
|
+
}
|
286
|
+
&__rhs {
|
287
|
+
display: inline-flex;
|
226
288
|
align-items: center;
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
&:hover {
|
231
|
-
.dragger {
|
232
|
-
display: block;
|
233
|
-
}
|
234
|
-
}
|
235
|
-
&__name {
|
236
|
-
font-size: $t4-text;
|
237
|
-
line-height: 22px;
|
238
|
-
margin-left: 4px;
|
289
|
+
.page-move-btn {
|
290
|
+
font-size: 10px;
|
291
|
+
line-height: 12px;
|
239
292
|
color: $primary-text-clr;
|
240
|
-
|
241
|
-
|
293
|
+
padding: 10px 11px;
|
294
|
+
cursor: pointer;
|
295
|
+
color: #0d6efd;
|
296
|
+
&.disabled {
|
297
|
+
color: #9CA7AE;
|
298
|
+
cursor: initial;
|
299
|
+
pointer-events: none;
|
242
300
|
}
|
243
301
|
}
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
animation: fadeIn .1s ease-in-out;
|
258
|
-
cursor: grab;
|
259
|
-
&:hover {
|
260
|
-
background: $grey-lighter-clr;
|
302
|
+
.page-num-btn {
|
303
|
+
@include font($size: $t4-text, $color: $primary-text-clr, $weight: bold);
|
304
|
+
margin: 0 8px;
|
305
|
+
padding: 5px 11px;
|
306
|
+
cursor: pointer;
|
307
|
+
color: #0d6efd;
|
308
|
+
&.active {
|
309
|
+
color: $primary-text-clr;
|
310
|
+
background-color: $grey-lightest-clr;
|
311
|
+
border: 1px solid $grey-light-clr;
|
312
|
+
border-radius: $radius-4;
|
313
|
+
cursor: initial;
|
314
|
+
pointer-events: none;
|
261
315
|
}
|
262
316
|
}
|
263
317
|
}
|
264
|
-
}
|
265
|
-
}
|
266
|
-
|
267
|
-
.cm-pagination {
|
268
|
-
display: flex;
|
269
|
-
justify-content: space-between;
|
270
|
-
align-items: center;
|
271
|
-
padding: 16px 24px;
|
272
|
-
border: 1px solid $grey-lighter-clr;
|
273
|
-
&__lhs {
|
274
|
-
@include font($size: $t4-text, $color: $ink-lightest-clr, $weight: bold);
|
275
|
-
line-height: 22px;
|
276
|
-
}
|
277
|
-
&__rhs {
|
278
|
-
display: inline-flex;
|
279
|
-
align-items: center;
|
280
|
-
.page-move-btn {
|
281
|
-
font-size: 10px;
|
282
|
-
line-height: 12px;
|
283
|
-
color: $primary-text-clr;
|
284
|
-
padding: 10px 11px;
|
285
|
-
cursor: pointer;
|
286
|
-
&.disabled {
|
287
|
-
color: #9CA7AE;
|
288
|
-
}
|
289
|
-
}
|
290
|
-
.page-num-btn {
|
291
|
-
@include font($size: $t4-text, $color: $primary-text-clr, $weight: bold);
|
292
|
-
margin: 0 8px;
|
293
|
-
padding: 5px 11px;
|
294
|
-
cursor: pointer;
|
295
|
-
&.active {
|
296
|
-
background-color: $grey-lightest-clr;
|
297
|
-
border: 1px solid $grey-light-clr;
|
298
|
-
border-radius: $radius-4;
|
299
|
-
}
|
300
|
-
}
|
301
318
|
}
|
302
319
|
}
|
303
|
-
}
|
320
|
+
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
@import "../helpers/index.scss";
|
2
2
|
|
3
3
|
.dropdown-popup {
|
4
|
-
|
4
|
+
border: none !important;
|
5
5
|
.popup-base {
|
6
6
|
position: absolute;
|
7
|
-
width: 256px;
|
7
|
+
min-width: 256px;
|
8
8
|
height: 56px;
|
9
9
|
padding: 8px;
|
10
10
|
background: $white;
|
@@ -14,7 +14,7 @@
|
|
14
14
|
}
|
15
15
|
.popup-inner {
|
16
16
|
position: relative;
|
17
|
-
width: 240px;
|
17
|
+
min-width: 240px;
|
18
18
|
margin: 0 auto;
|
19
19
|
background-color: $white;
|
20
20
|
border: 1px solid #e0e0e0;
|
@@ -24,14 +24,16 @@
|
|
24
24
|
input {
|
25
25
|
width: 100%;
|
26
26
|
min-height: 40px;
|
27
|
-
padding: 9px 16px
|
27
|
+
padding: 9px 16px;
|
28
28
|
font-size: $t4-text;
|
29
29
|
border: none;
|
30
|
+
border-radius: 4px 4px 0 0;
|
30
31
|
&::placeholder {
|
31
32
|
color: $ink-lightest-clr;
|
32
33
|
}
|
33
34
|
&:focus {
|
34
|
-
outline:
|
35
|
+
outline: none;
|
36
|
+
border: 1px solid $brand-color;
|
35
37
|
}
|
36
38
|
}
|
37
39
|
}
|
@@ -47,11 +49,11 @@
|
|
47
49
|
background: $grey-lighter-clr;
|
48
50
|
border-radius: $radius-4;
|
49
51
|
span:nth-child(1) {
|
50
|
-
@include font($size: $t4-text, $color: $primary-text-clr);
|
52
|
+
@include font($size: $t4-text, $color: $primary-text-clr);
|
51
53
|
line-height: 22px;
|
52
54
|
}
|
53
55
|
span:nth-child(2) {
|
54
|
-
@include font($size: 10px, $color: $ink-lightest-clr);
|
56
|
+
@include font($size: 10px, $color: $ink-lightest-clr);
|
55
57
|
margin-left: 4px;
|
56
58
|
cursor: pointer;
|
57
59
|
}
|
@@ -73,11 +75,20 @@
|
|
73
75
|
display: flex;
|
74
76
|
align-items: center;
|
75
77
|
padding: 9px 16px;
|
78
|
+
@include font($size: $t4-text, $color: $primary-text-clr);
|
79
|
+
line-height: 22px;
|
76
80
|
label {
|
77
|
-
@include font($size: $t4-text, $color: $primary-text-clr);
|
78
|
-
line-height: 22px;
|
79
81
|
margin: 0 0 0 8px;
|
80
82
|
}
|
83
|
+
&:hover {
|
84
|
+
background: $grey-lighter-clr;
|
85
|
+
&:nth-last-child(1) {
|
86
|
+
border-radius: 0 0 4px 4px;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
.selected {
|
91
|
+
color: $brand-color;
|
81
92
|
}
|
82
93
|
}
|
83
94
|
.apply-area {
|
@@ -86,8 +97,9 @@
|
|
86
97
|
text-align: center;
|
87
98
|
padding: 9px 16px;
|
88
99
|
box-shadow: inset 0px 1px 0px rgba(148, 151, 155, 0.15);
|
89
|
-
cursor:
|
100
|
+
cursor: not-allowed;
|
90
101
|
&.active {
|
102
|
+
cursor: pointer;
|
91
103
|
color: $blue-regular-clr;
|
92
104
|
}
|
93
105
|
}
|