Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
web
/
vhosts
/
716cf56cb2.url-de-test.ws
/
htdocs
/
assets
/
styles
/
_scss
/
/srv/data/web/vhosts/716cf56cb2.url-de-test.ws/htdocs/assets/styles/_scss/_buttons.scss
// stylelint-disable selector-no-qualifying-type // // Base styles // .btn { display: inline-block; font-weight: $btn-font-weight; text-align: center; white-space: nowrap; vertical-align: middle; user-select: none; border: $btn-border-width solid transparent; @include button-size($btn-padding-y, $btn-padding-x, $font-size-base, $btn-line-height, $btn-border-radius); @include transition($btn-transition); // Share hover and focus styles @include hover-focus { text-decoration: none; } &:focus, &.focus { outline: 0; box-shadow: $btn-focus-box-shadow; } // Disabled comes first so active can properly restyle &.disabled, &:disabled { opacity: $btn-disabled-opacity; @include box-shadow(none); } // Opinionated: add "hand" cursor to non-disabled .btn elements &:not(:disabled):not(.disabled) { cursor: pointer; } &:not(:disabled):not(.disabled):active, &:not(:disabled):not(.disabled).active { background-image: none; @include box-shadow($btn-active-box-shadow); &:focus { @include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow); } } } // Future-proof disabling of clicks on `<a>` elements a.btn.disabled, fieldset:disabled a.btn { pointer-events: none; } // // Alternate buttons // @each $color, $value in $theme-colors { .btn-#{$color} { @include button-variant($value, $value); } } @each $color, $value in $theme-colors { .btn-outline-#{$color} { @include button-outline-variant($value); } } // // Link buttons // // Make a button look and behave like a link .btn-link { font-weight: $font-weight-normal; color: $link-color; background-color: transparent; @include hover { color: $link-hover-color; text-decoration: $link-hover-decoration; background-color: transparent; border-color: transparent; } &:focus, &.focus { text-decoration: $link-hover-decoration; border-color: transparent; box-shadow: none; } &:disabled, &.disabled { color: $btn-link-disabled-color; } // No need for an active state here } // // Button Sizes // .btn-lg { @include button-size($btn-padding-y-lg, $btn-padding-x-lg, $font-size-lg, $btn-line-height-lg, $btn-border-radius-lg); } .btn-sm { @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $font-size-sm, $btn-line-height-sm, $btn-border-radius-sm); } // // Block button // .btn-block { display: block; width: 100%; // Vertically space out multiple block buttons + .btn-block { margin-top: $btn-block-spacing-y; } } // Specificity overrides input[type="submit"], input[type="reset"], input[type="button"] { &.btn-block { width: 100%; } } // Hover effect .one_appartement-f2-1er-etage_button-decouvrez, .one_appartement-f3-1er-etage_button-decouvrez, .one_appartement-f3-rdc_button-decouvrez, .one_villa_button-decouvrez, .two_home_button-decouvrez, .three_home_button-decouvrez, .four_villa_button-decouvrez, .six_home_button-decouvrez { display: flex; flex-direction: column; // justify-content: center; align-items: center; text-align: center; height: 100%; width: 100%; a { cursor: pointer; font-size: rem(16) !important; line-height: rem(45) !important; letter-spacing: rem(0); max-width: rem(240); position: relative; text-decoration: none; width: 100%; display: inline !important; border: none !important; &:hover { text-decoration: none; transition-property: all; transition-duration: .6s; transition-timing-function: ease; transform: none !important; border: none !important; &:after, &:before { backface-visibility: hidden; border-color: $acdf-gold; transition: width 350ms ease-in-out; width: 70%; } &:before { bottom: auto; top: 0; width: 70%; } } &:after, &:before { backface-visibility: hidden; border: rem(1) solid rgba($acdf-gold, 0); bottom: rem(0); content: " "; display: block; margin: rem(0) auto; position: relative; transition: all 280ms ease-in-out; width: 0; } } } // Animation to kill the snapshot button { transition: all .7s ease-in-out; }