zuora_connect_ui 0.3.3 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/assets/javascripts/zuora_connect_ui/input.js +4 -0
- data/app/assets/stylesheets/_zuora_connect_ui.scss +3 -2
- data/app/assets/stylesheets/zuora_connect_ui/base.scss +4 -0
- data/app/assets/stylesheets/zuora_connect_ui/datatables.scss +25 -12
- data/app/assets/stylesheets/zuora_connect_ui/input.scss +33 -3
- data/app/views/partials/_table.html.erb +7 -5
- data/lib/zuora_connect_ui/version.rb +1 -1
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3d63d29c57d20a9c1eb88fc78c616dec7b53c0c45115358932b88c00debbb4a2
|
4
|
+
data.tar.gz: 40fa35fbbe9983db7f11acab7ad187b1757c81bb96087933e4f838c816b0abd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d37c5ab3080824e92c7362d2b99a5431bc9a682062e7042d2c280796ee627c58330c7cfeccc7486f8c27a9cb6fd2ec9928e36922070baf316d104d89eb8e544a
|
7
|
+
data.tar.gz: 145fb63670ffcb637af9c69e4df4089f2560c6b6f387ce33b756c1a7ee96e4932d0af5b44623f358dcc37e97daef1c3fde4ba94e899c244ba96a61b5a1094a39
|
@@ -8,6 +8,10 @@ $(document).on('change.select2', 'select', function(e) {
|
|
8
8
|
$("label[for='" + $(this).attr('id') + "']").toggleClass('floating', !['', null].includes($(this).val()));
|
9
9
|
});
|
10
10
|
|
11
|
+
$(document).on('change change.select2', '.zuo-form-group.has-error > input, .zuo-form-group.has-error > select', function(e) {
|
12
|
+
$(this).parent('.zuo-form-group').removeClass('has-error');
|
13
|
+
});
|
14
|
+
|
11
15
|
$(document).on('show', '.zuo-datepicker', function(e) {
|
12
16
|
$(this).children('.zuo-floating-label').addClass('floating');
|
13
17
|
});
|
@@ -133,8 +133,8 @@ $panel-default-border: #fff;
|
|
133
133
|
@import "bootstrap";
|
134
134
|
|
135
135
|
// Awesome Bootstrap Checkbox
|
136
|
-
$font-family-icon:
|
137
|
-
$check-icon: "\
|
136
|
+
$font-family-icon: "Material Icons Outlined";
|
137
|
+
$check-icon: "\e0cd";
|
138
138
|
@import "css/awesome-bootstrap-checkbox";
|
139
139
|
|
140
140
|
// Select2
|
@@ -153,6 +153,7 @@ $check-icon: "\E936";
|
|
153
153
|
// Zui Icons + Muli Font
|
154
154
|
@import url("https://d3ntcvh9ql14ma.cloudfront.net/zui/1.4.0/css/zui.icons.css");
|
155
155
|
@import url("https://fonts.googleapis.com/css?family=Muli:400,600,700");
|
156
|
+
@import url("https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined");
|
156
157
|
|
157
158
|
// Zuora Connect UI
|
158
159
|
@import "zuora_connect_ui/base";
|
@@ -274,38 +274,48 @@ ul.context-menu-list {
|
|
274
274
|
.table-footer {
|
275
275
|
width: 100%;
|
276
276
|
padding: 0.75rem 0.5rem;
|
277
|
-
display:
|
278
|
-
|
279
|
-
|
277
|
+
display: inline-block;
|
278
|
+
color: $anj-neutral;
|
280
279
|
> .dataTables_info,
|
280
|
+
.select_container,
|
281
281
|
.dataTables_paginate {
|
282
|
-
|
282
|
+
display: inline-block;
|
283
|
+
}
|
284
|
+
.dataTables_paginate {
|
285
|
+
float: right;
|
283
286
|
}
|
284
|
-
|
285
287
|
.dataTables_info {
|
286
288
|
padding: 0;
|
287
289
|
}
|
290
|
+
.select2-container .select2-selection {
|
291
|
+
margin-bottom: 4px;
|
292
|
+
.select2-selection__rendered {
|
293
|
+
color: $anj-neutral;
|
294
|
+
}
|
295
|
+
.select2-selection__rendered {
|
296
|
+
padding-left: 5px;
|
297
|
+
}
|
298
|
+
.select2-selection__arrow b {
|
299
|
+
border-color: $anj-neutral transparent transparent transparent;
|
300
|
+
}
|
301
|
+
}
|
288
302
|
}
|
289
|
-
|
290
303
|
// Prev 1 2 3 Next
|
291
304
|
.dataTables_paginate {
|
292
305
|
.pagination .paginate_button {
|
293
306
|
a {
|
294
307
|
color: $support-1;
|
295
|
-
background-color:
|
308
|
+
background-color: transparent;
|
296
309
|
border: none;
|
297
310
|
margin: 4px;
|
298
|
-
padding: 2px
|
311
|
+
padding: 2px 5px;
|
299
312
|
border-radius: 2px;
|
300
313
|
}
|
301
|
-
&.active a {
|
302
|
-
color: $neutral-4;
|
303
|
-
}
|
304
314
|
&.disabled {
|
305
315
|
a,
|
306
316
|
a:hover,
|
307
317
|
a:focus {
|
308
|
-
color: $neutral
|
318
|
+
color: $anj-neutral;
|
309
319
|
background-color: none;
|
310
320
|
cursor: not-allowed;
|
311
321
|
}
|
@@ -315,6 +325,9 @@ ul.context-menu-list {
|
|
315
325
|
display: none;
|
316
326
|
}
|
317
327
|
}
|
328
|
+
&.active {
|
329
|
+
color: $anj-neutral;
|
330
|
+
}
|
318
331
|
}
|
319
332
|
|
320
333
|
.table-bordered .small > tbody > tr > td {
|
@@ -109,8 +109,36 @@ input[type="file"] {
|
|
109
109
|
}
|
110
110
|
}
|
111
111
|
|
112
|
-
.
|
113
|
-
|
112
|
+
.zuo-form-group {
|
113
|
+
margin-bottom: 1rem;
|
114
|
+
position: relative;
|
115
|
+
|
116
|
+
> .zuo-support-label {
|
117
|
+
position: absolute;
|
118
|
+
top: 3rem;
|
119
|
+
font-size: 0.75rem;
|
120
|
+
font-weight: normal;
|
121
|
+
line-height: 1;
|
122
|
+
margin-bottom: 0;
|
123
|
+
color: $anj-neutral;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
.has-error {
|
128
|
+
> .zuo-textbox,
|
129
|
+
> .zuo-textbox:focus {
|
130
|
+
border-bottom: 1px solid $support-4;
|
131
|
+
}
|
132
|
+
> .zuo-support-label,
|
133
|
+
> .zuo-floating-label,
|
134
|
+
> .zuo-textbox:not([readonly]):focus + .zuo-floating-label,
|
135
|
+
> select + .select2-container--open + .zuo-floating-label {
|
136
|
+
color: $anj-danger;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
|
140
|
+
.required > label::after {
|
141
|
+
content: "*";
|
114
142
|
}
|
115
143
|
|
116
144
|
label.zuo-floating-label {
|
@@ -139,6 +167,8 @@ select + .select2-container--open + .zuo-floating-label {
|
|
139
167
|
}
|
140
168
|
|
141
169
|
.select2-container {
|
170
|
+
padding-top: 0.01px;
|
171
|
+
|
142
172
|
.select2-selection {
|
143
173
|
border: none;
|
144
174
|
}
|
@@ -256,7 +286,7 @@ select + .select2-container--open + .zuo-floating-label {
|
|
256
286
|
border-bottom: 1px solid #e9ebee;
|
257
287
|
}
|
258
288
|
|
259
|
-
&.select2-container--open
|
289
|
+
&.select2-container--open .select2-selection {
|
260
290
|
border-bottom: 1px solid $support-1;
|
261
291
|
|
262
292
|
.select2-selection__arrow:before {
|
@@ -119,13 +119,15 @@
|
|
119
119
|
"pagingType": "<%= quick_loading ? 'simple' : 'full_numbers' %>",
|
120
120
|
"language" : {
|
121
121
|
"paginate" : {
|
122
|
-
"previous" : "<
|
123
|
-
"next" : "<
|
124
|
-
}
|
122
|
+
"previous" : "<i class='material-icons'>keyboard_arrow_left</i>",
|
123
|
+
"next" : "<i class='material-icons'>keyboard_arrow_right</i>"
|
124
|
+
},
|
125
|
+
"info": "Showing",
|
126
|
+
"infoFiltered": ""
|
125
127
|
},
|
126
128
|
"bProcessing": true,
|
127
129
|
"bServerSide": true,
|
128
|
-
"bInfo":
|
130
|
+
"bInfo": true,
|
129
131
|
"colReorder": true,
|
130
132
|
<% if defined?(table_group_actions) && table_group_actions.present? %>
|
131
133
|
"select": { style: 'multi'},
|
@@ -228,7 +230,6 @@
|
|
228
230
|
}).on('processing.dt', function(e, settings, processing) {
|
229
231
|
$('#<%= table_name %>_content .table_refresh').toggleClass('zc-spin', processing);
|
230
232
|
});
|
231
|
-
|
232
233
|
initTable(
|
233
234
|
<%= table_name %>.api(),
|
234
235
|
'<%= table_name %>',
|
@@ -236,5 +237,6 @@
|
|
236
237
|
columns,
|
237
238
|
<%= raw table_filters.to_json %>
|
238
239
|
);
|
240
|
+
|
239
241
|
}
|
240
242
|
<% end %>
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zuora_connect_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Connect Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootstrap-sass
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 3.4.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 3.4.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jquery-ui-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -226,8 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
226
|
- !ruby/object:Gem::Version
|
227
227
|
version: '0'
|
228
228
|
requirements: []
|
229
|
-
|
230
|
-
rubygems_version: 2.6.8
|
229
|
+
rubygems_version: 3.0.3
|
231
230
|
signing_key:
|
232
231
|
specification_version: 4
|
233
232
|
summary: Summary of Connect UI
|