| 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/admin/styles/admin/ |
Upload File : |
/*
Mixins
==========================================================================
Define reusable mixins for the admin components.
Prefer to use the bootstrap mixins located in at "node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_mixins.scss"
*/
@mixin font($size: $font-size-base) {
font-family: $font-family-sans-serif;
font-size: $size;
}
@mixin component-colors($color, $font-color: $text-color, $hover: false) {
$gradient-start-factor: 0%;
$gradient-end-factor: 4%;
$border-start-factor: 9%;
$border-end-factor: 15%;
@if $hover == true {
$gradient-start-factor: 2%;
$gradient-end-factor: 7%;
$border-start-factor: 10%;
$border-end-factor: 16%;
}
$gradient-start: darken($color, $gradient-start-factor);
$gradient-end: darken($color, $gradient-end-factor);
$border-start: darken($color, $border-start-factor);
$border-end: darken($color, $border-end-factor);
background-image: linear-gradient($gradient-start, $gradient-end);
border-color: $border-start $border-start $border-end;
color: $font-color;
}
@mixin force-component-colors($color, $font-color: $text-color, $hover: false) {
$gradient-start-factor: 0%;
$gradient-end-factor: 4%;
$border-start-factor: 9%;
$border-end-factor: 15%;
@if $hover == true {
$gradient-start-factor: 2%;
$gradient-end-factor: 7%;
$border-start-factor: 10%;
$border-end-factor: 16%;
}
$gradient-start: darken($color, $gradient-start-factor);
$gradient-end: darken($color, $gradient-end-factor);
$border-start: darken($color, $border-start-factor);
$border-end: darken($color, $border-end-factor);
background-image: linear-gradient($gradient-start, $gradient-end) !important;
border-color: $border-start $border-start $border-end !important;
color: $font-color !important;
}
@mixin border-radius($radius: 5px, $corner: "all") {
-webkit-border-radius: $radius;
-moz-border-radius: $radius;
border-radius: $radius;
@if $corner == "top" {
-webkit-border-bottom-right-radius: 0;
-moz-border-radius-bottomright: 0;
border-bottom-right-radius: 0;
-webkit-border-bottom-left-radius: 0;
-moz-border-radius-bottomleft: 0;
border-bottom-left-radius: 0;
} @else if $corner == "bottom" {
-webkit-border-top-right-radius: 0;
-moz-border-radius-topright: 0;
border-top-right-radius: 0;
-webkit-border-top-left-radius: 0;
-moz-border-radius-topleft: 0;
border-top-left-radius: 0;
}
}
@mixin add-fa-check {
&:before {
color: $text-color-tooltip;
content: fa-content($fa-var-check);
font-family: 'Font Awesome 5 Free';
font-weight: 900;
line-height: 12px;
margin-left: -1px;
text-align: center;
vertical-align: top;
}
}
@function tint($color, $percentage) {
@return mix(white, $color, $percentage);
}
@function shade($color, $percentage) {
@return mix(black, $color, $percentage);
}
@function adjust-lightness($color, $value) {
$percentage: abs($value) + 0%; // Used to get the given value as percentage
@if ($value < 0) {
@return darken($color, $percentage);
} @else {
@return lighten($color, $percentage);
}
}