+
diff --git a/docs/_sass/footer.sass b/docs/_sass/footer.sass
index cd98dd89..cd935964 100644
--- a/docs/_sass/footer.sass
+++ b/docs/_sass/footer.sass
@@ -1,81 +1,120 @@
-#about
- .twitter-container
- display: block
- height: 30px
- line-height: 30px
- margin-top: 0.5rem
- small
- display: block
- margin-top: 5px
+.bd-footer-title
+ color: $text-strong
+ font-size: 1.25rem
+ line-height: 1.25
+ margin-bottom: 1rem
+ transition-duration: $speed
+ transition-property: color
+ strong
+ font-weight: $weight-semibold
-#mc_embed_signup
- .field
- margin-bottom: 0
- .notification
- margin-top: 0.75rem
+.bd-footer-subtitle
+ color: $grey-light
+ margin-top: -1rem
+ transition-duration: $speed
+ transition-property: color
-#share
- form
- height: 30px
- margin-top: 10px
-
-#social
- align-items: center
+.bd-footer-iframe
display: flex
flex-wrap: wrap
- justify-content: flex-start
- max-width: 400px
- > iframe,
- > a,
- > form,
- > div
- display: inline-block
- font-size: 11px
- height: 30px
- line-height: 30px
- margin-top: 0.5rem
- .github-btn
- width: 160px
- .twitter-share-button
- margin-right: 10px
- min-width: 76px
- .paypal-form
- min-width: 148px
+ min-height: 30px
.fb-like
- align-items: center
- display: flex
- width: 130px
- .bd-patreon-button
- height: 30px
- margin-right: 0.5rem
- width: 128px
+ margin-left: 10px
-#newsletter
- .input
- border-color: $white
- box-shadow: none
+.bd-footer-tsp
+ color: $grey-light
+ margin-top: 1.5rem
-#sister
- ul
- display: flex
- flex-wrap: wrap
- li
- display: flex
- height: 30px
- margin: 5px 1rem 0 0
- img
- height: 30px
-
-#tsp
- margin-top: 3rem
+%bd-footer-box
+ background-color: $white
+ border-radius: $radius-large
+ box-shadow: 0 1.5rem 1.5rem -1.25rem rgba($black, 0.1)
+ display: block
text-align: center
- small
- display: block
+ .bd-footer-title
+ font-size: 1.5rem
+ margin-bottom: 1rem
-#alternative
- font-size: 0.875rem
- margin-top: 0.5rem
- a
- color: $text-light
- &:hover
- text-decoration: underline
+// Support
+
+.bd-footer-support
+ @extend %bd-footer-box
+ margin-bottom: 3rem
+ margin-top: 2.25rem
+ padding: 2.5rem
+
+.bd-footer-donations
+ justify-content: center
+
+.bd-footer-donation
+ flex: none
+ width: 240px
+
+.bd-footer-donation-title
+ color: $grey-light
+ margin-bottom: 0.5rem
+ strong
+ color: currentColor
+
+.bd-footer-donation-action
+ @extend %center
+ min-height: 36px
+ .paypal-form
+ height: 30px
+ img
+ display: block
+
+// Stars
+
+$star-figure-height: 156px
+
+.bd-footer-stars
+ +tablet
+ align-items: stretch
+ display: flex
+ justify-content: space-between
+
+.bd-footer-star
+ @extend %bd-footer-box
+ transition-duration: $speed
+ transition-property: box-shadow, transform
+ will-change: box-shadow, transform
+ +mobile
+ &:not(:last-child)
+ margin-bottom: 1.5rem
+ +tablet
+ width: calc(33.3333% - 2rem)
+ &:hover
+ box-shadow: 0 3rem 3rem -1.25rem rgba($black, 0.1)
+ transform: translateY(-0.5rem)
+ .bd-footer-title,
+ .bd-footer-subtitle
+ color: $link
+ &.bd-is-expo,
+ &.bd-is-love
+ padding-bottom: $star-figure-height
+ .bd-footer-title
+ align-items: center
+ display: flex
+ justify-content: center
+ .icon
+ margin-right: 0.25em
+ &.bd-is-expo
+ background-image: url("/images/footer/expo-examples.png")
+ background-repeat: repeat-x
+ background-position: bottom center
+ background-size: 352px $star-figure-height
+ &.bd-is-love
+ background-image: url("/images/footer/love.png")
+ background-repeat: no-repeat
+ background-position: bottom center
+ background-size: 440px 180px
+
+
+.bd-footer-star-header
+ padding: 1.5rem
+
+.bd-footer-star-figure
+ @extend %center
+ height: $star-figure-height
+ margin-top: -1rem
diff --git a/docs/_sass/global.sass b/docs/_sass/global.sass
index af545e69..67abb258 100644
--- a/docs/_sass/global.sass
+++ b/docs/_sass/global.sass
@@ -2,6 +2,10 @@ svg
max-height: 100%
max-width: 100%
+.bd-patreon-button
+ img
+ border-radius: $radius
+
$carbon-spacing: 1rem
$carbon-shadow-size: 0.75rem
$carbon-image-height: 100px
diff --git a/docs/bulma-docs.sass b/docs/bulma-docs.sass
index 0477776d..f6484812 100644
--- a/docs/bulma-docs.sass
+++ b/docs/bulma-docs.sass
@@ -23,6 +23,8 @@ $carbon-height: 100px
$main-spacing: 3rem
$intro-width: 1080px
+$navbar-item-img-max-height: none
+
%center
align-items: center
display: flex
diff --git a/docs/css/bulma-docs.css b/docs/css/bulma-docs.css
index 2df869ae..7fe2f624 100644
--- a/docs/css/bulma-docs.css
+++ b/docs/css/bulma-docs.css
@@ -1,5 +1,5 @@
@charset "UTF-8";
-.bd-columns-tool {
+.bd-columns-tool, .bd-footer-donation-action, .bd-footer-star-figure {
align-items: center;
display: flex;
justify-content: center;
@@ -261,9 +261,6 @@ html {
}
img,
-embed,
-iframe,
-object,
audio,
video {
height: auto;
@@ -6519,7 +6516,7 @@ a.navbar-item:hover, a.navbar-item.is-active,
}
.navbar-item img {
- max-height: 1.75rem;
+ max-height: none;
}
.navbar-item.has-dropdown {
@@ -9488,7 +9485,7 @@ label.panel-block:hover {
}
.footer {
- background-color: whitesmoke;
+ background-color: #fafafa;
padding: 3rem 1.5rem 6rem;
}
@@ -9993,6 +9990,10 @@ svg {
max-width: 100%;
}
+.bd-patreon-button img {
+ border-radius: 4px;
+}
+
#carboncontainer {
align-items: center;
display: flex;
@@ -10649,115 +10650,161 @@ svg {
}
}
-#about .twitter-container {
- display: block;
- height: 30px;
- line-height: 30px;
- margin-top: 0.5rem;
+.bd-footer-title {
+ color: #363636;
+ font-size: 1.25rem;
+ line-height: 1.25;
+ margin-bottom: 1rem;
+ transition-duration: 86ms;
+ transition-property: color;
}
-#about small {
- display: block;
- margin-top: 5px;
+.bd-footer-title strong {
+ font-weight: 600;
}
-#mc_embed_signup .field {
- margin-bottom: 0;
+.bd-footer-subtitle {
+ color: #b5b5b5;
+ margin-top: -1rem;
+ transition-duration: 86ms;
+ transition-property: color;
}
-#mc_embed_signup .notification {
- margin-top: 0.75rem;
-}
-
-#share form {
- height: 30px;
- margin-top: 10px;
-}
-
-#social {
- align-items: center;
+.bd-footer-iframe {
display: flex;
flex-wrap: wrap;
- justify-content: flex-start;
- max-width: 400px;
+ min-height: 30px;
}
-#social > iframe,
-#social > a,
-#social > form,
-#social > div {
- display: inline-block;
- font-size: 11px;
- height: 30px;
- line-height: 30px;
- margin-top: 0.5rem;
+.bd-footer-iframe .fb-like {
+ margin-left: 10px;
}
-#social .github-btn {
- width: 160px;
+.bd-footer-tsp {
+ color: #b5b5b5;
+ margin-top: 1.5rem;
}
-#social .twitter-share-button {
- margin-right: 10px;
- min-width: 76px;
-}
-
-#social .paypal-form {
- min-width: 148px;
-}
-
-#social .fb-like {
- align-items: center;
- display: flex;
- width: 130px;
-}
-
-#social .bd-patreon-button {
- height: 30px;
- margin-right: 0.5rem;
- width: 128px;
-}
-
-#newsletter .input {
- border-color: white;
- box-shadow: none;
-}
-
-#sister ul {
- display: flex;
- flex-wrap: wrap;
-}
-
-#sister li {
- display: flex;
- height: 30px;
- margin: 5px 1rem 0 0;
-}
-
-#sister img {
- height: 30px;
-}
-
-#tsp {
- margin-top: 3rem;
+.bd-footer-support, .bd-footer-star {
+ background-color: white;
+ border-radius: 6px;
+ box-shadow: 0 1.5rem 1.5rem -1.25rem rgba(10, 10, 10, 0.1);
+ display: block;
text-align: center;
}
-#tsp small {
+.bd-footer-support .bd-footer-title, .bd-footer-star .bd-footer-title {
+ font-size: 1.5rem;
+ margin-bottom: 1rem;
+}
+
+.bd-footer-support {
+ margin-bottom: 3rem;
+ margin-top: 2.25rem;
+ padding: 2.5rem;
+}
+
+.bd-footer-donations {
+ justify-content: center;
+}
+
+.bd-footer-donation {
+ flex: none;
+ width: 240px;
+}
+
+.bd-footer-donation-title {
+ color: #b5b5b5;
+ margin-bottom: 0.5rem;
+}
+
+.bd-footer-donation-title strong {
+ color: currentColor;
+}
+
+.bd-footer-donation-action {
+ min-height: 36px;
+}
+
+.bd-footer-donation-action .paypal-form {
+ height: 30px;
+}
+
+.bd-footer-donation-action .paypal-form img {
display: block;
}
-#alternative {
- font-size: 0.875rem;
- margin-top: 0.5rem;
+@media screen and (min-width: 769px), print {
+ .bd-footer-stars {
+ align-items: stretch;
+ display: flex;
+ justify-content: space-between;
+ }
}
-#alternative a {
- color: #7a7a7a;
+.bd-footer-star {
+ transition-duration: 86ms;
+ transition-property: box-shadow, transform;
+ will-change: box-shadow, transform;
}
-#alternative a:hover {
- text-decoration: underline;
+@media screen and (max-width: 768px) {
+ .bd-footer-star:not(:last-child) {
+ margin-bottom: 1.5rem;
+ }
+}
+
+@media screen and (min-width: 769px), print {
+ .bd-footer-star {
+ width: calc(33.3333% - 2rem);
+ }
+}
+
+.bd-footer-star:hover {
+ box-shadow: 0 3rem 3rem -1.25rem rgba(10, 10, 10, 0.1);
+ transform: translateY(-0.5rem);
+}
+
+.bd-footer-star:hover .bd-footer-title,
+.bd-footer-star:hover .bd-footer-subtitle {
+ color: #3273dc;
+}
+
+.bd-footer-star.bd-is-expo, .bd-footer-star.bd-is-love {
+ padding-bottom: 156px;
+}
+
+.bd-footer-star.bd-is-expo .bd-footer-title, .bd-footer-star.bd-is-love .bd-footer-title {
+ align-items: center;
+ display: flex;
+ justify-content: center;
+}
+
+.bd-footer-star.bd-is-expo .bd-footer-title .icon, .bd-footer-star.bd-is-love .bd-footer-title .icon {
+ margin-right: 0.25em;
+}
+
+.bd-footer-star.bd-is-expo {
+ background-image: url("/images/footer/expo-examples.png");
+ background-repeat: repeat-x;
+ background-position: bottom center;
+ background-size: 352px 156px;
+}
+
+.bd-footer-star.bd-is-love {
+ background-image: url("/images/footer/love.png");
+ background-repeat: no-repeat;
+ background-position: bottom center;
+ background-size: 440px 180px;
+}
+
+.bd-footer-star-header {
+ padding: 1.5rem;
+}
+
+.bd-footer-star-figure {
+ height: 156px;
+ margin-top: -1rem;
}
::-moz-selection {
diff --git a/docs/images/become-a-patron.png b/docs/images/become-a-patron.png
new file mode 100644
index 00000000..dcd6cb32
Binary files /dev/null and b/docs/images/become-a-patron.png differ
diff --git a/docs/images/become_a_patron_button.png b/docs/images/become_a_patron_button.png
deleted file mode 100644
index 291b7bcf..00000000
Binary files a/docs/images/become_a_patron_button.png and /dev/null differ
diff --git a/docs/images/become_a_patron_button@2x.png b/docs/images/become_a_patron_button@2x.png
deleted file mode 100644
index 5443ec96..00000000
Binary files a/docs/images/become_a_patron_button@2x.png and /dev/null differ
diff --git a/docs/images/become_a_patron_button@3x.png b/docs/images/become_a_patron_button@3x.png
deleted file mode 100644
index 81cb33f1..00000000
Binary files a/docs/images/become_a_patron_button@3x.png and /dev/null differ
diff --git a/docs/images/footer/bootstrap-to-bulma.png b/docs/images/footer/bootstrap-to-bulma.png
new file mode 100644
index 00000000..6ba9b1bb
Binary files /dev/null and b/docs/images/footer/bootstrap-to-bulma.png differ
diff --git a/docs/images/footer/expo-examples.png b/docs/images/footer/expo-examples.png
new file mode 100644
index 00000000..fddfd8c5
Binary files /dev/null and b/docs/images/footer/expo-examples.png differ
diff --git a/docs/images/footer/jesse.png b/docs/images/footer/jesse.png
new file mode 100644
index 00000000..6bc7f245
Binary files /dev/null and b/docs/images/footer/jesse.png differ
diff --git a/docs/images/footer/love-film.png b/docs/images/footer/love-film.png
new file mode 100644
index 00000000..76fd01a8
Binary files /dev/null and b/docs/images/footer/love-film.png differ
diff --git a/docs/images/footer/love.png b/docs/images/footer/love.png
new file mode 100644
index 00000000..8ae142f8
Binary files /dev/null and b/docs/images/footer/love.png differ
diff --git a/docs/test.html b/docs/test.html
index 3d198abf..cf9f18a2 100644
--- a/docs/test.html
+++ b/docs/test.html
@@ -8,13 +8,48 @@
Bulma test page
-
+
+
+
+
+
{% include global/navbar.html %}
- {% include test/from-to.html %}
- {% include test/features.html %}
+
+
+
+
+
diff --git a/sass/base/minireset.sass b/sass/base/minireset.sass
index ea5f1031..e99311cf 100644
--- a/sass/base/minireset.sass
+++ b/sass/base/minireset.sass
@@ -59,9 +59,6 @@ html
// Media
img,
-embed,
-iframe,
-object,
audio,
video
height: auto
diff --git a/sass/layout/footer.sass b/sass/layout/footer.sass
index 5b59e254..6688482a 100644
--- a/sass/layout/footer.sass
+++ b/sass/layout/footer.sass
@@ -1,4 +1,4 @@
-$footer-background-color: $background !default
+$footer-background-color: $white-bis !default
.footer
background-color: $footer-background-color