dropdown triangle

This commit is contained in:
life
2014-09-22 12:38:48 +08:00
parent b411302087
commit e240dfbafe
8 changed files with 1419 additions and 10 deletions

View File

@ -71,9 +71,29 @@
border-radius: 3px;
margin:0;
border: 1px solid @hColor;
// border: 1px solid #e6eaed;
/*overflow-x: hidden; */
/*overflow-y: scroll;*/
box-shadow: rgba(0, 0, 0, 0.172549) 0px 6px 12px 0px;
&:before {
content: "";
width: 20px;
height: 12px;
position: absolute;
top: -12px;
right: 20px;
background-image: url("../../images/triangle_2x.png");
background-size: 20px 12px;
}
}
.dropdown-submenu .dropdown-menu:before {
background: none;
}
#searchNotebookForAddDropdownList:before {
left: 190px;
right: inherit;
}
.dropdown-menu li {
@ -420,4 +440,3 @@
}
}
}

View File

@ -66,6 +66,23 @@
/*overflow-y: scroll;*/
box-shadow: rgba(0, 0, 0, 0.172549) 0px 6px 12px 0px;
}
.dropdown-menu:before {
content: "";
width: 20px;
height: 12px;
position: absolute;
top: -12px;
right: 20px;
background-image: url("../../images/triangle_2x.png");
background-size: 20px 12px;
}
.dropdown-submenu .dropdown-menu:before {
background: none;
}
#searchNotebookForAddDropdownList:before {
left: 190px;
right: inherit;
}
.dropdown-menu li {
list-style: none;
padding-left: 10px;
@ -523,9 +540,6 @@ a.raw:hover {
font-size: 28px;
color: #999999;
}
.dropdown-menu {
border: 1px solid #0fb264;
}
.dropdown-menu li > a {
color: #000000;
}

View File

@ -169,7 +169,7 @@ a.raw:hover {
}
.dropdown-menu {
border: 1px solid @hColor;
// border: 1px solid @hColor;
}
.dropdown-menu li > a {
color: @aBlackColor;

File diff suppressed because one or more lines are too long

View File

@ -158,7 +158,7 @@ a.raw:hover {
}
.dropdown-menu {
border: 1px solid @hColor;
// border: 1px solid @hColor;
}
.dropdown-menu li > a {
color: @aBlackColor;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 B