You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
2.1 KiB

1 year ago
.button-component
width: 100%
1 year ago
.button-container
a.active
background-position: -100% center;
color: rgb(180, 175, 154) !important;
&:hover::before
content: none !important;
&:hover::after
content: none !important;
.button-anchor-box .button-icon
background-position: -100% center;
a.button-anchor
text-decoration: none;
1 year ago
display: flex;
flex-direction: column;
1 year ago
color: rgb(74, 71, 62);
1 year ago
align-items: flex-start;
1 year ago
background-image: linear-gradient(90deg, rgb(180, 175, 154) 50%, rgb(180, 175, 154) 50%, rgb(74, 71, 62) 50%, rgb(74, 71, 62) 100%);
1 year ago
background-size: 200%;
transition: all 0.2s linear 0s;
cursor: default;
&:hover
background-position: -100% center;
color: rgb(180, 175, 154);
// line over the button
&::before
1 year ago
background-color: rgb(74, 71, 62);
1 year ago
transition: all 0.2s ease 0s;
&:hover::before
height: 2px;
z-index: -1;
1 year ago
width: 100%;
1 year ago
content: "";
transform: translate(0px, -8px);
pointer-events: none;
// line under the button
&::after
1 year ago
background-color: rgb(74, 71, 62);
1 year ago
transition: all 0.2s ease 0s;
&:hover::after
height: 2px;
z-index: -1;
width: 100%;
content: "";
transform: translate(0px, 8px);
pointer-events: none;
1 year ago
1 year ago
&:hover .button-anchor-box .button-icon
background-position: -100% center;
.button-anchor-box
padding: 8px;
display: flex;
gap: 10px;
-webkit-box-align: center;
align-items: center;
font-family: Manrope, sans-serif;
font-weight: 500;
font-size: 18px;
.button-icon
width: 5%;
height: 5%;
min-width: 20px;
min-height: 20px;
1 year ago
background-image: linear-gradient(90deg, rgb(74, 71, 62) 50%, rgb(74, 71, 62) 50%, rgb(218, 212, 187) 50%, rgb(218, 212, 187) 100%);
1 year ago
background-size: 200%;
transition: all 0.1s linear 0s;
1 year ago