You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
1.9 KiB
92 lines
1.9 KiB
|
|
html, body {
|
|
height: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.yuri2-context-menu {
|
|
left: 0;
|
|
top: 0;
|
|
position: fixed;
|
|
width: 150px;
|
|
height: auto;
|
|
background-color: rgb(61, 61, 61);
|
|
display: block;
|
|
/*border-radius: 5px;*/
|
|
z-index: 99999999;
|
|
color: white;
|
|
/*overflow: hidden;*/
|
|
}
|
|
.yuri2-context-menu.sub {
|
|
left: 98%;
|
|
position: absolute;
|
|
display: none;
|
|
}
|
|
.yuri2-context-menu.sub.left {
|
|
left: auto;
|
|
right: 98%;
|
|
}
|
|
.yuri2-context-menu ul li:hover .yuri2-context-menu.sub {
|
|
display: block;
|
|
}
|
|
.yuri2-context-menu ul.left .yuri2-context-menu.sub{
|
|
left: -100%;
|
|
}
|
|
.yuri2-context-menu ul {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
box-shadow: 0 0 16px rgba(0, 0, 0, 0.54);
|
|
}
|
|
|
|
.yuri2-context-menu ul li {
|
|
transition: background-color 0.5s;
|
|
cursor: default;
|
|
padding: 0px 1em;
|
|
list-style: none;
|
|
line-height: 30px;
|
|
height: 30px;
|
|
font-size: 10px;
|
|
/*overflow: hidden;*/
|
|
position: relative;
|
|
}
|
|
.yuri2-context-menu ul li div.title{
|
|
width: 80%;
|
|
overflow: hidden;
|
|
height: 100%;
|
|
float: left;
|
|
word-break: break-all;
|
|
}
|
|
.yuri2-context-menu ul li div.title.disable {
|
|
color: darkgrey;
|
|
}
|
|
.yuri2-context-menu ul li.sub:after {
|
|
content: ">";
|
|
float: right;
|
|
transform: scale3d(0.5,1.5,1);
|
|
position: relative;
|
|
}
|
|
.yuri2-context-menu ul li:hover {
|
|
background-color: #636363;
|
|
}
|
|
|
|
.yuri2-context-menu ul li a {
|
|
text-decoration: none;
|
|
display: block;
|
|
height: 100%;
|
|
color: #333;
|
|
outline: none;
|
|
}
|
|
|
|
.yuri2-context-menu ul hr {
|
|
margin: 0;
|
|
height: 0;
|
|
border: 0;
|
|
border-bottom: rgba(132, 132, 132, 0.47) 1px solid;
|
|
border-top: none
|
|
}
|
|
|
|
/*浅色主题*/
|
|
.yuri2-context-menu.light {background-color: #e0e0e0;border-color: #535353;color: #333333;}
|
|
.yuri2-context-menu.light ul li:hover {background-color: #707070;color: #ffffff;}
|
|
.yuri2-context-menu.light ul hr{border-color: #535353;}
|