bulma-rails 0.0.28 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/bulma.sass +0 -0
  3. data/app/assets/stylesheets/sass/base/base.sass +0 -0
  4. data/app/assets/stylesheets/sass/base/classes.sass +0 -0
  5. data/app/assets/stylesheets/sass/base/generic.sass +4 -4
  6. data/app/assets/stylesheets/sass/base/helpers.sass +0 -0
  7. data/app/assets/stylesheets/sass/components/card.sass +2 -2
  8. data/app/assets/stylesheets/sass/components/components.sass +0 -0
  9. data/app/assets/stylesheets/sass/components/grid.sass +3 -2
  10. data/app/assets/stylesheets/sass/components/highlight.sass +0 -0
  11. data/app/assets/stylesheets/sass/components/level.sass +0 -0
  12. data/app/assets/stylesheets/sass/components/media.sass +1 -1
  13. data/app/assets/stylesheets/sass/components/menu.sass +3 -3
  14. data/app/assets/stylesheets/sass/components/message.sass +4 -4
  15. data/app/assets/stylesheets/sass/components/modal.sass +4 -4
  16. data/app/assets/stylesheets/sass/components/nav.sass +2 -2
  17. data/app/assets/stylesheets/sass/components/navbar.sass +0 -0
  18. data/app/assets/stylesheets/sass/components/pagination.sass +0 -0
  19. data/app/assets/stylesheets/sass/components/panel.sass +3 -3
  20. data/app/assets/stylesheets/sass/components/tabs.sass +4 -4
  21. data/app/assets/stylesheets/sass/elements/box.sass +2 -2
  22. data/app/assets/stylesheets/sass/elements/button.sass +9 -9
  23. data/app/assets/stylesheets/sass/elements/content.sass +2 -2
  24. data/app/assets/stylesheets/sass/elements/elements.sass +0 -0
  25. data/app/assets/stylesheets/sass/elements/form.sass +0 -0
  26. data/app/assets/stylesheets/sass/elements/image.sass +0 -0
  27. data/app/assets/stylesheets/sass/elements/notification.sass +2 -2
  28. data/app/assets/stylesheets/sass/elements/other.sass +9 -9
  29. data/app/assets/stylesheets/sass/elements/progress.sass +5 -5
  30. data/app/assets/stylesheets/sass/elements/table.sass +6 -6
  31. data/app/assets/stylesheets/sass/elements/title.sass +0 -0
  32. data/app/assets/stylesheets/sass/layout/footer.sass +1 -1
  33. data/app/assets/stylesheets/sass/layout/header.sass +2 -2
  34. data/app/assets/stylesheets/sass/layout/hero.sass +8 -8
  35. data/app/assets/stylesheets/sass/layout/layout.sass +0 -0
  36. data/app/assets/stylesheets/sass/layout/section.sass +1 -1
  37. data/app/assets/stylesheets/sass/utilities/animations.sass +0 -0
  38. data/app/assets/stylesheets/sass/utilities/controls.sass +3 -3
  39. data/app/assets/stylesheets/sass/utilities/functions.sass +0 -0
  40. data/app/assets/stylesheets/sass/utilities/mixins.sass +3 -1
  41. data/app/assets/stylesheets/sass/utilities/reset.sass +0 -0
  42. data/app/assets/stylesheets/sass/utilities/utilities.sass +0 -0
  43. data/app/assets/stylesheets/sass/utilities/variables.sass +2 -0
  44. data/bulma-rails.gemspec +1 -1
  45. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6dc3ecac676a038c4fa9fc991854a35e1b1209e7
4
- data.tar.gz: 957d8a24c8a5a60bcc0c1e6aa7f444bfa679d33d
3
+ metadata.gz: 3bdd0b1a166464efd63445c9de4e96aaab45dad6
4
+ data.tar.gz: b3ef8504a81f59493a7843936cbbcd6720690458
5
5
  SHA512:
