bootstrap-generators 3.3.1 → 3.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -3
  3. data/Rakefile +3 -3
  4. data/lib/bootstrap-generators.rb +1 -1
  5. data/lib/bootstrap/generators/version.rb +1 -1
  6. data/lib/generators/bootstrap/install/install_generator.rb +1 -1
  7. data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.less +8 -3
  8. data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.scss +11 -9
  9. data/lib/generators/bootstrap/install/templates/form_builders/form_builder/_form.html.erb +4 -4
  10. data/lib/generators/bootstrap/install/templates/form_builders/form_builder/_form.html.haml +8 -8
  11. data/lib/generators/bootstrap/install/templates/form_builders/form_builder/_form.html.slim +4 -4
  12. data/lib/generators/bootstrap/install/templates/layouts/starter.html.erb +2 -2
  13. data/lib/generators/bootstrap/install/templates/layouts/starter.html.haml +15 -15
  14. data/lib/generators/bootstrap/install/templates/layouts/starter.html.slim +2 -2
  15. data/lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/edit.html.erb +2 -2
  16. data/lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/index.html.erb +1 -1
  17. data/lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/new.html.erb +1 -1
  18. data/lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/show.html.erb +2 -2
  19. data/lib/generators/bootstrap/install/templates/lib/templates/haml/scaffold/edit.html.haml +2 -2
  20. data/lib/generators/bootstrap/install/templates/lib/templates/haml/scaffold/index.html.haml +2 -2
  21. data/lib/generators/bootstrap/install/templates/lib/templates/haml/scaffold/new.html.haml +1 -1
  22. data/lib/generators/bootstrap/install/templates/lib/templates/haml/scaffold/show.html.haml +2 -2
  23. data/lib/generators/bootstrap/install/templates/lib/templates/slim/scaffold/edit.html.slim +2 -2
  24. data/lib/generators/bootstrap/install/templates/lib/templates/slim/scaffold/index.html.slim +1 -1
  25. data/lib/generators/bootstrap/install/templates/lib/templates/slim/scaffold/new.html.slim +1 -1
  26. data/lib/generators/bootstrap/install/templates/lib/templates/slim/scaffold/show.html.slim +2 -2
  27. data/readme-template.md.erb +9 -1
  28. data/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
  29. data/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +273 -214
  30. data/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  31. data/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
  32. data/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
  33. data/vendor/assets/javascripts/bootstrap/affix.js +7 -7
  34. data/vendor/assets/javascripts/bootstrap/alert.js +3 -3
  35. data/vendor/assets/javascripts/bootstrap/button.js +3 -3
  36. data/vendor/assets/javascripts/bootstrap/carousel.js +11 -14
  37. data/vendor/assets/javascripts/bootstrap/collapse.js +9 -9
  38. data/vendor/assets/javascripts/bootstrap/dropdown.js +4 -4
  39. data/vendor/assets/javascripts/bootstrap/modal.js +42 -27
  40. data/vendor/assets/javascripts/bootstrap/popover.js +9 -20
  41. data/vendor/assets/javascripts/bootstrap/scrollspy.js +18 -21
  42. data/vendor/assets/javascripts/bootstrap/tab.js +4 -4
  43. data/vendor/assets/javascripts/bootstrap/tooltip.js +26 -28
  44. data/vendor/assets/javascripts/bootstrap/transition.js +2 -2
  45. data/vendor/assets/stylesheets/bootstrap.css.erb +289 -37
  46. data/vendor/assets/stylesheets/bootstrap.css.map +1 -1
  47. data/vendor/twitter/bootstrap/less/alerts.less +5 -0
  48. data/vendor/twitter/bootstrap/less/badges.less +6 -1
  49. data/vendor/twitter/bootstrap/less/button-groups.less +2 -2
  50. data/vendor/twitter/bootstrap/less/buttons.less +1 -1
  51. data/vendor/twitter/bootstrap/less/carousel.less +8 -6
  52. data/vendor/twitter/bootstrap/less/close.less +1 -0
  53. data/vendor/twitter/bootstrap/less/component-animations.less +1 -2
  54. data/vendor/twitter/bootstrap/less/dropdowns.less +3 -2
  55. data/vendor/twitter/bootstrap/less/forms.less +51 -23
  56. data/vendor/twitter/bootstrap/less/glyphicons.less +71 -0
  57. data/vendor/twitter/bootstrap/less/jumbotron.less +1 -0
  58. data/vendor/twitter/bootstrap/less/media.less +14 -0
  59. data/vendor/twitter/bootstrap/less/mixins/vendor-prefixes.less +1 -1
  60. data/vendor/twitter/bootstrap/less/modals.less +3 -1
  61. data/vendor/twitter/bootstrap/less/navbar.less +1 -1
  62. data/vendor/twitter/bootstrap/less/navs.less +0 -2
  63. data/vendor/twitter/bootstrap/less/panels.less +5 -1
  64. data/vendor/twitter/bootstrap/less/popovers.less +1 -1
  65. data/vendor/twitter/bootstrap/less/responsive-embed.less +8 -8
  66. data/vendor/twitter/bootstrap/less/scaffolding.less +12 -0
  67. data/vendor/twitter/bootstrap/less/tables.less +3 -3
  68. data/vendor/twitter/bootstrap/less/theme.less +3 -2
  69. data/vendor/twitter/bootstrap/less/tooltip.less +1 -2
  70. data/vendor/twitter/bootstrap/less/type.less +1 -1
  71. data/vendor/twitter/bootstrap/less/utilities.less +0 -1
  72. data/vendor/twitter/bootstrap/less/variables.less +8 -3
  73. data/vendor/twitter/bootstrap/sass/_bootstrap-compass.scss +2 -0
  74. data/vendor/twitter/bootstrap/sass/_bootstrap-mincer.scss +2 -0
  75. data/vendor/twitter/bootstrap/sass/_bootstrap-sprockets.scss +2 -0
  76. data/vendor/twitter/bootstrap/sass/bootstrap/_alerts.scss +5 -0
  77. data/vendor/twitter/bootstrap/sass/bootstrap/_badges.scss +6 -1
  78. data/vendor/twitter/bootstrap/sass/bootstrap/_button-groups.scss +2 -2
  79. data/vendor/twitter/bootstrap/sass/bootstrap/_buttons.scss +1 -1
  80. data/vendor/twitter/bootstrap/sass/bootstrap/_carousel.scss +8 -6
  81. data/vendor/twitter/bootstrap/sass/bootstrap/_close.scss +1 -0
  82. data/vendor/twitter/bootstrap/sass/bootstrap/_component-animations.scss +1 -2
  83. data/vendor/twitter/bootstrap/sass/bootstrap/_dropdowns.scss +3 -2
  84. data/vendor/twitter/bootstrap/sass/bootstrap/_forms.scss +51 -21
  85. data/vendor/twitter/bootstrap/sass/bootstrap/_glyphicons.scss +71 -0
  86. data/vendor/twitter/bootstrap/sass/bootstrap/_jumbotron.scss +1 -0
  87. data/vendor/twitter/bootstrap/sass/bootstrap/_media.scss +14 -0
  88. data/vendor/twitter/bootstrap/sass/bootstrap/_modals.scss +3 -1
  89. data/vendor/twitter/bootstrap/sass/bootstrap/_navbar.scss +1 -1
  90. data/vendor/twitter/bootstrap/sass/bootstrap/_navs.scss +0 -2
  91. data/vendor/twitter/bootstrap/sass/bootstrap/_panels.scss +5 -1
  92. data/vendor/twitter/bootstrap/sass/bootstrap/_popovers.scss +1 -1
  93. data/vendor/twitter/bootstrap/sass/bootstrap/_responsive-embed.scss +8 -8
  94. data/vendor/twitter/bootstrap/sass/bootstrap/_responsive-utilities.scss +4 -1
  95. data/vendor/twitter/bootstrap/sass/bootstrap/_scaffolding.scss +12 -0
  96. data/vendor/twitter/bootstrap/sass/bootstrap/_tables.scss +3 -3
  97. data/vendor/twitter/bootstrap/sass/bootstrap/_theme.scss +3 -2
  98. data/vendor/twitter/bootstrap/sass/bootstrap/_tooltip.scss +1 -2
  99. data/vendor/twitter/bootstrap/sass/bootstrap/_type.scss +1 -1
  100. data/vendor/twitter/bootstrap/sass/bootstrap/_utilities.scss +0 -1
  101. data/vendor/twitter/bootstrap/sass/bootstrap/_variables.scss +11 -9
  102. data/vendor/twitter/bootstrap/sass/bootstrap/mixins/_hide-text.scss +1 -1
  103. data/vendor/twitter/bootstrap/sass/bootstrap/mixins/_opacity.scss +1 -1
  104. data/vendor/twitter/bootstrap/sass/bootstrap/mixins/_vendor-prefixes.scss +1 -1
  105. metadata +3 -2
