File "_c-button.scss"
Full path: /home/xs854402/smcse.co.jp/public_html/test.smcse.co.jp/wp-content/themes/Sumitomo-Mitsui/src/sass/component/_c-button.scss
File
size: 1001 B (1001 B bytes)
MIME-type: text/plain
Charset: utf-8
Download Open Edit Advanced Editor Back
@use "global" as *;
.c-button {
width: max-content;
display: flex;
align-items: center;
padding-left: rem(64);
font-size: rem(20);
position: relative;
letter-spacing: .1em;
min-height: rem(48);
transition: color .3s ease-out;
line-height: 1.3;
}
.c-button:hover {
color: $blue;
}
.c-button::before {
content: "";
display: block;
width: rem(48);
height: rem(48);
border: 1px solid #D3D3D3;
border-radius: 50%;
position: absolute;
top: 50%;
transform: translateY(-50%);
left: 0;
transition: border .3s ease-out;
}
.c-button:hover::before {
border-color: $blue;
}
.c-button::after {
content: "";
display: block;
width: rem(16);
height: rem(16);
background-image: url(../images/icon/button-arrow.svg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
position: absolute;
top: 50%;
transform: translateY(-50%);
left: rem(16);
}