6
- metadata.gz: 21a77831e02c3523120873f99c61e46cdb4b1487428c855a00fe8814504579d244f524fb7c687a2891436bbd823e11421aa60d803248f32e83f08f4eada69b47
7
- data.tar.gz: b425eb1d15b8ee764bb96a9ad7b053f7732c34605caacf278e130d0201bfd64e76fb1243084eb158189b8c158f14dddf5ea254a91d4c59b5a3aee0871167afd2
6
+ metadata.gz: 688f915cc5805dcd9d452ca08fa72e2f1d39e1a61a8cf65843e899ee229beba613adac56aa5efdfdf395e827bcf980a4e243e709007083f12d44a08c4e7e1a5d
7
+ data.tar.gz: c474a4bbed05dde238d90b5018084f65df68b12a33917c3dbb29bed2f7080e9488dfab9547bce2bc4660eb72a36530469b2fc4f0f126973a7733c1985d4ea343
File without changes
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  html
2
- background: $body-background
2
+ background-color: $body-background
3
3
  font-size: $size-normal
4
4
  -moz-osx-font-smoothing: grayscale
5
5
  -webkit-font-smoothing: antialiased
@@ -48,7 +48,7 @@ a
48
48
  color: $link-hover
49
49
 
50
50
  code
51
- background: $code-background
51
+ background-color: $code-background
52
52
  color: $code
53
53
  font-size: 12px
54
54
  font-weight: normal
@@ -79,12 +79,12 @@ strong
79
79
  // Block
80
80
 
81
81
  pre
82
- background: $pre-background
82
+ background-color: $pre-background
83
83
  color: $pre
84
84
  white-space: pre
85
85
  word-wrap: normal
86
86
  code
87
- background: $pre-background
87
+ background-color: $pre-background
88
88
  color: $pre
89
89
  display: block
90
90
  overflow-x: auto
File without changes
@@ -43,7 +43,7 @@
43
43
  border-right: 1px solid $border
44
44
 
45
45
  .card
46
- background: $white
46
+ background-color: $white
47
47
  box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1)
48
48
  color: $text
49
49
  max-width: 100%
@@ -55,4 +55,4 @@
55
55
  &.is-fullwidth
56
56
  width: 100%
57
57
  &.is-rounded
58
- border-radius: 5px
58
+ border-radius: $radius-large
@@ -1,5 +1,5 @@
1
1
  .column
2
- flex: 1
2
+ flex: 1 1 auto
3
3
  padding: 10px
4
4
  .columns.is-mobile > &.is-narrow
5
5
  flex: none
@@ -250,7 +250,8 @@
250
250
 
251
251
  .tile
252
252
  align-items: stretch
253
- flex: 1
253
+ flex: 1 1 auto
254
+ min-height: min-content
254
255
  // Modifiers
255
256
  &.is-ancestor
256
257
  margin-left: -10px
File without changes
@@ -1,5 +1,5 @@
1
1
  .media-number
2
- background: $background
2
+ background-color: $background
3
3
  border-radius: 290486px
4
4
  display: inline-block
5
5
  font-size: $size-medium
@@ -5,16 +5,16 @@
5
5
 
6
6
  .menu-list
7
7
  a
8
- border-radius: 2px
8
+ border-radius: $radius-small
9
9
  color: $text
10
10
  display: block
11
11
  padding: 5px 10px
12
12
  &:hover
13
- background: $background
13
+ background-color: $background
14
14
  color: $link
15
15
  // Modifiers
16
16
  &.is-active
17
- background: $link
17
+ background-color: $link
18
18
  color: $link-invert
19
19
  li
20
20
  ul
@@ -6,7 +6,7 @@
6
6
  color: inherit
7
7
 
8
8
  .message-header
9
- background: $text
9
+ background-color: $text
10
10
  border-radius: $radius $radius 0 0
11
11
  color: $text-invert
12
12
  padding: 7px 10px
@@ -18,7 +18,7 @@
18
18
 
19
19
  .message
20
20
  @extend .block
21
- background: $background
21
+ background-color: $background
22
22
  border-radius: $radius
23
23
  // Colors
