File: /home/firststeps/public_html/wp-content/plugins__/sierotki/includes/iworks/rate/admin.scss
$au: 1.618;
$color_blue: #0073aa;
$color_green: #46b450;
$color_white: #fff;
.iworks-rate {
font-family: "Exo 2", sans-serif;
padding: 20px 30px;
h4 {
margin: 10px 0 0;
padding: 4px 38px 4px 0;
font: {
size: 16px;
weight: 500;
}
strong {
font-weight: 900;
}
line-height: $au;
--logo: attr(data-logo);
}
p {
font-size: 14px;
max-width: 800px;
line-height: $au;
margin: 0 0 10px;
padding: 4px 0;
}
&.has-logo {
h4 {
display: flex;
align-items: center;
}
}
}
.iworks-rate-logo {
display: block;
width: 3em;
height: 3em;
margin-right: .3em;
content: "";
background: {
color: transparent;
repeat: no-repeat;
position: 50%;
size: contain;
}
}
.iworks-rate-buttons {
margin-top: -10px;
padding: 10px 2px;
overflow: hidden;
.iworks-rate-button {
float: left;
margin: 20px 20px 0 0;
}
}
.iworks-rate-button {
margin: 20px auto;
position: relative;
display: inline-block;
min-width: 180px;
padding: 9px 30px;
font: {
weight: 500;
size: 14px;
}
line-height: $au;
text: {
align: center;
decoration: none;
}
background-color: $color_white;
opacity: 1;
box-sizing: border-box;
box-shadow: none;
outline: none;
border: 1px solid transparent;
transition: color .3s!important;
z-index: 10;
cursor: pointer;
&--green {
border-color: $color_green;
color: $color_green;
&:after {
background-color: $color_green;
}
&:focus {
color: $color_green;
box-shadow: 0 0 0 1px $color_green,0 0 2px 1px rgba(79,148,212,.8);
outline: 1px solid transparent
}
&:hover {
color: $color_white;
background-color: $color_green;
}
}
&--blue {
border-color: $color_blue;
color: $color_blue;
&:after {
background-color: $color_blue;
}
&:focus {
box-shadow: 0 0 0 1px $color_blue,0 0 2px 1px rgba(79,148,212,.8);
color: $color_blue;
outline: 1px solid transparent
}
&:hover {
color: $color_white;
background-color: $color_blue;
}
}
&:before{
float: left;
margin-right: 10px;
font-family: dashicons;
font-size: 20px;
line-height: 1.1;
}
&:after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 0;
bottom: 0;
transition: all ease .3s;
z-index: -1;
}
&:hover {
&:after {
width: 100%;
}
}
}
.iworks-rate-center {
text-align: center;
}