| Server IP : 38.190.208.107 / Your IP : 216.73.217.13 Web Server : nginx/1.28.1 System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 User : root ( 0) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/wp.10/wp-content/themes/dt-the7/css/dynamic-less/shortcodes/ |
Upload File : |
/* #Buttons
================================================== */
@btn-pi: 0px;
@btn-pi-h: 0px;
.mixin-bg (@customColor) when not (@customColor = ~"") {
background: @customColor !important;
}
.mixin-border-color (@customColor) when (iscolor(@customColor)) {
border-color: @customColor !important;
}
.mixin-color (@customColor) when (iscolor(@customColor)) {
color: @customColor;
}
.mixin-link-color (@customColor) when (iscolor(@customColor)) {
color: @customColor;
background: none;
}
.mixin-3d-shadow (@customColor) when (iscolor(@customColor)) {
box-shadow: 0px 2px 0px 0px desaturate(darken(@customColor, 12%), 20%);
}
.mixin-padding(@pt, @pr, @pb, @pl, @pi: 0px) when (ispixel(@pt)) {
padding: @pt+@pi @pr+@pi @pb+@pi @pl+@pi;
}
.custom-mixin-font-style (@customString) when not(@customString = ~"") {
font-style: @customString;
}
.custom-mixin-font-weight (@customString) when not(@customString = ~"") {
font-weight: @customString;
}
.custom-mixin-text-transform (@customString) when not(@customString = ~"") {
text-transform: @customString;
}
.mixin-shadow-style() {
.btn-shadow& {
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
transition: box-shadow 0.2s ease-out, opacity 0.45s;
&:hover {
box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
}
}
.mixin-3d-style(@3d-bg, @3d-hover-bg) {
.btn-3d& {
.mixin-3d-shadow (@3d-bg);
&:hover {
.mixin-3d-shadow (@3d-hover-bg);
}
}
}
.mixin-custom-settings() when (ispixel(@btn-border-radius)) {
border-radius: @btn-border-radius;
font-size: @btn-font-size;
line-height: @btn-font-size + 2;
.mixin-shadow-style();
.mixin-3d-style(@btn-bg-color, @btn-bg-color-hover);
.btn-flat& {
box-shadow: none;
&:hover {
box-shadow: none;
}
}
&.ico-right-side > i {
margin-right: 0px;
margin-left: @btn-icon-gap;
}
& > i {
margin-right: @btn-icon-gap;
font-size: @btn-icon-size;
}
&:not(:hover) {
border-width: @btn-border-width;
.mixin-border-color (@btn-border-color);
.mixin-color (@btn-color);
.mixin-bg (@btn-bg-color);
.mixin-padding (@btn-padding-top, @btn-padding-right, @btn-padding-bottom, @btn-padding-left, @btn-pi);
& * {
.mixin-color (@btn-color);
}
}
&:hover {
border-width: @btn-border-width-hover;
.mixin-border-color (@btn-border-color-hover);
.mixin-color (@btn-color-hover);
.mixin-bg (@btn-bg-color-hover);
.mixin-padding (@btn-padding-top-hover, @btn-padding-right-hover, @btn-padding-bottom-hover, @btn-padding-left-hover, @btn-pi-h);
& * {
.mixin-color (@btn-color-hover);
}
}
}
.mixin-link-settings() when (ispixel(@link-font-size)) {
font-size: @link-font-size;
line-height: @link-font-size + 2;
.custom-mixin-font-style (@link-font-style);
.custom-mixin-font-weight (@link-font-weight);
.custom-mixin-text-transform (@link-text-transform);
.mixin-padding (@link-padding-top, @link-padding-right, @link-padding-bottom, @link-padding-left, @link-pi);
&.ico-right-side > i {
margin-right: 0px;
margin-left: @btn-icon-gap;
}
&:after {
height: @link-border-width;
.mixin-bg (@link-border-color-hover);
}
& > i {
margin-right: @btn-icon-gap;
font-size: @link-icon-size;
}
&:not(:hover),
&.link-hover-off:hover {
// .mixin-border-color (@link-border-color);
.mixin-link-color (@link-color);
& * {
.mixin-link-color (@link-color);
}
}
&:not(.link-hover-off):hover {
// border-width: @link-border-width-hover;
//.mixin-border-color (@link-border-color-hover);
.mixin-link-color (@link-color-hover);
//.mixin-padding (@link-padding-top-hover, @link-padding-right-hover, @link-padding-bottom-hover, @link-padding-left-hover, @link-pi-h);
& * {
.mixin-link-color (@link-color-hover);
}
}
}
#@{unique-shortcode-class-name} {
.mixin-custom-settings();
.mixin-link-settings();
&.ico-right-side > i {
margin-right: 0px;
margin-left: @btn-icon-gap;
}
& > i {
margin-right: @btn-icon-gap;
}
}