@@ -1,8 +1,8 @@
1
1
  /* ========================================================================
2
- * Bootstrap: tab.js v3.3.1
2
+ * Bootstrap: tab.js v3.3.4
3
3
  * http://getbootstrap.com/javascript/#tabs
4
4
  * ========================================================================
5
- * Copyright 2011-2014 Twitter, Inc.
5
+ * Copyright 2011-2015 Twitter, Inc.
6
6
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
7
7
  * ======================================================================== */
8
8
 
@@ -17,7 +17,7 @@
17
17
  this.element = $(element)
18
18
  }
19
19
 
20
- Tab.VERSION = '3.3.1'
20
+ Tab.VERSION = '3.3.4'
21
21
 
22
22
  Tab.TRANSITION_DURATION = 150
23
23
 
@@ -88,7 +88,7 @@
88
88
  element.removeClass('fade')
89
89
  }
90
90
 
91
- if (element.parent('.dropdown-menu')) {
91
+ if (element.parent('.dropdown-menu').length) {
92
92
  element
93
93
  .closest('li.dropdown')
94
94
  .addClass('active')
@@ -1,9 +1,9 @@
1
1
  /* ========================================================================
2
- * Bootstrap: tooltip.js v3.3.1
2
+ * Bootstrap: tooltip.js v3.3.4
3
3
  * http://getbootstrap.com/javascript/#tooltip
4
4
  * Inspired by the original jQuery.tipsy by Jason Frame
5
5
  * ========================================================================
6
- * Copyright 2011-2014 Twitter, Inc.
6
+ * Copyright 2011-2015 Twitter, Inc.
7
7
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
8
8
  * ======================================================================== */
9
9
 
@@ -15,17 +15,17 @@
15
15
  // ===============================
16
16
 
17
17
  var Tooltip = function (element, options) {
18
- this.type =
19
- this.options =
20
- this.enabled =
21
- this.timeout =
22
- this.hoverState =
18
+ this.type = null
19
+ this.options = null
20
+ this.enabled = null
21
+ this.timeout = null
22
+ this.hoverState = null
23
23
  this.$element = null
24
24
 
25
25
  this.init('tooltip', element, options)
26
26
  }
27
27
 
28
- Tooltip.VERSION = '3.3.1'
28
+ Tooltip.VERSION = '3.3.4'
29
29
 
30
30
  Tooltip.TRANSITION_DURATION = 150
31
31
 
@@ -52,6 +52,10 @@
52
52
  this.options = this.getOptions(options)
53
53
  this.$viewport = this.options.viewport && $(this.options.viewport.selector || this.options.viewport)
54
54
 
55
+ if (this.$element[0] instanceof document.constructor && !this.options.selector) {
56
+ throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!')
57
+ }
58
+
55
59
  var triggers = this.options.trigger.split(' ')
56
60
 
57
61
  for (var i = triggers.length; i--;) {
@@ -272,10 +276,10 @@
272
276
  this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)
273
277
  }
274
278
 
275
- Tooltip.prototype.replaceArrow = function (delta, dimension, isHorizontal) {
279
+ Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) {
276
280
  this.arrow()
277
- .css(isHorizontal ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
278
- .css(isHorizontal ? 'top' : 'left', '')
281
+ .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
282
+ .css(isVertical ? 'top' : 'left', '')
279
283
  }
280
284
 
281
285
  Tooltip.prototype.setContent = function () {
@@ -288,7 +292,7 @@
288
292
 
289
293
  Tooltip.prototype.hide = function (callback) {
290
294
  var that = this
291
- var $tip = this.tip()
295
+ var $tip = $(this.$tip)
292
296
  var e = $.Event('hide.bs.' + this.type)
293
297
 
294
298
  function complete() {
@@ -305,7 +309,7 @@
305
309
 
306
310
  $tip.removeClass('in')
307
311
 
308
- $.support.transition && this.$tip.hasClass('fade') ?
312
+ $.support.transition && $tip.hasClass('fade') ?
309
313
  $tip
310
314
  .one('bsTransitionEnd', complete)
311
315
  .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :
@@ -346,10 +350,10 @@
346
350
  }
347
351
 
348
352
  Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
349
- return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
350
- placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
353
+ return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
354
+ placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
351
355
  placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
352
- /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
356
+ /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
353
357
 
354
358
  }
355
359
 
@@ -445,18 +449,12 @@
445
449
 
446
450
  function Plugin(option) {
447
451
  return this.each(function () {
448
- var $this = $(this)
449
- var data = $this.data('bs.tooltip')
450
- var options = typeof option == 'object' && option
451
- var selector = options && options.selector
452
-
453
- if (!data && option == 'destroy') return
454
- if (selector) {
455
- if (!data) $this.data('bs.tooltip', (data = {}))
456
- if (!data[selector]) data[selector] = new Tooltip(this, options)
457
- } else {
458
- if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
459
- }
452
+ var $this = $(this)
453
+ var data = $this.data('bs.tooltip')
454
+ var options = typeof option == 'object' && option
455
+
456
+ if (!data && /destroy|hide/.test(option)) return
457
+ if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
460
458
  if (typeof option == 'string') data[option]()
461
459
  })
462
460
  }
@@ -1,8 +1,8 @@
1
1
  /* ========================================================================
2
- * Bootstrap: transition.js v3.3.1
2
+ * Bootstrap: transition.js v3.3.4
3
3
  * http://getbootstrap.com/javascript/#transitions
4
4
  * ========================================================================
5
- * Copyright 2011-2014 Twitter, Inc.
5
+ * Copyright 2011-2015 Twitter, Inc.
6
6
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
7
7
  * ======================================================================== */
8
8
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap v3.3.1 (http://getbootstrap.com)
3
- * Copyright 2011-2014 Twitter, Inc.
2
+ * Bootstrap v3.3.4 (http://getbootstrap.com)
3
+ * Copyright 2011-2015 Twitter, Inc.
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
5
  */
6
6
 
@@ -268,7 +268,7 @@ th {
268
268
  font-family: 'Glyphicons Halflings';
269
269
 
270
270
  src: url('<%= font_path('bootstrap/glyphicons-halflings-regular.eot') %>');
271
- src: url('<%= font_path('bootstrap/glyphicons-halflings-regular.eot') %>?#iefix') format('embedded-opentype'), url('<%= font_path('bootstrap/glyphicons-halflings-regular.woff') %>') format('woff'), url('<%= font_path('bootstrap/glyphicons-halflings-regular.ttf') %>') format('truetype'), url('<%= font_path('bootstrap/glyphicons-halflings-regular.svg') %>#glyphicons_halflingsregular') format('svg');
271
+ src: url('<%= font_path('bootstrap/glyphicons-halflings-regular.eot') %>?#iefix') format('embedded-opentype'), url('bootstrap/glyphicons-halflings-regular.woff2') format('woff2'), url('<%= font_path('bootstrap/glyphicons-halflings-regular.woff') %>') format('woff'), url('<%= font_path('bootstrap/glyphicons-halflings-regular.ttf') %>') format('truetype'), url('<%= font_path('bootstrap/glyphicons-halflings-regular.svg') %>#glyphicons_halflingsregular') format('svg');
272
272
  }
273
273
  .glyphicon {
274
274
  position: relative;
@@ -883,6 +883,192 @@ th {
883
883
  .glyphicon-tree-deciduous:before {
884
884
  content: "\e200";
885
885
  }
886
+ .glyphicon-cd:before {
887
+ content: "\e201";
888
+ }
889
+ .glyphicon-save-file:before {
890
+ content: "\e202";
891
+ }
892
+ .glyphicon-open-file:before {
893
+ content: "\e203";
894
+ }
895
+ .glyphicon-level-up:before {
896
+ content: "\e204";
897
+ }
898
+ .glyphicon-copy:before {
899
+ content: "\e205";
900
+ }
901
+ .glyphicon-paste:before {
902
+ content: "\e206";
903
+ }
904
+ .glyphicon-alert:before {
905
+ content: "\e209";
906
+ }
907
+ .glyphicon-equalizer:before {
908
+ content: "\e210";
909
+ }
910
+ .glyphicon-king:before {
911
+ content: "\e211";
912
+ }
913
+ .glyphicon-queen:before {
914
+ content: "\e212";
915
+ }
916
+ .glyphicon-pawn:before {
917
+ content: "\e213";
918
+ }
919
+ .glyphicon-bishop:before {
920
+ content: "\e214";
921
+ }
922
+ .glyphicon-knight:before {
923
+ content: "\e215";
924
+ }
925
+ .glyphicon-baby-formula:before {
926
+ content: "\e216";
927
+ }
928
+ .glyphicon-tent:before {
929
+ content: "\26fa";
930
+ }
931
+ .glyphicon-blackboard:before {
932
+ content: "\e218";
933
+ }
934
+ .glyphicon-bed:before {
935
+ content: "\e219";
936
+ }
937
+ .glyphicon-apple:before {
938
+ content: "\f8ff";
939
+ }
940
+ .glyphicon-erase:before {
941
+ content: "\e221";
942
+ }
943
+ .glyphicon-hourglass:before {
944
+ content: "\231b";
945
+ }
946
+ .glyphicon-lamp:before {
947
+ content: "\e223";
948
+ }
949
+ .glyphicon-duplicate:before {
950
+ content: "\e224";
951
+ }
952
+ .glyphicon-piggy-bank:before {
953
+ content: "\e225";
954
+ }
955
+ .glyphicon-scissors:before {
956
+ content: "\e226";
957
+ }
958
+ .glyphicon-bitcoin:before {
959
+ content: "\e227";
960
+ }
961
+ .glyphicon-btc:before {
962
+ content: "\e227";
963
+ }
964
+ .glyphicon-xbt:before {
965
+ content: "\e227";
966
+ }
967
+ .glyphicon-yen:before {
968
+ content: "\00a5";
969
+ }
970
+ .glyphicon-jpy:before {
971
+ content: "\00a5";
972
+ }
973
+ .glyphicon-ruble:before {
974
+ content: "\20bd";
975
+ }
976
+ .glyphicon-rub:before {
977
+ content: "\20bd";
978
+ }
979
+ .glyphicon-scale:before {
980
+ content: "\e230";
981
+ }
982
+ .glyphicon-ice-lolly:before {
983
+ content: "\e231";
984
+ }
985
+ .glyphicon-ice-lolly-tasted:before {
986
+ content: "\e232";
987
+ }
988
+ .glyphicon-education:before {
989
+ content: "\e233";
990
+ }
991
+ .glyphicon-option-horizontal:before {
992
+ content: "\e234";
993
+ }
994
+ .glyphicon-option-vertical:before {
995
+ content: "\e235";
996
+ }
997
+ .glyphicon-menu-hamburger:before {
998
+ content: "\e236";
999
+ }
1000
+ .glyphicon-modal-window:before {
1001
+ content: "\e237";
1002
+ }
1003
+ .glyphicon-oil:before {
1004
+ content: "\e238";
1005
+ }
1006
+ .glyphicon-grain:before {
1007
+ content: "\e239";
1008
+ }
1009
+ .glyphicon-sunglasses:before {
1010
+ content: "\e240";
1011
+ }
1012
+ .glyphicon-text-size:before {
1013
+ content: "\e241";
1014
+ }
1015
+ .glyphicon-text-color:before {
1016
+ content: "\e242";
1017
+ }
1018
+ .glyphicon-text-background:before {
1019
+ content: "\e243";
1020
+ }
1021
+ .glyphicon-object-align-top:before {
1022
+ content: "\e244";
1023
+ }
1024
+ .glyphicon-object-align-bottom:before {
1025
+ content: "\e245";
1026
+ }
1027
+ .glyphicon-object-align-horizontal:before {
1028
+ content: "\e246";
1029
+ }
1030
+ .glyphicon-object-align-left:before {
1031
+ content: "\e247";
1032
+ }
1033
+ .glyphicon-object-align-vertical:before {
1034
+ content: "\e248";
1035
+ }
1036
+ .glyphicon-object-align-right:before {
1037
+ content: "\e249";
1038
+ }
1039
+ .glyphicon-triangle-right:before {
1040
+ content: "\e250";
1041
+ }
1042
+ .glyphicon-triangle-left:before {
1043
+ content: "\e251";
1044
+ }
1045
+ .glyphicon-triangle-bottom:before {
1046
+ content: "\e252";
1047
+ }
1048
+ .glyphicon-triangle-top:before {
1049
+ content: "\e253";
1050
+ }
1051
+ .glyphicon-console:before {
1052
+ content: "\e254";
1053
+ }
1054
+ .glyphicon-superscript:before {
1055
+ content: "\e255";
1056
+ }
1057
+ .glyphicon-subscript:before {
1058
+ content: "\e256";
1059
+ }
1060
+ .glyphicon-menu-left:before {
1061
+ content: "\e257";
1062
+ }
1063
+ .glyphicon-menu-right:before {
1064
+ content: "\e258";
1065
+ }
1066
+ .glyphicon-menu-down:before {
1067
+ content: "\e259";
1068
+ }
1069
+ .glyphicon-menu-up:before {
1070
+ content: "\e260";
1071
+ }
886
1072
  * {
887
1073
  -webkit-box-sizing: border-box;
888
1074
  -moz-box-sizing: border-box;
@@ -987,6 +1173,9 @@ hr {
987
1173
  overflow: visible;
988
1174
  clip: auto;
989
1175
  }
1176
+ [role="button"] {
1177
+ cursor: pointer;
1178
+ }
990
1179
  h1,
991
1180
  h2,
992
1181
  h3,
@@ -2123,7 +2312,7 @@ th {
2123
2312
  .table-bordered > thead > tr > td {
2124
2313
  border-bottom-width: 2px;
2125
2314
  }
2126
- .table-striped > tbody > tr:nth-child(odd) {
2315
+ .table-striped > tbody > tr:nth-of-type(odd) {
2127
2316
  background-color: #f9f9f9;
2128
2317
  }
2129
2318
  .table-hover > tbody > tr:hover {
@@ -2390,10 +2579,13 @@ output {
2390
2579
  .form-control[disabled],
2391
2580
  .form-control[readonly],
2392
2581
  fieldset[disabled] .form-control {
2393
- cursor: not-allowed;
2394
2582
  background-color: #eee;
2395
2583
  opacity: 1;
2396
2584
  }
2585
+ .form-control[disabled],
2586
+ fieldset[disabled] .form-control {
2587
+ cursor: not-allowed;
2588
+ }
2397
2589
  textarea.form-control {
2398
2590
  height: auto;
2399
2591
  }
@@ -2410,13 +2602,21 @@ input[type="search"] {
2410
2602
  input[type="date"].input-sm,
2411
2603
  input[type="time"].input-sm,
2412
2604
  input[type="datetime-local"].input-sm,
2413
- input[type="month"].input-sm {
2605
+ input[type="month"].input-sm,
2606
+ .input-group-sm input[type="date"],
2607
+ .input-group-sm input[type="time"],
2608
+ .input-group-sm input[type="datetime-local"],
2609
+ .input-group-sm input[type="month"] {
2414
2610
  line-height: 30px;
2415
2611
  }
2416
2612
  input[type="date"].input-lg,
2417
2613
  input[type="time"].input-lg,
2418
2614
  input[type="datetime-local"].input-lg,
2419
- input[type="month"].input-lg {
2615
+ input[type="month"].input-lg,
2616
+ .input-group-lg input[type="date"],
2617
+ .input-group-lg input[type="time"],
2618
+ .input-group-lg input[type="datetime-local"],
2619
+ .input-group-lg input[type="month"] {
2420
2620
  line-height: 46px;
2421
2621
  }
2422
2622
  }
@@ -2452,6 +2652,7 @@ input[type="search"] {
2452
2652
  }
2453
2653
  .radio-inline,
2454
2654
  .checkbox-inline {
2655
+ position: relative;
2455
2656
  display: inline-block;
2456
2657
  padding-left: 20px;
2457
2658
  margin-bottom: 0;
@@ -2485,6 +2686,7 @@ fieldset[disabled] .checkbox label {
2485
2686
  cursor: not-allowed;
2486
2687
  }
2487
2688
  .form-control-static {
2689
+ min-height: 34px;
2488
2690
  padding-top: 7px;
2489
2691
  padding-bottom: 7px;
2490
2692
  margin-bottom: 0;
@@ -2494,7 +2696,21 @@ fieldset[disabled] .checkbox label {
2494
2696
  padding-right: 0;
2495
2697
  padding-left: 0;
2496
2698
  }
2497
- .input-sm,
2699
+ .input-sm {
2700
+ height: 30px;
2701
+ padding: 5px 10px;
2702
+ font-size: 12px;
2703
+ line-height: 1.5;
2704
+ border-radius: 3px;
2705
+ }
2706
+ select.input-sm {
2707
+ height: 30px;
2708
+ line-height: 30px;
2709
+ }
2710
+ textarea.input-sm,
2711
+ select[multiple].input-sm {
2712
+ height: auto;
2713
+ }
2498
2714
  .form-group-sm .form-control {
2499
2715
  height: 30px;
2500
2716
  padding: 5px 10px;
@@ -2502,36 +2718,58 @@ fieldset[disabled] .checkbox label {
2502
2718
  line-height: 1.5;
2503
2719
  border-radius: 3px;
2504
2720
  }
2505
- select.input-sm,
2506
2721
  select.form-group-sm .form-control {
2507
2722
  height: 30px;
2508
2723
  line-height: 30px;
2509
2724
  }
2510
- textarea.input-sm,
2511
2725
  textarea.form-group-sm .form-control,
2512
- select[multiple].input-sm,
2513
2726
  select[multiple].form-group-sm .form-control {
2514
2727
  height: auto;
2515
2728
  }
2516
- .input-lg,
2729
+ .form-group-sm .form-control-static {
2730
+ height: 30px;
2731
+ min-height: 32px;
2732
+ padding: 5px 10px;
2733
+ font-size: 12px;
2734
+ line-height: 1.5;
2735
+ }
2736
+ .input-lg {
2737
+ height: 46px;
2738
+ padding: 10px 16px;
2739
+ font-size: 18px;
2740
+ line-height: 1.3333333;
2741
+ border-radius: 6px;
2742
+ }
2743
+ select.input-lg {
2744
+ height: 46px;
2745
+ line-height: 46px;
2746
+ }
2747
+ textarea.input-lg,
2748
+ select[multiple].input-lg {
2749
+ height: auto;
2750
+ }
2517
2751
  .form-group-lg .form-control {
2518
2752
  height: 46px;
2519
2753
  padding: 10px 16px;
2520
2754
  font-size: 18px;
2521
- line-height: 1.33;
2755
+ line-height: 1.3333333;
2522
2756
  border-radius: 6px;
2523
2757
  }
2524
- select.input-lg,
2525
2758
  select.form-group-lg .form-control {
2526
2759
  height: 46px;
2527
2760
  line-height: 46px;
2528
2761
  }
2529
- textarea.input-lg,
2530
2762
  textarea.form-group-lg .form-control,
2531
- select[multiple].input-lg,
2532
2763
  select[multiple].form-group-lg .form-control {
2533
2764
  height: auto;
2534
2765
  }
2766
+ .form-group-lg .form-control-static {
2767
+ height: 46px;
2768
+ min-height: 38px;
2769
+ padding: 10px 16px;
2770
+ font-size: 18px;
2771
+ line-height: 1.3333333;
2772
+ }
2535
2773
  .has-feedback {
2536
2774
  position: relative;
2537
2775
  }
@@ -2740,7 +2978,7 @@ select[multiple].form-group-lg .form-control {
2740
2978
  }
2741
2979
  @media (min-width: 768px) {
2742
2980
  .form-horizontal .form-group-lg .control-label {
2743
- padding-top: 14.3px;
2981
+ padding-top: 14.333333px;
2744
2982
  }
2745
2983
  }
2746
2984
  @media (min-width: 768px) {
@@ -3109,7 +3347,7 @@ fieldset[disabled] .btn-link:focus {
3109
3347
  .btn-group-lg > .btn {
3110
3348
  padding: 10px 16px;
3111
3349
  font-size: 18px;
3112
- line-height: 1.33;
3350
+ line-height: 1.3333333;
3113
3351
  border-radius: 6px;
3114
3352
  }
3115
3353
  .btn-sm,
@@ -3149,11 +3387,9 @@ input[type="button"].btn-block {
3149
3387
  }
3150
3388
  .collapse {
3151
3389
  display: none;
3152
- visibility: hidden;
3153
3390
  }
3154
3391
  .collapse.in {
3155
3392
  display: block;
3156
- visibility: visible;
3157
3393
  }
3158
3394
  tr.collapse.in {
3159
3395
  display: table-row;
@@ -3181,10 +3417,11 @@ tbody.collapse.in {
3181
3417
  height: 0;
3182
3418
  margin-left: 2px;
3183
3419
  vertical-align: middle;
3184
- border-top: 4px solid;
3420
+ border-top: 4px dashed;
3185
3421
  border-right: 4px solid transparent;
3186
3422
  border-left: 4px solid transparent;
3187
3423
  }
3424
+ .dropup,
3188
3425
  .dropdown {
3189
3426
  position: relative;
3190
3427
  }
@@ -3303,7 +3540,7 @@ tbody.collapse.in {
3303
3540
  .navbar-fixed-bottom .dropdown .dropdown-menu {
3304
3541
  top: auto;
3305
3542
  bottom: 100%;
3306
- margin-bottom: 1px;
3543
+ margin-bottom: 2px;
3307
3544
  }
3308
3545
  @media (min-width: 768px) {
3309
3546
  .navbar-right .dropdown-menu {
@@ -3375,12 +3612,12 @@ tbody.collapse.in {
3375
3612
  .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
3376
3613
  border-radius: 0;
3377
3614
  }
3378
- .btn-group > .btn-group:first-child > .btn:last-child,
3379
- .btn-group > .btn-group:first-child > .dropdown-toggle {
3615
+ .btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
3616
+ .btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
3380
3617
  border-top-right-radius: 0;
3381
3618
  border-bottom-right-radius: 0;
3382
3619
  }
3383
- .btn-group > .btn-group:last-child > .btn:first-child {
3620
+ .btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
3384
3621
  border-top-left-radius: 0;
3385
3622
  border-bottom-left-radius: 0;
3386
3623
  }
@@ -3506,7 +3743,7 @@ tbody.collapse.in {
3506
3743
  height: 46px;
3507
3744
  padding: 10px 16px;
3508
3745
  font-size: 18px;
3509
- line-height: 1.33;
3746
+ line-height: 1.3333333;
3510
3747
  border-radius: 6px;
3511
3748
  }
3512
3749
  select.input-group-lg > .form-control,
@@ -3820,11 +4057,9 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
3820
4057
  }
3821
4058
  .tab-content > .tab-pane {
3822
4059
  display: none;
3823
- visibility: hidden;
3824
4060
  }
3825
4061
  .tab-content > .active {
3826
4062
  display: block;
3827
- visibility: visible;
3828
4063
  }
3829
4064
  .nav-tabs .dropdown-menu {
3830
4065
  margin-top: -1px;
@@ -3871,7 +4106,6 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
3871
4106
  height: auto !important;
3872
4107
  padding-bottom: 0;
3873
4108
  overflow: visible !important;
3874
- visibility: visible !important;
3875
4109
  }
3876
4110
  .navbar-collapse.in {
3877
4111
  overflow-y: visible;
@@ -4120,6 +4354,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
4120
4354
  border-top-right-radius: 0;
4121
4355
  }
4122
4356
  .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
4357
+ margin-bottom: 0;
4123
4358
  border-top-left-radius: 4px;
4124
4359
  border-top-right-radius: 4px;
4125
4360
  border-bottom-right-radius: 0;
@@ -4595,7 +4830,8 @@ a.label:focus {
4595
4830
  position: relative;
4596
4831
  top: -1px;
4597
4832
  }
4598
- .btn-xs .badge {
4833
+ .btn-xs .badge,
4834
+ .btn-group-xs > .btn .badge {
4599
4835
  top: 0;
4600
4836
  padding: 1px 5px;
4601
4837
  }
@@ -4859,6 +5095,17 @@ a.thumbnail.active {
4859
5095
  .media:first-child {
4860
5096
  margin-top: 0;
4861
5097
  }
5098
+ .media,
5099
+ .media-body {
5100
+ overflow: hidden;
5101
+ zoom: 1;
5102
+ }
5103
+ .media-body {
5104
+ width: 10000px;
5105
+ }
5106
+ .media-object {
5107
+ display: block;
5108
+ }
4862
5109
  .media-right,
4863
5110
  .media > .pull-right {
4864
5111
  padding-left: 10px;
@@ -5083,7 +5330,11 @@ a.list-group-item-danger.active:focus {
5083
5330
  font-size: 16px;
5084
5331
  color: inherit;
5085
5332
  }
5086
- .panel-title > a {
5333
+ .panel-title > a,
5334
+ .panel-title > small,
5335
+ .panel-title > .small,
5336
+ .panel-title > small > a,
5337
+ .panel-title > .small > a {
5087
5338
  color: inherit;
5088
5339
  }
5089
5340
  .panel-footer {
@@ -5412,10 +5663,10 @@ a.list-group-item-danger.active:focus {
5412
5663
  height: 100%;
5413
5664
  border: 0;
5414
5665
  }
5415
- .embed-responsive.embed-responsive-16by9 {
5666
+ .embed-responsive-16by9 {
5416
5667
  padding-bottom: 56.25%;
5417
5668
  }
5418
- .embed-responsive.embed-responsive-4by3 {
5669
+ .embed-responsive-4by3 {
5419
5670
  padding-bottom: 75%;
5420
5671
  }
5421
5672
  .well {
@@ -5474,7 +5725,7 @@ button.close {
5474
5725
  right: 0;
5475
5726
  bottom: 0;
5476
5727
  left: 0;
5477
- z-index: 1040;
5728
+ z-index: 1050;
5478
5729
  display: none;
5479
5730
  overflow: hidden;
5480
5731
  -webkit-overflow-scrolling: touch;
@@ -5517,10 +5768,12 @@ button.close {
5517
5768
  box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
5518
5769
  }
5519
5770
  .modal-backdrop {
5520
- position: absolute;
5771
+ position: fixed;
5521
5772
  top: 0;
5522
5773
  right: 0;
5774
+ bottom: 0;
5523
5775
  left: 0;
5776
+ z-index: 1040;
5524
5777
  background-color: #000;
5525
5778
  }
5526
5779
  .modal-backdrop.fade {
@@ -5595,7 +5848,6 @@ button.close {
5595
5848
  font-size: 12px;
5596
5849
  font-weight: normal;
5597
5850
  line-height: 1.4;
5598
- visibility: visible;
5599
5851
  filter: alpha(opacity=0);
5600
5852
  opacity: 0;
5601
5853
  }
@@ -5957,6 +6209,7 @@ button.close {
5957
6209
  height: 20px;
5958
6210
  margin-top: -10px;
5959
6211
  font-family: serif;
6212
+ line-height: 1;
5960
6213
  }
5961
6214
  .carousel-control .icon-prev:before {
5962
6215
  content: '\2039';
@@ -6114,7 +6367,6 @@ button.close {
6114
6367
  }
6115
6368
  .hidden {
6116
6369
  display: none !important;
6117
- visibility: hidden !important;
6118
6370
  }
6119
6371
  .affix {
6120
6372
  position: fixed;