patternfly-sass 2.6.0 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/assets/fonts/patternfly/PatternFlyIcons-webfont.eot +0 -0
  3. data/assets/fonts/patternfly/PatternFlyIcons-webfont.svg +3 -2
  4. data/assets/fonts/patternfly/PatternFlyIcons-webfont.ttf +0 -0
  5. data/assets/fonts/patternfly/PatternFlyIcons-webfont.woff +0 -0
  6. data/assets/stylesheets/_patternfly.scss +1 -1
  7. data/assets/stylesheets/patternfly/_blank-slate.scss +1 -1
  8. data/assets/stylesheets/patternfly/_bootstrap-combobox.scss +1 -1
  9. data/assets/stylesheets/patternfly/_bootstrap-datepicker.scss +12 -6
  10. data/assets/stylesheets/patternfly/_bootstrap-select.scss +9 -6
  11. data/assets/stylesheets/patternfly/_bootstrap-treeview.scss +1 -1
  12. data/assets/stylesheets/patternfly/_buttons.scss +5 -3
  13. data/assets/stylesheets/patternfly/_cards.scss +2 -1
  14. data/assets/stylesheets/patternfly/_charts.scss +2 -1
  15. data/assets/stylesheets/patternfly/_datatables.scss +2 -2
  16. data/assets/stylesheets/patternfly/_dropdowns.scss +5 -2
  17. data/assets/stylesheets/patternfly/_ext-bootstrap-select.scss +7 -7
  18. data/assets/stylesheets/patternfly/_fonts.scss +26 -26
  19. data/assets/stylesheets/patternfly/_footer.scss +1 -1
  20. data/assets/stylesheets/patternfly/_forms.scss +4 -2
  21. data/assets/stylesheets/patternfly/_icons.scss +10 -6
  22. data/assets/stylesheets/patternfly/_infotip.scss +1 -1
  23. data/assets/stylesheets/patternfly/_labels.scss +7 -2
  24. data/assets/stylesheets/patternfly/_layouts.scss +5 -3
  25. data/assets/stylesheets/patternfly/_list-group.scss +1 -1
  26. data/assets/stylesheets/patternfly/_login.scss +4 -3
  27. data/assets/stylesheets/patternfly/_modals.scss +1 -1
  28. data/assets/stylesheets/patternfly/_nav-vertical-alt.scss +4 -2
  29. data/assets/stylesheets/patternfly/_navbar-alt.scss +18 -7
  30. data/assets/stylesheets/patternfly/_navbar.scss +53 -22
  31. data/assets/stylesheets/patternfly/_popovers.scss +1 -1
  32. data/assets/stylesheets/patternfly/_progress-bars.scss +3 -2
  33. data/assets/stylesheets/patternfly/_search.scss +2 -2
  34. data/assets/stylesheets/patternfly/_sidebar.scss +5 -3
  35. data/assets/stylesheets/patternfly/_spinner.scss +7 -7
  36. data/assets/stylesheets/patternfly/_syntax-highlighting.scss +16 -5
  37. data/assets/stylesheets/patternfly/_tabs.scss +1 -1
  38. data/assets/stylesheets/patternfly/_toolbar.scss +3 -1
  39. data/assets/stylesheets/patternfly/_tooltip.scss +1 -1
  40. data/assets/stylesheets/patternfly/_type.scss +7 -2
  41. data/assets/stylesheets/patternfly/_variables.scss +1 -0
  42. data/bower.json +1 -1
  43. data/lib/patternfly-sass/engine.rb +1 -1
  44. data/lib/patternfly-sass/version.rb +2 -2
  45. data/package.json +1 -1
  46. data/spec/html/accordions.html +8 -5
  47. data/spec/html/alerts.html +8 -5
  48. data/spec/html/badges.html +8 -5
  49. data/spec/html/basic.html +8 -5
  50. data/spec/html/blank-slate.html +8 -5
  51. data/spec/html/bootstrap-combobox.html +8 -5
  52. data/spec/html/bootstrap-datepicker.html +8 -5
  53. data/spec/html/bootstrap-select.html +8 -5
  54. data/spec/html/bootstrap-switch.html +8 -5
  55. data/spec/html/bootstrap-touchspin.html +8 -5
  56. data/spec/html/bootstrap-treeview-2.html +8 -5
  57. data/spec/html/bootstrap-treeview.html +8 -5
  58. data/spec/html/breadcrumbs.html +8 -5
  59. data/spec/html/buttons.html +8 -5
  60. data/spec/html/cards.html +10 -7
  61. data/spec/html/charts.html +8 -5
  62. data/spec/html/code.html +8 -5
  63. data/spec/html/dashboard.html +8 -5
  64. data/spec/html/datatables-columns.html +8 -5
  65. data/spec/html/datatables.html +8 -5
  66. data/spec/html/dist/css/patternfly-additions.css +21 -18
  67. data/spec/html/dist/css/patternfly-additions.css.map +1 -1
  68. data/spec/html/dist/css/patternfly-additions.min.css +1 -1
  69. data/spec/html/dist/css/patternfly-additions.min.css.map +1 -1
  70. data/spec/html/dist/css/patternfly.css.map +1 -1
  71. data/spec/html/dist/css/patternfly.min.css.map +1 -1
  72. data/spec/html/dropdowns.html +8 -5
  73. data/spec/html/form.html +8 -5
  74. data/spec/html/forms.html +8 -5
  75. data/spec/html/icons.html +12 -5
  76. data/spec/html/index.html +8 -5
  77. data/spec/html/infotip.html +8 -5
  78. data/spec/html/labels.html +8 -5
  79. data/spec/html/layout-alt-fixed-inner-scroll.html +9 -6
  80. data/spec/html/layout-alt-fixed-with-footer-inner-scroll.html +9 -6
  81. data/spec/html/layout-alt-fixed-with-footer.html +9 -6
  82. data/spec/html/layout-alt-fixed.html +9 -6
  83. data/spec/html/list-group.html +8 -5
  84. data/spec/html/login.html +8 -5
  85. data/spec/html/modals.html +8 -5
  86. data/spec/html/navbar.html +8 -5
  87. data/spec/html/pagination.html +8 -5
  88. data/spec/html/panels.html +8 -5
  89. data/spec/html/popovers.html +8 -5
  90. data/spec/html/progress-bars.html +8 -5
  91. data/spec/html/search.html +8 -5
  92. data/spec/html/spinner.html +8 -5
  93. data/spec/html/tab.html +8 -5
  94. data/spec/html/tables.html +8 -5
  95. data/spec/html/tabs.html +8 -5
  96. data/spec/html/toolbar.html +8 -5
  97. data/spec/html/tooltip.html +8 -5
  98. data/spec/html/typography-2.html +8 -5
  99. data/spec/html/typography.html +8 -5
  100. data/tasks/converter.rb +11 -8
  101. metadata +3 -3
