add border-bottom-mixin
This commit is contained in:
parent
e784301bb0
commit
559bfd8ab2
|
@ -22,3 +22,6 @@
|
||||||
padding: 0
|
padding: 0
|
||||||
list-style: none
|
list-style: none
|
||||||
|
|
||||||
|
@mixin border-bottom-radius($radius)
|
||||||
|
border-bottom-left-radius: $radius
|
||||||
|
border-bottom-right-radius: $radius
|
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
.menu
|
.menu
|
||||||
@include resetul
|
@include resetul
|
||||||
|
@include border-bottom-radius(4px)
|
||||||
z-index: 1000
|
z-index: 1000
|
||||||
display: none
|
display: none
|
||||||
position: absolute
|
position: absolute
|
||||||
|
@ -38,8 +39,6 @@
|
||||||
top: -4px
|
top: -4px
|
||||||
width: 140px
|
width: 140px
|
||||||
background-color: #a6adad
|
background-color: #a6adad
|
||||||
border-bottom-left-radius: 4px
|
|
||||||
border-bottom-right-radius: 4px
|
|
||||||
a
|
a
|
||||||
display: block
|
display: block
|
||||||
color: $white
|
color: $white
|
||||||
|
@ -48,7 +47,7 @@
|
||||||
&:hover:not(.disabled)
|
&:hover:not(.disabled)
|
||||||
background-color: #909393
|
background-color: #909393
|
||||||
&:last-child
|
&:last-child
|
||||||
border-bottom-radius: 4px
|
@include border-bottom-radius(4px)
|
||||||
&.disabled
|
&.disabled
|
||||||
cursor: default
|
cursor: default
|
||||||
color: $color-link-disabled
|
color: $color-link-disabled
|
||||||
|
|
Loading…
Reference in New Issue
Block a user