bulma-rails 0.4.3 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/assets/stylesheets/bulma.sass +1 -2
  4. data/app/assets/stylesheets/sass/base/_all.sass +0 -0
  5. data/app/assets/stylesheets/sass/base/generic.sass +39 -19
  6. data/app/assets/stylesheets/sass/base/helpers.sass +132 -54
  7. data/app/assets/stylesheets/sass/base/minireset.sass +0 -0
  8. data/app/assets/stylesheets/sass/components/_all.sass +2 -1
  9. data/app/assets/stylesheets/sass/components/breadcrumb.sass +20 -14
  10. data/app/assets/stylesheets/sass/components/card.sass +24 -10
  11. data/app/assets/stylesheets/sass/components/dropdown.sass +68 -0
  12. data/app/assets/stylesheets/sass/components/level.sass +29 -29
  13. data/app/assets/stylesheets/sass/components/media.sass +18 -18
  14. data/app/assets/stylesheets/sass/components/menu.sass +27 -9
  15. data/app/assets/stylesheets/sass/components/message.sass +41 -18
  16. data/app/assets/stylesheets/sass/components/modal.sass +65 -35
  17. data/app/assets/stylesheets/sass/components/nav.sass +0 -0
  18. data/app/assets/stylesheets/sass/components/navbar.sass +80 -37
  19. data/app/assets/stylesheets/sass/components/pagination.sass +28 -28
  20. data/app/assets/stylesheets/sass/components/panel.sass +47 -22
  21. data/app/assets/stylesheets/sass/components/tabs.sass +58 -24
  22. data/app/assets/stylesheets/sass/elements/_all.sass +1 -0
  23. data/app/assets/stylesheets/sass/elements/box.sass +16 -6
  24. data/app/assets/stylesheets/sass/elements/button.sass +41 -39
  25. data/app/assets/stylesheets/sass/elements/container.sass +27 -0
  26. data/app/assets/stylesheets/sass/elements/content.sass +38 -18
  27. data/app/assets/stylesheets/sass/elements/form.sass +266 -54
  28. data/app/assets/stylesheets/sass/elements/icon.sass +13 -8
  29. data/app/assets/stylesheets/sass/elements/image.sass +1 -1
  30. data/app/assets/stylesheets/sass/elements/notification.sass +10 -4
  31. data/app/assets/stylesheets/sass/elements/other.sass +0 -18
  32. data/app/assets/stylesheets/sass/elements/progress.sass +6 -3
  33. data/app/assets/stylesheets/sass/elements/table.sass +42 -26
  34. data/app/assets/stylesheets/sass/elements/tag.sass +65 -5
  35. data/app/assets/stylesheets/sass/elements/title.sass +17 -15
  36. data/app/assets/stylesheets/sass/grid/_all.sass +0 -0
  37. data/app/assets/stylesheets/sass/grid/columns.sass +0 -0
  38. data/app/assets/stylesheets/sass/grid/tiles.sass +0 -0
  39. data/app/assets/stylesheets/sass/layout/_all.sass +0 -0
  40. data/app/assets/stylesheets/sass/layout/footer.sass +3 -1
  41. data/app/assets/stylesheets/sass/layout/hero.sass +45 -46
  42. data/app/assets/stylesheets/sass/layout/section.sass +7 -4
  43. data/app/assets/stylesheets/sass/utilities/_all.sass +0 -0
  44. data/app/assets/stylesheets/sass/utilities/animations.sass +0 -0
  45. data/app/assets/stylesheets/sass/utilities/controls.sass +0 -0
  46. data/app/assets/stylesheets/sass/utilities/derived-variables.sass +2 -1
  47. data/app/assets/stylesheets/sass/utilities/functions.sass +0 -0
  48. data/app/assets/stylesheets/sass/utilities/initial-variables.sass +10 -12
  49. data/app/assets/stylesheets/sass/utilities/mixins.sass +0 -0
  50. data/app/assets/stylesheets/sass/utilities/variables.sass +1 -1
  51. data/bulma-rails.gemspec +1 -1
  52. metadata +4 -2
@@ -1,10 +1,13 @@
1
+ $section-padding: 3rem 1.5rem !default
2
+ $section-padding-medium: 9rem 1.5rem !default
3
+ $section-padding-large: 18rem 1.5rem !default
4
+
1
5
  .section
2
- background-color: $white
3
- padding: 3rem 1.5rem
6
+ padding: $section-padding
4
7
  // Responsiveness
5
8
  +desktop
6
9
  // Sizes
