文件操作 - buttons-pro.css
返回文件管理
返回主菜单
删除本文件
文件: /root/Desktop/OLD/plugin-wordpress/master-addons/assets/vendor/creative-btn/buttons-pro.css
编辑文件内容
/* Pipaluk */ .ma-el-creative-button--pipaluk { width: 240px; padding: 1.5em 3em; color: #fff; } .ma-el-creative-button--pipaluk.ma-el-creative-button--inverted { color: #7986cb; } .ma-el-creative-button--pipaluk::before, .ma-el-creative-button--pipaluk::after { content: ''; border-radius: inherit; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; -webkit-transition: -webkit-transform 0.3s, background-color 0.3s; transition: transform 0.3s, background-color 0.3s; -webkit-transition-timing-function: cubic-bezier(0.25, 0, 0.3, 1); transition-timing-function: cubic-bezier(0.25, 0, 0.3, 1); } .ma-el-creative-button--pipaluk::before { border: 2px solid #7986cb; } .ma-el-creative-button--pipaluk.ma-el-creative-button--inverted::before { border-color: #fff; } .ma-el-creative-button--pipaluk::after { background: #7986cb; } .ma-el-creative-button--pipaluk.ma-el-creative-button--inverted::after { background: #fff; } .ma-el-creative-button--pipaluk:hover::before { -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } .ma-el-creative-button--pipaluk::before, .ma-el-creative-button--pipaluk:hover::after { -webkit-transform: scale3d(0.7, 0.7, 1); transform: scale3d(0.7, 0.7, 1); } .ma-el-creative-button--pipaluk:hover::after { background-color: #3f51b5; } .ma-el-creative-button--pipaluk.ma-el-creative-button--inverted:hover::after { background-color: #fff; } /* Moema */ .ma-el-creative-button--moema { padding: 1.5em 3em; border-radius: 50px; background: #7986cb; color: #fff; -webkit-transition: background-color 0.3s, color 0.3s; transition: background-color 0.3s, color 0.3s; } .ma-el-creative-button--moema.ma-el-creative-button--inverted { background: #ECEFF1; color: #37474f; } .ma-el-creative-button--moema::before { content: ''; position: absolute; top: -20px; left: -20px; bottom: -20px; right: -20px; background: inherit; border-radius: 50px; z-index: -1; opacity: 0.4; -webkit-transform: scale3d(0.8, 0.5, 1); transform: scale3d(0.8, 0.5, 1); } .ma-el-creative-button--moema:hover { -webkit-transition: background-color 0.1s 0.3s, color 0.1s 0.3s; transition: background-color 0.1s 0.3s, color 0.1s 0.3s; color: #ECEFF1; background-color: #3f51b5; -webkit-animation: anim-moema-1 0.3s forwards; animation: anim-moema-1 0.3s forwards; } .ma-el-creative-button--moema.ma-el-creative-button--inverted:hover { color: #ECEFF1; background-color: #7986cb; } .ma-el-creative-button--moema:hover::before { -webkit-animation: anim-moema-2 0.3s 0.3s forwards; animation: anim-moema-2 0.3s 0.3s forwards; } @-webkit-keyframes anim-moema-1 { 60% { -webkit-transform: scale3d(0.8, 0.8, 1); transform: scale3d(0.8, 0.8, 1); } 85% { -webkit-transform: scale3d(1.1, 1.1, 1); transform: scale3d(1.1, 1.1, 1); } 100% { -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } } @keyframes anim-moema-1 { 60% { -webkit-transform: scale3d(0.8, 0.8, 1); transform: scale3d(0.8, 0.8, 1); } 85% { -webkit-transform: scale3d(1.1, 1.1, 1); transform: scale3d(1.1, 1.1, 1); } 100% { -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } } @-webkit-keyframes anim-moema-2 { to { opacity: 0; -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } } @keyframes anim-moema-2 { to { opacity: 0; -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } } /* Aylen */ .button.ma-el-creative-button--aylen { background: #fff; color: #37474f; overflow: hidden; -webkit-transition: color 0.3s; transition: color 0.3s; } .ma-el-creative-button--aylen.ma-el-creative-button--inverted { background: none; color: #fff; } .ma-el-creative-button--aylen::before, .ma-el-creative-button--aylen::after { content: ''; position: absolute; height: 100%; width: 100%; bottom: 100%; left: 0; z-index: -1; -webkit-transition: -webkit-transform 0.3s; transition: transform 0.3s; -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); } .ma-el-creative-button--aylen::before { background: #7986cb; } .ma-el-creative-button--aylen::after { background: #3f51b5; } .ma-el-creative-button--aylen:hover { color: #fff; } .ma-el-creative-button--aylen:hover::before, .ma-el-creative-button--aylen:hover::after { -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } .ma-el-creative-button--aylen:hover::after { -webkit-transition-delay: 0.175s; transition-delay: 0.175s; } /* Saqui */ .button.ma-el-creative-button--saqui { overflow: hidden; color: #fff; background: #37474f; -webkit-transition: background-color 0.3s ease-in, color 0.3s ease-in; transition: background-color 0.3s ease-in, color 0.3s ease-in; } .ma-el-creative-button--saqui.ma-el-creative-button--inverted { background: #fff; color: #37474f; } .ma-el-creative-button--saqui::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 1em 2em; color: #37474f; -webkit-transform-origin: -40% 50%; transform-origin: -40% 50%; -webkit-transform: rotate3d(0, 0, 1, 45deg); transform: rotate3d(0, 0, 1, 45deg); -webkit-transition: -webkit-transform 0.3s ease-in; transition: transform 0.3s ease-in; } .ma-el-creative-button--saqui.ma-el-creative-button--inverted::after { color: #fff; } .ma-el-creative-button--saqui:hover::after, .ma-el-creative-button--saqui:hover { -webkit-transition-timing-function: ease-out; transition-timing-function: ease-out; } .ma-el-creative-button--saqui:hover { background-color: #7986cb; color: #7986cb; } .ma-el-creative-button--saqui.ma-el-creative-button--inverted:hover { background-color: #3f51b5; color: #3f51b5; } .ma-el-creative-button--saqui:hover::after { -webkit-transform: rotate3d(0, 0, 1, 0deg); transform: rotate3d(0, 0, 1, 0deg); } /* Wapasha */ .button.ma-el-creative-button--wapasha { background: #37474f; color: #fff; -webkit-transition: background-color 0.3s, color 0.3s; transition: background-color 0.3s, color 0.3s; } .ma-el-creative-button--wapasha.ma-el-creative-button--inverted { background: #fff; color: #37474f; } .ma-el-creative-button--wapasha::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 2px solid #3f51b5; z-index: -1; border-radius: inherit; opacity: 0; -webkit-transform: scale3d(0.6, 0.6, 1); transform: scale3d(0.6, 0.6, 1); -webkit-transition: -webkit-transform 0.3s, opacity 0.3s; transition: transform 0.3s, opacity 0.3s; -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); } .ma-el-creative-button--wapasha.ma-el-creative-button--inverted::before { border-color: #7986cb; } .ma-el-creative-button--wapasha:hover { background-color: #fff; color: #3f51b5; } .ma-el-creative-button--wapasha.ma-el-creative-button--inverted:hover { background-color: #37474f; color: #7986cb; } .ma-el-creative-button--wapasha:hover::before { -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); opacity: 1; } /* Nuka */ .ma-el-creative-button--nuka { margin: 1em 2em; -webkit-transition: color 0.3s; transition: color 0.3s; -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); } .ma-el-creative-button--nuka.ma-el-creative-button--inverted { color: #37474f; } .ma-el-creative-button--nuka::before, .ma-el-creative-button--nuka::after { content: ''; position: absolute; border-radius: inherit; background: #7986cb; z-index: -1; } .ma-el-creative-button--nuka::before { top: -4px; bottom: -4px; left: -4px; right: -4px; opacity: 0.2; -webkit-transform: scale3d(0.7, 1, 1); transform: scale3d(0.7, 1, 1); -webkit-transition: -webkit-transform 0.3s, opacity 0.3s; transition: transform 0.3s, opacity 0.3s; } .ma-el-creative-button--nuka::after { top: 0; left: 0; width: 100%; height: 100%; -webkit-transform: scale3d(1.1, 1, 1); transform: scale3d(1.1, 1, 1); -webkit-transition: -webkit-transform 0.3s, background-color 0.3s; transition: transform 0.3s, background-color 0.3s; } .ma-el-creative-button--nuka::before, .ma-el-creative-button--nuka::after { -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); } .ma-el-creative-button--nuka.ma-el-creative-button--inverted::before, .ma-el-creative-button--nuka.ma-el-creative-button--inverted::after { background: #fff; } .ma-el-creative-button--nuka:hover { color: #fff; } .ma-el-creative-button--nuka:hover::before { opacity: 1; } .ma-el-creative-button--nuka:hover::after { background-color: #37474f; } .ma-el-creative-button--nuka.ma-el-creative-button--inverted:hover::after { background-color: #7986cb; } .ma-el-creative-button--nuka:hover::after, .ma-el-creative-button--nuka:hover::before { -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } /* Antiman */ .ma-el-creative-button--antiman { background: none; border: none; height: 60px; } .ma-el-creative-button--antiman.ma-el-creative-button--inverted, .ma-el-creative-button--antiman.ma-el-creative-button--inverted-alt { -webkit-transition: color 0.3s; transition: color 0.3s; -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); } .ma-el-creative-button--antiman > span { padding-left: 0.35em; } .ma-el-creative-button--antiman::before, .ma-el-creative-button--antiman::after { content: ''; z-index: -1; border-radius: inherit; pointer-events: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; -webkit-backface-visibility: hidden; -webkit-transition: -webkit-transform 0.3s, opacity 0.3s; transition: transform 0.3s, opacity 0.3s; -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); } .ma-el-creative-button--antiman::before { border: 2px solid #37474f; opacity: 0; -webkit-transform: scale3d(1.2, 1.2, 1); transform: scale3d(1.2, 1.2, 1); } .ma-el-creative-button--antiman.ma-el-creative-button--border-thin::before { border-width: 1px; } .ma-el-creative-button--antiman.ma-el-creative-button--border-medium::before { border-width: 2px; } .ma-el-creative-button--antiman.ma-el-creative-button--border-thick::before { border-width: 3px; } .ma-el-creative-button--antiman.ma-el-creative-button--inverted::before { border-color: #7986cb; } .ma-el-creative-button--antiman.ma-el-creative-button--inverted-alt::before { border-color: #3f51b5; } .ma-el-creative-button--antiman::after { background: #fff; } .ma-el-creative-button--antiman.ma-el-creative-button--inverted::after { background: #7986cb; } .ma-el-creative-button--antiman.ma-el-creative-button--inverted-alt::after { background: #3f51b5; } .ma-el-creative-button--antiman.ma-el-creative-button--inverted:hover { color: #7986cb; } .ma-el-creative-button--antiman.ma-el-creative-button--inverted-alt:hover { color: #3f51b5; } .ma-el-creative-button--antiman:hover::before { opacity: 1; -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } .ma-el-creative-button--antiman:hover::after { opacity: 0; -webkit-transform: scale3d(0.8, 0.8, 1); transform: scale3d(0.8, 0.8, 1); } /* Quidel */ .ma-el-creative-button--quidel { background: #7986cb; color: #7986cb; overflow: hidden; -webkit-transition: color 0.3s; transition: color 0.3s; -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); } .ma-el-creative-button--quidel.ma-el-creative-button--inverted { background: #fff; color: #fff; } .ma-el-creative-button--quidel::before, .ma-el-creative-button--quidel::after { content: ''; position: absolute; z-index: -1; border-radius: inherit; } .ma-el-creative-button--quidel::after { top: 2px; left: 2px; right: 2px; bottom: 2px; background: #fff; } .ma-el-creative-button--quidel.ma-el-creative-button--inverted::after { background: #37474f; } .ma-el-creative-button--quidel::before { background: #37474f; top: 0; left: 0; width: 100%; height: 100%; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); -webkit-transition: -webkit-transform 0.3s; transition: transform 0.3s; -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); } .ma-el-creative-button--quidel.ma-el-creative-button--inverted::before { background: #7986cb; } .ma-el-creative-button--round-s.ma-el-creative-button--quidel::after { border-radius: 3px; } .ma-el-creative-button--round-m.ma-el-creative-button--quidel::after { border-radius: 13px; } .ma-el-creative-button--round-l.ma-el-creative-button--quidel::after { border-radius: 40px; } .ma-el-creative-button--quidel > span { padding-left: 0.35em; } .ma-el-creative-button--quidel:hover { color: #37474f; } .ma-el-creative-button--quidel.ma-el-creative-button--inverted:hover { color: #7986cb; } .ma-el-creative-button--quidel:hover::before { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } /* Shikoba */ .button.ma-el-creative-button--shikoba { padding: 1em 30px 1em 50px; overflow: hidden; background: #fff; color: #37474f; border-color: #37474f; -webkit-transition: background-color 0.3s, border-color 0.3s, color 0.3s; transition: background-color 0.3s, border-color 0.3s, color 0.3s; } .ma-el-creative-button--shikoba.ma-el-creative-button--inverted { color: #fff; background: #7986cb; } .ma-el-creative-button--shikoba > span { display: inline-block; -webkit-transform: translate3d(-10px, 0, 0); transform: translate3d(-10px, 0, 0); -webkit-transition: -webkit-transform 0.3s; transition: transform 0.3s; -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); } .ma-el-creative-button--shikoba .button__icon { position: absolute; left: 20px; font-size: 18px; -webkit-transform: translate3d(-40px, 2.5em, 0); transform: translate3d(-40px, 2.5em, 0); -webkit-transition: -webkit-transform 0.3s; transition: transform 0.3s; -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); } .ma-el-creative-button--shikoba:hover .button__icon, .ma-el-creative-button--shikoba:hover > span { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .ma-el-creative-button--shikoba:hover { background: #3f51b5; border-color: #3f51b5; color: #fff; } /* Nanuk */ .ma-el-creative-button--nanuk { padding: 0 2em; overflow: hidden; background: #7986cb; -webkit-transition: background-color 0.3s; transition: background-color 0.3s; } .ma-el-creative-button--nanuk.button--inverted { background: #fff; color: #7986cb; } .ma-el-creative-button--nanuk > span { display: inline-block; padding: 1em 0; } .ma-el-creative-button--nanuk:hover { background-color: #3f51b5; } .ma-el-creative-button--nanuk:hover > span:nth-child(odd) { -webkit-animation: anim-nanuk-1 0.5s forwards; animation: anim-nanuk-1 0.5s forwards; } .ma-el-creative-button--nanuk:hover > span:nth-child(even) { -webkit-animation: anim-nanuk-2 0.5s forwards; animation: anim-nanuk-2 0.5s forwards; } .ma-el-creative-button--nanuk:hover > span:nth-child(odd), .ma-el-creative-button--nanuk:hover > span:nth-child(even) { -webkit-animation-timing-function: cubic-bezier(0.75, 0, 0.125, 1); transition-animation-function: cubic-bezier(0.75, 0, 0.125, 1); } @-webkit-keyframes anim-nanuk-1 { 0%, 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } 49% { opacity: 1; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } 50% { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); color: inherit; } 51% { opacity: 0; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); color: #fff; } 100% { color: #fff; } } @keyframes anim-nanuk-1 { 0%, 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } 49% { opacity: 1; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } 50% { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); color: inherit; } 51% { opacity: 0; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); color: #fff; } 100% { color: #fff; } } @-webkit-keyframes anim-nanuk-2 { 0%, 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } 49% { opacity: 1; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } 50% { opacity: 0; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); color: inherit; } 51% { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); color: #fff; } 100% { color: #fff; } } @keyframes anim-nanuk-2 { 0%, 100% { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } 49% { opacity: 1; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } 50% { opacity: 0; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); color: inherit; } 51% { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); color: #fff; } 100% { color: #fff; } } .ma-el-creative-button--nanuk:hover > span:nth-child(1) { -webkit-animation-delay: 0s; animation-delay: 0s; } .ma-el-creative-button--nanuk:hover > span:nth-child(2) { -webkit-animation-delay: 0.05s; animation-delay: 0.05s; } .ma-el-creative-button--nanuk:hover > span:nth-child(3) { -webkit-animation-delay: 0.1s; animation-delay: 0.1s; } .ma-el-creative-button--nanuk:hover > span:nth-child(4) { -webkit-animation-delay: 0.15s; animation-delay: 0.15s; } .ma-el-creative-button--nanuk:hover > span:nth-child(5) { -webkit-animation-delay: 0.2s; animation-delay: 0.2s; } .ma-el-creative-button--nanuk:hover > span:nth-child(6) { -webkit-animation-delay: 0.25s; animation-delay: 0.25s; } .ma-el-creative-button--nanuk:hover > span:nth-child(7) { -webkit-animation-delay: 0.3s; animation-delay: 0.3s; } .ma-el-creative-button--nanuk:hover > span:nth-child(8) { -webkit-animation-delay: 0.35s; animation-delay: 0.35s; } .ma-el-creative-button--nanuk:hover > span:nth-child(9) { -webkit-animation-delay: 0.4s; animation-delay: 0.4s; } .ma-el-creative-button--nanuk:hover > span:nth-child(10) { -webkit-animation-delay: 0.45s; animation-delay: 0.45s; } .ma-el-creative-button--nanuk:hover > span:nth-child(11) { -webkit-animation-delay: 0.5s; animation-delay: 0.5s; } /* Itzel */ .ma-el-creative-button--itzel { border: none; padding: 0px; overflow: hidden; width: 255px; } .ma-el-creative-button--itzel::before { content: attr(data-text); display: flex; align-items: center; justify-content: center; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 2px solid; border-radius: inherit; -webkit-clip-path: polygon(0% 0%, 0% 100%, 35% 100%, 35% 60%, 65% 60%, 65% 100%, 100% 100%, 100% 0%); clip-path: url(../index.html#clipBox); -webkit-transform: translate3d(0, 100%, 0) translate3d(0, -2px, 0); transform: translate3d(0, 100%, 0) translate3d(0, -2px, 0); -webkit-transform-origin: 50% 100%; transform-origin: 50% 100%; } .ma-el-creative-button--itzel.ma-el-creative-button--border-thin::before { border: 1px solid; -webkit-transform: translate3d(0, 100%, 0) translate3d(0, -1px, 0); transform: translate3d(0, 100%, 0) translate3d(0, -1px, 0); } .ma-el-creative-button--itzel.ma-el-creative-button--border-thick::before { border: 3px solid; -webkit-transform: translate3d(0, 100%, 0) translate3d(0, -3px, 0); transform: translate3d(0, 100%, 0) translate3d(0, -3px, 0); } .ma-el-creative-button--itzel::before, .ma-el-creative-button--itzel .ma-el-creative-button__icon { -webkit-transition: -webkit-transform 0.3s; transition: transform 0.3s; -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); } .ma-el-creative-button--itzel .ma-el-creative-button__icon { position: absolute; top: 100%; left: 50%; padding: 20px; font-size: 20px; -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); } .ma-el-creative-button--itzel > span { display: block; padding: 20px; -webkit-transition: -webkit-transform 0.3s, opacity 0.3s; transition: transform 0.3s, opacity 0.3s; -webkit-transition-delay: 0.3s; transition-delay: 0.3s; } .ma-el-creative-button--itzel:hover::before { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .ma-el-creative-button--itzel:hover .ma-el-creative-button__icon { -webkit-transition-delay: 0.1s; transition-delay: 0.1s; -webkit-transform: translate3d(-50%, -100%, 0); transform: translate3d(-50%, -100%, 0); } .ma-el-creative-button--itzel:hover > span { opacity: 0; -webkit-transform: translate3d(0, -50%, 0); transform: translate3d(0, -50%, 0); -webkit-transition-delay: 0s; transition-delay: 0s; } /* Naira */ .ma-el-creative-button--naira { padding: 0; overflow: hidden; -webkit-transition: background-color 0.3s; transition: background-color 0.3s; } .ma-el-creative-button--naira::before { content: attr(data-text); position: absolute; left: -50%; width: 200%; height: 200%; background: #37474f; top: -50%; z-index: -1; -webkit-transform: translate3d(0, -100%, 0) rotate3d(0, 0, 1, -10deg); transform: translate3d(0, -100%, 0) rotate3d(0, 0, 1, -10deg); } .ma-el-creative-button--naira.button--inverted::before { background: #7986cb; } .ma-el-creative-button--naira-up::before { -webkit-transform: translate3d(0, 100%, 0) rotate3d(0, 0, 1, 10deg); transform: translate3d(0, 100%, 0) rotate3d(0, 0, 1, 10deg); } .ma-el-creative-button--naira > span { display: block; } .ma-el-creative-button--naira .button__icon { position: absolute; top: 0; width: 100%; left: 0; color: #fff; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } .ma-el-creative-button--naira-up .button__icon { -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } .ma-el-creative-button--naira > span, .ma-el-creative-button--naira .button__icon { padding: 1em 2em; -webkit-transition: -webkit-transform 0.3s; transition: transform 0.3s; -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); } .ma-el-creative-button--naira:hover::before { -webkit-animation: anim-naira-1 0.3s forwards ease-in; animation: anim-naira-1 0.3s forwards ease-in; } .ma-el-creative-button--naira-up:hover::before { -webkit-animation: anim-naira-2 0.3s forwards ease-in; animation: anim-naira-2 0.3s forwards ease-in; } @-webkit-keyframes anim-naira-1 { 50% { -webkit-transform: translate3d(0, -50%, 0) rotate3d(0, 0, 1, -10deg); transform: translate3d(0, -50%, 0) rotate3d(0, 0, 1, -10deg); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } 100% { -webkit-transform: translate3d(0, 0%, 0) rotate3d(0, 0, 1, 0deg); transform: translate3d(0, 0%, 0) rotate3d(0, 0, 1, 0deg); } } @keyframes anim-naira-1 { 50% { -webkit-transform: translate3d(0, -50%, 0) rotate3d(0, 0, 1, -10deg); transform: translate3d(0, -50%, 0) rotate3d(0, 0, 1, -10deg); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } 100% { -webkit-transform: translate3d(0, 0%, 0) rotate3d(0, 0, 1, 0deg); transform: translate3d(0, 0%, 0) rotate3d(0, 0, 1, 0deg); } } @-webkit-keyframes anim-naira-2 { 50% { -webkit-transform: translate3d(0, 50%, 0) rotate3d(0, 0, 1, 10deg); transform: translate3d(0, 50%, 0) rotate3d(0, 0, 1, 10deg); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } 100% { -webkit-transform: translate3d(0, 0%, 0) rotate3d(0, 0, 1, 0deg); transform: translate3d(0, 0%, 0) rotate3d(0, 0, 1, 0deg); } } @keyframes anim-naira-2 { 50% { -webkit-transform: translate3d(0, 50%, 0) rotate3d(0, 0, 1, 10deg); transform: translate3d(0, 50%, 0) rotate3d(0, 0, 1, 10deg); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } 100% { -webkit-transform: translate3d(0, 0%, 0) rotate3d(0, 0, 1, 0deg); transform: translate3d(0, 0%, 0) rotate3d(0, 0, 1, 0deg); } } .ma-el-creative-button--naira:hover { background-color: #37474f; -webkit-transition: background-color 0s 0.3s; transition: background-color 0s 0.3s; } .ma-el-creative-button--naira.button--inverted:hover { background-color: #7986cb; } .ma-el-creative-button--naira:hover .button__icon { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .ma-el-creative-button--naira:hover > span { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } .ma-el-creative-button--naira-up:hover > span { -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } /* Sacnite */ .ma-el-creative-button--sacnite { color: #fff; -webkit-transition: color 0.3s; transition: color 0.3s; } .ma-el-creative-button--scanite.ma-el-creative-button--round-l { border-radius: 50%; } .ma-el-creative-button--sacnite.ma-el-creative-button--inverted { color: #37474f; } .ma-el-creative-button--sacnite::before { content: attr(data-text); background-color: #4b00e7; display: flex; align-items: center; justify-content: center; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: inherit; opacity: 0; z-index: -1; box-shadow: inset 0 0 0 35px #37474f; -webkit-transform: scale3d(0.6, 0.6, 0.6); transform: scale3d(0.6, 0.6, 0.6); -webkit-transition: all 0.3s ease; transition: all 0.3s ease; } .ma-el-creative-button--sacnite.ma-el-creative-button--inverted::before { box-shadow: inset 0 0 0 35px #fff; } .ma-el-creative-button--sacnite .ma-el-creative-button__icon { font-size: 22px; width: 22px; } .ma-el-creative-button--sacnite:hover { color: #37474f; } .ma-el-creative-button--sacnite.ma-el-creative-button--inverted:hover { color: #fff; } .ma-el-creative-button--sacnite:hover::before { opacity: 1; box-shadow: inset 0 0 0 2px #37474f; -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); z-index: 1; } .ma-el-creative-button--sacnite.ma-el-creative-button--inverted:hover::before { box-shadow: inset 0 0 0 2px #fff; }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件