Vulcan/packages/telescope-theme-base/lib/client/scss/specific/_dropdown.scss

49 lines
802 B
SCSS
Raw Normal View History

.has-dropdown .dropdown{
position:relative;
>a{
&:after{
display:inline-block;
position:relative;
top:-1px;
margin-left:4px;
content:"";
font-size:8px;
}
}
&:hover{
.dropdown-menu{
display:block;
}
}
2014-08-20 17:03:54 +09:00
}
.has-dropdown .dropdown-menu{
display:none;
top:10px;
left:10px;
position:absolute;
padding-top:20px;
z-index: 10000;
&, a, a:link, a:visited{
color: $text;
}
a.button{
color: white;
}
ul{
background:white;
padding:10px;
min-width:140px;
@include border-radius(3px);
@include box-shadow(0 1px 3px black(0.35));
list-style-type: none;
li{
margin-bottom: 10px;
&:last-child{
margin-bottom: 0;
}
a{
font-size:14px;
}
}
}
}