| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/HostingSpaces/admin/sms4real.com/wwwroot/assets/sass/components/ |
Upload File : |
///
/// Elemental by Pixelarity
/// pixelarity.com @pixelarity
/// License: pixelarity.com/license
///
/* Button */
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
@include vendor('appearance', 'none');
@include vendor('transition', 'background-color #{_duration(transition)} ease-in-out, color #{_duration(transition)} ease-in-out');
border-radius: _size(border-radius);
border: 0;
cursor: pointer;
display: inline-block;
font-weight: _font(weight-extrabold);
height: _size(element-height) * 1.1;
line-height: _size(element-height) * 1.1;
padding: 0 3em;
text-align: center;
text-decoration: none;
white-space: nowrap;
&.icon {
&:before {
margin-right: 0.5em;
margin-left: -0.35em;
}
}
&.fit {
display: block;
margin: 0 0 (_size(element-margin) * 0.5) 0;
width: 100%;
}
&.small {
font-size: 0.8em;
}
&.big {
font-size: 1.35em;
}
&.disabled,
&:disabled {
@include vendor('pointer-events', 'none');
opacity: 0.35;
}
@include breakpoint(xsmall) {
padding: 0;
}
}
@mixin color-button($p: null) {
$highlight: _palette($p, highlight);
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
background-color: transparent;
box-shadow: inset 0 0 0 _size(border-width) _palette($p, border);
color: _palette($p, fg-bold) !important;
&:hover {
background-color: _palette($p, border-bg);
color: _palette($p, fg-bold) !important;
}
&:active {
background-color: _palette($p, border-bg-alt);
}
&.special {
box-shadow: none;
@if $p {
background-color: _palette($p, fg-bold);
color: _palette($p, bg) !important;
}
@else {
background-color: _palette($highlight, bg);
color: _palette($highlight, fg-bold) !important;
&:hover {
background-color: lighten(_palette($highlight, bg), 5);
}
&:active {
background-color: darken(_palette($highlight, bg), 5);
}
}
}
}
}
@include color-button;