@@ -15,4 +15,4 @@
15
15
 
16
16
  .list-group-item-heading {
17
17
  font-weight: 700;
18
- }
18
+ }
@@ -23,7 +23,7 @@
23
23
  margin: 20px auto 70px;
24
24
  position: relative;
25
25
  text-align: center;
26
- @media (min-width: $screen-sm-min) {
26
+ @media (min-width: $screen-sm-min) {
27
27
  float: right;
28
28
  margin-right: 64px;
29
29
  margin-top: 50px;
@@ -44,7 +44,7 @@
44
44
  padding-bottom: 40px;
45
45
  padding-top: 20px;
46
46
  width: auto;
47
- @media (min-width: $screen-sm-min) {
47
+ @media (min-width: $screen-sm-min) {
48
48
  bottom: 13%;
49
49
  padding-left: 80px;
50
50
  position: absolute;
@@ -80,7 +80,8 @@
80
80
  text-align: left;
81
81
  }
82
82
  .form-group:last-child {
83
- &, .help-block:last-child {
83
+ &,
84
+ .help-block:last-child {
84
85
  margin-bottom: 0;
85
86
  }
86
87
  }
@@ -35,4 +35,4 @@
35
35
  margin-left: 5px;
36
36
  }
37
37
  }
38
- }
38
+ }
@@ -57,7 +57,7 @@
57
57
 