24
24
  @each $name, $pair in $colors
@@ -27,9 +27,9 @@
27
27
  $lightning: max((100% - lightness($color)) - 4%, 0%)
28
28
  $darkness: max(lightness($color) - 10%, lightness($color))
29
29
  &.is-#{$name}
30
- background: lighten($color, $lightning)
30
+ background-color: lighten($color, $lightning)
31
31
  .message-header
32
- background: $color
32
+ background-color: $color
33
33
  color: $color-invert
34
34
  .message-body
35
35
  border-color: $color
@@ -1,6 +1,6 @@
1
1
  .modal-background
2
2
  +overlay
3
- background: rgba($black, 0.86)
3
+ background-color: rgba($black, 0.86)
4
4
 
5
5
  .modal-content
6
6
  margin: 0 20px
@@ -25,8 +25,8 @@
25
25
 
26
26
  .modal-card
27
27
  @extend .modal-content
28
- background: $white
29
- border-radius: 5px
28
+ background-color: $white
29
+ border-radius: $radius-large
30
30
  display: flex
31
31
  flex-direction: column
32
32
  max-height: calc(100vh - 40px)
@@ -35,7 +35,7 @@
35
35
  .modal-card-head,
36
36
  .modal-card-foot
37
37
  align-items: center
38
- background: $background
38
+ background-color: $background
39
39
  display: flex
40
40
  flex-shrink: 0
41
41
  justify-content: flex-start
@@ -52,7 +52,7 @@ a.nav-item
52
52
  .nav-menu
53
53
  // Responsiveness
54
54
  +mobile
55
- background: $white
55
+ background-color: $white
56
56
  box-shadow: 0 4px 7px rgba($black, 0.1)
57
57
  left: 0
58
58
  display: none
@@ -91,7 +91,7 @@ a.nav-item
91
91
 
92
92
  .nav
93
93
  align-items: stretch
94
- background: $white
94
+ background-color: $white
95
95
  display: flex
96
96
  min-height: $nav-height
97
97
  position: relative
File without changes
@@ -8,7 +8,7 @@
8
8
  line-height: inherit
9
9
 
10
10
  .panel-heading
11
- background: $background
11
+ background-color: $background
12
12
  border-bottom: 1px solid $border
13
13
  border-radius: 4px 4px 0 0
14
14
  color: $text-strong
@@ -48,10 +48,10 @@
48
48
 
49
49
  a.panel-block
50
50
  &:hover
51
- background: $background
51
+ background-color: $background
52
52
 
53
53
  .panel
54
54
  border: 1px solid $border
55
- border-radius: 5px
55
+ border-radius: $radius-large
56
56
  &:not(:last-child)
57
57
  margin-bottom: 20px
@@ -62,12 +62,12 @@
62
62
  padding-bottom: 5px
63
63
  padding-top: 5px
64
64
  &:hover
65
- background: $background
65
+ background-color: $background
66
66
  border-bottom-color: $border
67
67
  li
68
68
  &.is-active
69
69
  a
70
- background: $white
70
+ background-color: $white
71
71
  border-color: $border
72
72
  border-bottom-color: transparent !important
73
73
  &.is-fullwidth
@@ -81,7 +81,7 @@
81
81
  padding-top: 5px
82
82
  position: relative
83
83
  &:hover
84
- background: $background
84
+ background-color: $background
85
85
  border-color: $border-hover
86
86
  z-index: 2
87
87
  li
@@ -93,7 +93,7 @@
93
93
  border-radius: 0 $radius $radius 0
94
94
  &.is-active
95
95
  a
96
- background: $primary
96
+ background-color: $primary
97
97
  border-color: $primary
98
98
  color: $primary-invert
99
99
  z-index: 1
@@ -1,7 +1,7 @@
1
1
  .box
2
2
  @extend .block
3
- background: $white
4
- border-radius: 5px
3
+ background-color: $white
4
+ border-radius: $radius-large
5
5
  box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1)
6
6
  display: block
7
7
  padding: 20px
