bulma-rails 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5b0f4d6f41267e12ff732b169a7c209cd613c387
4
- data.tar.gz: ec5d9ac2ad39f0c4c043d6b93f76500ac9c82065
3
+ metadata.gz: 2ea1a6f258531f3737000452db9d2870f3218ee4
4
+ data.tar.gz: 35058087effc8f6ecca48813e709cbf82d593cfc
5
5
  SHA512:
6
- metadata.gz: ccc262c5aad2f836d702f46483e95a0908e67152b70d3430690877bfcb37bb924d36561bcd334f43356bebc710dc7670301421424890ed0eaa8dd47968c28dba
7
- data.tar.gz: 6f576cab241f16d91959f11a51acb811b14628ba7999aa3f94b4adcc5d4c1a27fec3cd0660e755a885b6ec65de64d8431e4ef795256b25424454448154c782c9
6
+ metadata.gz: 70e1f66ad231331735832a7189c705fcd02860f8c2c7cfebe4257a56b9e07ceb959de9f464d91ade6a15e9de200be2efc94e153f81483d3a2ba128b58a41f577
7
+ data.tar.gz: 8ecb5eb94af6fc8972d033c8459c7cc251b636fba04d4a3a07dbdc079f65df0f4a8f976cf9b4e1a28235d2ce8de27b65f89e95f96b9a3910f7b3b1b3ae8a5c7f
@@ -105,6 +105,8 @@
105
105
  margin-bottom: -10px
106
106
  &:not(:last-child)
107
107
  margin-bottom: 10px
108
+ &.is-centered
109
+ justify-content: center
108
110
  &.is-mobile
109
111
  display: flex
110
112
  &.is-gapless
@@ -0,0 +1,34 @@
1
+ .modal-background
2
+ +overlay
3
+ background: rgba(black, 0.86)
4
+
5
+ .modal-content
6
+ margin: 0 20px
7
+ max-height: calc(100vh - 160px)
8
+ overflow: auto
9
+ position: relative
10
+ width: 100%
11
+ +tablet
12
+ margin: 0 auto
13
+ max-height: calc(100vh - 40px)
14
+ width: 640px
15
+
16
+ .modal-close
17
+ @extend .delete
18
+ background: none
19
+ height: 40px
20
+ position: fixed
21
+ right: 20px
22
+ top: 20px
23
+ width: 40px
24
+
25
+ .modal
26
+ +overlay
27
+ align-items: center
28
+ display: none
29
+ justify-content: center
30
+ overflow: hidden
31
+ position: fixed
32
+ z-index: 1986
33
+ &.is-active
34
+ display: flex
@@ -26,6 +26,15 @@
26
26
  +placeholder
27
27
  color: rgba($control, 0.3)
28
28
 
29
+ =form-control
30
+ +control
31
+ @each $name, $pair in $colors
32
+ $color: nth($pair, 1)
33
+ $color-invert: nth($pair, 2)
34
+ &.is-#{$name}
35
+ border-color: $color
36
+ color: $color
37
+
29
38
  =control-small
30
39
  border-radius: 2px
31
40
  font-size: 11px
@@ -44,7 +53,7 @@
44
53
  padding: 3px 12px
45
54
 
46
55
  .input
47
- +control
56
+ +form-control
48
57
  box-shadow: inset 0 1px 2px rgba(black, 0.1)
49
58
  display: block
50
59
  max-width: 100%
@@ -92,7 +101,7 @@
92
101
  position: relative
93
102
  vertical-align: top
94
103
  input
95
- +control
104
+ +form-control
96
105
  border-radius: 1px
97
106
  box-shadow: inset 0 1px 1px rgba(black, 0.1)
98
107
  cursor: pointer
@@ -153,7 +162,7 @@
153
162
  position: relative
154
163
  vertical-align: top
155
164
  select
156
- +control
165
+ +form-control
157
166
  cursor: pointer
158
167
  display: block
159
168
  outline: none
@@ -171,6 +180,12 @@
171
180
  &:after
172
181
  border-color: $link-hover
173
182
 
183
+ .label
184
+ color: $text-strong
185
+ display: block
186
+ &:not(:last-child)
187
+ margin-bottom: 5px
188
+
174
189
  .control
175
190
  position: relative
176
191
  text-align: left
@@ -0,0 +1,32 @@
1
+ $dimensions: 16 24 32 48 64 96 128
2
+
3
+ .image
4
+ display: block
5
+ position: relative
6
+ img
7
+ display: block
8
+ &.is-square,
9
+ &.is-1by1,
10
+ &.is-4by3,
11
+ &.is-3by2,
12
+ &.is-16by9,
13
+ &.is-2by1
14
+ img
15
+ +overlay
16
+ height: 100%
17
+ width: 100%
18
+ &.is-square,
19
+ &.is-1by1
20
+ padding-top: 100%
21
+ &.is-4by3
22
+ padding-top: 75%
23
+ &.is-3by2
24
+ padding-top: 66.6666%
25
+ &.is-16by9
26
+ padding-top: 56.25%
27
+ &.is-2by1
28
+ padding-top: 50%
29
+ @each $dimension in $dimensions
30
+ &.is-#{$dimension}x#{$dimension}
31
+ height: $dimension * 1px
32
+ width: $dimension * 1px
@@ -2,9 +2,13 @@
2
2
  .subtitle
3
3
  @extend .block
4
4
  font-weight: 300
5
+ em
6
+ font-weight: 300
5
7
  a
6
8
  &:hover
7
9
  border-bottom: 1px solid
10
+ .tag
11
+ vertical-align: bottom
8
12
 
9
13
  .title
10
14
  color: $text-strong
@@ -73,13 +73,6 @@
73
73
  .header-item:first-child
74
74
  padding-left: 0
75
75
 
76
- .header-center
77
- align-items: stretch
78
- display: flex
79
- left: 50%
80
- position: absolute
81
- transform: translateX(-50%)
82
-
83
76
  .header-right
84
77
  align-items: stretch
85
78
  +tablet
@@ -127,7 +120,6 @@
127
120
  .header.is-centered
128
121
  justify-content: center
129
122
  .header-left,
130
- .header-center,
131
123
  .header-right
132
124
  justify-content: center
133
125
 
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.14'
5
+ gem.version = '0.0.15'
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.14
4
+ version: 0.0.15
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-02-15 00:00:00.000000000 Z
11
+ date: 2016-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -44,6 +44,7 @@ files:
44
44
  - app/assets/stylesheets/bulma/components/grid.sass
45
45
  - app/assets/stylesheets/bulma/components/media.sass
46
46
  - app/assets/stylesheets/bulma/components/menu.sass
47
+ - app/assets/stylesheets/bulma/components/modal.sass
47
48
  - app/assets/stylesheets/bulma/components/navbar.sass
48
49
  - app/assets/stylesheets/bulma/components/table.sass
49
50
  - app/assets/stylesheets/bulma/components/tabs.sass
@@ -52,6 +53,7 @@ files:
52
53
  - app/assets/stylesheets/bulma/elements/buttons.sass
53
54
  - app/assets/stylesheets/bulma/elements/controls.sass
54
55
  - app/assets/stylesheets/bulma/elements/elements.sass
56
+ - app/assets/stylesheets/bulma/elements/images.sass
55
57
  - app/assets/stylesheets/bulma/elements/messages.sass
56
58
  - app/assets/stylesheets/bulma/elements/notifications.sass
57
59
  - app/assets/stylesheets/bulma/elements/titles.sass