diff --git a/.gitignore b/.gitignore index 2bf50090..d6f14aca 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # Files .DS_Store .ruby-version +test.html test.sass npm-debug.log diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e1c829a..8b1eefef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,51 @@ * #2231 Add `.has-text-weight-medium` helper * #2224 Add customizable border radius to progress bar +### New variables + +#### Initial variables + +* `$block-spacing` + +#### Base + +* `$body-font-size` +* `$small-font-size` +* `$pre-font-size` +* `$pre-padding` +* `$pre-code-font-size` + +#### Components + +* `$card-header-padding` +* `$card-content-padding` +* `$card-media-margin` +* `$dropdown-menu-min-width` +* `$dropdown-content-padding-bottom` +* `$dropdown-content-padding-top` +* `$level-item-spacing` +* `$menu-list-line-height` +* `$menu-list-link-padding` +* `$menu-nested-list-margin` +* `$menu-nested-list-padding-left` +* `$menu-label-font-size` +* `$menu-label-letter-spacing` +* `$menu-label-spacing` +* `$pagination-item-font-size` +* `$pagination-item-margin` +* `$pagination-item-padding-left` +* `$pagination-item-padding-right` +* `$panel-margin` +* `$panel-tabs-font-size` + +#### Elements + +* `$container-offset` + +#### Grid + +* `$tile-spacing` + ### Improvements * #2396 Update docs with webpack 4 example diff --git a/docs/css/bulma-docs.css b/docs/css/bulma-docs.css index e8fe032b..9c95c334 100644 --- a/docs/css/bulma-docs.css +++ b/docs/css/bulma-docs.css @@ -1,23 +1,11 @@ @charset "UTF-8"; /*! bulma.io v0.7.4 | MIT License | github.com/jgthms/bulma */ -@-webkit-keyframes spinAround { - from { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - to { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} @keyframes spinAround { from { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); + transform: rotate(0deg); } to { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); + transform: rotate(359deg); } } @@ -44,10 +32,8 @@ pointer-events: none; position: absolute; top: 50%; - -webkit-transform: rotate(-45deg); - transform: rotate(-45deg); - -webkit-transform-origin: center; - transform-origin: center; + transform: rotate(-45deg); + transform-origin: center; width: 0.625em; } @@ -86,10 +72,8 @@ left: 50%; position: absolute; top: 50%; - -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg); - transform: translateX(-50%) translateY(-50%) rotate(45deg); - -webkit-transform-origin: center center; - transform-origin: center center; + transform: translateX(-50%) translateY(-50%) rotate(45deg); + transform-origin: center center; } .delete::before, .modal-close::before { @@ -138,8 +122,7 @@ } .button.is-loading::after, .select.is-loading::after, .control.is-loading::after, .loader { - -webkit-animation: spinAround 500ms infinite linear; - animation: spinAround 500ms infinite linear; + animation: spinAround 500ms infinite linear; border: 2px solid #dbdbdb; border-radius: 290486px; border-right-color: transparent; @@ -342,10 +325,7 @@ html { overflow-x: hidden; overflow-y: scroll; text-rendering: optimizeLegibility; - -webkit-text-size-adjust: 100%; - -moz-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; - text-size-adjust: 100%; + text-size-adjust: 100%; } article, @@ -375,7 +355,7 @@ pre { body { color: #4a4a4a; - font-size: 1rem; + font-size: 1em; font-weight: 400; line-height: 1.5; } @@ -1574,7 +1554,7 @@ a.has-text-danger:hover, a.has-text-danger:focus { } .is-relative { - position: relative; + position: relative !important; } .box { @@ -2777,6 +2757,7 @@ fieldset[disabled] .button { .buttons.has-addons .button.is-expanded { flex-grow: 1; + flex-shrink: 1; } .buttons.is-centered { @@ -3662,8 +3643,7 @@ fieldset[disabled] .select select:hover { position: absolute; right: 0.625em; top: 0.625em; - -webkit-transform: none; - transform: none; + transform: none; } .select.is-loading.is-small:after { @@ -4246,6 +4226,7 @@ fieldset[disabled] .select select:hover { .field.has-addons .control.is-expanded { flex-grow: 1; + flex-shrink: 1; } .field.has-addons.has-addons-centered { @@ -4720,14 +4701,10 @@ fieldset[disabled] .select select:hover { } .progress:indeterminate { - -webkit-animation-duration: 1.5s; - animation-duration: 1.5s; - -webkit-animation-iteration-count: infinite; - animation-iteration-count: infinite; - -webkit-animation-name: moveIndeterminate; - animation-name: moveIndeterminate; - -webkit-animation-timing-function: linear; - animation-timing-function: linear; + animation-duration: 1.5s; + animation-iteration-count: infinite; + animation-name: moveIndeterminate; + animation-timing-function: linear; background-color: #dbdbdb; background-image: linear-gradient(to right, #4a4a4a 30%, #dbdbdb 30%); background-position: top left; @@ -4915,15 +4892,6 @@ fieldset[disabled] .select select:hover { height: 1.5rem; } -@-webkit-keyframes moveIndeterminate { - from { - background-position: 200% 0; - } - to { - background-position: -200% 0; - } -} - @keyframes moveIndeterminate { from { background-position: 200% 0; @@ -5308,10 +5276,8 @@ fieldset[disabled] .select select:hover { left: 50%; position: absolute; top: 50%; - -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg); - transform: translateX(-50%) translateY(-50%) rotate(45deg); - -webkit-transform-origin: center center; - transform-origin: center center; + transform: translateX(-50%) translateY(-50%) rotate(45deg); + transform-origin: center center; } .tag:not(body).is-delete::before { @@ -5653,7 +5619,7 @@ a.tag:hover { } .card .media:not(:last-child) { - margin-bottom: 0.75rem; + margin-bottom: 1.5rem; } .dropdown { @@ -6305,7 +6271,7 @@ a.list-item { } .modal-card-foot .button:not(:last-child) { - margin-right: 10px; + margin-right: 0.5em; } .modal-card-body { @@ -7019,12 +6985,9 @@ body.has-navbar-fixed-bottom { height: 1px; left: calc(50% - 8px); position: absolute; - -webkit-transform-origin: center; - transform-origin: center; + transform-origin: center; transition-duration: 86ms; - transition-property: background-color, opacity, -webkit-transform; transition-property: background-color, opacity, transform; - transition-property: background-color, opacity, transform, -webkit-transform; transition-timing-function: ease-out; width: 16px; } @@ -7046,8 +7009,7 @@ body.has-navbar-fixed-bottom { } .navbar-burger.is-active span:nth-child(1) { - -webkit-transform: translateY(5px) rotate(45deg); - transform: translateY(5px) rotate(45deg); + transform: translateY(5px) rotate(45deg); } .navbar-burger.is-active span:nth-child(2) { @@ -7055,8 +7017,7 @@ body.has-navbar-fixed-bottom { } .navbar-burger.is-active span:nth-child(3) { - -webkit-transform: translateY(-5px) rotate(-45deg); - transform: translateY(-5px) rotate(-45deg); + transform: translateY(-5px) rotate(-45deg); } .navbar-menu { @@ -7269,8 +7230,7 @@ a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover, a.navbar-i align-items: stretch; } .navbar-item.has-dropdown-up .navbar-link::after { - -webkit-transform: rotate(135deg) translate(0.25em, -0.25em); - transform: rotate(135deg) translate(0.25em, -0.25em); + transform: rotate(135deg) translate(0.25em, -0.25em); } .navbar-item.has-dropdown-up .navbar-dropdown { border-bottom: 2px solid #dbdbdb; @@ -7286,8 +7246,7 @@ a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover, a.navbar-i .navbar.is-spaced .navbar-item.is-active .navbar-dropdown, .navbar-item.is-active .navbar-dropdown.is-boxed, .navbar.is-spaced .navbar-item.is-hoverable:focus .navbar-dropdown, .navbar-item.is-hoverable:focus .navbar-dropdown.is-boxed, .navbar.is-spaced .navbar-item.is-hoverable:focus-within .navbar-dropdown, .navbar-item.is-hoverable:focus-within .navbar-dropdown.is-boxed, .navbar.is-spaced .navbar-item.is-hoverable:hover .navbar-dropdown, .navbar-item.is-hoverable:hover .navbar-dropdown.is-boxed { opacity: 1; pointer-events: auto; - -webkit-transform: translateY(0); - transform: translateY(0); + transform: translateY(0); } .navbar-menu { flex-grow: 1; @@ -7338,12 +7297,9 @@ a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover, a.navbar-i opacity: 0; pointer-events: none; top: calc(100% + (-4px)); - -webkit-transform: translateY(-5px); - transform: translateY(-5px); + transform: translateY(-5px); transition-duration: 86ms; - transition-property: opacity, -webkit-transform; transition-property: opacity, transform; - transition-property: opacity, transform, -webkit-transform; } .navbar-dropdown.is-right { left: auto; @@ -7449,10 +7405,10 @@ a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover, a.navbar-i .pagination-link, .pagination-ellipsis { font-size: 1em; - padding-left: 0.5em; - padding-right: 0.5em; justify-content: center; margin: 0.25rem; + padding-left: 0.5em; + padding-right: 0.5em; text-align: center; } @@ -9646,8 +9602,6 @@ label.panel-block:hover { flex-basis: 0; flex-grow: 1; flex-shrink: 1; - min-height: -webkit-min-content; - min-height: -moz-min-content; min-height: min-content; } @@ -10577,8 +10531,7 @@ label.panel-block:hover { min-width: 100%; position: absolute; top: 50%; - -webkit-transform: translate3d(-50%, -50%, 0); - transform: translate3d(-50%, -50%, 0); + transform: translate3d(-50%, -50%, 0); } .hero-video.is-transparent { @@ -10853,8 +10806,7 @@ label.panel-block:hover { } .bd-category.is-active .bd-category-toggle .icon { - -webkit-transform: rotate(180deg); - transform: rotate(180deg); + transform: rotate(180deg); } .bd-category.is-active .bd-category-list { @@ -10879,12 +10831,9 @@ label.panel-block:hover { .bd-category-toggle .icon { font-size: 0.75rem; - -webkit-transform-origin: center; - transform-origin: center; + transform-origin: center; transition-duration: 86ms; - transition-property: -webkit-transform; transition-property: transform; - transition-property: transform, -webkit-transform; } .bd-category-name { @@ -11676,20 +11625,15 @@ svg { display: block; opacity: 0; pointer-events: none; - -webkit-transform: scale(1.1); - transform: scale(1.1); - -webkit-transform-origin: center; - transform-origin: center; + transform: scale(1.1); + transform-origin: center; transition-duration: 172ms; - transition-property: opacity, -webkit-transform; transition-property: opacity, transform; - transition-property: opacity, transform, -webkit-transform; } .bd-focus-item:hover::before { opacity: 1; - -webkit-transform: scale(1); - transform: scale(1); + transform: scale(1); } .bd-focus-item:hover .subtitle { @@ -11883,41 +11827,23 @@ svg { opacity: 1; } -@-webkit-keyframes introSpinner { - from { - opacity: 0; - -webkit-transform: scale(1.14); - transform: scale(1.14); - } - to { - opacity: 1; - -webkit-transform: scale(1); - transform: scale(1); - } -} - @keyframes introSpinner { from { opacity: 0; - -webkit-transform: scale(1.14); - transform: scale(1.14); + transform: scale(1.14); } to { opacity: 1; - -webkit-transform: scale(1); - transform: scale(1); + transform: scale(1); } } .intro-spinner, .intro-shadow { - -webkit-animation-duration: 500ms; - animation-duration: 500ms; + animation-duration: 500ms; animation-easing-function: ease-out; - -webkit-animation-fill-mode: both; - animation-fill-mode: both; - -webkit-transform-origin: center; - transform-origin: center; + animation-fill-mode: both; + transform-origin: center; } .intro-spinner { @@ -11926,13 +11852,11 @@ svg { position: absolute; right: 0; top: 0; - -webkit-animation-name: introSpinner; - animation-name: introSpinner; + animation-name: introSpinner; } .intro-spinner::before { - -webkit-animation: spinAround 500ms infinite linear; - animation: spinAround 500ms infinite linear; + animation: spinAround 500ms infinite linear; border: 2px solid #dbdbdb; border-radius: 290486px; border-right-color: transparent; @@ -11951,29 +11875,14 @@ svg { width: 1.5em; } -@-webkit-keyframes introShadow { - from { - opacity: 0; - -webkit-transform: scale(0.86); - transform: scale(0.86); - } - to { - opacity: 1; - -webkit-transform: scale(1); - transform: scale(1); - } -} - @keyframes introShadow { from { opacity: 0; - -webkit-transform: scale(0.86); - transform: scale(0.86); + transform: scale(0.86); } to { opacity: 1; - -webkit-transform: scale(1); - transform: scale(1); + transform: scale(1); } } @@ -11988,8 +11897,7 @@ svg { background-repeat: no-repeat; background-size: cover; box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2); - -webkit-animation-name: introShadow; - animation-name: introShadow; + animation-name: introShadow; } .intro-iframe { @@ -12267,9 +12175,7 @@ svg { .bd-footer-star { transition-duration: 86ms; - transition-property: box-shadow, -webkit-transform; transition-property: box-shadow, transform; - transition-property: box-shadow, transform, -webkit-transform; will-change: box-shadow, transform; } @@ -12287,8 +12193,7 @@ svg { .bd-footer-star:hover { box-shadow: 0 3rem 3rem -1.25rem rgba(10, 10, 10, 0.1); - -webkit-transform: translateY(-0.5rem); - transform: translateY(-0.5rem); + transform: translateY(-0.5rem); } .bd-footer-star:hover .bd-footer-title, @@ -12655,10 +12560,8 @@ svg { position: absolute; right: 0; top: 100%; - -webkit-transform: scaleY(0); - transform: scaleY(0); - -webkit-transform-origin: center top; - transform-origin: center top; + transform: scaleY(0); + transform-origin: center top; } @media screen and (max-width: 1023px) { @@ -13720,16 +13623,12 @@ svg { } .bd-more-loves .button span { - -webkit-transform-origin: center center; - transform-origin: center center; - transition: -webkit-transform 86ms ease-out; + transform-origin: center center; transition: transform 86ms ease-out; - transition: transform 86ms ease-out, -webkit-transform 86ms ease-out; } .bd-more-loves .button:hover span { - -webkit-transform: scale(1.04); - transform: scale(1.04); + transform: scale(1.04); } @media screen and (max-width: 768px) { @@ -13769,8 +13668,7 @@ svg { } .bd-rainbow { - -webkit-animation: rainbow 8s ease infinite; - animation: rainbow 8s ease infinite; + animation: rainbow 8s ease infinite; background-image: linear-gradient(124deg, #ff470f, #ff3860, #b86bff, #3273dc); background-size: 800% 800%; } @@ -13780,18 +13678,6 @@ svg { color: white; } -@-webkit-keyframes rainbow { - 0% { - background-position: 1% 80%; - } - 50% { - background-position: 99% 20%; - } - 100% { - background-position: 1% 80%; - } -} - @keyframes rainbow { 0% { background-position: 1% 80%; @@ -14076,12 +13962,9 @@ svg { } .bd-banner .button { - -webkit-transform-origin: center; - transform-origin: center; + transform-origin: center; transition-duration: 86ms; - transition-property: -webkit-transform; transition-property: transform; - transition-property: transform, -webkit-transform; } .bd-banner:hover { @@ -14094,8 +13977,7 @@ svg { } .bd-banner:hover .button { - -webkit-transform: scale(1.05); - transform: scale(1.05); + transform: scale(1.05); } .bd-banner-background { @@ -14265,15 +14147,6 @@ svg { } } -@-webkit-keyframes fadeIn { - from { - opacity: 0; - } - to { - opacity: 1; - } -} - @keyframes fadeIn { from { opacity: 0; @@ -14283,25 +14156,12 @@ svg { } } -@-webkit-keyframes zoomIn { - from { - -webkit-transform: scale(0.8); - transform: scale(0.8); - } - to { - -webkit-transform: scale(1); - transform: scale(1); - } -} - @keyframes zoomIn { from { - -webkit-transform: scale(0.8); - transform: scale(0.8); + transform: scale(0.8); } to { - -webkit-transform: scale(1); - transform: scale(1); + transform: scale(1); } } @@ -14440,23 +14300,18 @@ svg { .bd-book-modal .bd-book-modal-background, .bd-book-modal .modal-content { - -webkit-animation-duration: 250ms; - animation-duration: 250ms; + animation-duration: 250ms; animation-easing-function: ease-out; - -webkit-animation-fill-mode: both; - animation-fill-mode: both; + animation-fill-mode: both; } .bd-book-modal .bd-book-modal-background { - -webkit-animation-name: fadeIn; - animation-name: fadeIn; + animation-name: fadeIn; } .bd-book-modal .modal-content { - -webkit-animation-name: zoomIn; - animation-name: zoomIn; - -webkit-transform-origin: center; - transform-origin: center; + animation-name: zoomIn; + transform-origin: center; } .bd-book-modal-cover { @@ -14564,8 +14419,7 @@ svg { .native-flex:hover .native-cta { box-shadow: 0 1rem 2rem 0 rgba(10, 10, 10, 0.1); - -webkit-transform: translateY(-0.25rem); - transform: translateY(-0.25rem); + transform: translateY(-0.25rem); } .native-img { @@ -14609,9 +14463,7 @@ svg { height: auto; padding: 0.5em 1em; transition-duration: 172ms; - transition-property: box-shadow, -webkit-transform; transition-property: box-shadow, transform; - transition-property: box-shadow, transform, -webkit-transform; will-change: box-shadow, transform; } @@ -14649,316 +14501,182 @@ svg { } } -@-webkit-keyframes bdGrow { - from { - -webkit-transform: scale(0); - transform: scale(0); - } - to { - -webkit-transform: scale(1); - transform: scale(1); - } -} - @keyframes bdGrow { from { - -webkit-transform: scale(0); - transform: scale(0); + transform: scale(0); } to { - -webkit-transform: scale(1); - transform: scale(1); - } -} - -@-webkit-keyframes bdSlideDown { - from { - opacity: 0; - -webkit-transform: translateY(-1rem); - transform: translateY(-1rem); - } - to { - opacity: 1; - -webkit-transform: translateY(0); - transform: translateY(0); + transform: scale(1); } } @keyframes bdSlideDown { from { opacity: 0; - -webkit-transform: translateY(-1rem); - transform: translateY(-1rem); + transform: translateY(-1rem); } to { opacity: 1; - -webkit-transform: translateY(0); - transform: translateY(0); - } -} - -@-webkit-keyframes bdSlideUp { - from { - opacity: 0; - -webkit-transform: translateY(1rem); - transform: translateY(1rem); - } - to { - opacity: 1; - -webkit-transform: translateY(0); - transform: translateY(0); + transform: translateY(0); } } @keyframes bdSlideUp { from { opacity: 0; - -webkit-transform: translateY(1rem); - transform: translateY(1rem); + transform: translateY(1rem); } to { opacity: 1; - -webkit-transform: translateY(0); - transform: translateY(0); + transform: translateY(0); } } .intro-title, .intro-ghbtns, .intro-author, .intro-npm, .intro-buttons .button, .bd-focus-item .title, .bd-focus-item .subtitle, .bd-focus-mobile, .bd-focus-tablet, .bd-focus-desktop, .bd-focus-cube-1, .bd-focus-cube-2, .bd-focus-cube-3, .bd-focus-css3, .bd-focus-github { - -webkit-animation-duration: 500ms; - animation-duration: 500ms; - -webkit-animation-fill-mode: both; - animation-fill-mode: both; - -webkit-animation-timing-function: cubic-bezier(0.14, 0.71, 0.29, 0.86); - animation-timing-function: cubic-bezier(0.14, 0.71, 0.29, 0.86); - -webkit-transform-origin: center center; - transform-origin: center center; + animation-duration: 500ms; + animation-fill-mode: both; + animation-timing-function: cubic-bezier(0.14, 0.71, 0.29, 0.86); + transform-origin: center center; } .intro-title { - -webkit-animation-name: bdSlideDown; - animation-name: bdSlideDown; + animation-name: bdSlideDown; } .intro-ghbtns, .intro-author { - -webkit-animation-delay: 1s; - animation-delay: 1s; - -webkit-animation-duration: 1000ms; - animation-duration: 1000ms; - -webkit-animation-name: bdFadeIn; - animation-name: bdFadeIn; + animation-delay: 1s; + animation-duration: 1000ms; + animation-name: bdFadeIn; } .intro-npm { - -webkit-animation-delay: 250ms; - animation-delay: 250ms; - -webkit-animation-name: bdSlowIn; - animation-name: bdSlowIn; + animation-delay: 250ms; + animation-name: bdSlowIn; } .intro-buttons .button { - -webkit-animation-name: bdSlowIn; - animation-name: bdSlowIn; + animation-name: bdSlowIn; } .intro-buttons .button:first-child { - -webkit-animation-delay: 500ms; - animation-delay: 500ms; + animation-delay: 500ms; } .intro-buttons .button:last-child { - -webkit-animation-delay: 750ms; - animation-delay: 750ms; + animation-delay: 750ms; } .bd-focus-item .title { - -webkit-animation-name: bdSlideDown; - animation-name: bdSlideDown; + animation-name: bdSlideDown; } .bd-focus-item .subtitle { - -webkit-animation-name: bdSlideUp; - animation-name: bdSlideUp; + animation-name: bdSlideUp; } .bd-focus-item:nth-child(1) .title { - -webkit-animation-delay: 1s; - animation-delay: 1s; + animation-delay: 1s; } .bd-focus-item:nth-child(1) .subtitle { - -webkit-animation-delay: 1.125s; - animation-delay: 1.125s; + animation-delay: 1.125s; } .bd-focus-item:nth-child(2) .title { - -webkit-animation-delay: 1.5s; - animation-delay: 1.5s; + animation-delay: 1.5s; } .bd-focus-item:nth-child(2) .subtitle { - -webkit-animation-delay: 1.625s; - animation-delay: 1.625s; + animation-delay: 1.625s; } .bd-focus-item:nth-child(3) .title { - -webkit-animation-delay: 2s; - animation-delay: 2s; + animation-delay: 2s; } .bd-focus-item:nth-child(3) .subtitle { - -webkit-animation-delay: 2.125s; - animation-delay: 2.125s; + animation-delay: 2.125s; } .bd-focus-item:nth-child(4) .title { - -webkit-animation-delay: 2.5s; - animation-delay: 2.5s; + animation-delay: 2.5s; } .bd-focus-item:nth-child(4) .subtitle { - -webkit-animation-delay: 2.625s; - animation-delay: 2.625s; + animation-delay: 2.625s; } .bd-focus-mobile, .bd-focus-tablet, .bd-focus-desktop { - -webkit-animation-name: bdGrow; - animation-name: bdGrow; - -webkit-transform-origin: bottom center; - transform-origin: bottom center; + animation-name: bdGrow; + transform-origin: bottom center; } .bd-focus-mobile { - -webkit-animation-delay: 1s; - animation-delay: 1s; + animation-delay: 1s; } .bd-focus-tablet { - -webkit-animation-delay: 1.25s; - animation-delay: 1.25s; + animation-delay: 1.25s; } .bd-focus-desktop { - -webkit-animation-delay: 1.5s; - animation-delay: 1.5s; -} - -@-webkit-keyframes bdCube1 { - 0% { - -webkit-transform: translate3d(0, -50px, 0); - transform: translate3d(0, -50px, 0); - opacity: 0; - } - 25%, 100% { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - opacity: 1; - } + animation-delay: 1.5s; } @keyframes bdCube1 { 0% { - -webkit-transform: translate3d(0, -50px, 0); - transform: translate3d(0, -50px, 0); + transform: translate3d(0, -50px, 0); opacity: 0; } 25%, 100% { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - opacity: 1; - } -} - -@-webkit-keyframes bdCube2 { - 0% { - -webkit-transform: translate3d(-40px, 30px, 0); - transform: translate3d(-40px, 30px, 0); - opacity: 0; - } - 25%, 100% { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); opacity: 1; } } @keyframes bdCube2 { 0% { - -webkit-transform: translate3d(-40px, 30px, 0); - transform: translate3d(-40px, 30px, 0); + transform: translate3d(-40px, 30px, 0); opacity: 0; } 25%, 100% { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - opacity: 1; - } -} - -@-webkit-keyframes bdCube3 { - 0% { - -webkit-transform: translate3d(40px, 30px, 0); - transform: translate3d(40px, 30px, 0); - opacity: 0; - } - 25%, 100% { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); opacity: 1; } } @keyframes bdCube3 { 0% { - -webkit-transform: translate3d(40px, 30px, 0); - transform: translate3d(40px, 30px, 0); + transform: translate3d(40px, 30px, 0); opacity: 0; } 25%, 100% { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); opacity: 1; } } .bd-focus-cube-1, .bd-focus-cube-2, .bd-focus-cube-3 { - -webkit-animation-direction: alternate; - animation-direction: alternate; - -webkit-animation-duration: 2000ms; - animation-duration: 2000ms; - -webkit-animation-iteration-count: infinite; - animation-iteration-count: infinite; + animation-direction: alternate; + animation-duration: 2000ms; + animation-iteration-count: infinite; } .bd-focus-cube-1 { - -webkit-animation-delay: 1.5s; - animation-delay: 1.5s; - -webkit-animation-name: bdCube1; - animation-name: bdCube1; + animation-delay: 1.5s; + animation-name: bdCube1; } .bd-focus-cube-2 { - -webkit-animation-name: bdCube2; - animation-name: bdCube2; - -webkit-animation-delay: 1.75s; - animation-delay: 1.75s; + animation-name: bdCube2; + animation-delay: 1.75s; } .bd-focus-cube-3 { - -webkit-animation-name: bdCube3; - animation-name: bdCube3; - -webkit-animation-delay: 2s; - animation-delay: 2s; -} - -@-webkit-keyframes bdFadeIn { - from { - opacity: 0; - } - to { - opacity: 1; - } + animation-name: bdCube3; + animation-delay: 2s; } @keyframes bdFadeIn { @@ -14970,292 +14688,119 @@ svg { } } -@-webkit-keyframes bdSlowIn { - from { - opacity: 0; - -webkit-transform: scale(0.9); - transform: scale(0.9); - } - to { - opacity: 1; - -webkit-transform: scale(1); - transform: scale(1); - } -} - @keyframes bdSlowIn { from { opacity: 0; - -webkit-transform: scale(0.9); - transform: scale(0.9); + transform: scale(0.9); } to { opacity: 1; - -webkit-transform: scale(1); - transform: scale(1); - } -} - -@-webkit-keyframes bdScaleIn { - from { - opacity: 0; - -webkit-transform: scale(0); - transform: scale(0); - } - to { - opacity: 1; - -webkit-transform: scale(1); - transform: scale(1); + transform: scale(1); } } @keyframes bdScaleIn { from { opacity: 0; - -webkit-transform: scale(0); - transform: scale(0); + transform: scale(0); } to { opacity: 1; - -webkit-transform: scale(1); - transform: scale(1); + transform: scale(1); } } .bd-focus-css3 { - -webkit-animation-delay: 2s; - animation-delay: 2s; - -webkit-animation-name: bdScaleIn; - animation-name: bdScaleIn; + animation-delay: 2s; + animation-name: bdScaleIn; } .bd-focus-github { - -webkit-animation-delay: 2.5s; - animation-delay: 2.5s; - -webkit-animation-duration: 1500ms; - animation-duration: 1500ms; - -webkit-animation-name: bdJellyPop; - animation-name: bdJellyPop; -} - -@-webkit-keyframes bdJellyPop { - 0% { - opacity: 0; - -webkit-transform: matrix3d(0.1, 0, 0, 0, 0, 0.1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.1, 0, 0, 0, 0, 0.1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 3.4% { - opacity: 1; - -webkit-transform: matrix3d(0.384, 0, 0, 0, 0, 0.466, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.384, 0, 0, 0, 0, 0.466, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 4.7% { - -webkit-transform: matrix3d(0.505, 0, 0, 0, 0, 0.639, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.505, 0, 0, 0, 0, 0.639, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 6.81% { - -webkit-transform: matrix3d(0.693, 0, 0, 0, 0, 0.904, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.693, 0, 0, 0, 0, 0.904, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 9.41% { - -webkit-transform: matrix3d(0.895, 0, 0, 0, 0, 1.151, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.895, 0, 0, 0, 0, 1.151, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 10.21% { - -webkit-transform: matrix3d(0.947, 0, 0, 0, 0, 1.204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.947, 0, 0, 0, 0, 1.204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 13.61% { - -webkit-transform: matrix3d(1.111, 0, 0, 0, 0, 1.299, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.111, 0, 0, 0, 0, 1.299, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 14.11% { - -webkit-transform: matrix3d(1.127, 0, 0, 0, 0, 1.298, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.127, 0, 0, 0, 0, 1.298, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 17.52% { - -webkit-transform: matrix3d(1.187, 0, 0, 0, 0, 1.216, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.187, 0, 0, 0, 0, 1.216, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 18.72% { - -webkit-transform: matrix3d(1.191, 0, 0, 0, 0, 1.169, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.191, 0, 0, 0, 0, 1.169, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 21.32% { - -webkit-transform: matrix3d(1.177, 0, 0, 0, 0, 1.062, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.177, 0, 0, 0, 0, 1.062, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 24.32% { - -webkit-transform: matrix3d(1.135, 0, 0, 0, 0, 0.964, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.135, 0, 0, 0, 0, 0.964, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 25.23% { - -webkit-transform: matrix3d(1.121, 0, 0, 0, 0, 0.944, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.121, 0, 0, 0, 0, 0.944, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 29.03% { - -webkit-transform: matrix3d(1.057, 0, 0, 0, 0, 0.907, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.057, 0, 0, 0, 0, 0.907, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 29.93% { - -webkit-transform: matrix3d(1.043, 0, 0, 0, 0, 0.909, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.043, 0, 0, 0, 0, 0.909, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 35.54% { - -webkit-transform: matrix3d(0.981, 0, 0, 0, 0, 0.966, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.981, 0, 0, 0, 0, 0.966, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 36.74% { - -webkit-transform: matrix3d(0.974, 0, 0, 0, 0, 0.981, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.974, 0, 0, 0, 0, 0.981, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 41.04% { - -webkit-transform: matrix3d(0.965, 0, 0, 0, 0, 1.02, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.965, 0, 0, 0, 0, 1.02, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 44.44% { - -webkit-transform: matrix3d(0.969, 0, 0, 0, 0, 1.029, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.969, 0, 0, 0, 0, 1.029, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 52.15% { - -webkit-transform: matrix3d(0.992, 0, 0, 0, 0, 1.006, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.992, 0, 0, 0, 0, 1.006, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 59.86% { - -webkit-transform: matrix3d(1.005, 0, 0, 0, 0, 0.991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.005, 0, 0, 0, 0, 0.991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 63.26% { - -webkit-transform: matrix3d(1.007, 0, 0, 0, 0, 0.993, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.007, 0, 0, 0, 0, 0.993, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 75.28% { - -webkit-transform: matrix3d(1.001, 0, 0, 0, 0, 1.003, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.001, 0, 0, 0, 0, 1.003, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 85.49% { - -webkit-transform: matrix3d(0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 90.69% { - -webkit-transform: matrix3d(0.999, 0, 0, 0, 0, 0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.999, 0, 0, 0, 0, 0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } - 100% { - opacity: 1; - -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - } + animation-delay: 2.5s; + animation-duration: 1500ms; + animation-name: bdJellyPop; } @keyframes bdJellyPop { 0% { opacity: 0; - -webkit-transform: matrix3d(0.1, 0, 0, 0, 0, 0.1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.1, 0, 0, 0, 0, 0.1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(0.1, 0, 0, 0, 0, 0.1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 3.4% { opacity: 1; - -webkit-transform: matrix3d(0.384, 0, 0, 0, 0, 0.466, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.384, 0, 0, 0, 0, 0.466, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(0.384, 0, 0, 0, 0, 0.466, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 4.7% { - -webkit-transform: matrix3d(0.505, 0, 0, 0, 0, 0.639, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.505, 0, 0, 0, 0, 0.639, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(0.505, 0, 0, 0, 0, 0.639, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 6.81% { - -webkit-transform: matrix3d(0.693, 0, 0, 0, 0, 0.904, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.693, 0, 0, 0, 0, 0.904, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(0.693, 0, 0, 0, 0, 0.904, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 9.41% { - -webkit-transform: matrix3d(0.895, 0, 0, 0, 0, 1.151, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.895, 0, 0, 0, 0, 1.151, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(0.895, 0, 0, 0, 0, 1.151, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 10.21% { - -webkit-transform: matrix3d(0.947, 0, 0, 0, 0, 1.204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.947, 0, 0, 0, 0, 1.204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(0.947, 0, 0, 0, 0, 1.204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 13.61% { - -webkit-transform: matrix3d(1.111, 0, 0, 0, 0, 1.299, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.111, 0, 0, 0, 0, 1.299, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(1.111, 0, 0, 0, 0, 1.299, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 14.11% { - -webkit-transform: matrix3d(1.127, 0, 0, 0, 0, 1.298, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.127, 0, 0, 0, 0, 1.298, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(1.127, 0, 0, 0, 0, 1.298, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 17.52% { - -webkit-transform: matrix3d(1.187, 0, 0, 0, 0, 1.216, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.187, 0, 0, 0, 0, 1.216, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(1.187, 0, 0, 0, 0, 1.216, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 18.72% { - -webkit-transform: matrix3d(1.191, 0, 0, 0, 0, 1.169, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.191, 0, 0, 0, 0, 1.169, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(1.191, 0, 0, 0, 0, 1.169, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 21.32% { - -webkit-transform: matrix3d(1.177, 0, 0, 0, 0, 1.062, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.177, 0, 0, 0, 0, 1.062, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(1.177, 0, 0, 0, 0, 1.062, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 24.32% { - -webkit-transform: matrix3d(1.135, 0, 0, 0, 0, 0.964, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.135, 0, 0, 0, 0, 0.964, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(1.135, 0, 0, 0, 0, 0.964, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 25.23% { - -webkit-transform: matrix3d(1.121, 0, 0, 0, 0, 0.944, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.121, 0, 0, 0, 0, 0.944, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(1.121, 0, 0, 0, 0, 0.944, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 29.03% { - -webkit-transform: matrix3d(1.057, 0, 0, 0, 0, 0.907, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.057, 0, 0, 0, 0, 0.907, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(1.057, 0, 0, 0, 0, 0.907, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 29.93% { - -webkit-transform: matrix3d(1.043, 0, 0, 0, 0, 0.909, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.043, 0, 0, 0, 0, 0.909, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(1.043, 0, 0, 0, 0, 0.909, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 35.54% { - -webkit-transform: matrix3d(0.981, 0, 0, 0, 0, 0.966, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.981, 0, 0, 0, 0, 0.966, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(0.981, 0, 0, 0, 0, 0.966, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 36.74% { - -webkit-transform: matrix3d(0.974, 0, 0, 0, 0, 0.981, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.974, 0, 0, 0, 0, 0.981, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(0.974, 0, 0, 0, 0, 0.981, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 41.04% { - -webkit-transform: matrix3d(0.965, 0, 0, 0, 0, 1.02, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.965, 0, 0, 0, 0, 1.02, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(0.965, 0, 0, 0, 0, 1.02, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 44.44% { - -webkit-transform: matrix3d(0.969, 0, 0, 0, 0, 1.029, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.969, 0, 0, 0, 0, 1.029, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(0.969, 0, 0, 0, 0, 1.029, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 52.15% { - -webkit-transform: matrix3d(0.992, 0, 0, 0, 0, 1.006, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.992, 0, 0, 0, 0, 1.006, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(0.992, 0, 0, 0, 0, 1.006, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 59.86% { - -webkit-transform: matrix3d(1.005, 0, 0, 0, 0, 0.991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.005, 0, 0, 0, 0, 0.991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(1.005, 0, 0, 0, 0, 0.991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 63.26% { - -webkit-transform: matrix3d(1.007, 0, 0, 0, 0, 0.993, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.007, 0, 0, 0, 0, 0.993, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(1.007, 0, 0, 0, 0, 0.993, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 75.28% { - -webkit-transform: matrix3d(1.001, 0, 0, 0, 0, 1.003, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1.001, 0, 0, 0, 0, 1.003, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(1.001, 0, 0, 0, 0, 1.003, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 85.49% { - -webkit-transform: matrix3d(0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 90.69% { - -webkit-transform: matrix3d(0.999, 0, 0, 0, 0, 0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(0.999, 0, 0, 0, 0, 0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(0.999, 0, 0, 0, 0, 0.999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } 100% { opacity: 1; - -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); - transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } } - -/*# sourceMappingURL=bulma-docs.css.map */ \ No newline at end of file diff --git a/docs/documentation/modifiers/helpers.html b/docs/documentation/modifiers/helpers.html index 6f7ecf7d..7495dd07 100644 --- a/docs/documentation/modifiers/helpers.html +++ b/docs/documentation/modifiers/helpers.html @@ -35,7 +35,7 @@ breadcrumb: Removes any padding - Other + Other is-overlay Completely covers the first positioned parent @@ -61,7 +61,7 @@ breadcrumb: is-hidden - Hides element + Hides element is-sr-only diff --git a/sass/base/generic.sass b/sass/base/generic.sass index 4a48326b..376cd5e4 100644 --- a/sass/base/generic.sass +++ b/sass/base/generic.sass @@ -1,18 +1,23 @@ $body-background-color: $white !default $body-size: 16px !default +$body-min-width: 300px !default $body-rendering: optimizeLegibility !default $body-family: $family-primary !default -$body-color: $text !default -$body-weight: $weight-normal !default -$body-line-height: 1.5 !default $body-overflow-x: hidden !default $body-overflow-y: scroll !default +$body-color: $text !default +$body-font-size: 1em !default +$body-weight: $weight-normal !default +$body-line-height: 1.5 !default + $code-family: $family-code !default $code-padding: 0.25em 0.5em 0.25em !default $code-weight: normal !default $code-size: 0.875em !default +$small-font-size: 0.875em !default + $hr-background-color: $background !default $hr-height: 2px !default $hr-margin: 1.5rem 0 !default @@ -20,12 +25,16 @@ $hr-margin: 1.5rem 0 !default $strong-color: $text-strong !default $strong-weight: $weight-bold !default +$pre-font-size: 0.875em !default +$pre-padding: 1.25rem 1.5rem !default +$pre-code-font-size: 1em !default + html background-color: $body-background-color font-size: $body-size -moz-osx-font-smoothing: grayscale -webkit-font-smoothing: antialiased - min-width: 300px + min-width: $body-min-width overflow-x: $body-overflow-x overflow-y: $body-overflow-y text-rendering: $body-rendering @@ -55,7 +64,7 @@ pre body color: $body-color - font-size: 1rem + font-size: $body-font-size font-weight: $body-weight line-height: $body-line-height @@ -93,7 +102,7 @@ input[type="radio"] vertical-align: baseline small - font-size: 0.875em + font-size: $small-font-size span font-style: inherit @@ -112,15 +121,15 @@ pre +overflow-touch background-color: $pre-background color: $pre - font-size: 0.875em + font-size: $pre-font-size overflow-x: auto - padding: 1.25rem 1.5rem + padding: $pre-padding white-space: pre word-wrap: normal code background-color: transparent color: currentColor - font-size: 1em + font-size: $pre-code-font-size padding: 0 table diff --git a/sass/base/helpers.sass b/sass/base/helpers.sass index 59d9e0d1..bbb489dd 100644 --- a/sass/base/helpers.sass +++ b/sass/base/helpers.sass @@ -278,4 +278,4 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex' @extend %unselectable .is-relative - position: relative + position: relative !important diff --git a/sass/components/card.sass b/sass/components/card.sass index ff12395f..ca231a54 100644 --- a/sass/components/card.sass +++ b/sass/components/card.sass @@ -4,13 +4,18 @@ $card-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default $card-header-background-color: transparent !default $card-header-color: $text-strong !default +$card-header-padding: 0.75rem !default $card-header-shadow: 0 1px 2px rgba($black, 0.1) !default $card-header-weight: $weight-bold !default $card-content-background-color: transparent !default +$card-content-padding: 1.5rem !default $card-footer-background-color: transparent !default $card-footer-border-top: 1px solid $border !default +$card-footer-padding: 0.75rem !default + +$card-media-margin: $block-spacing !default .card background-color: $card-background-color @@ -31,7 +36,7 @@ $card-footer-border-top: 1px solid $border !default display: flex flex-grow: 1 font-weight: $card-header-weight - padding: 0.75rem + padding: $card-header-padding &.is-centered justify-content: center @@ -40,7 +45,7 @@ $card-footer-border-top: 1px solid $border !default cursor: pointer display: flex justify-content: center - padding: 0.75rem + padding: $card-header-padding .card-image display: block @@ -48,7 +53,7 @@ $card-footer-border-top: 1px solid $border !default .card-content background-color: $card-content-background-color - padding: 1.5rem + padding: $card-content-padding .card-footer background-color: $card-footer-background-color @@ -63,7 +68,7 @@ $card-footer-border-top: 1px solid $border !default flex-grow: 1 flex-shrink: 0 justify-content: center - padding: 0.75rem + padding: $card-footer-padding &:not(:last-child) border-right: $card-footer-border-top @@ -71,4 +76,4 @@ $card-footer-border-top: 1px solid $border !default .card .media:not(:last-child) - margin-bottom: 0.75rem + margin-bottom: $card-media-margin diff --git a/sass/components/dropdown.sass b/sass/components/dropdown.sass index aad663a6..b6146b0a 100644 --- a/sass/components/dropdown.sass +++ b/sass/components/dropdown.sass @@ -1,6 +1,10 @@ +$dropdown-menu-min-width: 12rem !default + $dropdown-content-background-color: $white !default $dropdown-content-arrow: $link !default $dropdown-content-offset: 4px !default +$dropdown-content-padding-bottom: 0.5rem !default +$dropdown-content-padding-top: 0.5rem !default $dropdown-content-radius: $radius !default $dropdown-content-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default $dropdown-content-z: 20 !default @@ -35,7 +39,7 @@ $dropdown-divider-background-color: $border !default .dropdown-menu display: none left: 0 - min-width: 12rem + min-width: $dropdown-menu-min-width padding-top: $dropdown-content-offset position: absolute top: 100% @@ -45,8 +49,8 @@ $dropdown-divider-background-color: $border !default background-color: $dropdown-content-background-color border-radius: $dropdown-content-radius box-shadow: $dropdown-content-shadow - padding-bottom: 0.5rem - padding-top: 0.5rem + padding-bottom: $dropdown-content-padding-bottom + padding-top: $dropdown-content-padding-top .dropdown-item color: $dropdown-item-color diff --git a/sass/components/level.sass b/sass/components/level.sass index a3b77168..608f291e 100644 --- a/sass/components/level.sass +++ b/sass/components/level.sass @@ -1,3 +1,5 @@ +$level-item-spacing: ($block-spacing / 2) !default + .level @extend %block align-items: center @@ -18,7 +20,7 @@ .level-item &:not(:last-child) margin-bottom: 0 - margin-right: 0.75rem + margin-right: $level-item-spacing &:not(.is-narrow) flex-grow: 1 // Responsiveness @@ -41,7 +43,7 @@ // Responsiveness +mobile &:not(:last-child) - margin-bottom: 0.75rem + margin-bottom: $level-item-spacing .level-left, .level-right @@ -55,7 +57,7 @@ // Responsiveness +tablet &:not(:last-child) - margin-right: 0.75rem + margin-right: $level-item-spacing .level-left align-items: center diff --git a/sass/components/menu.sass b/sass/components/menu.sass index 727df360..3de7e18d 100644 --- a/sass/components/menu.sass +++ b/sass/components/menu.sass @@ -6,8 +6,15 @@ $menu-item-active-color: $link-invert !default $menu-item-active-background-color: $link !default $menu-list-border-left: 1px solid $border !default +$menu-list-line-height: 1.25 !default +$menu-list-link-padding: 0.5em 0.75em !default +$menu-nested-list-margin: 0.75em !default +$menu-nested-list-padding-left: 0.75em !default $menu-label-color: $text-light !default +$menu-label-font-size: 0.75em !default +$menu-label-letter-spacing: 0.1em !default +$menu-label-spacing: 1em !default .menu font-size: $size-normal @@ -20,12 +27,12 @@ $menu-label-color: $text-light !default font-size: $size-large .menu-list - line-height: 1.25 + line-height: $menu-list-line-height a border-radius: $menu-item-radius color: $menu-item-color display: block - padding: 0.5em 0.75em + padding: $menu-list-link-padding &:hover background-color: $menu-item-hover-background-color color: $menu-item-hover-color @@ -36,15 +43,15 @@ $menu-label-color: $text-light !default li ul border-left: $menu-list-border-left - margin: 0.75em - padding-left: 0.75em + margin: $menu-nested-list-margin + padding-left: $menu-nested-list-padding-left .menu-label color: $menu-label-color - font-size: 0.75em - letter-spacing: 0.1em + font-size: $menu-label-font-size + letter-spacing: $menu-label-letter-spacing text-transform: uppercase &:not(:first-child) - margin-top: 1em + margin-top: $menu-label-spacing &:not(:last-child) - margin-bottom: 1em + margin-bottom: $menu-label-spacing diff --git a/sass/components/message.sass b/sass/components/message.sass index badac5da..2e626adb 100644 --- a/sass/components/message.sass +++ b/sass/components/message.sass @@ -17,6 +17,7 @@ $message-body-pre-background-color: $white !default $message-body-pre-code-background-color: transparent !default $message-header-body-border-width: 0 !default +$message-colors: $colors !default .message @extend %block @@ -36,7 +37,7 @@ $message-header-body-border-width: 0 !default &.is-large font-size: $size-large // Colors - @each $name, $pair in $colors + @each $name, $pair in $message-colors $color: nth($pair, 1) $color-invert: nth($pair, 2) $color-lightning: max((100% - lightness($color)) - 2%, 0%) diff --git a/sass/components/modal.sass b/sass/components/modal.sass index b6fb1a18..c9d19796 100644 --- a/sass/components/modal.sass +++ b/sass/components/modal.sass @@ -102,7 +102,7 @@ $modal-card-body-padding: 20px !default border-top: $modal-card-foot-border-top .button &:not(:last-child) - margin-right: 10px + margin-right: 0.5em .modal-card-body +overflow-touch diff --git a/sass/components/pagination.sass b/sass/components/pagination.sass index 9b8fd036..634db969 100644 --- a/sass/components/pagination.sass +++ b/sass/components/pagination.sass @@ -3,6 +3,11 @@ $pagination-border-color: $grey-lighter !default $pagination-margin: -0.25rem !default $pagination-min-width: $control-height !default +$pagination-item-font-size: 1em !default +$pagination-item-margin: 0.25rem !default +$pagination-item-padding-left: 0.5em !default +$pagination-item-padding-right: 0.5em !default + $pagination-hover-color: $link-hover !default $pagination-hover-border-color: $link-hover-border !default @@ -56,11 +61,11 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($black, 0.2) .pagination-ellipsis @extend %control @extend %unselectable - font-size: 1em - padding-left: 0.5em - padding-right: 0.5em + font-size: $pagination-item-font-size justify-content: center - margin: 0.25rem + margin: $pagination-item-margin + padding-left: $pagination-item-padding-left + padding-right: $pagination-item-padding-right text-align: center .pagination-previous, diff --git a/sass/components/panel.sass b/sass/components/panel.sass index b9d339ee..92d2cccf 100644 --- a/sass/components/panel.sass +++ b/sass/components/panel.sass @@ -1,3 +1,4 @@ +$panel-margin: $block-spacing !default $panel-item-border: 1px solid $border !default $panel-heading-background-color: $background !default @@ -8,6 +9,7 @@ $panel-heading-radius: $radius !default $panel-heading-size: 1.25em !default $panel-heading-weight: $weight-light !default +$panel-tabs-font-size: 0.875em !default $panel-tab-border-bottom: 1px solid $border !default $panel-tab-active-border-bottom-color: $link-active-border !default $panel-tab-active-color: $link-active !default @@ -26,7 +28,7 @@ $panel-icon-color: $text-light !default .panel font-size: $size-normal &:not(:last-child) - margin-bottom: 1.5rem + margin-bottom: $panel-margin .panel-heading, .panel-tabs, @@ -49,7 +51,7 @@ $panel-icon-color: $text-light !default .panel-tabs align-items: flex-end display: flex - font-size: 0.875em + font-size: $panel-tabs-font-size justify-content: center a border-bottom: $panel-tab-border-bottom diff --git a/sass/elements/button.sass b/sass/elements/button.sass index 207c202d..1f34141c 100644 --- a/sass/elements/button.sass +++ b/sass/elements/button.sass @@ -269,15 +269,16 @@ $button-static-border-color: $grey-lighter !default z-index: 4 &.is-expanded flex-grow: 1 + flex-shrink: 1 &.is-centered justify-content: center - &:not(.has-addons) + &:not(.has-addons) .button:not(.is-fullwidth) margin-left: 0.25rem margin-right: 0.25rem &.is-right justify-content: flex-end - &:not(.has-addons) + &:not(.has-addons) .button:not(.is-fullwidth) margin-left: 0.25rem margin-right: 0.25rem diff --git a/sass/elements/container.sass b/sass/elements/container.sass index 98f249ed..c69a9936 100644 --- a/sass/elements/container.sass +++ b/sass/elements/container.sass @@ -1,21 +1,23 @@ +$container-offset: (2 * $gap) !default + .container flex-grow: 1 margin: 0 auto position: relative width: auto +desktop - max-width: $desktop - (2 * $gap) + max-width: $desktop - $container-offset &.is-fluid margin-left: $gap margin-right: $gap max-width: none +until-widescreen &.is-widescreen - max-width: $widescreen - (2 * $gap) + max-width: $widescreen - $container-offset +until-fullhd &.is-fullhd - max-width: $fullhd - (2 * $gap) + max-width: $fullhd - $container-offset +widescreen - max-width: $widescreen - (2 * $gap) + max-width: $widescreen - $container-offset +fullhd - max-width: $fullhd - (2 * $gap) + max-width: $fullhd - $container-offset diff --git a/sass/elements/form.sass b/sass/elements/form.sass index e3f7a7ea..145cbc83 100644 --- a/sass/elements/form.sass +++ b/sass/elements/form.sass @@ -471,6 +471,7 @@ $help-size: $size-small !default z-index: 4 &.is-expanded flex-grow: 1 + flex-shrink: 1 &.has-addons-centered justify-content: center &.has-addons-right diff --git a/sass/grid/tiles.sass b/sass/grid/tiles.sass index 1f6a626f..15648c29 100644 --- a/sass/grid/tiles.sass +++ b/sass/grid/tiles.sass @@ -1,3 +1,5 @@ +$tile-spacing: 0.75rem !default + .tile align-items: stretch display: block @@ -7,17 +9,17 @@ min-height: min-content // Modifiers &.is-ancestor - margin-left: -0.75rem - margin-right: -0.75rem - margin-top: -0.75rem + margin-left: $tile-spacing * -1 + margin-right: $tile-spacing * -1 + margin-top: $tile-spacing * -1 &:last-child - margin-bottom: -0.75rem + margin-bottom: $tile-spacing * -1 &:not(:last-child) - margin-bottom: 0.75rem + margin-bottom: $tile-spacing &.is-child margin: 0 !important &.is-parent - padding: 0.75rem + padding: $tile-spacing &.is-vertical flex-direction: column & > .tile.is-child:not(:last-child) diff --git a/sass/layout/hero.sass b/sass/layout/hero.sass index d988040b..3bf1fe8a 100644 --- a/sass/layout/hero.sass +++ b/sass/layout/hero.sass @@ -68,19 +68,6 @@ +mobile .navbar-menu background-image: linear-gradient(141deg, $gradient-top-left 0%, $color 71%, $gradient-bottom-right 100%) - // Responsiveness - // +mobile - // .nav-toggle - // span - // background-color: $color-invert - // &:hover - // background-color: rgba($black, 0.1) - // &.is-active - // span - // background-color: $color-invert - // .nav-menu - // .nav-item - // border-top-color: rgba($color-invert, 0.2) // Sizes &.is-small .hero-body diff --git a/sass/utilities/initial-variables.sass b/sass/utilities/initial-variables.sass index 4e1ce511..0650ce3a 100644 --- a/sass/utilities/initial-variables.sass +++ b/sass/utilities/initial-variables.sass @@ -43,6 +43,10 @@ $weight-medium: 500 !default $weight-semibold: 600 !default $weight-bold: 700 !default +// Spacing + +$block-spacing: 1.5rem !default + // Responsiveness // The container horizontal gap, which acts as the offset for breakpoints diff --git a/sass/utilities/mixins.sass b/sass/utilities/mixins.sass index 5623e3c6..e95abd02 100644 --- a/sass/utilities/mixins.sass +++ b/sass/utilities/mixins.sass @@ -159,9 +159,9 @@ %arrow +arrow -=block +=block($spacing: $block-spacing) &:not(:last-child) - margin-bottom: 1.5rem + margin-bottom: $spacing %block +block