@@ -1,5 +1,5 @@
1
1
  =button-small
2
- border-radius: 2px
2
+ border-radius: $radius-small
3
3
  font-size: 11px
4
4
  height: 24px
5
5
  line-height: 16px
@@ -50,42 +50,42 @@
50
50
  $color: nth($pair, 1)
51
51
  $color-invert: nth($pair, 2)
52
52
  &.is-#{$name}
53
- background: $color
53
+ background-color: $color
54
54
  border-color: transparent
55
55
  color: $color-invert
56
56
  &:hover,
57
57
  &:focus,
58
58
  &.is-active
59
- background: darken($color, 10%)
59
+ background-color: darken($color, 10%)
60
60
  border-color: transparent
61
61
  color: $color-invert
62
62
  &:active
63
63
  border-color: transparent
64
64
  &.is-inverted
65
- background: $color-invert
65
+ background-color: $color-invert
66
66
  color: $color
67
67
  &:hover
68
- background: darken($color-invert, 5%)
68
+ background-color: darken($color-invert, 5%)
69
69
  &.is-loading
70
70
  &:after
71
71
  border-color: transparent transparent $color-invert $color-invert !important
72
72
  &.is-outlined
73
- background: transparent
73
+ background-color: transparent
74
74
  border-color: $color
75
75
  color: $color
76
76
  &:hover,
77
77
  &:focus
78
- background: $color
78
+ background-color: $color
79
79
  border-color: $color
80
80
  color: $color-invert
81
81
  &.is-link
82
- background: transparent
82
+ background-color: transparent
83
83
  border-color: transparent
84
84
  color: $text
85
85
  text-decoration: underline
86
86
  &:hover,
87
87
  &:focus
88
- background: $border
88
+ background-color: $border
89
89
  color: $text-strong
90
90
  // Sizes
91
91
  &.is-small
@@ -1,7 +1,7 @@
1
1
  .content
2
2
  @extend .block
3
3
  // Inline
4
- a
4
+ a:not(.button)
5
5
  border-bottom: 1px solid $border
6
6
  &:visited
7
7
  color: $link-visited
@@ -32,7 +32,7 @@
32
32
  &:not(:first-child)
33
33
  margin-top: 40px
34
34
  blockquote
35
- background: $background
35
+ background-color: $background
36
36
  border-left: 5px solid $border
37
37
  padding: 1.5em
38
38
  h1
File without changes
File without changes
File without changes
@@ -1,7 +1,7 @@
1
1
  .notification
2
2
  @extend .block
3
3
  +clearfix
4
- background: $background
4
+ background-color: $background
5
5
  border-radius: $radius
6
6
  padding: 16px 20px
7
7
  position: relative
@@ -17,5 +17,5 @@
17
17
  $color: nth($pair, 1)
18
18
  $color-invert: nth($pair, 2)
19
19
  &.is-#{$name}
20
- background: $color
20
+ background-color: $color
21
21
  color: $color-invert
@@ -2,7 +2,7 @@
2
2
  @extend .unselectable
3
3
  -moz-appearance: none
4
4
  -webkit-appearance: none
5
- background: rgba($black, 0.2)
5
+ background-color: rgba($black, 0.2)
6
6
  border: none
7
7
  border-radius: 290486px
8
8
  cursor: pointer
@@ -13,7 +13,7 @@
13
13
  width: 24px
14
14
  &:before,
15
15
  &:after
16
- background: $white
16
+ background-color: $white
17
17
  content: ""
18
18
  display: block
19
19
  height: 2px
@@ -28,7 +28,7 @@
28
28
  &:after
29
29
  transform: rotate(-45deg)
30
30
  &:hover
31
- background: rgba($black, 0.5)
31
+ background-color: rgba($black, 0.5)
32
32
  // Sizes
33
33
  &.is-small
34
34
  height: 16px
@@ -60,7 +60,7 @@
60
60
  position: relative
61
61
  width: $nav-height
62
62
  span
63
- background: $text
63
+ background-color: $text
64
64
  display: block