58
58
  &.hidden {
59
59
  display: none;
60
-
60
+
61
61
  &.show-mobile-nav {
62
62
  box-shadow: 0 0 3px rgba(0,0,0,0.15);
63
63
  display: block !important;
@@ -135,7 +135,9 @@
135
135
  }
136
136
  }
137
137
 
138
- .fa, .glyphicon, .pficon {
138
+ .fa,
139
+ .glyphicon,
140
+ .pficon {
139
141
  float: left;
140
142
  font-size: 18px;
141
143
  line-height: 30px;
@@ -36,10 +36,14 @@
36
36
  padding: $navbar-pf-alt-nav-item-iconic-padding;
37
37
  position: relative;
38
38
 
39
- &:hover, &:focus {
39
+ &:hover,
40
+ &:focus {
40
41
  background-color: transparent;
41
42
 
42
- .caret, .fa, .glyphicon, .pf-icon {
43
+ .caret,
44
+ .fa,
45
+ .glyphicon,
46
+ .pf-icon {
43
47
  color: $navbar-pf-alt-active-color;
44
48
  }
45
49
  }
@@ -56,7 +60,9 @@
56
60
  padding: 2px 4px;
57
61
  }
58
62
 
59
- .caret, .fa, .pf-icon {
63
+ .caret,
64
+ .fa,
65
+ .pf-icon {
60
66
  color: $navbar-pf-alt-color;
61
67
  font-size: $font-size-base + 4;
62
68
  }
@@ -69,10 +75,14 @@
69
75
  }
70
76
 
71
77
  .open > .nav-item-iconic {
72
- &, &:hover, &:focus {
78
+ &,
79
+ &:hover,
80
+ &:focus {
73
81
  background: transparent;
74
82
 
75
- .caret, .fa, .pf-icon {
83
+ .caret,
84
+ .fa,
85
+ .pf-icon {
76
86
  color: $navbar-pf-alt-active-color;
77
87
  }
78
88
  }
@@ -111,7 +121,8 @@
111
121
  float: left;
112
122
  margin: $navbar-pf-alt-navbar-toggle-margin;
113
123
 
114
- &:hover, &:focus {
124
+ &:hover,
125
+ &:focus {
115
126
  .icon-bar {
116
127
  background: $navbar-pf-alt-navbar-toggle-icon-bar-hover-bg;
117
128
  }
@@ -125,4 +136,4 @@
125
136
  background: $navbar-pf-alt-color;
126
137
  }
127
138
  }
128
- }
139
+ }
@@ -29,7 +29,9 @@
29
29
  }
30
30
  .navbar-nav {
31
31
  margin: 0;
32
- > .active > a, > .active > a:hover, > .active > a:focus {
32
+ > .active > a,
33
+ > .active > a:hover,
34
+ > .active > a:focus {
33
35
  background-color: $navbar-pf-navbar-nav-active-bg-color;
34
36
  color: $navbar-pf-active-color;
35
37
  }
@@ -38,26 +40,34 @@
38
40
  line-height: 1;
39
41
  padding: 10px 20px;
40
42
  text-shadow: none;
41
- &:hover, &:focus {
43
+ &:hover,
44
+ &:focus {
42
45
  color: $navbar-pf-active-color;
43
46
  }
44
47
  }
45
48
  > .open {
46
49
  > a {
47
- &, &:hover, &:focus {
50
+ &,
51
+ &:hover,
52
+ &:focus {
48
53
  background-color: $navbar-pf-navbar-nav-active-bg-color;
49
54
  color: $navbar-pf-active-color;
50
55
  }
51
56
  }
52
57
  }
53
58
  @media (max-width: $grid-float-breakpoint-max) {
54
- .active .navbar-persistent, .active .dropdown-menu, .open .dropdown-menu {
59
+ .active .dropdown-menu,
60
+ .active .navbar-persistent,
61
+ .open .dropdown-menu {
55
62
  background-color: $navbar-pf-navbar-nav-active-active-bg-color !important;
56
63
  margin-left: 0;
57
64
  padding-bottom: 0;
58
65
  padding-top: 0;
59
- > .active > a, .dropdown-submenu.open > a {
60
- &, &:hover, &:focus {
66
+ > .active > a,
67
+ .dropdown-submenu.open > a {
68
+ &,
69
+ &:hover,
70
+ &:focus {
61
71
  background-color: $navbar-pf-navbar-nav-active-active-open-bg-color !important;
62
72
  color: $navbar-pf-active-color;
63
73
  }
@@ -139,7 +149,8 @@
139
149
  .open > .dropdown-menu {
140
150
  background-color: #fff !important;
141
151
  > .active > a {
142
- &, &:active {
152
+ &,
153
+ &:active {
143
154
  background-color: $dropdown-link-hover-bg !important;
144
155
  border-color: $dropdown-link-hover-border-color !important;
145
156
  color: $gray-dark !important;
@@ -152,13 +163,14 @@
152
163
  color: $gray-light !important;
153
164
  }
154
165
  > .selected > a {
155
- &, &:active {
166
+ &,
167
+ &:active {
156
168
  background-color: $dropdown-link-active-bg !important;
157
169
  border-color: $dropdown-link-active-border-color !important;
158
170
  color: #fff !important;
159
171
  small {
160
172
  color: #70c8e7 !important;
161
- color:rgba(225, 255, 255, 0.5) !important;
173
+ color:rgba(225,255,255,0.5) !important;
162
174
  }
163
175
  }
164
176
  }
@@ -173,9 +185,10 @@
173
185
  & a {
174
186
  &:active small {
175
187
  color: #70c8e7 !important;
176
- color:rgba(225, 255, 255, 0.5) !important;
188
+ color:rgba(225,255,255,0.5) !important;
177
189
  }
178
- &:hover, &:focus {
190
+ &:hover,
191
+ &:focus {
179
192
  small {
180
193
  color: $gray-light;
181
194
  }
@@ -201,7 +214,8 @@
201
214
  .context {
202
215
  border-bottom: 1px solid $navbar-pf-navbar-header-border-color;
203
216
  &.context-bootstrap-select .bootstrap-select.btn-group {
204
- &, &[class*="span"] {
217
+ &,
218
+ &[class*="span"] {
205
219
  margin: 8px 20px 9px;
206
220
  width: auto; // known bug: IE8 will make it as wide as the longest string
207
221
  }
@@ -226,7 +240,8 @@
226
240
  border: 0;
227
241
  margin: 0;
228
242
  padding: 10px 20px;
229
- &:hover, &:focus {
243
+ &:hover,
244
+ &:focus {
230
245
  background-color: transparent;
231
246
  outline: none;
232
247
  .icon-bar {
@@ -301,13 +316,16 @@
301
316
  }
302
317
  > li {
303
318
  &.active {
304
- &, &:hover {
319
+ &,
320
+ &:hover {
305
321
  @include tab-indicator($background: $nav-tabs-active-link-hover-color, $left: 20px, $right: 20px);
306
322
  }
307
- > a, > a:hover, &:hover > a {
323
+ > a,
324
+ > a:hover,
325
+ &:hover > a {
308
326
  color: $link-color !important;
309
327
  }
310
- .active > a {
328
+ .active > a {
311
329
  color: $navbar-pf-active-color;
312
330
  }
313
331
  }
@@ -338,7 +356,8 @@
338
356
  }
339
357
  }
340
358
  }
341
- &:hover, &.open {
359
+ &:hover,
360
+ &.open {
342
361
  @include tab-indicator($left: 20px, $right: 20px);
343
362
  > a {
344
363
  color: $gray-darker;
@@ -384,7 +403,12 @@
384
403
  @include gradient-vertical($navbar-pf-navbar-primary-hover-bg-color-start, $navbar-pf-navbar-primary-hover-bg-color-stop);
385
404
  }
386
405
  }
387
- > .active > a, > .active > a:hover, > .active > a:focus, > .open > a, > .open > a:hover, > .open > a:focus {
406
+ > .active > a,
407
+ > .active > a:hover,
408
+ > .active > a:focus,
409
+ > .open > a,
410
+ > .open > a:hover,
411
+ > .open > a:focus {
388
412
  background-color: $navbar-pf-navbar-primary-active-bg-color-stop;
389
413
  border-bottom-color: $navbar-pf-navbar-primary-active-bg-color-stop;
390
414
  border-top-color: $navbar-pf-navbar-primary-active-border-color;
@@ -400,7 +424,8 @@
400
424
  &.dropdown {
401
425
  border-bottom: 0;
402
426
  }
403
- > a, &.context-bootstrap-select {
427
+ > a,
428
+ &.context-bootstrap-select {
404
429
  background-color: $navbar-pf-navbar-primary-context-bg-color-stop;
405
430
  border-bottom-color: $navbar-pf-navbar-primary-context-border-color;
406
431
  border-right: 1px solid $navbar-pf-navbar-primary-context-border-color;
@@ -430,7 +455,12 @@
430
455
  position: absolute;
431
456
  right: 0;
432
457
  top: 0;
433
- > .active > a, > .active > a:hover, > .active > a:focus, > .open > a, > .open > a:hover, > .open > a:focus {
458
+ > .active > a,
459
+ > .active > a:hover,
460
+ > .active > a:focus,
461
+ > .open > a,
462
+ > .open > a:hover,
463
+ > .open > a:focus {
434
464
  background: $navbar-pf-navbar-utility-open-bg-color;
435
465
  color: $navbar-pf-navbar-utility-color;
436
466
  }
@@ -467,7 +497,8 @@
467
497
  .dropdown-menu {
468
498
  border-top-width: 0 !important;
469
499
  }
470
- &.bootstrap-select .dropdown-menu, .dropdown-submenu > .dropdown-menu {
500
+ &.bootstrap-select .dropdown-menu,
501
+ .dropdown-submenu > .dropdown-menu {
471
502
  border-top-width: 1px !important;
472
503
  }
473
504
  }
@@ -487,4 +518,4 @@
487
518
  padding-left: 0;
488
519
  }
489
520
  }
490
- }
521
+ }
@@ -29,4 +29,4 @@
29
29
  &.closable {
30
30
  padding-right: 30px;
31
31
  }
32
- }
32
+ }
@@ -15,7 +15,7 @@
15
15
  }
16
16
 
17
17
  .progress {
18
- @include box-shadow(inset 0 0 1px rgba(0, 0, 0, 0.25));
18
+ @include box-shadow(inset 0 0 1px rgba(0,0,0,0.25));
19
19
  &.progress-label-left,
20
20
  &.progress-label-top-right {
21
21
  overflow: visible;
@@ -110,7 +110,8 @@
110
110
  line-height: 1;
111
111
  margin-right: 5px;
112
112
  }
113
- .fa, .pficon {
113
+ .fa,
114
+ .pficon {
114
115
  font-size: 14px;
115
116
  margin-right: 3px;
116
117
  }
@@ -28,7 +28,7 @@
28
28
  .has-clear {
29
29
  .clear {
30
30
  background: transparent; // IE8
31
- background: rgba(255,255,255,0); // to make the whole button clickable in IE9+
31
+ background: rgba(255,255,255,0); // to make the whole button clickable in IE9+
32
32
  border: 0;
33
33
  height: $input-height-base - 1;
34
34
  line-height: 1;
@@ -62,4 +62,4 @@
62
62
  position: relative;
63
63
  }
64
64
  }
65
- }
65
+ }
@@ -134,7 +134,8 @@
134
134
  }
135
135
  }
136
136
  .sidebar-pf {
137
- .panel-group .panel-default, .treeview {
137
+ .panel-group .panel-default,
138
+ .treeview {
138
139
  border-left: 0;
139
140
  border-right: 0;
140
141
  margin-left: -$grid-gutter-width/2;
@@ -167,8 +168,9 @@
167
168
  &.sidebar-pf-right {
168
169
  border-left: 1px solid $sidebar-pf-border-color;
169
170
  }
170
- > .nav-category, > .nav-stacked {
171
+ > .nav-category,
172
+ > .nav-stacked {
171
173
  margin-top: 5px;
172
174
  }
173
175
  }
174
- }
176
+ }
@@ -55,25 +55,25 @@
55
55
  background: url("#{$img-path}/#{$img-spinner}") no-repeat;
56
56
  border: 0;
57
57
  &.spinner-inverse {
58
- background-image: url("#{$img-path}/#{$img-spinner-inverse}");
58
+ background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$img-path}/#{$img-spinner-inverse}"), "#{$img-path}/#{$img-spinner-inverse}"));
59
59
  }
60
60
  &.spinner-inverse-lg {
61
- background-image: url("#{$img-path}/#{$img-spinner-inverse-lg}");
61
+ background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$img-path}/#{$img-spinner-inverse-lg}"), "#{$img-path}/#{$img-spinner-inverse-lg}"));
62
62
  }
63
63
  &.spinner-inverse-sm {
64
- background-image: url("#{$img-path}/#{$img-spinner-inverse-sm}");
64
+ background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$img-path}/#{$img-spinner-inverse-sm}"), "#{$img-path}/#{$img-spinner-inverse-sm}"));
65
65
  }
66
66
  &.spinner-inverse-xs {
67
- background-image: url("#{$img-path}/#{$img-spinner-inverse-xs}");
67
+ background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$img-path}/#{$img-spinner-inverse-xs}"), "#{$img-path}/#{$img-spinner-inverse-xs}"));
68
68
  }
69
69
  &.spinner-lg {
70
- background-image: url("#{$img-path}/#{$img-spinner-lg}");
70
+ background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$img-path}/#{$img-spinner-lg}"), "#{$img-path}/#{$img-spinner-lg}"));
71
71
  }
72
72
  &.spinner-sm {
73
- background-image: url("#{$img-path}/#{$img-spinner-sm}");
73
+ background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$img-path}/#{$img-spinner-sm}"), "#{$img-path}/#{$img-spinner-sm}"));
74
74
  }
75
75
  &.spinner-xs {
76
- background-image: url("#{$img-path}/#{$img-spinner-xs}");
76
+ background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$img-path}/#{$img-spinner-xs}"), "#{$img-path}/#{$img-spinner-xs}"));
77
77
  }
78
78
  }
79
79
 
@@ -3,23 +3,34 @@
3
3
  // --------------------------------------------------
4
4
 
5
5
  .prettyprint {
6
- .atn, .com, .fun, .var {
6
+ .atn,
7
+ .com,
8
+ .fun,
9
+ .var {
7
10
  color: $syntax-3;
8
11
  }
9
12
 
10
- .atv, .str {
13
+ .atv,
14
+ .str {
11
15
  color: $syntax-1;
12
16
  }
13
17
 
14
- .clo, .dec, .kwd, .opn, .pln, .pun {
18
+ .clo,
19
+ .dec,
20
+ .kwd,
21
+ .opn,
22
+ .pln,
23
+ .pun {
15
24
  color: $syntax-2;
16
25
  }
17
26
 
18
- .lit, .tag, .typ {
27
+ .lit,
28
+ .tag,
29
+ .typ {
19
30
  color: $syntax-4;
20
31
  }
21
32
 
22
33
  ol.linenums {
23
34
  margin-bottom: 0;
24
35
  }
25
- }
36
+ }