vbax-admin_syst 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vbax/admin_syst/version.rb +1 -1
- data/lib/vbax/sass/base/_tables.scss +1 -1
- data/lib/vbax/sass/components/_app-container.scss +1 -1
- data/lib/vbax/sass/components/_field-unit.scss +4 -4
- data/lib/vbax/sass/custom/_AdministrateactiveStorage.scss +18 -0
- data/lib/vbax/sass/custom/components/_UX_onquotation.scss +40 -0
- data/lib/vbax/sass/custom/components/_form-actions.scss +28 -17
- data/lib/vbax/sass/custom/components/_index.scss +2 -0
- data/lib/vbax/sass/custom/components/_navigation.scss +7 -0
- data/lib/vbax/sass/custom/components/_select2.scss +116 -0
- data/lib/vbax/sass/custom/components/_select2_mimify.scss +632 -0
- data/lib/vbax/sass/custom/quotation/_button.scss +3 -2
- data/lib/vbax/sass/custom/quotation/_quotation.scss +2 -2
- data/vbax-admin_syst.gemspec +1 -1
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55079c6bd4410366e4d1417a63e3afdbd5f6769121be2249f147c093528c866f
|
4
|
+
data.tar.gz: 1f1c232a20b867d9ca98431b4785369cca27fb670b06ce7d25e6e8a3e3b069cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90dc8a5eabdbf007bd3608a1845a34467ed4f48d90e056a9690830bb1af0ceffc2f653c49f831f2888001b9a9bf1314be4c3aad71af642bb8ca11e5f046ac6c7
|
7
|
+
data.tar.gz: c44c7aeba1a9d7bbc82649be5c54f165f8632f77bc4e5334c2a1cd0f35f2ee4dfb1bc1ac3735407e66adbe56721131f1bbcd748c9f45505745cb0a4184d2e43a
|
@@ -15,9 +15,9 @@
|
|
15
15
|
}
|
16
16
|
|
17
17
|
.field-unit__field {
|
18
|
-
float: left;
|
19
|
-
margin-left: 2rem;
|
20
|
-
width: 45
|
18
|
+
float: left!important;
|
19
|
+
margin-left: 2rem!important;
|
20
|
+
width: 45%!important;
|
21
21
|
}
|
22
22
|
|
23
23
|
.field-unit--nested {
|
@@ -27,7 +27,7 @@
|
|
27
27
|
width: 50%;
|
28
28
|
|
29
29
|
.field-unit__field {
|
30
|
-
width: calc(75% - 1rem);
|
30
|
+
width: calc(75% - 1rem)!important;
|
31
31
|
}
|
32
32
|
|
33
33
|
.field-unit__label {
|
@@ -77,3 +77,21 @@ input[type=file][data-direct-upload-url][disabled] {
|
|
77
77
|
.active__storage__admin > .fileinput {
|
78
78
|
min-width: 300px;
|
79
79
|
}
|
80
|
+
|
81
|
+
// upload file ...
|
82
|
+
|
83
|
+
.button_to_upload_files{
|
84
|
+
position: inherit;
|
85
|
+
width: 100%;
|
86
|
+
min-height: 100px;
|
87
|
+
padding: 2rem;
|
88
|
+
}
|
89
|
+
.btn-file.btn-file-admin{
|
90
|
+
position: inherit;
|
91
|
+
overflow: hidden;
|
92
|
+
vertical-align: middle;
|
93
|
+
}
|
94
|
+
.fileinput .thumbnail.thumbnail-admin{
|
95
|
+
cursor: pointer;
|
96
|
+
width: 250px;
|
97
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
// UX on quotation
|
2
|
+
|
3
|
+
.maskgrey {
|
4
|
+
background: #9a9a9a4a;
|
5
|
+
}
|
6
|
+
.maskopacity{
|
7
|
+
opacity: 0;
|
8
|
+
}
|
9
|
+
|
10
|
+
// open modal on beug
|
11
|
+
.swal-overlay{
|
12
|
+
z-index: 999999999999!important;
|
13
|
+
}
|
14
|
+
.nested-fields-line_items-bigger {
|
15
|
+
visibility: visible!important;
|
16
|
+
background-color: white!important;
|
17
|
+
z-index: 9999999999!important;
|
18
|
+
position: absolute!important;
|
19
|
+
left: calc((100% - 46%) / 2)!important;
|
20
|
+
padding: 3rem!important;
|
21
|
+
top: 0!important;
|
22
|
+
height: 390px !important;
|
23
|
+
}
|
24
|
+
.body-fixed{
|
25
|
+
max-height: 100vh;
|
26
|
+
position: fixed;
|
27
|
+
width: 100%;
|
28
|
+
}
|
29
|
+
.nested-fields.line_items {
|
30
|
+
background: #fff;
|
31
|
+
transition:background-color 1.5s ease;
|
32
|
+
}
|
33
|
+
.stand-out-after-edit{
|
34
|
+
background:rgba(#00f2c3, 0.11)!important;
|
35
|
+
|
36
|
+
}
|
37
|
+
|
38
|
+
.container-flex_line_items{
|
39
|
+
margin-top:1.5rem;
|
40
|
+
}
|
@@ -1,22 +1,32 @@
|
|
1
1
|
// CSS ON NEW
|
2
2
|
form#new_customer {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
3
|
+
border: 1px solid #8080801f;
|
4
|
+
border-radius: 2%;
|
5
|
+
width: 100%;
|
6
|
+
padding: 0.75em;
|
7
|
+
@include media-breakpoint-up(sm) {
|
8
|
+
width: 50%;
|
9
|
+
padding: 3em 3em;
|
10
|
+
}
|
11
|
+
display: flex;
|
12
|
+
flex-direction: column;
|
13
|
+
justify-content: center;
|
14
|
+
.field-unit__field {
|
15
|
+
float: left;
|
16
|
+
margin-left: 2rem;
|
17
|
+
width: 70%;
|
10
18
|
}
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
}
|
19
|
-
}
|
19
|
+
&.customer_create_on_fly{
|
20
|
+
border: 0px!important;
|
21
|
+
padding: 0em!important;
|
22
|
+
display: block!important;
|
23
|
+
@include media-breakpoint-up(sm) {
|
24
|
+
width: 100%!important;
|
25
|
+
padding: 3em 3em!important;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
20
30
|
#new_customer_section_form,
|
21
31
|
#create_customer_section_form {
|
22
32
|
padding: 1em 0em;
|
@@ -51,6 +61,7 @@ form#new_customer {
|
|
51
61
|
}
|
52
62
|
}
|
53
63
|
}
|
54
|
-
section#new_quotation_section_form
|
64
|
+
section#new_quotation_section_form,
|
65
|
+
section#create_quotation_section_form {
|
55
66
|
padding: 1rem 0rem;
|
56
67
|
}
|
@@ -0,0 +1,116 @@
|
|
1
|
+
.selectize-control.repositories .selectize-dropdown > div {
|
2
|
+
border-bottom: 1px solid rgba(0,0,0,0.05);
|
3
|
+
}
|
4
|
+
.selectize-control.repositories .selectize-dropdown .by {
|
5
|
+
font-size: 11px;
|
6
|
+
opacity: 0.8;
|
7
|
+
}
|
8
|
+
.selectize-control.repositories .selectize-dropdown .by::before {
|
9
|
+
content: 'by ';
|
10
|
+
}
|
11
|
+
.selectize-control.repositories .selectize-dropdown .name {
|
12
|
+
font-weight: bold;
|
13
|
+
margin-right: 5px;
|
14
|
+
}
|
15
|
+
.selectize-control.repositories .selectize-dropdown .title {
|
16
|
+
display: block;
|
17
|
+
}
|
18
|
+
.selectize-control.repositories .selectize-dropdown .description {
|
19
|
+
font-size: 12px;
|
20
|
+
display: block;
|
21
|
+
color: #a0a0a0;
|
22
|
+
white-space: nowrap;
|
23
|
+
width: 100%;
|
24
|
+
text-overflow: ellipsis;
|
25
|
+
overflow: hidden;
|
26
|
+
}
|
27
|
+
.selectize-control.repositories .selectize-dropdown .meta {
|
28
|
+
list-style: none;
|
29
|
+
margin: 0;
|
30
|
+
padding: 0;
|
31
|
+
font-size: 10px;
|
32
|
+
}
|
33
|
+
.selectize-control.repositories .selectize-dropdown .meta li {
|
34
|
+
margin: 0;
|
35
|
+
padding: 0;
|
36
|
+
display: inline;
|
37
|
+
margin-right: 10px;
|
38
|
+
}
|
39
|
+
.selectize-control.repositories .selectize-dropdown .meta li span {
|
40
|
+
font-weight: bold;
|
41
|
+
}
|
42
|
+
.selectize-control.repositories::before {
|
43
|
+
-moz-transition: opacity 0.2s;
|
44
|
+
-webkit-transition: opacity 0.2s;
|
45
|
+
transition: opacity 0.2s;
|
46
|
+
content: ' ';
|
47
|
+
z-index: 2;
|
48
|
+
position: absolute;
|
49
|
+
display: block;
|
50
|
+
top: 12px;
|
51
|
+
right: 34px;
|
52
|
+
width: 16px;
|
53
|
+
height: 16px;
|
54
|
+
background: url(images/spinner.gif);
|
55
|
+
background-size: 16px 16px;
|
56
|
+
opacity: 0;
|
57
|
+
}
|
58
|
+
.selectize-control.repositories.loading::before {
|
59
|
+
opacity: 0.4;
|
60
|
+
}
|
61
|
+
.icon {
|
62
|
+
width: 16px;
|
63
|
+
height: 16px;
|
64
|
+
display: inline-block;
|
65
|
+
vertical-align: middle;
|
66
|
+
background-size: 16px 16px;
|
67
|
+
margin: 0 3px 0 0;
|
68
|
+
}
|
69
|
+
.icon.fork {
|
70
|
+
background-image: url(images/repo-fork.png);
|
71
|
+
}
|
72
|
+
.icon.source {
|
73
|
+
background-image: url(images/repo-source.png);
|
74
|
+
}
|
75
|
+
|
76
|
+
@import "select2_mimify";
|
77
|
+
|
78
|
+
// select 2 in existing_customer
|
79
|
+
.select2-container .select2-selection--single {
|
80
|
+
box-sizing: border-box;
|
81
|
+
cursor: pointer;
|
82
|
+
display: block;
|
83
|
+
height: 28px;
|
84
|
+
-moz-user-select: none;
|
85
|
+
-ms-user-select: none;
|
86
|
+
user-select: none;
|
87
|
+
-webkit-user-select: none;
|
88
|
+
height: 100px;
|
89
|
+
display: flex;
|
90
|
+
justify-content: center;
|
91
|
+
align-items: center;
|
92
|
+
}
|
93
|
+
|
94
|
+
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
95
|
+
color: #444;
|
96
|
+
line-height: 28px;
|
97
|
+
/* height: 100px; */
|
98
|
+
/* display: flex; */
|
99
|
+
font-size: 20px;
|
100
|
+
width: 100%;
|
101
|
+
}
|
102
|
+
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
103
|
+
height: 100px;
|
104
|
+
position: absolute;
|
105
|
+
top: 1px;
|
106
|
+
right: 1px;
|
107
|
+
width: 140px;
|
108
|
+
}
|
109
|
+
img[src="undefined"] {
|
110
|
+
display: none;
|
111
|
+
}
|
112
|
+
|
113
|
+
|
114
|
+
.select2-dropdown.select2-dropdown--below{
|
115
|
+
z-index: 999999999999;
|
116
|
+
}
|
@@ -0,0 +1,632 @@
|
|
1
|
+
|
2
|
+
.select2-container {
|
3
|
+
box-sizing: border-box;
|
4
|
+
display: inline-block;
|
5
|
+
margin: 0;
|
6
|
+
position: relative;
|
7
|
+
vertical-align: middle;
|
8
|
+
.select2-selection--single {
|
9
|
+
box-sizing: border-box;
|
10
|
+
cursor: pointer;
|
11
|
+
display: block;
|
12
|
+
height: 28px;
|
13
|
+
user-select: none;
|
14
|
+
-webkit-user-select: none;
|
15
|
+
.select2-selection__rendered {
|
16
|
+
display: block;
|
17
|
+
padding-left: 8px;
|
18
|
+
padding-right: 20px;
|
19
|
+
overflow: hidden;
|
20
|
+
text-overflow: ellipsis;
|
21
|
+
white-space: nowrap;
|
22
|
+
}
|
23
|
+
.select2-selection__clear {
|
24
|
+
position: relative;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
&[dir="rtl"] .select2-selection--single .select2-selection__rendered {
|
28
|
+
padding-right: 8px;
|
29
|
+
padding-left: 20px;
|
30
|
+
}
|
31
|
+
.select2-selection--multiple {
|
32
|
+
box-sizing: border-box;
|
33
|
+
cursor: pointer;
|
34
|
+
display: block;
|
35
|
+
min-height: 32px;
|
36
|
+
user-select: none;
|
37
|
+
-webkit-user-select: none;
|
38
|
+
.select2-selection__rendered {
|
39
|
+
display: inline-block;
|
40
|
+
overflow: hidden;
|
41
|
+
padding-left: 8px;
|
42
|
+
text-overflow: ellipsis;
|
43
|
+
white-space: nowrap;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
.select2-search--inline {
|
47
|
+
float: left;
|
48
|
+
.select2-search__field {
|
49
|
+
box-sizing: border-box;
|
50
|
+
border: none;
|
51
|
+
font-size: 100%;
|
52
|
+
margin-top: 5px;
|
53
|
+
padding: 0;
|
54
|
+
&::-webkit-search-cancel-button {
|
55
|
+
-webkit-appearance: none;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
.select2-dropdown {
|
62
|
+
background-color: white;
|
63
|
+
border: 1px solid #aaa;
|
64
|
+
border-radius: 4px;
|
65
|
+
box-sizing: border-box;
|
66
|
+
display: block;
|
67
|
+
position: absolute;
|
68
|
+
left: -100000px;
|
69
|
+
width: 100%;
|
70
|
+
z-index: 1051;
|
71
|
+
}
|
72
|
+
|
73
|
+
.select2-results {
|
74
|
+
display: block;
|
75
|
+
}
|
76
|
+
|
77
|
+
.select2-results__options {
|
78
|
+
list-style: none;
|
79
|
+
margin: 0;
|
80
|
+
padding: 0;
|
81
|
+
}
|
82
|
+
|
83
|
+
.select2-results__option {
|
84
|
+
padding: 6px;
|
85
|
+
user-select: none;
|
86
|
+
-webkit-user-select: none;
|
87
|
+
&[aria-selected] {
|
88
|
+
cursor: pointer;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
.select2-container--open {
|
93
|
+
.select2-dropdown {
|
94
|
+
left: 0;
|
95
|
+
}
|
96
|
+
.select2-dropdown--above {
|
97
|
+
border-bottom: none;
|
98
|
+
border-bottom-left-radius: 0;
|
99
|
+
border-bottom-right-radius: 0;
|
100
|
+
}
|
101
|
+
.select2-dropdown--below {
|
102
|
+
border-top: none;
|
103
|
+
border-top-left-radius: 0;
|
104
|
+
border-top-right-radius: 0;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
.select2-search--dropdown {
|
109
|
+
display: block;
|
110
|
+
padding: 4px;
|
111
|
+
.select2-search__field {
|
112
|
+
padding: 4px;
|
113
|
+
width: 100%;
|
114
|
+
box-sizing: border-box;
|
115
|
+
&::-webkit-search-cancel-button {
|
116
|
+
-webkit-appearance: none;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
&.select2-search--hide {
|
120
|
+
display: none;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
.select2-close-mask {
|
125
|
+
border: 0;
|
126
|
+
margin: 0;
|
127
|
+
padding: 0;
|
128
|
+
display: block;
|
129
|
+
position: fixed;
|
130
|
+
left: 0;
|
131
|
+
top: 0;
|
132
|
+
min-height: 100%;
|
133
|
+
min-width: 100%;
|
134
|
+
height: auto;
|
135
|
+
width: auto;
|
136
|
+
opacity: 0;
|
137
|
+
z-index: 99;
|
138
|
+
background-color: #fff;
|
139
|
+
filter: alpha(opacity = 0);
|
140
|
+
}
|
141
|
+
|
142
|
+
.select2-hidden-accessible {
|
143
|
+
border: 0 !important;
|
144
|
+
clip: rect(0 0 0 0) !important;
|
145
|
+
-webkit-clip-path: inset(50%) !important;
|
146
|
+
clip-path: inset(50%) !important;
|
147
|
+
height: 1px !important;
|
148
|
+
overflow: hidden !important;
|
149
|
+
padding: 0 !important;
|
150
|
+
position: absolute !important;
|
151
|
+
width: 1px !important;
|
152
|
+
white-space: nowrap !important;
|
153
|
+
}
|
154
|
+
|
155
|
+
.select2-container--default {
|
156
|
+
.select2-selection--single {
|
157
|
+
background-color: #fff;
|
158
|
+
border: 1px solid #aaa;
|
159
|
+
border-radius: 4px;
|
160
|
+
.select2-selection__rendered {
|
161
|
+
color: #444;
|
162
|
+
line-height: 28px;
|
163
|
+
}
|
164
|
+
.select2-selection__clear {
|
165
|
+
cursor: pointer;
|
166
|
+
float: right;
|
167
|
+
font-weight: bold;
|
168
|
+
}
|
169
|
+
.select2-selection__placeholder {
|
170
|
+
color: #999;
|
171
|
+
}
|
172
|
+
.select2-selection__arrow {
|
173
|
+
height: 26px;
|
174
|
+
position: absolute;
|
175
|
+
top: 1px;
|
176
|
+
right: 1px;
|
177
|
+
width: 20px;
|
178
|
+
b {
|
179
|
+
border-color: #888 transparent transparent transparent;
|
180
|
+
border-style: solid;
|
181
|
+
border-width: 5px 4px 0 4px;
|
182
|
+
height: 0;
|
183
|
+
left: 50%;
|
184
|
+
margin-left: -4px;
|
185
|
+
margin-top: -2px;
|
186
|
+
position: absolute;
|
187
|
+
top: 50%;
|
188
|
+
width: 0;
|
189
|
+
}
|
190
|
+
}
|
191
|
+
}
|
192
|
+
&[dir="rtl"] .select2-selection--single {
|
193
|
+
.select2-selection__clear {
|
194
|
+
float: left;
|
195
|
+
}
|
196
|
+
.select2-selection__arrow {
|
197
|
+
left: 1px;
|
198
|
+
right: auto;
|
199
|
+
}
|
200
|
+
}
|
201
|
+
&.select2-container--disabled .select2-selection--single {
|
202
|
+
background-color: #eee;
|
203
|
+
cursor: default;
|
204
|
+
.select2-selection__clear {
|
205
|
+
display: none;
|
206
|
+
}
|
207
|
+
}
|
208
|
+
&.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
209
|
+
border-color: transparent transparent #888 transparent;
|
210
|
+
border-width: 0 4px 5px 4px;
|
211
|
+
}
|
212
|
+
.select2-selection--multiple {
|
213
|
+
background-color: white;
|
214
|
+
border: 1px solid #dfe0e1;
|
215
|
+
border-radius: 4px;
|
216
|
+
cursor: text;
|
217
|
+
.select2-selection__rendered {
|
218
|
+
box-sizing: border-box;
|
219
|
+
list-style: none;
|
220
|
+
margin: 0;
|
221
|
+
padding: 0 5px;
|
222
|
+
width: 100%;
|
223
|
+
li {
|
224
|
+
list-style: none;
|
225
|
+
}
|
226
|
+
}
|
227
|
+
.select2-selection__placeholder {
|
228
|
+
color: #999;
|
229
|
+
margin-top: 5px;
|
230
|
+
float: left;
|
231
|
+
}
|
232
|
+
.select2-selection__clear {
|
233
|
+
cursor: pointer;
|
234
|
+
float: right;
|
235
|
+
font-weight: bold;
|
236
|
+
margin-top: 5px;
|
237
|
+
margin-right: 10px;
|
238
|
+
}
|
239
|
+
.select2-selection__choice {
|
240
|
+
background-color: #e4e4e4;
|
241
|
+
border: 1px solid #aaa;
|
242
|
+
border-radius: 4px;
|
243
|
+
cursor: default;
|
244
|
+
float: left;
|
245
|
+
margin-right: 5px;
|
246
|
+
margin-top: 5px;
|
247
|
+
padding: 0 5px;
|
248
|
+
}
|
249
|
+
.select2-selection__choice__remove {
|
250
|
+
color: #999;
|
251
|
+
cursor: pointer;
|
252
|
+
display: inline-block;
|
253
|
+
font-weight: bold;
|
254
|
+
margin-right: 2px;
|
255
|
+
&:hover {
|
256
|
+
color: #333;
|
257
|
+
}
|
258
|
+
}
|
259
|
+
}
|
260
|
+
&[dir="rtl"] .select2-selection--multiple {
|
261
|
+
.select2-selection__choice, .select2-selection__placeholder, .select2-search--inline {
|
262
|
+
float: right;
|
263
|
+
}
|
264
|
+
.select2-selection__choice {
|
265
|
+
margin-left: 5px;
|
266
|
+
margin-right: auto;
|
267
|
+
}
|
268
|
+
.select2-selection__choice__remove {
|
269
|
+
margin-left: 2px;
|
270
|
+
margin-right: auto;
|
271
|
+
}
|
272
|
+
}
|
273
|
+
&.select2-container--focus .select2-selection--multiple {
|
274
|
+
border: solid black 1px;
|
275
|
+
outline: 0;
|
276
|
+
}
|
277
|
+
&.select2-container--disabled {
|
278
|
+
.select2-selection--multiple {
|
279
|
+
background-color: #eee;
|
280
|
+
cursor: default;
|
281
|
+
}
|
282
|
+
.select2-selection__choice__remove {
|
283
|
+
display: none;
|
284
|
+
}
|
285
|
+
}
|
286
|
+
&.select2-container--open {
|
287
|
+
&.select2-container--above {
|
288
|
+
.select2-selection--single, .select2-selection--multiple {
|
289
|
+
border-top-left-radius: 0;
|
290
|
+
border-top-right-radius: 0;
|
291
|
+
}
|
292
|
+
}
|
293
|
+
&.select2-container--below {
|
294
|
+
.select2-selection--single, .select2-selection--multiple {
|
295
|
+
border-bottom-left-radius: 0;
|
296
|
+
border-bottom-right-radius: 0;
|
297
|
+
}
|
298
|
+
}
|
299
|
+
}
|
300
|
+
.select2-search--dropdown .select2-search__field {
|
301
|
+
border: 1px solid #aaa;
|
302
|
+
}
|
303
|
+
.select2-search--inline .select2-search__field {
|
304
|
+
background: transparent;
|
305
|
+
border: none;
|
306
|
+
outline: 0;
|
307
|
+
box-shadow: none;
|
308
|
+
-webkit-appearance: textfield;
|
309
|
+
}
|
310
|
+
.select2-results > .select2-results__options {
|
311
|
+
max-height: 200px;
|
312
|
+
overflow-y: auto;
|
313
|
+
}
|
314
|
+
.select2-results__option {
|
315
|
+
&[role=group] {
|
316
|
+
padding: 0;
|
317
|
+
}
|
318
|
+
&[aria-disabled=true] {
|
319
|
+
color: #999;
|
320
|
+
}
|
321
|
+
&[aria-selected=true] {
|
322
|
+
background-color: #ddd;
|
323
|
+
}
|
324
|
+
.select2-results__option {
|
325
|
+
padding-left: 1em;
|
326
|
+
.select2-results__group {
|
327
|
+
padding-left: 0;
|
328
|
+
}
|
329
|
+
.select2-results__option {
|
330
|
+
margin-left: -1em;
|
331
|
+
padding-left: 2em;
|
332
|
+
.select2-results__option {
|
333
|
+
margin-left: -2em;
|
334
|
+
padding-left: 3em;
|
335
|
+
.select2-results__option {
|
336
|
+
margin-left: -3em;
|
337
|
+
padding-left: 4em;
|
338
|
+
.select2-results__option {
|
339
|
+
margin-left: -4em;
|
340
|
+
padding-left: 5em;
|
341
|
+
.select2-results__option {
|
342
|
+
margin-left: -5em;
|
343
|
+
padding-left: 6em;
|
344
|
+
}
|
345
|
+
}
|
346
|
+
}
|
347
|
+
}
|
348
|
+
}
|
349
|
+
}
|
350
|
+
}
|
351
|
+
.select2-results__option--highlighted[aria-selected] {
|
352
|
+
background-color: #5897fb;
|
353
|
+
color: white;
|
354
|
+
}
|
355
|
+
.select2-results__group {
|
356
|
+
cursor: default;
|
357
|
+
display: block;
|
358
|
+
padding: 6px;
|
359
|
+
}
|
360
|
+
}
|
361
|
+
|
362
|
+
.select2-container--classic {
|
363
|
+
.select2-selection--single {
|
364
|
+
background-color: #f7f7f7;
|
365
|
+
border: 1px solid #aaa;
|
366
|
+
border-radius: 4px;
|
367
|
+
outline: 0;
|
368
|
+
background-image: -webkit-linear-gradient(top, #fff 50%, #eee 100%);
|
369
|
+
background-image: -o-linear-gradient(top, #fff 50%, #eee 100%);
|
370
|
+
background-image: linear-gradient(to bottom, #fff 50%, #eee 100%);
|
371
|
+
background-repeat: repeat-x;
|
372
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0);
|
373
|
+
&:focus {
|
374
|
+
border: 1px solid #5897fb;
|
375
|
+
}
|
376
|
+
.select2-selection__rendered {
|
377
|
+
color: #444;
|
378
|
+
line-height: 28px;
|
379
|
+
}
|
380
|
+
.select2-selection__clear {
|
381
|
+
cursor: pointer;
|
382
|
+
float: right;
|
383
|
+
font-weight: bold;
|
384
|
+
margin-right: 10px;
|
385
|
+
}
|
386
|
+
.select2-selection__placeholder {
|
387
|
+
color: #999;
|
388
|
+
}
|
389
|
+
.select2-selection__arrow {
|
390
|
+
background-color: #ddd;
|
391
|
+
border: none;
|
392
|
+
border-left: 1px solid #aaa;
|
393
|
+
border-top-right-radius: 4px;
|
394
|
+
border-bottom-right-radius: 4px;
|
395
|
+
height: 26px;
|
396
|
+
position: absolute;
|
397
|
+
top: 1px;
|
398
|
+
right: 1px;
|
399
|
+
width: 20px;
|
400
|
+
background-image: -webkit-linear-gradient(top, #eee 50%, #ccc 100%);
|
401
|
+
background-image: -o-linear-gradient(top, #eee 50%, #ccc 100%);
|
402
|
+
background-image: linear-gradient(to bottom, #eee 50%, #ccc 100%);
|
403
|
+
background-repeat: repeat-x;
|
404
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0);
|
405
|
+
b {
|
406
|
+
border-color: #888 transparent transparent transparent;
|
407
|
+
border-style: solid;
|
408
|
+
border-width: 5px 4px 0 4px;
|
409
|
+
height: 0;
|
410
|
+
left: 50%;
|
411
|
+
margin-left: -4px;
|
412
|
+
margin-top: -2px;
|
413
|
+
position: absolute;
|
414
|
+
top: 50%;
|
415
|
+
width: 0;
|
416
|
+
}
|
417
|
+
}
|
418
|
+
}
|
419
|
+
&[dir="rtl"] .select2-selection--single {
|
420
|
+
.select2-selection__clear {
|
421
|
+
float: left;
|
422
|
+
}
|
423
|
+
.select2-selection__arrow {
|
424
|
+
border: none;
|
425
|
+
border-right: 1px solid #aaa;
|
426
|
+
border-radius: 0;
|
427
|
+
border-top-left-radius: 4px;
|
428
|
+
border-bottom-left-radius: 4px;
|
429
|
+
left: 1px;
|
430
|
+
right: auto;
|
431
|
+
}
|
432
|
+
}
|
433
|
+
&.select2-container--open {
|
434
|
+
.select2-selection--single {
|
435
|
+
border: 1px solid #5897fb;
|
436
|
+
.select2-selection__arrow {
|
437
|
+
background: transparent;
|
438
|
+
border: none;
|
439
|
+
b {
|
440
|
+
border-color: transparent transparent #888 transparent;
|
441
|
+
border-width: 0 4px 5px 4px;
|
442
|
+
}
|
443
|
+
}
|
444
|
+
}
|
445
|
+
&.select2-container--above .select2-selection--single {
|
446
|
+
border-top: none;
|
447
|
+
border-top-left-radius: 0;
|
448
|
+
border-top-right-radius: 0;
|
449
|
+
background-image: -webkit-linear-gradient(top, #fff 0%, #eee 50%);
|
450
|
+
background-image: -o-linear-gradient(top, #fff 0%, #eee 50%);
|
451
|
+
background-image: linear-gradient(to bottom, #fff 0%, #eee 50%);
|
452
|
+
background-repeat: repeat-x;
|
453
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0);
|
454
|
+
}
|
455
|
+
&.select2-container--below .select2-selection--single {
|
456
|
+
border-bottom: none;
|
457
|
+
border-bottom-left-radius: 0;
|
458
|
+
border-bottom-right-radius: 0;
|
459
|
+
background-image: -webkit-linear-gradient(top, #eee 50%, #fff 100%);
|
460
|
+
background-image: -o-linear-gradient(top, #eee 50%, #fff 100%);
|
461
|
+
background-image: linear-gradient(to bottom, #eee 50%, #fff 100%);
|
462
|
+
background-repeat: repeat-x;
|
463
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0);
|
464
|
+
}
|
465
|
+
}
|
466
|
+
.select2-selection--multiple {
|
467
|
+
background-color: white;
|
468
|
+
border: 1px solid #aaa;
|
469
|
+
border-radius: 4px;
|
470
|
+
cursor: text;
|
471
|
+
outline: 0;
|
472
|
+
&:focus {
|
473
|
+
border: 1px solid #5897fb;
|
474
|
+
}
|
475
|
+
.select2-selection__rendered {
|
476
|
+
list-style: none;
|
477
|
+
margin: 0;
|
478
|
+
padding: 0 5px;
|
479
|
+
}
|
480
|
+
.select2-selection__clear {
|
481
|
+
display: none;
|
482
|
+
}
|
483
|
+
.select2-selection__choice {
|
484
|
+
background-color: #e4e4e4;
|
485
|
+
border: 1px solid #aaa;
|
486
|
+
border-radius: 4px;
|
487
|
+
cursor: default;
|
488
|
+
float: left;
|
489
|
+
margin-right: 5px;
|
490
|
+
margin-top: 5px;
|
491
|
+
padding: 0 5px;
|
492
|
+
}
|
493
|
+
.select2-selection__choice__remove {
|
494
|
+
color: #888;
|
495
|
+
cursor: pointer;
|
496
|
+
display: inline-block;
|
497
|
+
font-weight: bold;
|
498
|
+
margin-right: 2px;
|
499
|
+
&:hover {
|
500
|
+
color: #555;
|
501
|
+
}
|
502
|
+
}
|
503
|
+
}
|
504
|
+
&[dir="rtl"] .select2-selection--multiple {
|
505
|
+
.select2-selection__choice {
|
506
|
+
float: right;
|
507
|
+
margin-left: 5px;
|
508
|
+
margin-right: auto;
|
509
|
+
}
|
510
|
+
.select2-selection__choice__remove {
|
511
|
+
margin-left: 2px;
|
512
|
+
margin-right: auto;
|
513
|
+
}
|
514
|
+
}
|
515
|
+
&.select2-container--open {
|
516
|
+
.select2-selection--multiple {
|
517
|
+
border: 1px solid #5897fb;
|
518
|
+
}
|
519
|
+
&.select2-container--above .select2-selection--multiple {
|
520
|
+
border-top: none;
|
521
|
+
border-top-left-radius: 0;
|
522
|
+
border-top-right-radius: 0;
|
523
|
+
}
|
524
|
+
&.select2-container--below .select2-selection--multiple {
|
525
|
+
border-bottom: none;
|
526
|
+
border-bottom-left-radius: 0;
|
527
|
+
border-bottom-right-radius: 0;
|
528
|
+
}
|
529
|
+
}
|
530
|
+
.select2-search--dropdown .select2-search__field {
|
531
|
+
border: 1px solid #aaa;
|
532
|
+
outline: 0;
|
533
|
+
}
|
534
|
+
.select2-search--inline .select2-search__field {
|
535
|
+
outline: 0;
|
536
|
+
box-shadow: none;
|
537
|
+
}
|
538
|
+
.select2-dropdown {
|
539
|
+
background-color: #fff;
|
540
|
+
border: 1px solid transparent;
|
541
|
+
}
|
542
|
+
.select2-dropdown--above {
|
543
|
+
border-bottom: none;
|
544
|
+
}
|
545
|
+
.select2-dropdown--below {
|
546
|
+
border-top: none;
|
547
|
+
}
|
548
|
+
.select2-results > .select2-results__options {
|
549
|
+
max-height: 200px;
|
550
|
+
overflow-y: auto;
|
551
|
+
}
|
552
|
+
.select2-results__option {
|
553
|
+
&[role=group] {
|
554
|
+
padding: 0;
|
555
|
+
}
|
556
|
+
&[aria-disabled=true] {
|
557
|
+
color: grey;
|
558
|
+
}
|
559
|
+
}
|
560
|
+
.select2-results__option--highlighted[aria-selected] {
|
561
|
+
background-color: #3875d7;
|
562
|
+
color: #fff;
|
563
|
+
}
|
564
|
+
.select2-results__group {
|
565
|
+
cursor: default;
|
566
|
+
display: block;
|
567
|
+
padding: 6px;
|
568
|
+
}
|
569
|
+
&.select2-container--open .select2-dropdown {
|
570
|
+
border-color: #5897fb;
|
571
|
+
}
|
572
|
+
}
|
573
|
+
|
574
|
+
|
575
|
+
|
576
|
+
|
577
|
+
@charset "UTF-8";.select2-result-repository {
|
578
|
+
padding-top: 4px;
|
579
|
+
padding-bottom: 3px
|
580
|
+
}
|
581
|
+
|
582
|
+
.select2-result-repository__avatar {
|
583
|
+
float: left;
|
584
|
+
width: 60px;
|
585
|
+
margin-right: 10px
|
586
|
+
}
|
587
|
+
|
588
|
+
.select2-result-repository__avatar img {
|
589
|
+
width: 100%;
|
590
|
+
height: auto;
|
591
|
+
border-radius: 2px
|
592
|
+
}
|
593
|
+
|
594
|
+
.select2-result-repository__meta {
|
595
|
+
margin-left: 70px
|
596
|
+
}
|
597
|
+
|
598
|
+
.select2-result-repository__title {
|
599
|
+
color: black;
|
600
|
+
font-weight: 700;
|
601
|
+
word-wrap: break-word;
|
602
|
+
line-height: 1.1;
|
603
|
+
margin-bottom: 4px
|
604
|
+
}
|
605
|
+
|
606
|
+
.select2-result-repository__forks,.select2-result-repository__stargazers {
|
607
|
+
margin-right: 1em
|
608
|
+
}
|
609
|
+
|
610
|
+
.select2-result-repository__forks,.select2-result-repository__stargazers,.select2-result-repository__watchers {
|
611
|
+
display: inline-block;
|
612
|
+
color: #aaa;
|
613
|
+
font-size: 11px
|
614
|
+
}
|
615
|
+
|
616
|
+
.select2-result-repository__description {
|
617
|
+
font-size: 13px;
|
618
|
+
color: #777;
|
619
|
+
margin-top: 4px
|
620
|
+
}
|
621
|
+
|
622
|
+
.select2-results__option--highlighted .select2-result-repository__title {
|
623
|
+
color: white
|
624
|
+
}
|
625
|
+
|
626
|
+
.select2-results__option--highlighted .select2-result-repository__forks,.select2-results__option--highlighted .select2-result-repository__stargazers,.select2-results__option--highlighted .select2-result-repository__description,.select2-results__option--highlighted .select2-result-repository__watchers {
|
627
|
+
color: #c6dcef
|
628
|
+
}
|
629
|
+
|
630
|
+
.s2-docs-sidebar.affix {
|
631
|
+
position: static
|
632
|
+
}
|
@@ -53,8 +53,9 @@ button, input[type="button"], input[type="reset"], input[type="submit"], .button
|
|
53
53
|
padding: 1rem 1rem 8rem 1rem!important;
|
54
54
|
}
|
55
55
|
.nested-fields.working_zones {
|
56
|
-
border: 1px solid rgba(255, 90, 95, 0.32)!important;
|
57
|
-
border
|
56
|
+
// border: 1px solid rgba(255, 90, 95, 0.32)!important;
|
57
|
+
// border: 1px solid #00f2c3 !important;
|
58
|
+
border-radius: 10px;
|
58
59
|
}
|
59
60
|
// .add_has_many.div_button_add_line_items{
|
60
61
|
// width: 110px;
|
data/vbax-admin_syst.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
|
-
spec.add_dependency 'vbax-becky_thatcher', '~> 0.
|
25
|
+
spec.add_dependency 'vbax-becky_thatcher', '~> 0.8.0'
|
26
26
|
|
27
27
|
spec.add_development_dependency "bundler", "~> 2.0"
|
28
28
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vbax-admin_syst
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- v baxter
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: vbax-becky_thatcher
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.8.0
|
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: 0.
|
26
|
+
version: 0.8.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,6 +88,7 @@ files:
|
|
88
88
|
- lib/vbax/sass/components/_pagination.scss
|
89
89
|
- lib/vbax/sass/components/_search.scss
|
90
90
|
- lib/vbax/sass/custom/_AdministrateactiveStorage.scss
|
91
|
+
- lib/vbax/sass/custom/components/_UX_onquotation.scss
|
91
92
|
- lib/vbax/sass/custom/components/_app-container.scss
|
92
93
|
- lib/vbax/sass/custom/components/_attributes.scss
|
93
94
|
- lib/vbax/sass/custom/components/_buttons.scss
|
@@ -101,6 +102,8 @@ files:
|
|
101
102
|
- lib/vbax/sass/custom/components/_pagination.scss
|
102
103
|
- lib/vbax/sass/custom/components/_progress.scss
|
103
104
|
- lib/vbax/sass/custom/components/_search.scss
|
105
|
+
- lib/vbax/sass/custom/components/_select2.scss
|
106
|
+
- lib/vbax/sass/custom/components/_select2_mimify.scss
|
104
107
|
- lib/vbax/sass/custom/index.scss
|
105
108
|
- lib/vbax/sass/custom/quotation/_button.scss
|
106
109
|
- lib/vbax/sass/custom/quotation/_index.scss
|