65
65
  height: 1px
66
66
  left: 50%
@@ -77,11 +77,11 @@
77
77
  &:nth-child(3)
78
78
  margin-top: 4px
79
79
  &:hover
80
- background: $background
80
+ background-color: $background
81
81
  // Modifers
82
82
  &.is-active
83
83
  span
84
- background: $link
84
+ background-color: $link
85
85
  &:nth-child(1)
86
86
  margin-left: -5px
87
87
  transform: rotate(45deg)
@@ -124,7 +124,7 @@
124
124
  width: 16px
125
125
 
126
126
  .number
127
- background: $background
127
+ background-color: $background
128
128
  border-radius: 290486px
129
129
  display: inline-block
130
130
  font-size: $size-medium
@@ -132,7 +132,7 @@
132
132
 
133
133
  .tag
134
134
  align-items: center
135
- background: $background
135
+ background-color: $background
136
136
  border-radius: 290486px
137
137
  color: $text
138
138
  display: inline-flex
@@ -155,7 +155,7 @@
155
155
  $color: nth($pair, 1)
156
156
  $color-invert: nth($pair, 2)
157
157
  &.is-#{$name}
158
- background: $color
158
+ background-color: $color
159
159
  color: $color-invert
160
160
  // Sizes
161
161
  &.is-small
@@ -10,19 +10,19 @@
10
10
  padding: 0
11
11
  width: 100%
12
12
  &::-webkit-progress-bar
13
- background: $border
13
+ background-color: $border
14
14
  &::-webkit-progress-value
15
- background: $text
15
+ background-color: $text
16
16
  &::-moz-progress-bar
17
- background: $text
17
+ background-color: $text
18
18
  // Colors
19
19
  @each $name, $pair in $colors
20
20
  $color: nth($pair, 1)
21
21
  &.is-#{$name}
22
22
  &::-webkit-progress-value
23
- background: $color
23
+ background-color: $color
24
24
  &::-moz-progress-bar
25
- background: $color
25
+ background-color: $color
26
26
  // Sizes
27
27
  &.is-small
28
28
  height: 8px
@@ -1,5 +1,5 @@
1
1
  .table
2
- background: $white
2
+ background-color: $white
3
3
  color: $text-strong
4
4
  margin-bottom: 20px
5
5
  width: 100%
@@ -27,7 +27,7 @@
27
27
  display: block
28
28
  padding: 8px 10px
29
29
  &:hover
30
- background: $link
30
+ background-color: $link
31
31
  color: $link-invert
32
32
  &.is-narrow
33
33
  white-space: nowrap
@@ -37,7 +37,7 @@
37
37
  text-align: left
38
38
  tr
39
39
  &:hover
40
- background: $background
40
+ background-color: $background
41
41
  color: $text-strong
42
42
  thead
43
43
  td,
@@ -84,8 +84,8 @@
84
84
  tbody
85
85
  tr
86
86
  &:hover
87
- background: darken($background, 2%)
87
+ background-color: darken($background, 2%)
88
88
  &:nth-child(2n)
89
- background: $background
89
+ background-color: $background
90
90
  &:hover
91
- background: darken($background, 2%)
91
+ background-color: darken($background, 2%)
File without changes
@@ -1,5 +1,5 @@
1
1
  .footer
2
- background: $background
2
+ background-color: $background
3
3
  padding: 40px 20px 80px
4
4
  a
5
5
  &,
@@ -2,7 +2,7 @@ $header-height: 50px !default
2
2
 
3
3
  .header
4
4
  +clearfix
5
- background: $white
5
+ background-color: $white
6
6
  display: flex
7
7
  line-height: 24px
8
8
  min-height: $header-height
@@ -143,7 +143,7 @@ a.header-item
143
143
  justify-content: center
144
144
 
145
145
  .header.is-small
146
- background: $background
146
+ background-color: $background
147
147
  box-shadow: none
148
148
  height: 40px
149
149
  z-index: 1
@@ -49,7 +49,7 @@
49
49
 
