fixed #196
This commit is contained in:
parent
56e31b9fd6
commit
1cc1d1007b
1 changed files with 29 additions and 27 deletions
|
|
@ -214,37 +214,39 @@ p {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
li .from {
|
|
||||||
position: absolute;
|
|
||||||
top: -1.8em;
|
|
||||||
right: 10px;
|
|
||||||
display: none;
|
|
||||||
padding: 0.3em 0.9em;
|
|
||||||
-webkit-border-top-left-radius: 8px;
|
|
||||||
-webkit-border-top-right-radius: 8px;
|
|
||||||
-webkit-box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.1);
|
|
||||||
border: 1px solid white;
|
|
||||||
border-bottom: 0;
|
|
||||||
background: #ddd;
|
|
||||||
font-size: 0.9em;
|
|
||||||
}
|
|
||||||
|
|
||||||
li:hover .from {
|
li:hover .from {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
li .from {
|
||||||
|
position: absolute;
|
||||||
|
right: 3.5em;
|
||||||
|
display: none;
|
||||||
|
padding: 0.3em 0.9em;
|
||||||
|
background: #ddd;
|
||||||
|
font-size: 0.9em;
|
||||||
|
top: auto;
|
||||||
|
bottom: -1.8em;
|
||||||
|
z-index: 2;
|
||||||
|
-webkit-border-top-left-radius: 0;
|
||||||
|
-webkit-border-top-right-radius: 0;
|
||||||
|
-webkit-border-bottom-left-radius: 8px;
|
||||||
|
-webkit-border-bottom-right-radius: 8px;
|
||||||
|
-webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
|
||||||
|
border: 1px solid #b9b9b9;
|
||||||
|
border-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
li:first-child:hover .from {
|
li:last-child:hover .from {
|
||||||
top: auto;
|
top: -1.8em;
|
||||||
bottom: -1.8em;
|
bottom: auto;
|
||||||
z-index: 2;
|
-webkit-border-top-left-radius: 8px;
|
||||||
-webkit-border-top-left-radius: 0;
|
-webkit-border-top-right-radius: 8px;
|
||||||
-webkit-border-top-right-radius: 0;
|
-webkit-border-bottom-left-radius: 0px;
|
||||||
-webkit-border-bottom-left-radius: 8px;
|
-webkit-border-bottom-right-radius: 0px;
|
||||||
-webkit-border-bottom-right-radius: 8px;
|
-webkit-box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.1);
|
||||||
-webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
|
border: 1px solid white;
|
||||||
border: 1px solid #b9b9b9;
|
border-bottom: 0;
|
||||||
border-top: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
aside {
|
aside {
|
||||||
|
|
|
||||||
Reference in a new issue