bulma-rails 0.0.15 → 0.0.16

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: 2ea1a6f258531f3737000452db9d2870f3218ee4
4
- data.tar.gz: 35058087effc8f6ecca48813e709cbf82d593cfc
3
+ metadata.gz: 9dbaf4ca3046063bf1bdeac1621a4d346f540440
4
+ data.tar.gz: dca3ed5c677d15069139ad626316bd9339f4915e
5
5
  SHA512:
6
- metadata.gz: 70e1f66ad231331735832a7189c705fcd02860f8c2c7cfebe4257a56b9e07ceb959de9f464d91ade6a15e9de200be2efc94e153f81483d3a2ba128b58a41f577
7
- data.tar.gz: 8ecb5eb94af6fc8972d033c8459c7cc251b636fba04d4a3a07dbdc079f65df0f4a8f976cf9b4e1a28235d2ce8de27b65f89e95f96b9a3910f7b3b1b3ae8a5c7f
6
+ metadata.gz: 93b51adfa84f2056413fb7fe8bf8ae544f1bff5ddcf3d4df446903e76395b7e076de11afdd8e9e53175821b9ed8e35f8e98616a927c531e328814a34953f03c8
7
+ data.tar.gz: 80ca991c3cfa8d58ba2aae12721c2a7e489440e262e60f2ba850eb7d2e83e5ac987c5f878c68a904081508c5c6144c045c4fc2d5ce313ede4c945b8416ff09de
@@ -1,21 +1,6 @@
1
1
  .card-image
2
2
  display: block
3
3
  position: relative
4
- img
5
- display: block
6
- &.is-square,
7
- &.is-4x3,
8
- &.is-3x2
9
- img
10
- +overlay
11
- height: 100%
12
- width: 100%
13
- &.is-square
14
- padding-top: 100%
15
- &.is-4x3
16
- padding-top: 75%
17
- &.is-3x2
18
- padding-top: 66.6666%
19
4
 
20
5
  .card-content
21
6
  padding: 20px
@@ -30,6 +30,15 @@ $size-6: 14px
30
30
 
31
31
  $size-7: 11px
32
32
 
33
+ $weight-title-normal: 300
34
+ $weight-title-bold: 500
35
+
36
+ // Breakpoints
37
+
38
+ $tablet: 769px
39
+ $desktop: 980px
40
+ $widescreen: 1180px
41
+
33
42
  // Dimensions
34
43
 
35
44
  $column-gap: 20px
@@ -23,6 +23,7 @@
23
23
  &:hover
24
24
  background: $background
25
25
  border-color: $control-border
26
+ cursor: not-allowed
26
27
  +placeholder
27
28
  color: rgba($control, 0.3)
28
29
 
@@ -8,6 +8,7 @@
8
8
  @import "notifications"
9
9
 
10
10
  .box
11
+ @extend .block
11
12
  background: white
12
13
  border-radius: 5px
13
14
  box-shadow: 0 2px 3px rgba(black, 0.1), 0 0 0 1px rgba(black, 0.1)
@@ -1,9 +1,12 @@
1
1
  .title,
2
2
  .subtitle
3
3
  @extend .block
4
- font-weight: 300
5
- em
6
- font-weight: 300
4
+ font-weight: $weight-title-normal
5
+ em,
6
+ span
7
+ font-weight: $weight-title-normal
8
+ strong
9
+ font-weight: $weight-title-bold
7
10
  a
8
11
  &:hover
9
12
  border-bottom: 1px solid
@@ -44,7 +47,6 @@
44
47
  margin-top: -20px
45
48
  strong
46
49
  color: $text-strong
47
- font-weight: 400
48
50
  code
49
51
  border-radius: $radius
50
52
  display: inline-block
@@ -1,23 +1,28 @@
1
1
  .header
2
2
  +clearfix
3
3
  background: white
4
- box-shadow: 0 1px 2px rgba(black, 0.1)
5
4
  display: flex
6
- height: 50px
7
5
  line-height: 24px
8
6
  position: relative
9
7
  text-align: center
10
8
  z-index: 2
11
9
  .container
12
10
  align-items: stretch
13
- box-shadow: 0 1px 0 rgba($border, 0.3)
14
11
  display: flex
15
12
  width: 100%
13
+ &.has-shadow
14
+ box-shadow: 0 1px 2px rgba(black, 0.1)
15
+ +mobile
16
+ .container
17
+ flex-direction: column
16
18
  +tablet
17
19
  height: $header-height
18
20
 
19
21
  .header-toggle
20
22
  @extend .hamburger
23
+ position: absolute
24
+ right: 0
25
+ top: 0
21
26
  +tablet
22
27
  display: none
23
28
 
@@ -31,6 +36,7 @@
31
36
  max-height: 24px
32
37
  a
33
38
  color: $text
39
+ flex: 1
34
40
  &:hover
35
41
  color: $link-hover
36
42
  &.is-active
@@ -38,6 +44,10 @@
38
44
  .fa
39
45
  font-size: 21px
40
46
  line-height: 24px
47
+ .button + .button
48
+ margin-left: 10px
49
+ +mobile
50
+ text-align: left
41
51
 
42
52
  .header-icon
43
53
  +fa(14px, 24px)
@@ -69,6 +79,8 @@
69
79
  overflow: hidden
70
80
  overflow-x: auto
71
81
  white-space: nowrap
82
+ +mobile
83
+ height: $header-height
72
84
  +desktop
73
85
  .header-item:first-child
74
86
  padding-left: 0
@@ -101,14 +113,8 @@
101
113
 
102
114
  .header-menu
103
115
  +mobile
104
- background: white
105
116
  box-shadow: 0 4px 7px rgba(black, 0.1)
106
117
  display: none
107
- min-width: 120px
108
- position: absolute
109
- right: 0
110
- top: 50px
111
- z-index: 100
112
118
  .header-item
113
119
  border-top: 1px solid rgba($border, 0.5)
114
120
  padding: 10px
@@ -36,7 +36,8 @@
36
36
  text-align: center
37
37
  .header
38
38
  background: none
39
- box-shadow: none
39
+ .container
40
+ box-shadow: 0 1px 0 rgba($border, 0.3)
40
41
  .tabs
41
42
  a
42
43
  border: none
@@ -45,9 +46,6 @@
45
46
  &.is-boxed
46
47
  a
47
48
  padding: 8px 15px
48
- &.is-alt
49
- background: $background
50
- color: $text-light
51
49
  @each $name, $pair in $colors
52
50
  $color: nth($pair, 1)
53
51
  $color-invert: nth($pair, 2)
@@ -105,7 +103,6 @@
105
103
  span
106
104
  background: $color-invert
107
105
  .header-menu
108
- background: $color
109
106
  .header-item
110
107
  border-top-color: rgba($color-invert, 0.2)
111
108
  &.is-fullheight,
@@ -62,10 +62,6 @@
62
62
  -ms-user-select: none
63
63
  user-select: none
64
64
 
65
- $tablet: 769px
66
- $desktop: 980px
67
- $widescreen: 1180px
68
-
69
65
  =from($device)
70
66
  @media screen and (min-width: $device)
71
67
  @content
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.15'
5
+ gem.version = '0.0.16'
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.15
4
+ version: 0.0.16
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-23 00:00:00.000000000 Z
11
+ date: 2016-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass