| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Old Sites/ict/wp-content/plugins/so-widgets-bundle/widgets/button/styles/ |
Upload File : |
@import "../../../base/less/mixins";
@responsive_breakpoint: 780px;
@align: center;
@mobile_align: center;
@button_width: '';
@button_color: #41a9d5;
@text_color: #FFFFFF;
@icon_size: 1.3em;
@hover_background_color: #41a9d5;
@hover_text_color: #FFFFFF;
@button_font: default;
@button_font_weight: default;
@button_font_style: default;
@font_size: 1em;
@rounding: 0.25em;
@padding: 1em;
@has_text: true;
@has_button_icon: false;
.ow-button-base {
.clearfix();
@media (max-width: @responsive_breakpoint) {
&.ow-button-align-@{align} {
text-align: @mobile_align;
& when not ( @mobile_align = justify ) {
&.ow-button-align-justify a {
display: inline-block;
}
}
& when ( @mobile_align = justify ) {
a {
display: block;
}
}
}
}
a {
.box-sizing(border-box);
& when( isnumber( @button_width ) ) {
width: @button_width;
max-width: 100%;
}
.font(@button_font, @button_font_weight);
font-style: @button_font_style;
font-size: @font_size;
padding: @padding @padding*2;
background: transparent;
border: 2px solid @button_color;
color: @button_color !important;
.rounded(@rounding);
text-shadow: 0 1px 0 rgba(0,0,0,0.05);
& when not ( @has_text = true ) {
.sow-icon-image,
[class^="sow-icon-"] {
margin: 0;
}
}
& when ( @has_button_icon = true ) {
& > span {
display: flex;
justify-content: center;
[class^="sow-icon-"] {
font-size: @icon_size;
}
}
&.ow-icon-placement-top > span {
flex-direction: column;
}
&.ow-icon-placement-right > span {
flex-direction: row-reverse;
}
&.ow-icon-placement-bottom > span {
flex-direction: column-reverse;
}
&.ow-icon-placement-left > span {
align-items: start;
}
}
&.ow-button-hover:active,
&.ow-button-hover:hover {
background: @hover_background_color;
border-color: @hover_background_color;
color: @hover_text_color !important;
}
}
}