flashgrid 4.0.6 → 4.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c09a15267a1d531459c130db7bbce1b5d6f4002
4
- data.tar.gz: 2a373759f9ce591312120e6f3c00dd506148475e
3
+ metadata.gz: ddfacda45397aaff3258615a97dcf04ba439b067
4
+ data.tar.gz: 04a233584316abbcba5713ae5b9841b5e99653b0
5
5
  SHA512:
6
- metadata.gz: 550c4d08dc1157217d71597eb6bada868fb5216185f56cf8f9c3691fb099c5236eccf01ce7ca624d0ea32b48bb5d8526f31e57ca03058b345ea79d419746f426
7
- data.tar.gz: 91ffb633deca11a2370788b021c07e1798eefa0d476113bd21514cf96096124d6178b51e08a9804db7803944f6893cf43499067f83bf1af40857d97a45dfb606
6
+ metadata.gz: c9bf036064b6804d9829e2728568a39edaca21133d31c222b166b4d8c3167b099665a3b6851a62ab2545b516138878d628af15965646121d8223ef3665d8c6b1
7
+ data.tar.gz: da8e2590b52347cb6febebceefab37ac80a34d7e64f79b6a05e42a544789c0ed7045dfc9ac6dc8f79dd3546f5a29e6548a390729c235f811d7036412c29dc8ed
@@ -1,3 +1,3 @@
1
1
  module Flashgrid
2
- VERSION = "4.0.6"
2
+ VERSION = "4.0.7"
3
3
  end
@@ -79,7 +79,7 @@
79
79
  element.removeClass('fade')
80
80
  }
81
81
 
82
- if (element.parent('.dropdown-menu')) {
82
+ if (element.parent('.dropdown-menu').length) {
83
83
  element
84
84
  .closest('li.dropdown')
85
85
  .addClass('active')
@@ -42,6 +42,10 @@
42
42
  this.options = this.getOptions(options)
43
43
  this.$viewport = this.options.viewport && $(this.options.viewport.selector || this.options.viewport)
44
44
 
45
+ if (this.$element[0] instanceof document.constructor && !this.options.selector) {
46
+ throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!');
47
+ }
48
+
45
49
  var triggers = this.options.trigger.split(' ')
46
50
 
47
51
  for (var i = triggers.length; i--;) {
@@ -262,10 +266,10 @@
262
266
  this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)
263
267
  }
264
268
 
265
- Tooltip.prototype.replaceArrow = function (delta, dimension, isHorizontal) {
269
+ Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) {
266
270
  this.arrow()
267
- .css(isHorizontal ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
268
- .css(isHorizontal ? 'top' : 'left', '')
271
+ .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
272
+ .css(isVertical ? 'top' : 'left', '')
269
273
  }
270
274
 
271
275
  Tooltip.prototype.setContent = function () {
@@ -10,14 +10,14 @@
10
10
  border-style: solid;
11
11
  border-width: 0;
12
12
  border-bottom: 1px solid rgba(225,232,237,1);
13
- color: rgba(71,74,84,1);
13
+ color: rgba(43,50,53,1);
14
14
  font-size: 16px;
15
15
  line-height: 20px;
16
16
  margin: 0;
17
17
  padding: 10px 20px 9px 20px;
18
18
  }
19
19
  .alert h4 {
20
- color: rgba(71,74,84,1);
20
+ color: rgba(43,50,53,1);
21
21
  margin: 0;
22
22
  }
23
23
  .alert p {
@@ -38,7 +38,7 @@
38
38
  }
39
39
  .alert .close:hover,
40
40
  .alert .close:focus {
41
- color: rgba(71,74,84,1);
41
+ color: rgba(43,50,53,1);
42
42
  text-decoration: none;
43
43
  }
44
44
  .alert-green,
@@ -59,7 +59,7 @@
59
59
  }
60
60
  .alert-black,
61
61
  .alert-system {
62
- background: rgba(71,74,84,1);
62
+ background: rgba(43,50,53,1);
63
63
  border-color: rgba(31,34,44,1);
64
64
  color: rgba(255,255,255,1);
65
65
  }
@@ -20,4 +20,4 @@
20
20
  color: rgba(43,50,53,1);
21
21
  padding: 0 5px;
22
22
  }
