| Server IP : 85.158.181.41 / Your IP : 216.73.217.12 Web Server : Apache System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64 User : moncbefd ( 1024) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/moncbefd/www.moneta.at/themes/Malibu/styles/system/ |
Upload File : |
/* Extended Button Styles
========================================================================== */
// secondary buttons
.btn-secondary {
@include button-variant(#fff, $gx-brand-secondary, $gx-brand-secondary);
}
// remove borders from all buttons
// except outline buttons
@if ($gx-btn-borderless) {
.btn {
border-width: 0 !important;
}
}
// apply rounded corners
// to all buttons
@if ($gx-btn-rounded) {
$btn-rounded-base-radius: floor((($padding-base-vertical * 2) + $line-height-computed) / 2);
$btn-rounded-large-radius: floor((($padding-large-vertical * 2) + ($line-height-large * $font-size-large)) / 2);
$btn-rounded-small-radius: floor((($padding-small-vertical * 2) + ($line-height-small * $font-size-small)) / 2);
$btn-rounded-xs-radius: floor((($padding-xs-vertical * 2) + ($line-height-small * $font-size-small)) / 2);
.btn {
@include border-top-radius($btn-rounded-base-radius);
@include border-bottom-radius($btn-rounded-base-radius);
&.btn-outline {
@include border-top-radius($btn-rounded-base-radius + 2);
@include border-bottom-radius($btn-rounded-base-radius + 2);
}
}
.btn-lg {
@include border-top-radius($btn-rounded-large-radius);
@include border-bottom-radius($btn-rounded-large-radius);
&.btn-outline {
@include border-top-radius($btn-rounded-large-radius + 2);
@include border-bottom-radius($btn-rounded-large-radius + 2);
}
}
.btn-sm {
@include border-top-radius($btn-rounded-small-radius);
@include border-bottom-radius($btn-rounded-small-radius);
&.btn-outline {
@include border-top-radius($btn-rounded-small-radius + 2);
@include border-bottom-radius($btn-rounded-small-radius + 2);
}
}
.btn-xs {
@include border-top-radius($btn-rounded-xs-radius);
@include border-bottom-radius($btn-rounded-xs-radius);
&.btn-outline {
@include border-top-radius($btn-rounded-xs-radius + 2);
@include border-bottom-radius($btn-rounded-xs-radius + 2);
}
}
}
// outline buttons
// transparent backgrounds, 1px borders
@mixin make-button-outline($color, $hover-color: #fff) {
color: $color;
background-color: transparent;
border-color: $color;
&:hover {
color: $hover-color;
background-color: $color;
border-color: $color;
@include box-shadow(none);
}
&:focus,
&.focus,
&:active,
&.active {
color: $hover-color;
background-color: darken($color, 15%);
border-color: darken($color, 15%);
@include box-shadow(none);
}
}
.btn-outline {
border-top-width: 1px !important;
border-right-width: 1px !important;
border-bottom-width: 1px !important;
border-left-width: 1px !important;
padding-left: 20px;
padding-right: 20px;
border-radius: 17px;
&.btn-lg {
border-radius: 23px;
}
&.btn-sm {
border-radius: 15px;
}
&.btn-xs {
border-radius: 10px;
}
&.btn-default {
@include make-button-outline(#000);
}
&.btn-primary {
@include make-button-outline($brand-primary);
}
&.btn-white {
@include make-button-outline(#fff, #000);
}
&.btn-gray {
@include make-button-outline(#999);
}
&.btn-secondary {
@include make-button-outline($gx-brand-secondary);
}
}