7
10
  &.is-medium
8
- padding: 9rem 1.5rem
11
+ padding: $section-padding-medium
9
12
  &.is-large
10
- padding: 18rem 1.5rem
13
+ padding: $section-padding-large
File without changes
File without changes
@@ -76,5 +76,6 @@ $size-large: $size-4 !default
76
76
  // Lists and maps
77
77
 
78
78
  $colors: ("white": ($white, $black), "black": ($black, $white), "light": ($light, $light-invert), "dark": ($dark, $dark-invert), "primary": ($primary, $primary-invert), "info": ($info, $info-invert), "success": ($success, $success-invert), "warning": ($warning, $warning-invert), "danger": ($danger, $danger-invert)) !default
79
+ $shades: ("black-bis": $black-bis, "black-ter": $black-ter, "grey-darker": $grey-darker, "grey-dark": $grey-dark, "grey": $grey, "grey-light": $grey-light, "grey-lighter": $grey-lighter, "white-ter": $white-ter, "white-bis": $white-bis) !default
79
80
 
80
- $sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 !default
81
+ $sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7 !default
File without changes
@@ -38,24 +38,22 @@ $size-7: 0.75rem !default
38
38
 
39
39
  $weight-light: 300 !default
40
40
  $weight-normal: 400 !default
41
- $weight-semibold: 500 !default
41
+ $weight-medium: 500 !default
42
+ $weight-semibold: 600 !default
42
43
  $weight-bold: 700 !default
43
44
 
44
- // Body
45
-
46
- $body-background: #fff !default
47
- $body-size: 16px !default
48
-
49
45
  // Responsiveness
50
46
 
47
+ // The container gap, which acts as the offset for breakpoints
48
+ $gap: 24px !default
51
49
  // 960, 1152, and 1344 have been chosen because they are divisible by both 12 and 16
52
50
  $tablet: 769px !default
53
- // 960px container + 40px
54
- $desktop: 1000px !default
55
- // 1152px container + 40
56
- $widescreen: 1192px !default
57
- // 1344px container + 40
58
- $fullhd: 1384px !default
51
+ // 960px container + 3rem
52
+ $desktop: 960px + (2 * $gap) !default
53
+ // 1152px container + 3rem
54
+ $widescreen: 1152px + (2 * $gap) !default
55
+ // 1344px container + 3rem
56
+ $fullhd: 1344px + (2 * $gap) !default
59
57
 
60
58
  // Miscellaneous
61
59
 
File without changes
@@ -147,4 +147,4 @@ $size-large: $size-4 !default
147
147
 
148
148
  $colors: ("white": ($white, $black), "black": ($black, $white), "light": ($light, $light-invert), "dark": ($dark, $dark-invert), "primary": ($primary, $primary-invert), "info": ($info, $info-invert), "success": ($success, $success-invert), "warning": ($warning, $warning-invert), "danger": ($danger, $danger-invert)) !default
149
149
 
150
- $sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 !default
150
+ $sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7 !default
data/bulma-rails.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = 'bulma-rails'
5
- gem.version = '0.4.3'
5
+ gem.version = '0.5.1'
6
6
  gem.authors = ["Joshua Jansen"]
7
7
  gem.email = ["joshuajansen88@gmail.com"]
8
8
  gem.description = %q{A modern CSS framework based on Flexbox}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bulma-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Jansen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-06 00:00:00.000000000 Z
11
+ date: 2017-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -41,6 +41,7 @@ files:
41
41
  - app/assets/stylesheets/sass/components/_all.sass
42
42
  - app/assets/stylesheets/sass/components/breadcrumb.sass
43
43
  - app/assets/stylesheets/sass/components/card.sass
44
+ - app/assets/stylesheets/sass/components/dropdown.sass
44
45
  - app/assets/stylesheets/sass/components/level.sass
45
46
  - app/assets/stylesheets/sass/components/media.sass
46
47
  - app/assets/stylesheets/sass/components/menu.sass
@@ -54,6 +55,7 @@ files:
54
55
  - app/assets/stylesheets/sass/elements/_all.sass
55
56
  - app/assets/stylesheets/sass/elements/box.sass
56
57
  - app/assets/stylesheets/sass/elements/button.sass
58
+ - app/assets/stylesheets/sass/elements/container.sass
57
59
  - app/assets/stylesheets/sass/elements/content.sass
58
60
  - app/assets/stylesheets/sass/elements/form.sass
59
61
  - app/assets/stylesheets/sass/elements/icon.sass