23
- .breadcrumb > .active { color: rgba(71,74,84,1); }
23
+ .breadcrumb > .active { color: rgba(43,50,53,1); }
@@ -23,7 +23,7 @@
23
23
  -moz-box-sizing: border-box;
24
24
  box-sizing: border-box;
25
25
  box-shadow: inset 0 1px 0 rgba(255,255,255,1);
26
- color: rgba(71,74,84,1);
26
+ color: rgba(43,50,53,1);
27
27
  cursor: pointer;
28
28
  display: inline-block;
29
29
  font-size: 13px;
@@ -52,7 +52,7 @@
52
52
  }
53
53
  .btn[disabled],
54
54
  .btn[disabled]:hover {
55
- color: rgba(71,74,84,1);
55
+ color: rgba(43,50,53,1);
56
56
  cursor: not-allowed;
57
57
  }
58
58
  .btn:active,
@@ -213,7 +213,7 @@ input.btn-block {
213
213
  background: rgba(255,217,15,1);
214
214
  border-color: rgba(240,202,0,1);
215
215
  box-shadow: inset 0 1px 0 rgba(255,237,35,1);
216
- color: rgba(255,255,255,1) !important;
216
+ color: rgba(43,50,53,1) !important;
217
217
  }
218
218
  .btn-yellow:active,
219
219
  .btn-yellow.active,
