flashgrid 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flashgrid/version.rb +1 -1
- data/vendor/assets/javascripts/collapse.js +1 -1
- data/vendor/assets/javascripts/tooltip.js +18 -8
- data/vendor/assets/stylesheets/alert.css.scss +3 -3
- data/vendor/assets/stylesheets/button.css.scss +77 -8
- data/vendor/assets/stylesheets/form.css.scss +1 -1
- data/vendor/assets/stylesheets/header.css.scss +7 -7
- data/vendor/assets/stylesheets/link.css.scss +7 -6
- data/vendor/assets/stylesheets/typography.css.scss +7 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c47e53e2146a9368f1efa31eac862eaf68d9fcc
|
4
|
+
data.tar.gz: 91b56a81cab093056848128b4f50652dac633850
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd28c1e9794f40edcdcc77f09bc9b5fd66d36fb5b9c7b0142197e0998a99043ba7a1875501e1ffdfb0cda684abfcdcae5b70c549fe2bbd2f679734041d45b271
|
7
|
+
data.tar.gz: bcb965883760d82a2ece1363212635218b6368087fb26a69bb8c8a667f1466b331dbc98a6bb4b5dfa64605b95e85ec90e3cf2f0cb52ed6238f9bd49d0bfc96c5
|
data/lib/flashgrid/version.rb
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
this.$element.trigger(startEvent)
|
34
34
|
if (startEvent.isDefaultPrevented()) return
|
35
35
|
|
36
|
-
var actives = this.$parent && this.$parent.find('> .panel
|
36
|
+
var actives = this.$parent && this.$parent.find('> .panel').children('.in, .collapsing')
|
37
37
|
|
38
38
|
if (actives && actives.length) {
|
39
39
|
var hasData = actives.data('bs.collapse')
|
@@ -251,16 +251,18 @@
|
|
251
251
|
if (delta.left) offset.left += delta.left
|
252
252
|
else offset.top += delta.top
|
253
253
|
|
254
|
-
var
|
255
|
-
var
|
256
|
-
var arrowOffsetPosition =
|
254
|
+
var isVertical = /top|bottom/.test(placement)
|
255
|
+
var arrowDelta = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight
|
256
|
+
var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight'
|
257
257
|
|
258
258
|
$tip.offset(offset)
|
259
|
-
this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition],
|
259
|
+
this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)
|
260
260
|
}
|
261
261
|
|
262
|
-
Tooltip.prototype.replaceArrow = function (delta, dimension,
|
263
|
-
this.arrow()
|
262
|
+
Tooltip.prototype.replaceArrow = function (delta, dimension, isHorizontal) {
|
263
|
+
this.arrow()
|
264
|
+
.css(isHorizontal ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
|
265
|
+
.css(isHorizontal ? 'top' : 'left', '')
|
264
266
|
}
|
265
267
|
|
266
268
|
Tooltip.prototype.setContent = function () {
|
@@ -271,7 +273,7 @@
|
|
271
273
|
$tip.removeClass('fade in top bottom left right')
|
272
274
|
}
|
273
275
|
|
274
|
-
Tooltip.prototype.hide = function () {
|
276
|
+
Tooltip.prototype.hide = function (callback) {
|
275
277
|
var that = this
|
276
278
|
var $tip = this.tip()
|
277
279
|
var e = $.Event('hide.bs.' + this.type)
|
@@ -281,6 +283,7 @@
|
|
281
283
|
that.$element
|
282
284
|
.removeAttr('aria-describedby')
|
283
285
|
.trigger('hidden.bs.' + that.type)
|
286
|
+
callback && callback()
|
284
287
|
}
|
285
288
|
|
286
289
|
this.$element.trigger(e)
|
@@ -319,6 +322,10 @@
|
|
319
322
|
var isSvg = window.SVGElement && el instanceof window.SVGElement
|
320
323
|
|
321
324
|
var elRect = el.getBoundingClientRect()
|
325
|
+
if (elRect.width == null) {
|
326
|
+
// width and height are missing in IE8, so compute them manually; see https://github.com/twbs/bootstrap/issues/14093
|
327
|
+
elRect = $.extend({}, elRect, { width: elRect.right - elRect.left, height: elRect.bottom - elRect.top })
|
328
|
+
}
|
322
329
|
var elOffset = isBody ? { top: 0, left: 0 } : $element.offset()
|
323
330
|
var scroll = { scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop() }
|
324
331
|
var outerDims = isSvg ? {} : {
|
@@ -424,8 +431,11 @@
|
|
424
431
|
}
|
425
432
|
|
426
433
|
Tooltip.prototype.destroy = function () {
|
434
|
+
var that = this
|
427
435
|
clearTimeout(this.timeout)
|
428
|
-
this.hide(
|
436
|
+
this.hide(function () {
|
437
|
+
that.$element.off('.' + that.type).removeData('bs.' + that.type)
|
438
|
+
})
|
429
439
|
}
|
430
440
|
|
431
441
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
/* #Alert
|
6
6
|
================================================== */
|
7
7
|
.alert {
|
8
|
-
background: rgba(
|
8
|
+
background: rgba(235,238,240,1);
|
9
9
|
border-bottom: 1px solid rgba(225,232,237,1);
|
10
10
|
color: rgba(71,74,84,1);
|
11
11
|
font-size: 16px;
|
@@ -55,8 +55,8 @@
|
|
55
55
|
}
|
56
56
|
.alert-black,
|
57
57
|
.alert-system {
|
58
|
-
background: rgba(
|
59
|
-
border-color: rgba(
|
58
|
+
background: rgba(56,67,81,1);
|
59
|
+
border-color: rgba(6,17,31,1);
|
60
60
|
color: rgba(255,255,255,1);
|
61
61
|
}
|
62
62
|
.alert-black h4,
|
@@ -9,7 +9,8 @@
|
|
9
9
|
#Button Styles
|
10
10
|
#Button Group
|
11
11
|
#Button Toolbar
|
12
|
-
#Button Data Toggles
|
12
|
+
#Button Data Toggles
|
13
|
+
#Media Queries */
|
13
14
|
|
14
15
|
/* #Button
|
15
16
|
================================================== */
|
@@ -46,7 +47,7 @@
|
|
46
47
|
.btn[disabled],
|
47
48
|
.btn[disabled]:hover,
|
48
49
|
.open > .dropdown-toggle.btn {
|
49
|
-
background: rgba(
|
50
|
+
background: rgba(234,237,239,1);
|
50
51
|
text-decoration: none;
|
51
52
|
}
|
52
53
|
.btn[disabled],
|
@@ -111,7 +112,7 @@ input.btn-block {
|
|
111
112
|
.btn-black:focus,
|
112
113
|
.btn-black[disabled],
|
113
114
|
.btn-black[disabled]:hover,
|
114
|
-
.open > .dropdown-toggle.btn-black { background: rgba(
|
115
|
+
.open > .dropdown-toggle.btn-black { background: rgba(66,77,91,1); }
|
115
116
|
.btn-blue {
|
116
117
|
background: rgba(15,135,226,1);
|
117
118
|
border-color: rgba(0,120,211,1);
|
@@ -123,7 +124,7 @@ input.btn-block {
|
|
123
124
|
.btn-blue:focus,
|
124
125
|
.btn-blue[disabled],
|
125
126
|
.btn-blue[disabled]:hover,
|
126
|
-
.open > .dropdown-toggle.btn-blue { background: rgba(
|
127
|
+
.open > .dropdown-toggle.btn-blue { background: rgba(25,145,236,1); }
|
127
128
|
.btn-green {
|
128
129
|
background: rgba(89,168,15,1);
|
129
130
|
border-color: rgba(74,153,0,1);
|
@@ -135,7 +136,7 @@ input.btn-block {
|
|
135
136
|
.btn-green:focus,
|
136
137
|
.btn-green[disabled],
|
137
138
|
.btn-green[disabled]:hover,
|
138
|
-
.open > .dropdown-toggle.btn-green { background: rgba(
|
139
|
+
.open > .dropdown-toggle.btn-green { background: rgba(99,178,25,1); }
|
139
140
|
.btn-red {
|
140
141
|
background: rgba(218,79,46,1);
|
141
142
|
border-color: rgba(188,49,16,1);
|
@@ -147,7 +148,7 @@ input.btn-block {
|
|
147
148
|
.btn-red:focus,
|
148
149
|
.btn-red[disabled],
|
149
150
|
.btn-red[disabled]:hover,
|
150
|
-
.open > .dropdown-toggle.btn-red { background: rgba(
|
151
|
+
.open > .dropdown-toggle.btn-red { background: rgba(228,89,56,1); }
|
151
152
|
.btn-white { background: rgba(255,255,255,1); }
|
152
153
|
.btn-white:active,
|
153
154
|
.btn-white.active,
|
@@ -156,6 +157,18 @@ input.btn-block {
|
|
156
157
|
.btn-white[disabled],
|
157
158
|
.btn-white[disabled]:hover,
|
158
159
|
.open > .dropdown-toggle.btn-white { background: rgba(246,247,249,1); }
|
160
|
+
.btn-yellow {
|
161
|
+
background: rgba(255,217,15,1);
|
162
|
+
border-color: rgba(240,202,0,1);
|
163
|
+
box-shadow: inset 0 1px 0 rgba(255,237,35,1);
|
164
|
+
}
|
165
|
+
.btn-yellow:active,
|
166
|
+
.btn-yellow.active,
|
167
|
+
.btn-yellow:hover,
|
168
|
+
.btn-yellow:focus,
|
169
|
+
.btn-yellow[disabled],
|
170
|
+
.btn-yellow[disabled]:hover,
|
171
|
+
.open > .dropdown-toggle.btn-blue { background: rgba(255,227,25,1); }
|
159
172
|
|
160
173
|
/* #Button Links
|
161
174
|
================================================== */
|
@@ -224,8 +237,8 @@ input.btn-block {
|
|
224
237
|
.btn-outline.btn-black.active,
|
225
238
|
.btn-outline.btn-black:hover,
|
226
239
|
.btn-outline.btn-black:focus {
|
227
|
-
border-color: rgba(
|
228
|
-
color: rgba(
|
240
|
+
border-color: rgba(136,147,151,1);
|
241
|
+
color: rgba(136,147,151,1);
|
229
242
|
}
|
230
243
|
.btn-outline.btn-blue {
|
231
244
|
border-color: rgba(15,135,226,1);
|
@@ -268,6 +281,17 @@ input.btn-block {
|
|
268
281
|
.btn-outline.btn-white.active,
|
269
282
|
.btn-outline.btn-white:hover,
|
270
283
|
.btn-outline.btn-white:focus { color: rgba(174,182,192,1); }
|
284
|
+
.btn-outline.btn-yellow {
|
285
|
+
border-color: rgba(255,217,15,1);
|
286
|
+
color: rgba(255,217,15,1);
|
287
|
+
}
|
288
|
+
.btn-outline.btn-yellow:active,
|
289
|
+
.btn-outline.btn-yellow.active,
|
290
|
+
.btn-outline.btn-yellow:hover,
|
291
|
+
.btn-outline.btn-yellow:focus {
|
292
|
+
border-color: rgba(255,227,25,1);
|
293
|
+
color: rgba(255,227,25,1);
|
294
|
+
}
|
271
295
|
|
272
296
|
/* #Button Styles
|
273
297
|
================================================== */
|
@@ -370,4 +394,49 @@ input.btn-block {
|
|
370
394
|
position: absolute;
|
371
395
|
z-index: -1;
|
372
396
|
opacity: 0;
|
397
|
+
}
|
398
|
+
|
399
|
+
/* #Media Queries
|
400
|
+
================================================== */
|
401
|
+
@media only screen and (max-width: 767px) {
|
402
|
+
.btn-group-responsive > .btn,
|
403
|
+
.btn-group-responsive > .btn-group,
|
404
|
+
.btn-group-responsive > .btn-group > .btn {
|
405
|
+
border-radius: 0;
|
406
|
+
display: block;
|
407
|
+
margin-left: 0;
|
408
|
+
margin-top: -1px;
|
409
|
+
max-width: 100%;
|
410
|
+
width: 100%;
|
411
|
+
}
|
412
|
+
.btn-group-responsive > .btn:first-child {
|
413
|
+
border-top-right-radius: 2px;
|
414
|
+
border-top-left-radius: 2px;
|
415
|
+
margin-left: 0;
|
416
|
+
}
|
417
|
+
.btn-group-responsive > .btn:last-child,
|
418
|
+
.btn-group-responsive > .dropdown-toggle {
|
419
|
+
border-bottom-right-radius: 2px;
|
420
|
+
border-bottom-left-radius: 2px;
|
421
|
+
}
|
422
|
+
.btn-group-vertical-responsive > .btn,
|
423
|
+
.btn-group-vertical-responsive > .btn-group,
|
424
|
+
.btn-group-vertical-responsive > .btn-group > .btn {
|
425
|
+
display: inline-block;
|
426
|
+
margin-left: -1px;
|
427
|
+
margin-top: 0;
|
428
|
+
max-width: initial;
|
429
|
+
width: initial;
|
430
|
+
}
|
431
|
+
.btn-group-vertical-responsive > .btn:first-child {
|
432
|
+
border-bottom-left-radius: 2px;
|
433
|
+
border-top-right-radius: 0;
|
434
|
+
border-top-left-radius: 2px;
|
435
|
+
}
|
436
|
+
.btn-group-vertical-responsive > .btn:last-child,
|
437
|
+
.btn-group-vertical-responsive > .dropdown-toggle {
|
438
|
+
border-bottom-right-radius: 2px;
|
439
|
+
border-bottom-left-radius: 0;
|
440
|
+
border-top-right-radius: 2px;
|
441
|
+
}
|
373
442
|
}
|
@@ -31,9 +31,9 @@
|
|
31
31
|
margin: 0;
|
32
32
|
width: 280px;
|
33
33
|
}
|
34
|
-
.header-search input:focus
|
35
|
-
.header-search input:-moz-placeholder
|
36
|
-
.header-search input:-ms-input-placeholder
|
34
|
+
.header-search input:focus { border-color: rgba(255,255,255,1); }
|
35
|
+
.header-search input:-moz-placeholder { color: rgba(255,255,255,0.40); }
|
36
|
+
.header-search input:-ms-input-placeholder { color: rgba(255,255,255,0.40); }
|
37
37
|
.header-search input::-webkit-input-placeholder { color: rgba(255,255,255,0.40); }
|
38
38
|
.header-nav {
|
39
39
|
float: right;
|
@@ -64,13 +64,13 @@
|
|
64
64
|
.header-nav > li.bordered > a:hover { border-color: rgba(255,255,255,1); }
|
65
65
|
.header-user {
|
66
66
|
float: right;
|
67
|
+
font-size: 13px;
|
67
68
|
margin: 22px 0 0 15px;
|
68
69
|
}
|
69
70
|
.header-user a {
|
70
|
-
color: rgba(255,255,255,
|
71
|
+
color: rgba(255,255,255,1);
|
71
72
|
text-decoration: none;
|
72
73
|
}
|
73
|
-
.header-user a:hover { color: rgba(255,255,255,1); }
|
74
74
|
.header-user img,
|
75
75
|
.header-user-placeholder {
|
76
76
|
background: rgba(176,193,206,1);
|
@@ -97,7 +97,7 @@
|
|
97
97
|
|
98
98
|
/* #Header Application
|
99
99
|
================================================== */
|
100
|
-
.header-app
|
100
|
+
.header-app { height: 66px; }
|
101
101
|
.header-app .header-brand a { margin-top: 11px; }
|
102
102
|
.header-app .header-search { margin-top: 12px; }
|
103
103
|
.header-app .header-nav { margin-top: 19px; }
|
@@ -105,7 +105,7 @@
|
|
105
105
|
|
106
106
|
/* #Header Alternate
|
107
107
|
================================================== */
|
108
|
-
.header-alt
|
108
|
+
.header-alt { background: none; }
|
109
109
|
.header-alt .header-brand a { color: rgba(176,193,206,1); }
|
110
110
|
.header-alt .header-brand a:hover { color: rgba(136,153,166,1); }
|
111
111
|
.header-alt .header-nav > li.bordered > a {
|
@@ -13,9 +13,10 @@ a {
|
|
13
13
|
|
14
14
|
/* #Link Color
|
15
15
|
================================================== */
|
16
|
-
.link-black
|
17
|
-
.link-blue
|
18
|
-
.link-gray
|
19
|
-
.link-green
|
20
|
-
.link-red
|
21
|
-
.link-white
|
16
|
+
.link-black { color: rgba(71,74,84,1); }
|
17
|
+
.link-blue { color: rgba(15,135,226,1); }
|
18
|
+
.link-gray { color: rgba(136,153,166,1); }
|
19
|
+
.link-green { color: rgba(112,169,13,1); }
|
20
|
+
.link-red { color: rgba(218,79,46,1); }
|
21
|
+
.link-white { color: rgba(255,255,255,1); }
|
22
|
+
.link-yellow { color: rgba(255,217,15,1); }
|
@@ -141,12 +141,13 @@ blockquote small { color: rgba(136,153,166,1); }
|
|
141
141
|
|
142
142
|
/* #Colors
|
143
143
|
================================================== */
|
144
|
-
.text-black
|
145
|
-
.text-blue
|
146
|
-
.text-gray
|
147
|
-
.text-green
|
148
|
-
.text-red
|
149
|
-
.text-white
|
144
|
+
.text-black { color: rgba(71,74,84,1); }
|
145
|
+
.text-blue { color: rgba(15,135,226,1); }
|
146
|
+
.text-gray { color: rgba(136,153,166,1); }
|
147
|
+
.text-green { color: rgba(112,169,13,1); }
|
148
|
+
.text-red { color: rgba(218,79,46,1); }
|
149
|
+
.text-white { color: rgba(255,255,255,1); }
|
150
|
+
.text-yellow { color: rgba(255,217,15,1); }
|
150
151
|
|
151
152
|
/* #Scripts
|
152
153
|
================================================== */
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flashgrid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|