redmine_crm 0.0.51 → 0.0.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e9789117b9a4f848202900cd758b2fad6ca12bb
4
- data.tar.gz: a6cb4c6de03bbc3eb6637d67c6bea1a3e5e60cd4
3
+ metadata.gz: 8cf84446324b0b2e2cc2d1f620d55af89d2c9f4b
4
+ data.tar.gz: 90230bf16fc7fe4104b7f32429be0dcc962ebad7
5
5
  SHA512:
6
- metadata.gz: 622502f3842e4c207fd49b2b234c5f3558c9dfe02b1513260e62942a78bf57e4b3d387571abf74069b0c72d3935f593b110f677fc56213076ba46e0f73476292
7
- data.tar.gz: e36b0a353a72dc5c4570663863fded89f4a277629fb77fb3da4d6fce8f7caa536945e3778a8a1935651f8bb47ad56a54ecf50bc5f5cd424aa330b253c6c11620
6
+ metadata.gz: 5f0c8cc6b616612487245aa44e9ac46af5004c76e79242237b6f707078d8b303c38ea7bb0a4d1dce8f5610168c573fd061475c9d6212c6bf6f5131267c543839
7
+ data.tar.gz: 3d95b68b26bdaa2bdd171524c6af41bc4fd8f8291327befabc4de99c1ef750503e7cec738911843882abeae37e0ffe446735f6c5a0d8a6f3252cfd8ea79c8c48
@@ -4,6 +4,10 @@ Redmine crm gem - general functions for plugins (tags, vote, viewing, currency)
4
4
  Copyright (C) 2011-2019 RedmineUP
5
5
  https://www.redmineup.com/
6
6
 
7
+ == 2019-12-26 v0.0.52
8
+
9
+ * select2 styles cleanup
10
+
7
11
  == 2019-12-20 v0.0.51
8
12
 
9
13
  * Changed drafts params
@@ -1,3 +1,3 @@
1
1
  module RedmineCrm
2
- VERSION = '0.0.51'
2
+ VERSION = '0.0.52'
3
3
  end
@@ -137,6 +137,7 @@ function buildSelect2Options(options) {
137
137
  result = {
138
138
  placeholder: options['placeholder'] || '',
139
139
  allowClear: !!options['allow_clear'],
140
+ containerCssClass: options['containerCssClass'],
140
141
  minimumInputLength: options['min_input_length'] || 0,
141
142
  templateResult: window[options['format_state']],
142
143
  templateSelection: window[options['format_selection']],
@@ -150,18 +150,26 @@
150
150
  }
151
151
 
152
152
  .select2-container--default .select2-selection--single {
153
- background: #fff url(../images/vcard.png) no-repeat 2px 50%;
154
- border: 1px solid #9EB1C2;
155
- border-radius: 2px;
156
- height: 21px;
153
+ /*background: #fff url(../images/vcard.png) no-repeat 2px 50%;*/
154
+ background-color: #fff;
155
+ height: 24px;
156
+ border: 1px solid #ccc;
157
+ border-radius: 3px;
158
+ }
159
+
160
+ .select2-container--default .select2-selection--single.icon {
161
+ background-position-x: 3px;
157
162
  }
158
163
 
159
164
  .select2-container--default .select2-selection--single .select2-selection__rendered {
160
- padding-left: 21px;
161
- line-height: 18px;
165
+ line-height: 21px;
162
166
  font-size: 11px;
163
167
  }
164
168
 
169
+ .select2-container--default .select2-selection--single.icon .select2-selection__rendered {
170
+ padding-left: 2px
171
+ }
172
+
165
173
  .select2-container--default .select2-selection--single .select2-selection__clear {
166
174
  cursor: pointer;
167
175
  float: right;
@@ -172,7 +180,7 @@
172
180
  color: #999;
173
181
  }
174
182
  .select2-container--default .select2-selection--single .select2-selection__arrow {
175
- height: 20px;
183
+ height: 24px;
176
184
  position: absolute;
177
185
  top: 0px;
178
186
  right: 1px;
@@ -210,8 +218,8 @@
210
218
  }
211
219
  .select2-container--default .select2-selection--multiple {
212
220
  background-color: white;
213
- border: 1px solid #9EB1C2;
214
- border-radius: 2px;
221
+ border: 1px solid #ccc;
222
+ border-radius: 3px;
215
223
  cursor: text;
216
224
  }
217
225
 
@@ -220,7 +228,7 @@
220
228
  box-sizing: border-box;
221
229
  list-style: none;
222
230
  margin: 0;
223
- padding: 0 2px 2px 2px;
231
+ padding: 0 2px 1px 2px;
224
232
  width: 100%;
225
233
  }
226
234
  .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
@@ -245,8 +253,8 @@
245
253
  border-radius: 2px;
246
254
  cursor: default;
247
255
  float: left;
248
- margin-right: 3px;
249
- margin-top: 3px;
256
+ margin-right: 2px;
257
+ margin-top: 2px;
250
258
  padding: 0 3px;
251
259
  }
252
260
  .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
@@ -271,8 +279,8 @@
271
279
  margin-right: auto;
272
280
  }
273
281
  .select2-container--default.select2-container--focus .select2-selection--multiple {
274
- border: solid #aaa 1px;
275
- outline: 0;
282
+ border: 1px solid #5ad;
283
+ outline: none;
276
284
  }
277
285
  .select2-container--default.select2-container--disabled .select2-selection--multiple {
278
286
  background-color: #eee;
@@ -298,6 +306,7 @@
298
306
  outline: 0;
299
307
  box-shadow: none;
300
308
  -webkit-appearance: textfield;
309
+ height: 18px;
301
310
  }
302
311
  .select2-container--default .select2-results > .select2-results__options {
303
312
  max-height: 200px;
@@ -355,12 +364,12 @@
355
364
  border: 0px !important;
356
365
  height: inherit !important;
357
366
  padding: 0px !important;
358
- width: 2em !important;
359
367
  }
360
368
 
361
369
  .filter .select2-container--default .select2-selection--multiple .select2-selection__choice {
370
+ outline: none;
362
371
  border: 0px;
363
- padding: 2px 5px;
372
+ padding: 3px 5px;
364
373
  }
365
374
 
366
375
  /* == Theming ===
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redmine_crm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.51
4
+ version: 0.0.52
5
5
  platform: ruby
6
6
  authors:
7
7
  - RedmineUP
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-20 00:00:00.000000000 Z
11
+ date: 2019-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails