tabler-rubygem 0.1.1 → 0.1.2

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.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -0
  3. data/assets/stylesheets/_tabler.scss +1 -2
  4. data/assets/stylesheets/tabler/_cards.scss +2 -1
  5. data/assets/stylesheets/tabler/_carousel.scss +9 -0
  6. data/assets/stylesheets/tabler/_progress.scss +2 -2
  7. data/assets/stylesheets/tabler/forms/_custom-selectgroup.scss +2 -3
  8. data/lib/tabler/rubygem/version.rb +2 -2
  9. data/tabler.gemspec +0 -3
  10. data/tasks/updater/js.rb +1 -1
  11. data/tasks/updater/scss.rb +1 -22
  12. metadata +3 -119
  13. data/assets/stylesheets/_bootstrap-grid.scss +0 -32
  14. data/assets/stylesheets/_bootstrap-reboot.scss +0 -12
  15. data/assets/stylesheets/_bootstrap.scss +0 -42
  16. data/assets/stylesheets/bootstrap/_alert.scss +0 -51
  17. data/assets/stylesheets/bootstrap/_badge.scss +0 -47
  18. data/assets/stylesheets/bootstrap/_breadcrumb.scss +0 -38
  19. data/assets/stylesheets/bootstrap/_button-group.scss +0 -166
  20. data/assets/stylesheets/bootstrap/_buttons.scss +0 -143
  21. data/assets/stylesheets/bootstrap/_card.scss +0 -299
  22. data/assets/stylesheets/bootstrap/_carousel.scss +0 -235
  23. data/assets/stylesheets/bootstrap/_close.scss +0 -34
  24. data/assets/stylesheets/bootstrap/_code.scss +0 -56
  25. data/assets/stylesheets/bootstrap/_custom-forms.scss +0 -420
  26. data/assets/stylesheets/bootstrap/_dropdown.scss +0 -138
  27. data/assets/stylesheets/bootstrap/_forms.scss +0 -335
  28. data/assets/stylesheets/bootstrap/_functions.scss +0 -86
  29. data/assets/stylesheets/bootstrap/_grid.scss +0 -52
  30. data/assets/stylesheets/bootstrap/_images.scss +0 -42
  31. data/assets/stylesheets/bootstrap/_input-group.scss +0 -159
  32. data/assets/stylesheets/bootstrap/_jumbotron.scss +0 -16
  33. data/assets/stylesheets/bootstrap/_list-group.scss +0 -115
  34. data/assets/stylesheets/bootstrap/_media.scss +0 -8
  35. data/assets/stylesheets/bootstrap/_mixins.scss +0 -42
  36. data/assets/stylesheets/bootstrap/_modal.scss +0 -168
  37. data/assets/stylesheets/bootstrap/_nav.scss +0 -118
  38. data/assets/stylesheets/bootstrap/_navbar.scss +0 -311
  39. data/assets/stylesheets/bootstrap/_pagination.scss +0 -78
  40. data/assets/stylesheets/bootstrap/_popover.scss +0 -183
  41. data/assets/stylesheets/bootstrap/_print.scss +0 -124
  42. data/assets/stylesheets/bootstrap/_progress.scss +0 -34
  43. data/assets/stylesheets/bootstrap/_reboot.scss +0 -482
  44. data/assets/stylesheets/bootstrap/_root.scss +0 -19
  45. data/assets/stylesheets/bootstrap/_tables.scss +0 -188
  46. data/assets/stylesheets/bootstrap/_tooltip.scss +0 -115
  47. data/assets/stylesheets/bootstrap/_transitions.scss +0 -36
  48. data/assets/stylesheets/bootstrap/_type.scss +0 -125
  49. data/assets/stylesheets/bootstrap/_utilities.scss +0 -14
  50. data/assets/stylesheets/bootstrap/_variables.scss +0 -919
  51. data/assets/stylesheets/bootstrap/mixins/_alert.scss +0 -13
  52. data/assets/stylesheets/bootstrap/mixins/_background-variant.scss +0 -21
  53. data/assets/stylesheets/bootstrap/mixins/_badge.scss +0 -12
  54. data/assets/stylesheets/bootstrap/mixins/_border-radius.scss +0 -35
  55. data/assets/stylesheets/bootstrap/mixins/_box-shadow.scss +0 -5
  56. data/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +0 -123
  57. data/assets/stylesheets/bootstrap/mixins/_buttons.scss +0 -109
  58. data/assets/stylesheets/bootstrap/mixins/_caret.scss +0 -65
  59. data/assets/stylesheets/bootstrap/mixins/_clearfix.scss +0 -7
  60. data/assets/stylesheets/bootstrap/mixins/_float.scss +0 -11
  61. data/assets/stylesheets/bootstrap/mixins/_forms.scss +0 -137
  62. data/assets/stylesheets/bootstrap/mixins/_gradients.scss +0 -45
  63. data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +0 -67
  64. data/assets/stylesheets/bootstrap/mixins/_grid.scss +0 -52
  65. data/assets/stylesheets/bootstrap/mixins/_hover.scss +0 -37
  66. data/assets/stylesheets/bootstrap/mixins/_image.scss +0 -36
  67. data/assets/stylesheets/bootstrap/mixins/_list-group.scss +0 -21
  68. data/assets/stylesheets/bootstrap/mixins/_lists.scss +0 -7
  69. data/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +0 -10
  70. data/assets/stylesheets/bootstrap/mixins/_navbar-align.scss +0 -10
  71. data/assets/stylesheets/bootstrap/mixins/_pagination.scss +0 -22
  72. data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +0 -17
  73. data/assets/stylesheets/bootstrap/mixins/_resize.scss +0 -6
  74. data/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +0 -33
  75. data/assets/stylesheets/bootstrap/mixins/_size.scss +0 -6
  76. data/assets/stylesheets/bootstrap/mixins/_table-row.scss +0 -30
  77. data/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +0 -14
  78. data/assets/stylesheets/bootstrap/mixins/_text-hide.scss +0 -9
  79. data/assets/stylesheets/bootstrap/mixins/_text-truncate.scss +0 -8
  80. data/assets/stylesheets/bootstrap/mixins/_transition.scss +0 -9
  81. data/assets/stylesheets/bootstrap/mixins/_visibility.scss +0 -7
  82. data/assets/stylesheets/bootstrap/utilities/_align.scss +0 -8
  83. data/assets/stylesheets/bootstrap/utilities/_background.scss +0 -19
  84. data/assets/stylesheets/bootstrap/utilities/_borders.scss +0 -59
  85. data/assets/stylesheets/bootstrap/utilities/_clearfix.scss +0 -3
  86. data/assets/stylesheets/bootstrap/utilities/_display.scss +0 -38
  87. data/assets/stylesheets/bootstrap/utilities/_embed.scss +0 -52
  88. data/assets/stylesheets/bootstrap/utilities/_flex.scss +0 -47
  89. data/assets/stylesheets/bootstrap/utilities/_float.scss +0 -9
  90. data/assets/stylesheets/bootstrap/utilities/_position.scss +0 -37
  91. data/assets/stylesheets/bootstrap/utilities/_screenreaders.scss +0 -11
  92. data/assets/stylesheets/bootstrap/utilities/_sizing.scss +0 -12
  93. data/assets/stylesheets/bootstrap/utilities/_spacing.scss +0 -51
  94. data/assets/stylesheets/bootstrap/utilities/_text.scss +0 -52
  95. data/assets/stylesheets/bootstrap/utilities/_visibility.scss +0 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae4ea56c316944a7579db5248871168c7bccd1f825918817c195c89546649a07
4
- data.tar.gz: bf2bbb346ac4a6db30321252ba28f7348d9ad6e0307d195656fd4f8c9af04d2f
3
+ metadata.gz: cba06fc2d38b581803b2672261a86a1bc5e690ac541170e159958178b23055d5
4
+ data.tar.gz: 347d840f5e4d5c84809be92ea35479ff33c9c5863c555b678c4a459c8d7e5e90
5
5
  SHA512:
6
- metadata.gz: 0ca9af05d96f051a505f3cbd3d959200c4b992f431c8ac52d9760150c4c95ce4ba3d90893140a931b954fbae2d806108927eb1bf060911899b228e47e2cabf0c
7
- data.tar.gz: 7ee3fa424e98c3225b48446b90a919554fcea7d15946738b67cc71420e8756846f7c31c0954b69690313f3af616574254122d8078d682d0883801e5b2a2b7371
6
+ metadata.gz: 49da37b2ebc5d1ff0f4c168479ca37375689db7a27e1f35e44677352f878a99eeca6047312a798db85354f50304af7bdb61d32db3f9955ef92be851b519eb4d7
7
+ data.tar.gz: 786d13889199be07f14c27b99637e8c43bbe96c59ced98925f6b74dd3c35908fcd4b87d4398d7671a2481fd3a40118f3e7660b5e5d253b6ed37f88b8cc677757
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Gem Version](https://badge.fury.io/rb/tabler-rubygem.svg)](https://badge.fury.io/rb/tabler-rubygem)
2
+
1
3
  # Tabler Ruby Gem
2
4
 
3
5
  [Tabler][tabler-home] ruby gem for Ruby on Rails.
@@ -1,5 +1,3 @@
1
- @import "tabler/variables";
2
- @import "bootstrap";
3
1
  @import "tabler/functions";
4
2
 
5
3
  @import "tabler/core";
@@ -47,6 +45,7 @@
47
45
  @import "tabler/tag";
48
46
  @import "tabler/syntax";
49
47
  @import "tabler/infobox";
48
+ @import "tabler/carousel";
50
49
 
51
50
  @import "tabler/forms/custom-range";
52
51
  @import "tabler/forms/custom-selectgroup";
@@ -199,6 +199,7 @@
199
199
  .card-aside-column {
200
200
  min-width: 5rem;
201
201
  width: 30%;
202
+ flex: 0 0 30%;
202
203
  border-top-left-radius: 3px;
203
204
  border-bottom-left-radius: 3px;
204
205
  background: no-repeat center/cover;
@@ -236,7 +237,7 @@
236
237
  color: $text-muted;
237
238
  align-self: center;
238
239
 
239
- a {
240
+ a:not(.btn) {
240
241
  margin-left: .5rem;
241
242
  color: $text-muted;
242
243
  display: inline-block;
@@ -0,0 +1,9 @@
1
+ .carousel-item-background {
2
+ content: '';
3
+ background: rgba(0, 0, 0, .5);
4
+ position: absolute;
5
+ top: 0;
6
+ left: 0;
7
+ right: 0;
8
+ bottom: 0;
9
+ }
@@ -93,7 +93,7 @@ Dimmer
93
93
  }
94
94
 
95
95
  .dimmer-content {
96
- opacity: .04;
96
+ opacity: .5;
97
97
  pointer-events: none;
98
98
  }
99
99
  }
@@ -137,4 +137,4 @@ $loader-size: 2.5rem;
137
137
  border-top-color: currentColor;
138
138
  box-shadow: 0 0 0 1px transparent;
139
139
  }
140
- }
140
+ }
@@ -40,15 +40,14 @@
40
40
  color: $text-muted;
41
41
  user-select: none;
42
42
  font-size: $font-size-base;
43
- line-height: $input-btn-line-height;
43
+ line-height: 1.5rem;
44
44
  min-width: $input-height;
45
45
  }
46
46
 
47
47
  .selectgroup-button-icon {
48
48
  padding-left: .5rem;
49
49
  padding-right: .5rem;
50
- font-size: 1.125rem;
51
- line-height: 1.125rem;
50
+ font-size: 1rem;
52
51
  }
53
52
 
54
53
  .selectgroup-input:checked + .selectgroup-button {
@@ -1,6 +1,6 @@
1
1
  module Tabler
2
2
  module Rubygem
3
- VERSION = '0.1.1'
4
- TABLER_SHA = '00f78ad823311bc3ad974ac3e5b0126198f0a813'
3
+ VERSION = '0.1.2'
4
+ TABLER_SHA = '748028000ba6603090c1f5a741e906b59ed934b2'
5
5
  end
6
6
  end
@@ -11,9 +11,6 @@ Gem::Specification.new do |s|
11
11
  s.homepage = 'https://github.com/lightyrs/tabler-rubygem'
12
12
  s.license = 'MIT'
13
13
 
14
- s.add_runtime_dependency 'popper_js', '>= 1.12.9', '< 2'
15
-
16
- s.add_runtime_dependency 'sass', '>= 3.5.2'
17
14
  s.add_runtime_dependency 'autoprefixer-rails', '>= 6.0.3'
18
15
 
19
16
  # Testing dependencies
@@ -36,7 +36,7 @@ class Updater
36
36
  // = require tabler/plugins/input-mask/js/jquery.mask.min
37
37
  eos
38
38
 
39
- File.write "#{save_to}/tabler.js", File.read("#{save_to}/dashboard.js").gsub("dashboard", "tabler").gsub(/require(?:(?!window).)*(?:}|])\);/m, "").gsub(/^\n/, "")
39
+ File.write "#{save_to}/tabler.js", File.read("#{save_to}/dashboard.js").gsub("dashboard", "tabler").gsub(/require(?:(?!window).)*(?:}|\])\);/m, "").gsub(/^\n/, "")
40
40
  FileUtils.rm "#{save_to}/dashboard.js"
