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.0 KiB

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