From: Jeremy Thomas Date: Tue, 4 Sep 2018 13:24:50 +0000 (+0200) Subject: Fix mixins/extends confusion X-Git-Tag: 0.7.2~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04fb26b450648c5aa27e8e6b76fd1a1f9d37ef9f;p=thirdparty%2Fbulma.git Fix mixins/extends confusion --- diff --git a/docs/_data/global.json b/docs/_data/global.json index 3cacc6b91..f19d6bf6c 100644 --- a/docs/_data/global.json +++ b/docs/_data/global.json @@ -29,6 +29,22 @@ "title": "Love" } ], + "other_items": [ + { + "id": "templates", + "color": "has-text-info", + "fa_type": "fas", + "fa_icon": "fa-code", + "title": "Templates" + }, + { + "id": "recipes", + "color": "has-text-purple", + "fa_type": "fas", + "fa_icon": "fa-utensils", + "title": "Recipes" + }, + ], "more_items": [ { "id": "bulma-start", diff --git a/docs/css/bulma-docs.css b/docs/css/bulma-docs.css index 69a324b3b..6365ab377 100644 --- a/docs/css/bulma-docs.css +++ b/docs/css/bulma-docs.css @@ -1,23 +1,11 @@ @charset "UTF-8"; /*! bulma.io v0.7.1 | 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,15 +32,13 @@ 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; } .box:not(:last-child), .content:not(:last-child), .notification:not(:last-child), .progress:not(:last-child), .table:not(:last-child), .table-container:not(:last-child), .title:not(:last-child), -.subtitle:not(:last-child), .block:not(:last-child), .highlight:not(:last-child), .breadcrumb:not(:last-child), .level:not(:last-child), .message:not(:last-child), .tabs:not(:last-child), .bd-figure:not(:last-child), .bd-snippet:not(:last-child), .bd-callout:not(:last-child) { +.subtitle:not(:last-child), .block:not(:last-child), .highlight:not(:last-child), .breadcrumb:not(:last-child), .level:not(:last-child), .message:not(:last-child), .tabs:not(:last-child) { margin-bottom: 1.5rem; } @@ -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 { @@ -137,9 +121,8 @@ width: 32px; } -.button.is-loading::after, .select.is-loading::after, .control.is-loading::after, .loader, .intro-spinner::before { - -webkit-animation: spinAround 500ms infinite linear; - animation: spinAround 500ms infinite linear; +.button.is-loading::after, .select.is-loading::after, .control.is-loading::after, .loader { + animation: spinAround 500ms infinite linear; border: 2px solid #dbdbdb; border-radius: 290486px; border-right-color: transparent; @@ -151,8 +134,7 @@ width: 1em; } -.is-overlay, .image.is-square img, .image.is-1by1 img, .image.is-5by4 img, .image.is-4by3 img, .image.is-3by2 img, .image.is-5by3 img, .image.is-16by9 img, .image.is-2by1 img, .image.is-3by1 img, .image.is-4by5 img, .image.is-3by4 img, .image.is-2by3 img, .image.is-3by5 img, .image.is-9by16 img, .image.is-1by2 img, .image.is-1by3 img, .modal, .modal-background, .hero-video, .bd-category-toggle, .bd-patreon-button:hover::after, .bd-focus-item::before, .intro-spinner, .intro-shadow, .bd-structure-item::before, .bd-structure-item::after, .highlight .bd-show, .bd-banner-background, .bd-book-pattern::before, -.bd-book-modal-column.bd-is-cover::before, .bd-book-pattern, .bd-book-modal-background, .native-js::before { +.is-overlay, .image.is-square img, .image.is-1by1 img, .image.is-5by4 img, .image.is-4by3 img, .image.is-3by2 img, .image.is-5by3 img, .image.is-16by9 img, .image.is-2by1 img, .image.is-3by1 img, .image.is-4by5 img, .image.is-3by4 img, .image.is-2by3 img, .image.is-3by5 img, .image.is-9by16 img, .image.is-1by2 img, .image.is-1by3 img, .modal, .modal-background, .hero-video { bottom: 0; left: 0; position: absolute; @@ -306,10 +288,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, @@ -1368,8 +1347,7 @@ a.has-text-danger:hover, a.has-text-danger:focus { .is-sr-only { border: none !important; - -webkit-clip-path: inset(50%) !important; - clip-path: inset(50%) !important; + clip-path: inset(50%) !important; clip: rect(0, 0, 0, 0) !important; height: 0.01em !important; overflow: hidden !important; @@ -3478,8 +3456,7 @@ a.box:active { position: absolute; right: 0.625em; top: 0.625em; - -webkit-transform: none; - transform: none; + transform: none; } .select.is-loading.is-small:after { @@ -5034,10 +5011,8 @@ a.box:active { 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 { @@ -6608,12 +6583,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; } @@ -6635,8 +6607,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) { @@ -6644,8 +6615,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 { @@ -6855,8 +6825,7 @@ a.navbar-item:hover, a.navbar-item.is-active, 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; @@ -6872,8 +6841,7 @@ a.navbar-item:hover, a.navbar-item.is-active, .navbar.is-spaced .navbar-item.is-active .navbar-dropdown, .navbar-item.is-active .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; @@ -6924,12 +6892,9 @@ a.navbar-item:hover, a.navbar-item.is-active, 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; @@ -9177,8 +9142,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; } @@ -10108,8 +10071,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 { @@ -10202,6 +10164,10 @@ label.panel-block:hover { text-align: center; } +.bd-figure:not(:last-child) { + margin-bottom: 1.5rem; +} + .bd-figure img { margin: 1em; } @@ -10372,8 +10338,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 { @@ -10385,6 +10350,11 @@ label.panel-block:hover { } .bd-category-toggle { + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; align-items: center; color: #b5b5b5; display: flex; @@ -10393,12 +10363,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 { @@ -10830,6 +10797,11 @@ svg { } .bd-patreon-button:hover::after { + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; background-color: rgba(0, 0, 0, 0.05); border-radius: 4px; content: ""; @@ -11169,26 +11141,26 @@ svg { } .bd-focus-item::before { + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; background-color: #fafafa; border-radius: 6px; content: ""; 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 { @@ -11382,49 +11354,45 @@ 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 { - -webkit-animation-name: introSpinner; - animation-name: introSpinner; + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; + animation-name: introSpinner; } .intro-spinner::before { + animation: spinAround 500ms infinite linear; + border: 2px solid #dbdbdb; + border-radius: 290486px; + border-right-color: transparent; + border-top-color: transparent; + content: ""; + display: block; + height: 1em; + position: relative; + width: 1em; border-bottom-color: #00d1b2; border-left-color: #00d1b2; height: 1.5em; @@ -11434,40 +11402,29 @@ 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); } } .intro-shadow { + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; background-color: #776e70; background-position: center center; 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 { @@ -11736,9 +11693,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; } @@ -11756,8 +11711,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, @@ -12113,10 +12067,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: 1087px) { @@ -12386,6 +12338,10 @@ svg { position: relative; } +.bd-snippet:not(:last-child) { + margin-bottom: 1.5rem; +} + .bd-snippet::before { content: "Snippet"; align-items: stretch; @@ -12523,6 +12479,11 @@ svg { } .bd-structure-item::before { + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; background: rgba(10, 10, 10, 0.7); background: whitesmoke; border: 1px solid #dbdbdb; @@ -12532,6 +12493,11 @@ svg { } .bd-structure-item::after { + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; align-items: center; content: attr(title); display: flex; @@ -12588,6 +12554,11 @@ svg { } .highlight .bd-show { + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; align-items: center; background-color: rgba(245, 245, 245, 0.7); border: none; @@ -12656,6 +12627,10 @@ svg { position: relative; } +.bd-callout:not(:last-child) { + margin-bottom: 1.5rem; +} + .bd-callout.is-white { background-color: white; color: #0a0a0a; @@ -13157,16 +13132,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) { @@ -13206,8 +13177,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%; } @@ -13217,18 +13187,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%; @@ -13513,12 +13471,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 { @@ -13531,11 +13486,15 @@ svg { } .bd-banner:hover .button { - -webkit-transform: scale(1.05); - transform: scale(1.05); + transform: scale(1.05); } .bd-banner-background { + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; background-image: url("/images/fortyfour-background.jpg"); background-position: center center; background-size: cover; @@ -13651,15 +13610,6 @@ svg { } } -@-webkit-keyframes fadeIn { - from { - opacity: 0; - } - to { - opacity: 1; - } -} - @keyframes fadeIn { from { opacity: 0; @@ -13669,25 +13619,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); } } @@ -13705,11 +13642,24 @@ svg { .bd-book-pattern::before, .bd-book-modal-column.bd-is-cover::before { + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; background-color: rgba(255, 237, 215, 0.1); content: ""; display: block; } +.bd-book-pattern { + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; +} + .bd-book-header { position: relative; } @@ -13803,28 +13753,28 @@ svg { } .bd-book-modal-background { + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; background-color: rgba(10, 10, 10, 0.86); } .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 { @@ -13899,6 +13849,11 @@ svg { } .native-js::before { + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; background-color: #000; bottom: 0; content: ""; @@ -13927,8 +13882,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 { @@ -13972,9 +13926,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; } @@ -14012,316 +13964,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); - 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); + 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 { @@ -14333,292 +14151,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/sass/base/helpers.sass b/sass/base/helpers.sass index ad127c945..10c9056ea 100644 --- a/sass/base/helpers.sass +++ b/sass/base/helpers.sass @@ -17,7 +17,7 @@ // Overlay .is-overlay - +overlay + @extend %overlay // Typography @@ -258,4 +258,4 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex' box-shadow: none !important .is-unselectable - +unselectable + @extend %unselectable diff --git a/sass/components/breadcrumb.sass b/sass/components/breadcrumb.sass index acc9c3a82..bcbd15b24 100644 --- a/sass/components/breadcrumb.sass +++ b/sass/components/breadcrumb.sass @@ -8,8 +8,8 @@ $breadcrumb-item-padding-horizontal: 0.75em !default $breadcrumb-item-separator-color: $grey-light !default .breadcrumb - +block - +unselectable + @extend %block + @extend %unselectable font-size: $size-normal white-space: nowrap a diff --git a/sass/components/level.sass b/sass/components/level.sass index 332841092..11f249c25 100644 --- a/sass/components/level.sass +++ b/sass/components/level.sass @@ -1,5 +1,5 @@ .level - +block + @extend %block align-items: center justify-content: space-between code diff --git a/sass/components/message.sass b/sass/components/message.sass index a17f75316..272e68b47 100644 --- a/sass/components/message.sass +++ b/sass/components/message.sass @@ -19,7 +19,7 @@ $message-body-pre-code-background-color: transparent !default $message-header-body-border-width: 0 !default .message - +block + @extend %block background-color: $message-background-color border-radius: $message-radius font-size: $size-normal diff --git a/sass/components/modal.sass b/sass/components/modal.sass index e670546b6..b6fb1a181 100644 --- a/sass/components/modal.sass +++ b/sass/components/modal.sass @@ -29,7 +29,7 @@ $modal-card-body-background-color: $white !default $modal-card-body-padding: 20px !default .modal - +overlay + @extend %overlay align-items: center display: none flex-direction: column @@ -42,7 +42,7 @@ $modal-card-body-padding: 20px !default display: flex .modal-background - +overlay + @extend %overlay background-color: $modal-background-background-color .modal-content, @@ -59,7 +59,7 @@ $modal-card-body-padding: 20px !default width: $modal-content-width .modal-close - +delete + @extend %delete background: none height: $modal-close-dimensions position: fixed diff --git a/sass/components/navbar.sass b/sass/components/navbar.sass index 1e0a7e1e8..e6470f041 100644 --- a/sass/components/navbar.sass +++ b/sass/components/navbar.sass @@ -201,7 +201,8 @@ a.navbar-item, .navbar-link:not(.is-arrowless) padding-right: 2.5em &::after - +arrow($navbar-dropdown-arrow) + @extend %arrow + border-color: $navbar-dropdown-arrow margin-top: -0.375em right: 1.125em diff --git a/sass/components/pagination.sass b/sass/components/pagination.sass index 34dd59d87..1d9b33622 100644 --- a/sass/components/pagination.sass +++ b/sass/components/pagination.sass @@ -54,7 +54,7 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($black, 0.2) .pagination-link, .pagination-ellipsis +control - +unselectable + @extend %unselectable font-size: 1em padding-left: 0.5em padding-right: 0.5em diff --git a/sass/components/tabs.sass b/sass/components/tabs.sass index ccbf67973..21ed90ae3 100644 --- a/sass/components/tabs.sass +++ b/sass/components/tabs.sass @@ -27,9 +27,9 @@ $tabs-toggle-link-active-border-color: $link !default $tabs-toggle-link-active-color: $link-invert !default .tabs - +block + @extend %block +overflow-touch - +unselectable + @extend %unselectable align-items: stretch display: flex font-size: $size-normal diff --git a/sass/elements/box.sass b/sass/elements/box.sass index df185428a..d58f40508 100644 --- a/sass/elements/box.sass +++ b/sass/elements/box.sass @@ -8,7 +8,7 @@ $box-link-hover-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px $link !default $box-link-active-shadow: inset 0 1px 2px rgba($black, 0.2), 0 0 0 1px $link !default .box - +block + @extend %block background-color: $box-background-color border-radius: $box-radius box-shadow: $box-shadow diff --git a/sass/elements/button.sass b/sass/elements/button.sass index 9331216a7..6232b57b0 100644 --- a/sass/elements/button.sass +++ b/sass/elements/button.sass @@ -42,7 +42,7 @@ $button-static-border-color: $grey-lighter !default .button +control - +unselectable + @extend %unselectable background-color: $button-background-color border-color: $button-border-color border-width: $button-border-width @@ -198,7 +198,7 @@ $button-static-border-color: $grey-lighter !default color: transparent !important pointer-events: none &::after - +loader + @extend %loader +center(1em) position: absolute !important &.is-static diff --git a/sass/elements/content.sass b/sass/elements/content.sass index 8951a824f..e11c4c061 100644 --- a/sass/elements/content.sass +++ b/sass/elements/content.sass @@ -18,7 +18,7 @@ $content-table-foot-cell-border-width: 2px 0 0 !default $content-table-foot-cell-color: $text-strong !default .content - +block + @extend %block // Inline li + li margin-top: 0.25em diff --git a/sass/elements/form.sass b/sass/elements/form.sass index 67a9a0fc3..2ddf85599 100644 --- a/sass/elements/form.sass +++ b/sass/elements/form.sass @@ -151,7 +151,8 @@ $help-size: $size-small !default height: 2.25em &:not(.is-multiple):not(.is-loading) &::after - +arrow($input-arrow) + @extend %arrow + border-color: $input-arrow right: 1.125em z-index: 4 &.is-rounded @@ -213,7 +214,7 @@ $help-size: $size-small !default width: 100% &.is-loading &::after - +loader + @extend %loader margin-top: 0 position: absolute right: 0.625em @@ -227,7 +228,7 @@ $help-size: $size-small !default font-size: $size-large .file - +unselectable + @extend %unselectable align-items: stretch display: flex justify-content: flex-start @@ -614,7 +615,7 @@ $help-size: $size-small !default right: 0 &.is-loading &::after - +loader + @extend %loader position: absolute !important right: 0.625em top: 0.625em diff --git a/sass/elements/image.sass b/sass/elements/image.sass index 10bad209f..e1e877b17 100644 --- a/sass/elements/image.sass +++ b/sass/elements/image.sass @@ -27,7 +27,7 @@ $dimensions: 16 24 32 48 64 96 128 !default &.is-1by2, &.is-1by3 img - +overlay + @extend %overlay height: 100% width: 100% &.is-square, diff --git a/sass/elements/notification.sass b/sass/elements/notification.sass index 190df403f..2bda41444 100644 --- a/sass/elements/notification.sass +++ b/sass/elements/notification.sass @@ -3,7 +3,7 @@ $notification-radius: $radius !default $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default .notification - +block + @extend %block background-color: $notification-background-color border-radius: $notification-radius padding: $notification-padding diff --git a/sass/elements/other.sass b/sass/elements/other.sass index b10d1fa34..5725617c2 100644 --- a/sass/elements/other.sass +++ b/sass/elements/other.sass @@ -1,8 +1,8 @@ .block - +block + @extend %block .delete - +delete + @extend %delete .heading display: block @@ -12,7 +12,7 @@ text-transform: uppercase .highlight - +block + @extend %block font-weight: $weight-normal max-width: 100% overflow: hidden @@ -22,7 +22,7 @@ max-width: 100% .loader - +loader + @extend %loader .number align-items: center diff --git a/sass/elements/progress.sass b/sass/elements/progress.sass index f6e8de37a..50514062b 100644 --- a/sass/elements/progress.sass +++ b/sass/elements/progress.sass @@ -2,7 +2,7 @@ $progress-bar-background-color: $border !default $progress-value-background-color: $text !default .progress - +block + @extend %block -moz-appearance: none -webkit-appearance: none border: none diff --git a/sass/elements/table.sass b/sass/elements/table.sass index d0e94e561..a0cef12c6 100644 --- a/sass/elements/table.sass +++ b/sass/elements/table.sass @@ -20,7 +20,7 @@ $table-striped-row-even-background-color: $white-bis !default $table-striped-row-even-hover-background-color: $white-ter !default .table - +block + @extend %block background-color: $table-background-color color: $table-color td, @@ -110,7 +110,7 @@ $table-striped-row-even-hover-background-color: $white-ter !default background-color: $table-striped-row-even-background-color .table-container - +block + @extend %block +overflow-touch overflow: auto overflow-y: hidden diff --git a/sass/elements/title.sass b/sass/elements/title.sass index 46f666802..febe2fc50 100644 --- a/sass/elements/title.sass +++ b/sass/elements/title.sass @@ -17,7 +17,7 @@ $subtitle-negative-margin: -1.25rem !default .title, .subtitle - +block + @extend %block word-break: break-word em, span diff --git a/sass/layout/hero.sass b/sass/layout/hero.sass index be7a9d7bc..3406903b3 100644 --- a/sass/layout/hero.sass +++ b/sass/layout/hero.sass @@ -112,7 +112,7 @@ // Components .hero-video - +overlay + @extend %overlay overflow: hidden video left: 50% diff --git a/sass/utilities/mixins.sass b/sass/utilities/mixins.sass index 2c11061c3..5623e3c68 100644 --- a/sass/utilities/mixins.sass +++ b/sass/utilities/mixins.sass @@ -251,16 +251,11 @@ +loader =overlay($offset: 0) - bottom: 0 - left: 0 + bottom: $offset + left: $offset position: absolute - right: 0 - top: 0 - @if $offset != 0 - bottom: $offset - left: $offset - right: $offset - top: $offset + right: $offset + top: $offset %overlay +overlay