50
50
  .hero
51
51
  align-items: stretch
52
- background: $white
52
+ background-color: $white
53
53
  display: flex
54
54
  flex-direction: column
55
55
  justify-content: space-between
@@ -64,7 +64,7 @@
64
64
  $color: nth($pair, 1)
65
65
  $color-invert: nth($pair, 2)
66
66
  &.is-#{$name}
67
- background: $color
67
+ background-color: $color
68
68
  color: $color-invert
69
69
  .title
70
70
  color: $color-invert
@@ -80,7 +80,7 @@
80
80
  box-shadow: 0 1px 0 rgba($color-invert, 0.2)
81
81
  .nav-menu
82
82
  +mobile
83
- background: $color
83
+ background-color: $color
84
84
  a.nav-item,
85
85
  .nav-item a:not(.button)
86
86
  color: rgba($color-invert, 0.5)
@@ -101,11 +101,11 @@
101
101
  a
102
102
  color: $color-invert
103
103
  &:hover
104
- background: rgba($black, 0.1)
104
+ background-color: rgba($black, 0.1)
105
105
  li.is-active a
106
106
  &,
107
107
  &:hover
108
- background: $color-invert
108
+ background-color: $color-invert
109
109
  border-color: $color-invert
110
110
  color: $color
111
111
  // Modifiers
@@ -117,12 +117,12 @@
117
117
  +mobile
118
118
  .nav-toggle
119
119
  span
120
- background: $color-invert
120
+ background-color: $color-invert
121
121
  &:hover
122
- background: rgba($black, 0.1)
122
+ background-color: rgba($black, 0.1)
123
123
  &.is-active
124
124
  span
125
- background: $color-invert
125
+ background-color: $color-invert
126
126
  .nav-menu
127
127
  .nav-item
128
128
  border-top-color: rgba($color-invert, 0.2)
File without changes
@@ -1,5 +1,5 @@
1
1
  .section
2
- background: $white
2
+ background-color: $white
3
3
  padding: 40px 20px
4
4
  // Responsiveness
5
5
  +desktop
@@ -2,7 +2,7 @@
2
2
  -moz-appearance: none
3
3
  -webkit-appearance: none
4
4
  align-items: center
5
- background: $control-background
5
+ background-color: $control-background
6
6
  border: 1px solid $control-border
7
7
  border-radius: $radius
8
8
  color: $control
@@ -24,7 +24,7 @@
24
24
  outline: none
25
25
  &[disabled],
26
26
  &.is-disabled
27
- background: $background
27
+ background-color: $background
28
28
  border-color: $control-border
29
29
  cursor: not-allowed
30
30
  pointer-events: none
@@ -32,7 +32,7 @@
32
32
  color: rgba($control, 0.3)
33
33
 
34
34
  =control-small
35
- border-radius: 2px
35
+ border-radius: $radius-small
36
36
  font-size: 11px
37
37
  height: 24px
38
38
  line-height: 16px
File without changes
@@ -46,7 +46,9 @@
46
46
  @content
47
47
 
48
48
  =replace($background, $width, $height)
49
- background: $background center center no-repeat
49
+ background-color: $background
50
+ background-position: center center
51
+ background-repeat: no-repeat
50
52
  background-size: $width $height
51
53
  display: block
52
54
  height: $height
File without changes
File without changes
@@ -52,7 +52,9 @@ $nav-height: 50px !default
52
52
  // Miscellaneous
53
53
 
54
54
  $easing: ease-out !default
55
+ $radius-small: 2px !default
55
56
  $radius: 3px !default
57
+ $radius-large: 5px !default
56
58
  $speed: 86ms !default
57
59
 
58
60
  // 2. Primary colors
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.0.28'
5
+ gem.version = '0.1.0'
6
6
  gem.date = Date.today
7
7
  gem.authors = ["Joshua Jansen"]
8
8
  gem.email = ["joshuajansen88@gmail.com"]
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.0.28
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Jansen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-31 00:00:00.000000000 Z
11
+ date: 2016-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass