bulma-rails 0.0.17.1 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/assets/stylesheets/bulma/base/content.sass +29 -20
- data/app/assets/stylesheets/bulma/base/generic.sass +23 -14
- data/app/assets/stylesheets/bulma/base/helpers.sass +6 -9
- data/app/assets/stylesheets/bulma/components/card.sass +4 -2
- data/app/assets/stylesheets/bulma/components/components.sass +9 -0
- data/app/assets/stylesheets/bulma/components/grid.sass +70 -10
- data/app/assets/stylesheets/bulma/components/media.sass +3 -0
- data/app/assets/stylesheets/bulma/components/menu.sass +6 -4
- data/app/assets/stylesheets/bulma/components/modal.sass +2 -0
- data/app/assets/stylesheets/bulma/components/navbar.sass +22 -17
- data/app/assets/stylesheets/bulma/components/pagination.sass +2 -0
- data/app/assets/stylesheets/bulma/components/panel.sass +5 -26
- data/app/assets/stylesheets/bulma/components/table.sass +42 -32
- data/app/assets/stylesheets/bulma/components/tabs.sass +30 -26
- data/app/assets/stylesheets/bulma/config/generated-variables.sass +1 -0
- data/app/assets/stylesheets/bulma/elements/buttons.sass +25 -17
- data/app/assets/stylesheets/bulma/elements/controls.sass +58 -84
- data/app/assets/stylesheets/bulma/elements/elements.sass +27 -31
- data/app/assets/stylesheets/bulma/elements/images.sass +2 -0
- data/app/assets/stylesheets/bulma/elements/messages.sass +4 -5
- data/app/assets/stylesheets/bulma/elements/notifications.sass +8 -8
- data/app/assets/stylesheets/bulma/elements/progress.sass +9 -7
- data/app/assets/stylesheets/bulma/elements/titles.sass +24 -20
- data/app/assets/stylesheets/bulma/layout/header.sass +21 -8
- data/app/assets/stylesheets/bulma/layout/hero.sass +24 -17
- data/app/assets/stylesheets/bulma/layout/section.sass +2 -0
- data/bulma-rails.gemspec +1 -1
- metadata +2 -2
@@ -10,8 +10,10 @@
|
|
10
10
|
align-items: stretch
|
11
11
|
display: flex
|
12
12
|
width: 100%
|
13
|
+
// Modifiers
|
13
14
|
&.has-shadow
|
14
15
|
box-shadow: 0 1px 2px rgba(black, 0.1)
|
16
|
+
// Responsiveness
|
15
17
|
+mobile
|
16
18
|
.container
|
17
19
|
flex-direction: column
|
@@ -23,6 +25,7 @@
|
|
23
25
|
position: absolute
|
24
26
|
right: 0
|
25
27
|
top: 0
|
28
|
+
// Responsiveness
|
26
29
|
+tablet
|
27
30
|
display: none
|
28
31
|
|
@@ -32,15 +35,21 @@
|
|
32
35
|
align-items: center
|
33
36
|
display: flex
|
34
37
|
padding: 10px
|
35
|
-
img
|
36
|
-
max-height: 24px
|
37
38
|
a
|
38
39
|
flex-grow: 1
|
40
|
+
img
|
41
|
+
max-height: 24px
|
42
|
+
.button + .button
|
43
|
+
margin-left: 10px
|
39
44
|
.fa
|
40
45
|
font-size: 21px
|
41
46
|
line-height: 24px
|
42
|
-
.
|
43
|
-
|
47
|
+
.tag
|
48
|
+
&:first-child
|
49
|
+
margin-right: 5px
|
50
|
+
&:last-child
|
51
|
+
margin-left: 5px
|
52
|
+
// Responsiveness
|
44
53
|
+mobile
|
45
54
|
text-align: left
|
46
55
|
|
@@ -49,6 +58,7 @@ a.header-item
|
|
49
58
|
color: $text
|
50
59
|
&:hover
|
51
60
|
color: $link-hover
|
61
|
+
// Modifiers
|
52
62
|
&.is-active
|
53
63
|
color: $link-active
|
54
64
|
|
@@ -69,6 +79,7 @@ a.header-item
|
|
69
79
|
padding: 13px 15px
|
70
80
|
&:hover
|
71
81
|
border-bottom: 1px solid $link
|
82
|
+
// Modifiers
|
72
83
|
&.is-active
|
73
84
|
border-bottom: 3px solid $link
|
74
85
|
color: $link
|
@@ -82,19 +93,19 @@ a.header-item
|
|
82
93
|
overflow: hidden
|
83
94
|
overflow-x: auto
|
84
95
|
white-space: nowrap
|
96
|
+
// Responsiveness
|
85
97
|
+mobile
|
86
98
|
height: $header-height
|
87
99
|
+desktop
|
88
|
-
|
89
|
-
padding-left: 0
|
100
|
+
margin-left: -10px
|
90
101
|
|
91
102
|
.header-right
|
92
103
|
align-items: stretch
|
104
|
+
// Responsiveness
|
93
105
|
+tablet
|
94
106
|
display: flex
|
95
107
|
+desktop
|
96
|
-
|
97
|
-
padding-right: 0
|
108
|
+
margin-right: -10px
|
98
109
|
|
99
110
|
.header-full
|
100
111
|
align-items: stretch
|
@@ -115,12 +126,14 @@ a.header-item
|
|
115
126
|
width: 100%
|
116
127
|
|
117
128
|
.header-menu
|
129
|
+
// Responsiveness
|
118
130
|
+mobile
|
119
131
|
box-shadow: 0 4px 7px rgba(black, 0.1)
|
120
132
|
display: none
|
121
133
|
.header-item
|
122
134
|
border-top: 1px solid rgba($border, 0.5)
|
123
135
|
padding: 10px
|
136
|
+
// Modifiers
|
124
137
|
&.is-active
|
125
138
|
display: block
|
126
139
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
.hero-video
|
2
2
|
+overlay
|
3
3
|
overflow: hidden
|
4
|
-
&.is-transparent
|
5
|
-
opacity: 0.3
|
6
4
|
video
|
7
5
|
left: 50%
|
8
6
|
min-height: 100%
|
@@ -10,16 +8,22 @@
|
|
10
8
|
position: absolute
|
11
9
|
top: 50%
|
12
10
|
transform: translate3d(-50%, -50%, 0)
|
11
|
+
// Modifiers
|
12
|
+
&.is-transparent
|
13
|
+
opacity: 0.3
|
14
|
+
// Responsiveness
|
13
15
|
+mobile
|
14
16
|
display: none
|
15
17
|
|
16
18
|
.hero-content
|
17
19
|
padding: 40px 20px
|
20
|
+
// Responsiveness
|
18
21
|
+desktop
|
19
22
|
padding: 40px 0
|
20
23
|
|
21
24
|
.hero-buttons
|
22
25
|
margin-top: 20px
|
26
|
+
// Responsiveness
|
23
27
|
+mobile
|
24
28
|
.button
|
25
29
|
display: block
|
@@ -33,7 +37,6 @@
|
|
33
37
|
|
34
38
|
.hero
|
35
39
|
background: white
|
36
|
-
text-align: center
|
37
40
|
.header
|
38
41
|
background: none
|
39
42
|
.container
|
@@ -43,9 +46,11 @@
|
|
43
46
|
border: none
|
44
47
|
ul
|
45
48
|
border-bottom: none
|
49
|
+
// Modifiers
|
46
50
|
&.is-boxed
|
47
51
|
a
|
48
52
|
padding: 8px 15px
|
53
|
+
// Colors
|
49
54
|
@each $name, $pair in $colors
|
50
55
|
$color: nth($pair, 1)
|
51
56
|
$color-invert: nth($pair, 2)
|
@@ -89,10 +94,12 @@
|
|
89
94
|
&:hover
|
90
95
|
background: $color-invert
|
91
96
|
color: $color
|
97
|
+
// Modifiers
|
92
98
|
&.is-bold
|
93
99
|
$gradient-top-left: darken(saturate(adjust-hue($color, -10deg), 10%), 10%)
|
94
100
|
$gradient-bottom-right: lighten(saturate(adjust-hue($color, 10deg), 5%), 5%)
|
95
101
|
background-image: linear-gradient(141deg, $gradient-top-left 0%, $color 71%, $gradient-bottom-right 100%)
|
102
|
+
// Responsiveness
|
96
103
|
+mobile
|
97
104
|
.header-toggle
|
98
105
|
span
|
@@ -105,28 +112,21 @@
|
|
105
112
|
.header-menu
|
106
113
|
.header-item
|
107
114
|
border-top-color: rgba($color-invert, 0.2)
|
115
|
+
// Sizes
|
108
116
|
&.is-fullheight,
|
109
117
|
&.is-large
|
118
|
+
// Responsiveness
|
110
119
|
+tablet
|
111
120
|
.tabs
|
112
121
|
font-size: $size-medium
|
113
122
|
&.is-medium
|
123
|
+
// Responsiveness
|
114
124
|
+tablet
|
115
125
|
.hero-content
|
116
126
|
padding: 120px 20px
|
117
127
|
+desktop
|
118
128
|
.hero-content
|
119
129
|
padding: 120px 0
|
120
|
-
&.is-large
|
121
|
-
.tabs
|
122
|
-
a
|
123
|
-
padding: 10px 15px
|
124
|
-
+tablet
|
125
|
-
.hero-content
|
126
|
-
padding: 240px 20px
|
127
|
-
+desktop
|
128
|
-
.hero-content
|
129
|
-
padding: 240px 0
|
130
130
|
&.is-fullheight
|
131
131
|
align-items: stretch
|
132
132
|
display: flex
|
@@ -141,7 +141,14 @@
|
|
141
141
|
flex: 1
|
142
142
|
flex-direction: column
|
143
143
|
justify-content: center
|
144
|
-
&.is-
|
145
|
-
|
146
|
-
|
147
|
-
|
144
|
+
&.is-large
|
145
|
+
.tabs
|
146
|
+
a
|
147
|
+
padding: 10px 15px
|
148
|
+
// Responsiveness
|
149
|
+
+tablet
|
150
|
+
.hero-content
|
151
|
+
padding: 240px 20px
|
152
|
+
+desktop
|
153
|
+
.hero-content
|
154
|
+
padding: 240px 0
|
data/bulma-rails.gemspec
CHANGED
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.
|
4
|
+
version: 0.0.18
|
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-
|
11
|
+
date: 2016-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|