mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-04-22 23:26:44 +02:00
- Redesign the core UI API and tags to support Mobile devices - Add new StackMenu tag - Support touch events handling on touch devices - Redesign File and Setting to work on mobile - Improve Anouncement API - Rework on default themes
120 lines
2.0 KiB
CSS
120 lines
2.0 KiB
CSS
|
|
afx-menu {
|
|
position:relative;
|
|
display:inline-block;
|
|
z-index: 100000;
|
|
}
|
|
afx-menu a{
|
|
text-decoration: none;
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
flex-direction: row;
|
|
}
|
|
afx-menu a afx-label{
|
|
flex:1;
|
|
}
|
|
afx-menu ul{
|
|
padding:0;
|
|
margin: 0;
|
|
display:inline-block;
|
|
}
|
|
afx-menu ul li{
|
|
white-space:nowrap;
|
|
}
|
|
|
|
afx-menu span.shortcut{
|
|
text-align: right;
|
|
}
|
|
|
|
afx-menu ul li {
|
|
list-style:none;
|
|
margin:0;
|
|
position: relative;
|
|
float: left;
|
|
cursor:default;
|
|
}
|
|
/*
|
|
afx-menu ul li.fix_padding{
|
|
padding-top:1px;
|
|
padding-bottom: 0;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
afx-menu afx-menu ul li.fix_padding{
|
|
padding:3px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
} */
|
|
afx-menu afx-menu {
|
|
top:100%;
|
|
left:0;
|
|
position: absolute;
|
|
display:none;
|
|
}
|
|
|
|
afx-menu afx-menu li{
|
|
float:none;
|
|
cursor:default;
|
|
}
|
|
afx-menu afx-menu afx-menu, afx-menu ul.context afx-menu{
|
|
top:-4px;
|
|
left: 100%;
|
|
}
|
|
|
|
afx-menu afx-menu li:hover > afx-menu, ul.context li:hover > afx-menu
|
|
{
|
|
display: block;
|
|
}
|
|
afx-menu li.afx-corner-fix{
|
|
height: 3px;
|
|
padding: 0;
|
|
margin: 0;
|
|
background-color: transparent;
|
|
}
|
|
afx-menu li.afx-corner-fix:hover{
|
|
background-color: transparent;
|
|
}
|
|
|
|
|
|
afx-menu ul.context{
|
|
position: absolute;
|
|
z-index: 1000000;
|
|
padding: 0;
|
|
}
|
|
afx-menu ul.context li{
|
|
clear:float;
|
|
min-width: 150px;
|
|
width: calc(100% - 10px);
|
|
}
|
|
|
|
afx-menu afx-switch span{
|
|
padding-top: 3px;
|
|
font-size: 16px;
|
|
height: 19px;
|
|
}
|
|
afx-menu span.shortcut{
|
|
text-align: right;
|
|
margin-left: 3px;
|
|
}
|
|
afx-menu ul li /*, afx-menu ul >afx-menu-entry > li*/{
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
afx-menu afx-menu li{
|
|
min-width: 150px;
|
|
width: calc(100% - 10px);
|
|
}
|
|
afx-menu afx-menu .afx_submenu:before, afx-menu ul.context .afx_submenu:before{
|
|
content: "\f054";
|
|
font-family: "FontAwesome";
|
|
font-size: 10px;
|
|
right:5px;
|
|
position:absolute;
|
|
top:25%;
|
|
}
|
|
|
|
afx-menu afx-label span {
|
|
height: 22px !important;
|
|
} |