@@ -221,9 +221,9 @@ input.btn-block {
221
221
  .btn-yellow:focus,
222
222
  .btn-yellow[disabled],
223
223
  .btn-yellow[disabled]:hover,
224
- .open > .dropdown-toggle.btn-blue {
224
+ .open > .dropdown-toggle.btn-yellow {
225
225
  background: rgba(255,227,25,1);
226
- color: rgba(255,255,255,1) !important;
226
+ color: rgba(43,50,53,1) !important;
227
227
  }
228
228
 
229
229
  /* #Button Links
@@ -242,7 +242,7 @@ input.btn-block {
242
242
  .btn-link[disabled],
243
243
  .btn-link[disabled]:hover {
244
244
  background: transparent;
245
- color: rgba(71,74,84,1) !important;
245
+ color: rgba(43,50,53,1) !important;
246
246
  }
247
247
 
248
248
  /* #Button Icons
@@ -292,7 +292,7 @@ input.btn-block {
292
292
  .btn-outline[disabled],
293
293
  .btn-outline[disabled]:hover {
294
294
  background: transparent;
295
- color: rgba(71,74,84,1) !important;
295
+ color: rgba(43,50,53,1) !important;
296
296
  }
297
297
  .btn-outline[disabled],
298
298
  .btn-outline[disabled]:hover {
@@ -51,7 +51,7 @@ pre {
51
51
  } /* Comment */
52
52
  .err {
53
53
  color: rgba(218,79,46,1);
54
- background: rgba(71,74,84,1);
54
+ background: rgba(43,50,53,1);
55
55
  } /* Error */
56
56
  .k { color: rgba(15,135,226,1); } /* Keyword */
57
57
  .cm {
@@ -76,10 +76,10 @@ pre {
76
76
  } /* Generic.Heading */
77
77
  .gi { color: rgba(112,169,13,1); } /* Generic.Inserted */
78
78
  .go { color: rgba(136,153,166,1); } /* Generic.Output */
79
- .gp { color: rgba(71,74,84,1); } /* Generic.Prompt */
79
+ .gp { color: rgba(43,50,53,1); } /* Generic.Prompt */
80
80
  .gs { font-weight: bold; } /* Generic.Strong */
81
81
  .gu {
82
- color: rgba(71,74,84,1);
82
+ color: rgba(43,50,53,1);
83
83
  font-weight: bold;
84
84
  } /* Generic.Subheading */
85
85
  .gt { color: rgba(218,79,46,1); } /* Generic.Traceback */
@@ -11,9 +11,10 @@
11
11
  .dropdown-menu {
12
12
  background-clip: padding-box;
13
13
  background: rgba(245,248,250,1);
14
+ border: 1px solid rgba(225,232,237,1);
14
15
  border-radius: 3px;
15
- box-shadow: 0 1px 3px rgba(0,0,0,0.3);
16
- color: rgba(71,74,84,1);
16
+ box-sizing: border-box;
17
+ color: rgba(43,50,53,1);
17
18
  display: none;
18
19
  float: left;
19
20
  list-style: none;
@@ -37,7 +38,7 @@
37
38
  }
38
39
  .dropdown-menu > li > a {
39
40
  clear: both;
40
- color: rgba(71,74,84,1);
41
+ color: rgba(43,50,53,1);
41
42
  cursor: pointer;
42
43
  display: block;
43
44
  font-size: 12px;
@@ -11,7 +11,7 @@ fieldset { border: 0; }
11
11
  legend {
12
12
  border: 0;
13
13
  border-bottom: 1px solid rgba(225,232,237,1);
14
- color: rgba(71,74,84,1);
14
+ color: rgba(43,50,53,1);
15
15
  display: block;
16
16
  font-size: 16px;
17
17
  font-weight: bold;
@@ -21,7 +21,7 @@ legend {
21
21
  width: 100%;
22
22
  }
23
23
  label {
24
- color: rgba(71,74,84,1);
24
+ color: rgba(43,50,53,1);
25
25
  display: block;
26
26
  font-size: 14px;
27
27
  font-weight: bold;
@@ -18,7 +18,7 @@ img {
18
18
  .img-placeholder {
19
19
  background: rgba(245,248,250,1);
20
20
  border-radius: 4px;
21
- color: rgba(71,74,84,1);
21
+ color: rgba(43,50,53,1);
22
22
  display: block;
23
23
  font-size: 13px;
24
24
  font-weight: bold;
@@ -30,7 +30,7 @@ img {
30
30
  width: 100%;
31
31
  }
32
32
  .img-placeholder i {
33
- color: rgba(71,74,84,1);
33
+ color: rgba(43,50,53,1);
34
34
  display: block;
35
35
  font-size: 72px;
36
36
  line-height: 72px;
@@ -8,7 +8,7 @@
8
8
  .label {
9
9
  background: rgba(240,243,245,1);
10
10
  border-radius: 2px;
11
- color: rgba(71,74,84,1);
11
+ color: rgba(43,50,53,1);
12
12
  display: inline-block;
13
13
  padding: 7px;
14
14
  font-size: 12px;
@@ -13,7 +13,7 @@ a {
13
13
 
14
14
  /* #Link Color
15
15
  ================================================== */
16
- .link-black { color: rgba(71,74,84,1); }
16
+ .link-black { color: rgba(43,50,53,1); }
17
17
  .link-blue { color: rgba(15,135,226,1); }
18
18
  .link-gray { color: rgba(136,153,166,1); }
19
19
  .link-green { color: rgba(112,169,13,1); }
@@ -22,7 +22,7 @@
22
22
  }
23
23
  .nav > li > a:hover,
24
24
  .nav > li > a:focus {
25
- color: rgba(71,74,84,1);
25
+ color: rgba(43,50,53,1);
26
26
  text-decoration: none;
27
27
  }
28
28
  .nav-header {
@@ -57,7 +57,7 @@
57
57
  .nav-list > .active > a:hover,
58
58
  .nav-list > .active > a:focus {
59
59
  background: rgba(245,248,250,1);
60
- color: rgba(71,74,84,1);
60
+ color: rgba(43,50,53,1);
61
61
  }
62
62
  .nav-list .divider {
63
63
  background: rgba(225,232,237,1);
@@ -123,7 +123,7 @@
123
123
  .nav-tabs.nav-stacked > li > a:hover,
124
124
  .nav-tabs.nav-stacked > li > a:focus {
125
125
  background: rgba(235,238,240,1);
126
- color: rgba(71,74,84,1);
126
+ color: rgba(43,50,53,1);
127
127
  z-index: 2;
128
128
  }
129
129
  .nav-tabs.nav-stacked > .active > a,
@@ -144,7 +144,7 @@
144
144
  .nav > li.dropdown.open.active > a:hover,
145
145
  .nav > li.dropdown.open.active > a:focus {
146
146
  background: rgba(235,238,240,1);
147
- color: rgba(71,74,84,1);
147
+ color: rgba(43,50,53,1);
148
148
  }
149
149
 
150
150
  /* #Tab
@@ -16,105 +16,9 @@
16
16
  border-radius: 0;
17
17
  border-width: 1px 0;
18
18
  }
19
- .panel > .list-group .list-group-item:first-child { border-top: 0; }
20
- .panel > .list-group .list-group-item:last-child { border-bottom: 0; }
21
- .panel > .list-group:first-child .list-group-item:first-child {
22
- border-top-right-radius: 2px;
23
- border-top-left-radius: 2px;
24
- }
25
- .panel > .list-group:last-child .list-group-item:last-child {
26
- border-bottom-right-radius: 2px;
27
- border-bottom-left-radius: 2px;
28
- }
29
- .panel-header + .list-group .list-group-item:first-child { border-top-width: 0; }
30
- .panel > .table,
31
- .panel > .table-responsive > .table { margin-bottom: 0; }
32
- .panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
33
- .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
34
- .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
35
- .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
36
- .panel > .table:first-child > thead:first-child > tr:first-child th:first-child,
37
- .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
38
- .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
39
- .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child { border-top-left-radius: 2px; }
40
- .panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
41
- .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
42
- .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,
43
- .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
44
- .panel > .table:first-child > thead:first-child > tr:first-child th:last-child,
45
- .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
46
- .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
47
- .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child { border-top-right-radius: 2px; }
48
- .panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
49
- .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
50
- .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
51
- .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
52
- .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
53
- .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
54
- .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
55
- .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child { border-bottom-left-radius: 2px; }
56
- .panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
57
- .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
58
- .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
59
- .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
60
- .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
61
- .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
62
- .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
63
- .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child { border-bottom-right-radius: 2px; }
64
- .panel > .panel-body + .table,
65
- .panel > .panel-body + .table-responsive { border-top: 1px solid rgba(225,232,237,1); }
66
- .panel > .table > tbody:first-child th,
67
- .panel > .table > tbody:first-child td { border-top: 0; }
68
- .panel > .table-bordered,
69
- .panel > .table-responsive > .table-bordered { border: 0; }
70
- .panel > .table-bordered > thead > tr > th:first-child,
71
- .panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
72
- .panel > .table-bordered > tbody > tr > th:first-child,
73
- .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
74
- .panel > .table-bordered > tfoot > tr > th:first-child,
75
- .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
76
- .panel > .table-bordered > thead > tr > td:first-child,
77
- .panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
78
- .panel > .table-bordered > tbody > tr > td:first-child,
79
- .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
80
- .panel > .table-bordered > tfoot > tr > td:first-child,
81
- .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { border-left: 0; }
82
- .panel > .table-bordered > thead > tr > th:last-child,
83
- .panel > .table-responsive > .table-bordered > thead > tr > th:last-child,
84
- .panel > .table-bordered > tbody > tr > th:last-child,
85
- .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
86
- .panel > .table-bordered > tfoot > tr > th:last-child,
87
- .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
88
- .panel > .table-bordered > thead > tr > td:last-child,
89
- .panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
90
- .panel > .table-bordered > tbody > tr > td:last-child,
91
- .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
92
- .panel > .table-bordered > tfoot > tr > td:last-child,
93
- .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { border-right: 0; }
94
- .panel > .table-bordered > thead > tr:first-child > th,
95
- .panel > .table-responsive > .table-bordered > thead > tr:first-child > th,
96
- .panel > .table-bordered > tbody > tr:first-child > th,
97
- .panel > .table-responsive > .table-bordered > tbody > tr:first-child > th,
98
- .panel > .table-bordered > tfoot > tr:first-child > th,
99
- .panel > .table-responsive > .table-bordered > tfoot > tr:first-child > th,
100
- .panel > .table-bordered > thead > tr:first-child > td,
101
- .panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
102
- .panel > .table-bordered > tbody > tr:first-child > td,
103
- .panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
104
- .panel > .table-bordered > tfoot > tr:first-child > td,
105
- .panel > .table-responsive > .table-bordered > tfoot > tr:first-child > td { border-top: 0; }
106
- .panel > .table-bordered > thead > tr:last-child > th,
107
- .panel > .table-responsive > .table-bordered > thead > tr:last-child > th,
108
- .panel > .table-bordered > tbody > tr:last-child > th,
109
- .panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
110
- .panel > .table-bordered > tfoot > tr:last-child > th,
111
- .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th,
112
- .panel > .table-bordered > thead > tr:last-child > td,
113
- .panel > .table-responsive > .table-bordered > thead > tr:last-child > td,
114
- .panel > .table-bordered > tbody > tr:last-child > td,
115
- .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
116
- .panel > .table-bordered > tfoot > tr:last-child > td,
117
- .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td { border-bottom: 0; }
19
+ .panel > .list-group .list-group-item:first-child { border-top: 0; }
20
+ .panel > .list-group .list-group-item:last-child { border-bottom: 0; }
21
+ .panel-header + .list-group .list-group-item:first-child { border-top-width: 0; }
118
22
  .panel > .table-responsive {
119
23
  border: 0;
120
24
  margin-bottom: 0;
@@ -143,7 +47,7 @@
143
47
  border-top: 1px solid rgba(225,232,237,1);
144
48
  border-bottom-right-radius: 3px;
145
49
  border-bottom-left-radius: 3px;
146
- padding: 12px 15px 8px 15px;
50
+ padding: 12px 15px 10px 15px;
147
51
  }
148
52
  .panel-group { margin-bottom: 20px; }
149
53
  .panel-group .panel {
@@ -8,7 +8,6 @@
8
8
  background-clip: padding-box;
9
9
  background: rgba(255,255,255,1);
10
10
  border: 1px solid rgba(225,232,237,1);
11
- box-shadow: 0 1px 3px rgba(0,0,0,0.1);
12
11
  display: none;
13
12
  float: none;
14
13
  font-style: normal;
@@ -28,15 +27,15 @@
28
27
  .popover.bottom { margin-top: 10px; }
29
28
  .popover.left { margin-left: -10px; }
30
29
  .popover-title {
31
- background: rgba(235,238,240,1);
30
+ background: rgba(245,248,250,1);
32
31
  border-bottom: 1px solid rgba(225,232,237,1);
33
- color: rgba(71,74,84,1);
32
+ color: rgba(43,50,53,1);
34
33
  font-size: 14px;
35
34
  font-weight: bold;
36
35
  letter-spacing: 0;
37
36
  line-height: 18px;
38
37
  margin: 0;
39
- padding: 10px 15px 8px 15px;
38
+ padding: 10px 15px;
40
39
  }
41
40
  .popover-title:empty { display: none; }
42
41
  .popover-content {
@@ -29,7 +29,7 @@ table {
29
29
  font-weight: bold;
30
30
  padding: 7px 10px 7px 10px;
31
31
  }
32
- .table th a { color: rgba(71,74,84,1); }
32
+ .table th a { color: rgba(43,50,53,1); }
33
33
  .table th a:hover { text-decoration: underline; }
34
34
  .table thead th { vertical-align: bottom; }
35
35
  .table th.tablespy-sort-asc:before {
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: 4.0.6
4
+ version: 4.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-23 00:00:00.000000000 Z
11
+ date: 2015-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler