ZeroNet/plugins/UiFileManager/media/css/Menu.css

117 lines
2.2 KiB
CSS

.menu {
background-color: white;
padding: 10px 0px;
position: absolute;
top: 0px;
max-height: 0px;
overflow: hidden;
transform: translate(-100%, -30px);
pointer-events: none;
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.3);
border-radius: 2px;
opacity: 0;
transition: opacity 0.2s ease-out, transform 1s ease-out, max-height 0.2s ease-in-out;
z-index: 99;
display: inline-block;
z-index: 999;
transform-style: preserve-3d;
}
.menu.menu-left {
transform: translate(0%, -30px);
}
.menu.menu-left.visible {
transform: translate(0%, 0px);
}
.menu.visible {
opacity: 1;
transform: translate(-100%, 0px);
pointer-events: all;
transition: opacity 0.1s ease-out, transform 0.3s ease-out, max-height 0.3s cubic-bezier(0.86, 0, 0.07, 1);
}
.menu-item {
display: block;
text-decoration: none;
color: black;
padding: 6px 24px;
transition: all 0.2s;
border-bottom: none;
font-weight: normal;
max-height: 150px;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 6;
-webkit-box-orient: vertical;
display: -webkit-box;
}
.menu-item-separator {
margin-top: 3px;
margin-bottom: 3px;
border-top: 1px solid #eee
}
.menu-item.noaction {
cursor: default
}
.menu-item:hover:not(.noaction) {
background-color: #F6F6F6;
transition: none;
color: inherit;
cursor: pointer;
color: black
}
.menu-item:active:not(.noaction), .menu-item:focus:not(.noaction) {
background-color: #AF3BFF !important;
color: white !important;
transition: none
}
.menu-item.selected:before {
content: "L";
display: inline-block;
transform: rotateZ(45deg) scaleX(-1);
font-weight: bold;
position: absolute;
margin-left: -14px;
font-size: 12px;
margin-top: 2px;
}
.menu-radio {
white-space: normal;
line-height: 26px
}
.menu-radio a {
background-color: #EEE;
width: 18.5%;
;
text-align: center;
margin-top: 2px;
margin-bottom: 2px;
color: #666;
font-weight: bold;
text-decoration: none;
font-size: 13px;
transition: all 0.3s;
text-transform: uppercase;
display: inline-block;
}
.menu-radio a:hover, .menu-radio a.selected {
transition: none;
background-color: #AF3BFF !important;
color: white !important
}
.menu-radio a.long {
font-size: 10px;
vertical-align: -1px;
}