📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 12:14:26
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
themes
/
berich
/
assets
/
scss
/
elements
✏️
Editing: buttons.scss
button:not(.btn), .button:not(.btn) { font-size: 14px; font-weight: 700; color: #fff; padding: 0 28px; line-height: 46px; @include transition(all 200ms linear 0ms); position: relative; display: inline-block; cursor: pointer; border-radius: 2px; color: #fff; border: none; height: auto; text-align: center; justify-content: center; position: relative; z-index: 1; overflow: hidden; background-color: $primary_color; &:hover, &:focus { background-color: $secondary_color; color: #fff; } } input[type="submit"]:not(.btn) { font-size: 18px; font-weight: 600; color: #fff; padding: 0 28px; line-height: 54px; @include transition(all 300ms linear 0ms); position: relative; display: inline-block; cursor: pointer; border: 2px solid $primary_color; border-radius: 60px; background-color: #000; color: #fff; height: auto; text-align: center; justify-content: center; @extend .ft-theme-default; &:hover, &:focus { outline: medium none; text-decoration: none; color: #fff; } } .btn { font-size: 18px; font-weight: 700; color: #fff; @extend .ft-theme-default; padding: 0 44px; line-height: 64px; border-radius: 0px; @include transition(all 300ms linear 0ms); position: relative; cursor: pointer; border: none; height: auto; display: inline-flex; align-items: center; text-align: center; background-color: $secondary_color; justify-content: center; overflow: hidden; z-index: 1; &:hover, &:focus { outline: medium none; text-decoration: none; color: #fff; background-color: $primary_color; } &.btn-block { width: 100%; } &.pxl-icon--right { flex-direction: row-reverse; } &.pxl-icon-active i { justify-content: center; align-items: center; } /* Style */ &.btn-slip, &.btn-slip-primary { i.flaticon-right-up, i.flaticon-left-up { @include transition(all 300ms linear 0ms); } &:before { content: ''; position: absolute; width: 101%; height: 101%; top: 0; left: 0; margin: auto; background-color: $primary_color; transform-origin: right center; -webkit-transform-origin: right center; @include transform(scale(0, 1)); @include transition(transform 0.3s cubic-bezier(0.37, 0.31, 0.2, 0.85)); z-index: -1; @include border-radius(inherit); } &:hover, &:focus { background-color: $secondary_color; &:before { transform-origin: left center; -webkit-transform-origin: left center; @include transform(scale(1, 1)); } i.flaticon-right-up { transform: rotate(45deg); } i.flaticon-left-up { transform: rotate(-45deg); } } } &.btn-slip-primary { background-color: $primary_color; &:before { background-color: $secondary_color; } &:hover, &:focus { background-color: $primary_color; } } &.btn-slip-outline { font-size: 16px; line-height: 51px; background-color: transparent; padding-left: 17px; padding-right: 20px; border: 1px solid #fff; i.flaticon-right-up { @include transition(all 300ms linear 0ms); font-style: 12px; } .pxl--btn-text { padding: 0 10px; } &:before { content: ''; position: absolute; width: 101%; height: 101%; top: 0; left: 0; margin: auto; background-color: #fff; transform-origin: right center; -webkit-transform-origin: right center; @include transform(scale(0, 1)); @include transition(transform 0.3s cubic-bezier(0.37, 0.31, 0.2, 0.85)); z-index: -1; @include border-radius(inherit); } &:hover, &:focus { background-color: transparent; color: #000; &:before { transform-origin: left center; -webkit-transform-origin: left center; @include transform(scale(1, 1)); } i.flaticon-right-up { transform: rotate(45deg); } } } &.btn-moema, &.btn-slider1 { background-color: $primary_color; -webkit-transition: background-color 0.3s, color 0.3s; transition: background-color 0.3s, color 0.3s; overflow: visible; &: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); } i.flaticon-right-up { @include transition(all 300ms linear 0ms); } &:hover { background-color: $secondary_color; -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; -webkit-animation: anim-moema-1 0.3s forwards; animation: anim-moema-1 0.3s forwards; &:before { -webkit-animation: anim-moema-2 0.3s 0.3s forwards; animation: anim-moema-2 0.3s 0.3s forwards; } i.flaticon-right-up { transform: rotate(45deg); } } } &.btn-slider1 { font-size: 20px; font-weight: 600; text-transform: uppercase; border-radius: 74px; line-height: 74px; padding: 0 51px; letter-spacing: 0.01em; @media #{$max-md2} { font-size: 18px; line-height: 60px; padding: 0 35px; } } &.btn-slider2, &.btn-winona { font-size: 20px; font-weight: 600; text-transform: uppercase; border-radius: 70px; line-height: 70px; padding: 0 49px; color: $primary_color; background-color: transparent; letter-spacing: 0.01em; border: 2px solid $primary_color; &:after { content: attr(data-text-pr); position: absolute; width: 100%; height: 100%; top: 0; left: 0; opacity: 0; color: inherit; -webkit-transform: translate3d(0, 25%, 0); transform: translate3d(0, 25%, 0); color: #fff; } &:after, .pxl--btn-text { transition: transform 0.3s, opacity 0.3s; transition-timing-function: ease, ease; -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); } &:hover { background-color: $primary_color; &:after { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } .pxl--btn-text { opacity: 0; -webkit-transform: translate3d(0, -25%, 0); transform: translate3d(0, -25%, 0); } } } &.btn-slider2 { @media #{$max-md2} { font-size: 18px; line-height: 56px; padding: 0 35px; } } &.btn-gradient { @include background-gradient-button(to right, $gradient_color_from 0%, $gradient_color_to 51%, $gradient_color_from 100%); background-size: 200%, auto; line-height: 58px; font-size: 15px; font-weight: 500; text-transform: uppercase; font-family: 'Rubik', sans-serif; border-radius: 58px; &:hover, &:focus, &:active { background-position: right center; color: #fff; } } // Text Hover &.btn-text-nina { .pxl--btn-text { position: relative; &:before { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 0; -webkit-transition: -webkit-transform 0.2s, opacity 0.2s; transition: transform 0.2s, opacity 0.2s; transition-timing-function: ease, ease; -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); white-space: nowrap; } > span { white-space: nowrap; display: inline-block; padding: 0; opacity: 0; -webkit-transform: translate3d(0, -14px, 0); transform: translate3d(0, -14px, 0); -webkit-transition: -webkit-transform 0.2s, opacity 0.2s; transition: transform 0.2s, opacity 0.2s; transition-timing-function: ease, ease; -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1); line-height: normal; } } &:hover { @include transform(translateY(0px)); .pxl--btn-text { &:before { opacity: 0; -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); } span { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } } &:not(:hover) .pxl--btn-text > span { transition-delay: 0s !important; } &.btn-outline-gradient { &:hover { .pxl--btn-text { &:before { -webkit-transform: translate3d(0, 30px, 0); transform: translate3d(0, 30px, 0); } } } } } &.btn-text-nanuk { .pxl--btn-text { span { display: inline-block; } } &:hover, &:active, &:not([disabled]):not(.disabled).active, &:not([disabled]):not(.disabled):active { background-color: $primary_color; } &:hover .pxl--btn-text { span:nth-child(2n+1), span:nth-child(2n) { -webkit-animation-timing-function: cubic-bezier(0.75, 0, 0.125, 1); transition-animation-function: cubic-bezier(0.75, 0, 0.125, 1); } span:nth-child(2n+1) { -webkit-animation: pxl_nanuk_1 0.5s forwards; animation: pxl_nanuk_1 0.5s forwards; } span:nth-child(2n) { -webkit-animation: pxl_nanuk_2 0.5s forwards; animation: pxl_nanuk_2 0.5s forwards; } } } &.btn-outline-dark { line-height: 58px; border: 2px solid #040408; font-size: 18px; color: #1b1b1b; padding: 0 21px; background-color: transparent; border-radius: 62px; &:hover { background-color: $primary_color; text-decoration: underline; } } &.btn-outline-light { line-height: 52px; padding: 0 22px; font-size: 16px; color: #fff; background-color: rgba(#131414, 0.74); border: 1px solid #777777; border-radius: 8px; &:hover, &:focus { color: #fff; background-color: rgba(#131414, 0.74); border: 1px solid #777777; } } &.btn-slider-primary { line-height: 54px; border-radius: 8px; padding: 0 25px; border-radius: 8px; background-color: $primary_color; color: $secondary_color; font-size: 16px; &:hover, &:focus { background-color: $primary_color; color: $secondary_color; } } } @-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); } } @keyframes pxl_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: inherit; } 100% { color: inherit; } } @keyframes pxl_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: inherit; } 100% { color: inherit; } } .btn-full-width .btn { width: 100%; } .btn-icon-box, .btn-icon-box2 { line-height: 56px; font-size: 16px; background-color: #15333d; text-transform: capitalize; i { position: absolute; top: 0; height: 100%; margin: 0; width: 50px; background-color: $primary_color; font-size: 20px; display: inline-flex; justify-content: center; } &.pxl-icon--left { padding-left: 80px; padding-right: 30px; i { left: 0; } } &.pxl-icon--right { padding-left: 30px; padding-right: 80px; i { right: 0; } } &:hover, &:focus { background-color: #15333d; transform: translateY(-3px); } } .btn-icon-box2 { background-color: #fff; color: #010203; i { background-color: #15333d; color: #fff; } &:hover, &:focus { background-color: #fff; color: #010203; } } body.rtl { }
💾 Save Changes
❌ Cancel