position: relative;
z-index: 1;
text-decoration: none;
+ border-bottom: 1px solid $color-main;
+ @include transition(all 0.15s ease-in-out);
- &:after {
+ &:hover {
+ box-shadow: inset 0 -30px $color-main;
+ }
+
+ /*&:after {
@include transition(all 0.15s ease-in-out);
content: "";
display: block;
background: $color-main;
height: 100%;
}
- }
+ }*/
}
}
position: relative;
z-index: 1;
- text-decoration: none;
+ border-bottom: 1px solid $color-main;
+ @include transition(all 0.15s ease-in-out);
- &:after {
- @include transition(all 0.15s ease-in-out);
- content: "";
- display: block;
- position: absolute;
- left: 0;
- right: 0;
- bottom: 0;
- height: 1px;
- background: $color-main;
- z-index: -1;
+ &:hover {
+ box-shadow: inset 0 -30px $color-main;
}
}
position: relative;
z-index: 1;
- text-decoration: underline;
- @include transition(all 0.15s ease-in-out);
+ text-decoration: none;
+ border-color: $color-black;
- &:after {
- display: none;
- }
+ &:hover {
+ box-shadow: none;
+ color: $color-black;
+ }
}
color: white;
position: relative;
z-index: 1;
- text-decoration: underline;
- @include transition(all 0.15s ease-in-out);
+ text-decoration: none;
+ border-color: $color-main;
- &:after {
- display: none;
- }
+ &:hover {
+ box-shadow: none;
+ color: $color-main;
+ }
}