41
41
  FileUtils.rm "#{save_to}/require.min.js"
42
42
  end
@@ -26,22 +26,6 @@ class Updater
26
26
  "#{save_to}/_variables.scss",
27
27
  "#{save_to}/tabler/_variables.scss"
28
28
  ],
29
- [
30
- "#{save_to}/tabler/bootstrap",
31
- "#{save_to}/bootstrap",
32
- ],
33
- [
34
- "#{save_to}/bootstrap/bootstrap-grid.scss",
35
- "#{save_to}/_bootstrap-grid.scss"
36
- ],
37
- [
38
- "#{save_to}/bootstrap/bootstrap-reboot.scss",
39
- "#{save_to}/_bootstrap-reboot.scss"
40
- ],
41
- [
42
- "#{save_to}/bootstrap/bootstrap.scss",
43
- "#{save_to}/_bootstrap.scss"
44
- ],
45
29
  [
46
30
  "#{save_to}/tabler/dashboard.scss",
47
31
  "#{save_to}/_tabler.scss"
@@ -52,11 +36,6 @@ class Updater
52
36
  FileUtils.mv pair[0], pair[1]
53
37
  end
54
38
 
55
- %w(bootstrap bootstrap-grid bootstrap-reboot).each do |name|
56
- file = "#{save_to}/_#{name}.scss"
57
- File.write file, File.read(file).gsub(/ "/, ' "bootstrap/')
58
- end
59
-
60
39
  font_file = "#{save_to}/tabler/fonts/_feather.scss"
61
40
  File.write font_file, File.read(font_file).gsub("url('../fonts/", "font-url('")
62
41
 
@@ -72,7 +51,7 @@ class Updater
72
51
  end
73
52
 
74
53
  def adjust_manifest(file)
75
- content = ['@import "tabler/variables";', '@import "bootstrap";']
54
+ content = []
76
55
  content.push File.readlines(file).reject { |line|
77
56
  line =~ /^\/\/.*$/
78
57
  }.map { |line|
metadata CHANGED
@@ -1,49 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tabler-rubygem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - lightyrs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-11 00:00:00.000000000 Z
11
+ date: 2018-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: popper_js
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 1.12.9
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '2'
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 1.12.9
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '2'
33
- - !ruby/object:Gem::Dependency
34
- name: sass
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: 3.5.2
40
- type: :runtime
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: 3.5.2
47
13
  - !ruby/object:Gem::Dependency
48
14
  name: autoprefixer-rails
49
15
  requirement: !ruby/object:Gem::Requirement
@@ -659,91 +625,8 @@ files:
659
625
  - assets/javascripts/tabler/vendors/jquery.sparkline.min.js
660
626
  - assets/javascripts/tabler/vendors/jquery.tablesorter.min.js
661
627
  - assets/javascripts/tabler/vendors/selectize.min.js
662
- - assets/stylesheets/_bootstrap-grid.scss
663
- - assets/stylesheets/_bootstrap-reboot.scss
664
- - assets/stylesheets/_bootstrap.scss
665
628
  - assets/stylesheets/_tabler.plugins.scss
666
629
  - assets/stylesheets/_tabler.scss
667
- - assets/stylesheets/bootstrap/_alert.scss
668
- - assets/stylesheets/bootstrap/_badge.scss
669
- - assets/stylesheets/bootstrap/_breadcrumb.scss
670
- - assets/stylesheets/bootstrap/_button-group.scss
671
- - assets/stylesheets/bootstrap/_buttons.scss
672
- - assets/stylesheets/bootstrap/_card.scss
673
- - assets/stylesheets/bootstrap/_carousel.scss
674
- - assets/stylesheets/bootstrap/_close.scss
675
- - assets/stylesheets/bootstrap/_code.scss
676
- - assets/stylesheets/bootstrap/_custom-forms.scss
677
- - assets/stylesheets/bootstrap/_dropdown.scss
678
- - assets/stylesheets/bootstrap/_forms.scss
679
- - assets/stylesheets/bootstrap/_functions.scss
680
- - assets/stylesheets/bootstrap/_grid.scss
681
- - assets/stylesheets/bootstrap/_images.scss
682
- - assets/stylesheets/bootstrap/_input-group.scss
683
- - assets/stylesheets/bootstrap/_jumbotron.scss
684
- - assets/stylesheets/bootstrap/_list-group.scss
685
- - assets/stylesheets/bootstrap/_media.scss
686
- - assets/stylesheets/bootstrap/_mixins.scss
687
- - assets/stylesheets/bootstrap/_modal.scss
688
- - assets/stylesheets/bootstrap/_nav.scss
689
- - assets/stylesheets/bootstrap/_navbar.scss
690
- - assets/stylesheets/bootstrap/_pagination.scss
691
- - assets/stylesheets/bootstrap/_popover.scss
692
- - assets/stylesheets/bootstrap/_print.scss
693
- - assets/stylesheets/bootstrap/_progress.scss
694
- - assets/stylesheets/bootstrap/_reboot.scss
695
- - assets/stylesheets/bootstrap/_root.scss
696
- - assets/stylesheets/bootstrap/_tables.scss
697
- - assets/stylesheets/bootstrap/_tooltip.scss
698
- - assets/stylesheets/bootstrap/_transitions.scss
699
- - assets/stylesheets/bootstrap/_type.scss
700
- - assets/stylesheets/bootstrap/_utilities.scss
701
- - assets/stylesheets/bootstrap/_variables.scss
702
- - assets/stylesheets/bootstrap/mixins/_alert.scss
703
- - assets/stylesheets/bootstrap/mixins/_background-variant.scss
704
- - assets/stylesheets/bootstrap/mixins/_badge.scss
705
- - assets/stylesheets/bootstrap/mixins/_border-radius.scss
706
- - assets/stylesheets/bootstrap/mixins/_box-shadow.scss
707
- - assets/stylesheets/bootstrap/mixins/_breakpoints.scss
708
- - assets/stylesheets/bootstrap/mixins/_buttons.scss
709
- - assets/stylesheets/bootstrap/mixins/_caret.scss
710
- - assets/stylesheets/bootstrap/mixins/_clearfix.scss
711
- - assets/stylesheets/bootstrap/mixins/_float.scss
712
- - assets/stylesheets/bootstrap/mixins/_forms.scss
713
- - assets/stylesheets/bootstrap/mixins/_gradients.scss
714
- - assets/stylesheets/bootstrap/mixins/_grid-framework.scss
715
- - assets/stylesheets/bootstrap/mixins/_grid.scss
716
- - assets/stylesheets/bootstrap/mixins/_hover.scss
717
- - assets/stylesheets/bootstrap/mixins/_image.scss
718
- - assets/stylesheets/bootstrap/mixins/_list-group.scss
719
- - assets/stylesheets/bootstrap/mixins/_lists.scss
720
- - assets/stylesheets/bootstrap/mixins/_nav-divider.scss
721
- - assets/stylesheets/bootstrap/mixins/_navbar-align.scss
722
- - assets/stylesheets/bootstrap/mixins/_pagination.scss
723
- - assets/stylesheets/bootstrap/mixins/_reset-text.scss
724
- - assets/stylesheets/bootstrap/mixins/_resize.scss
725
- - assets/stylesheets/bootstrap/mixins/_screen-reader.scss
726
- - assets/stylesheets/bootstrap/mixins/_size.scss
727
- - assets/stylesheets/bootstrap/mixins/_table-row.scss
728
- - assets/stylesheets/bootstrap/mixins/_text-emphasis.scss
729
- - assets/stylesheets/bootstrap/mixins/_text-hide.scss
730
- - assets/stylesheets/bootstrap/mixins/_text-truncate.scss
731
- - assets/stylesheets/bootstrap/mixins/_transition.scss
732
- - assets/stylesheets/bootstrap/mixins/_visibility.scss
733
- - assets/stylesheets/bootstrap/utilities/_align.scss
734
- - assets/stylesheets/bootstrap/utilities/_background.scss
735
- - assets/stylesheets/bootstrap/utilities/_borders.scss
736
- - assets/stylesheets/bootstrap/utilities/_clearfix.scss
737
- - assets/stylesheets/bootstrap/utilities/_display.scss
738
- - assets/stylesheets/bootstrap/utilities/_embed.scss
739
- - assets/stylesheets/bootstrap/utilities/_flex.scss
740
- - assets/stylesheets/bootstrap/utilities/_float.scss
741
- - assets/stylesheets/bootstrap/utilities/_position.scss
742
- - assets/stylesheets/bootstrap/utilities/_screenreaders.scss
743
- - assets/stylesheets/bootstrap/utilities/_sizing.scss
744
- - assets/stylesheets/bootstrap/utilities/_spacing.scss
745
- - assets/stylesheets/bootstrap/utilities/_text.scss
746
- - assets/stylesheets/bootstrap/utilities/_visibility.scss
747
630
  - assets/stylesheets/tabler/_alert.scss
748
631
  - assets/stylesheets/tabler/_aside.scss
749
632
  - assets/stylesheets/tabler/_avatar.scss
@@ -752,6 +635,7 @@ files:
752
635
  - assets/stylesheets/tabler/_browser.scss
753
636
  - assets/stylesheets/tabler/_button.scss
754
637
  - assets/stylesheets/tabler/_cards.scss
638
+ - assets/stylesheets/tabler/_carousel.scss
755
639
  - assets/stylesheets/tabler/_charts.scss
756
640
  - assets/stylesheets/tabler/_chat.scss
757
641
  - assets/stylesheets/tabler/_chips.scss
@@ -1,32 +0,0 @@
1
- /*!
2
- * Bootstrap Grid v4.0.0 (https://getbootstrap.com)
3
- * Copyright 2011-2018 The Bootstrap Authors
4
- * Copyright 2011-2018 Twitter, Inc.
5
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
6
- */
7
-
8
- @at-root {
9
- @-ms-viewport { width: device-width; } // stylelint-disable-line at-rule-no-vendor-prefix
10
- }
11
-
12
- html {
13
- box-sizing: border-box;
14
- -ms-overflow-style: scrollbar;
15
- }
16
-
17
- *,
18
- *::before,
19
- *::after {
20
- box-sizing: inherit;
21
- }
22
-
23
- @import "bootstrap/functions";
24
- @import "bootstrap/variables";
25
-
26
- @import "bootstrap/mixins/breakpoints";
27
- @import "bootstrap/mixins/grid-framework";
28
- @import "bootstrap/mixins/grid";
29
-
30
- @import "bootstrap/grid";
31
- @import "bootstrap/utilities/display";
32
- @import "bootstrap/utilities/flex";
@@ -1,12 +0,0 @@
1
- /*!
2
- * Bootstrap Reboot v4.0.0 (https://getbootstrap.com)
3
- * Copyright 2011-2018 The Bootstrap Authors
4
- * Copyright 2011-2018 Twitter, Inc.
5
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
6
- * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
7
- */
8
-
9
- @import "bootstrap/functions";
10
- @import "bootstrap/variables";
11
- @import "bootstrap/mixins";
12
- @import "bootstrap/reboot";
@@ -1,42 +0,0 @@
1
- /*!
2
- * Bootstrap v4.0.0 (https://getbootstrap.com)
3
- * Copyright 2011-2018 The Bootstrap Authors
4
- * Copyright 2011-2018 Twitter, Inc.
5
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
6
- */
7
-
8
- @import "bootstrap/functions";
9
- @import "bootstrap/variables";
10
- @import "bootstrap/mixins";
11
- @import "bootstrap/root";
12
- @import "bootstrap/reboot";
13
- @import "bootstrap/type";
14
- @import "bootstrap/images";
15
- @import "bootstrap/code";
16
- @import "bootstrap/grid";
17
- @import "bootstrap/tables";
18
- @import "bootstrap/forms";
19
- @import "bootstrap/buttons";
20
- @import "bootstrap/transitions";
21
- @import "bootstrap/dropdown";
22
- @import "bootstrap/button-group";
23
- @import "bootstrap/input-group";
24
- @import "bootstrap/custom-forms";
25
- @import "bootstrap/nav";
26
- @import "bootstrap/navbar";
27
- @import "bootstrap/card";
28
- @import "bootstrap/breadcrumb";
29
- @import "bootstrap/pagination";
30
- @import "bootstrap/badge";
31
- @import "bootstrap/jumbotron";
32
- @import "bootstrap/alert";
33
- @import "bootstrap/progress";
34
- @import "bootstrap/media";
35
- @import "bootstrap/list-group";
36
- @import "bootstrap/close";
37
- @import "bootstrap/modal";
38
- @import "bootstrap/tooltip";
39
- @import "bootstrap/popover";
40
- @import "bootstrap/carousel";
41
- @import "bootstrap/utilities";
42
- @import "bootstrap/print";
@@ -1,51 +0,0 @@
1
- //
2
- // Base styles
3
- //
4
-
5
- .alert {
6
- position: relative;
7
- padding: $alert-padding-y $alert-padding-x;
8
- margin-bottom: $alert-margin-bottom;
9
- border: $alert-border-width solid transparent;
10
- @include border-radius($alert-border-radius);
11
- }
12
-
13
- // Headings for larger alerts
14
- .alert-heading {
15
- // Specified to prevent conflicts of changing $headings-color
16
- color: inherit;
17
- }
18
-
19
- // Provide class for links that match alerts
20
- .alert-link {
21
- font-weight: $alert-link-font-weight;
22
- }
23
-
24
-
25
- // Dismissible alerts
26
- //
27
- // Expand the right padding and account for the close button's positioning.
28
-
29
- .alert-dismissible {
30
- padding-right: ($close-font-size + $alert-padding-x * 2);
31
-
32
- // Adjust close link position
33
- .close {
34
- position: absolute;
35
- top: 0;
36
- right: 0;
37
- padding: $alert-padding-y $alert-padding-x;
38
- color: inherit;
39
- }
40
- }
41
-
42
-
43
- // Alternate styles
44
- //
45
- // Generate contextual modifier classes for colorizing the alert.
46
-
47
- @each $color, $value in $theme-colors {
48
- .alert-#{$color} {
49
- @include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level));
50
- }
51
- }