dojox
Version:
Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.
65 lines (64 loc) • 1.62 kB
CSS
/* dojox.mobile.IconMenu */
.mblIconMenu {
width: 100%;
height: 100%;
border-radius: 6px;
text-align: center;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
padding: 0;
background-color: rgba(64, 64, 64, 0.85);
border: 2px solid #eeeeee;
}
/* dojox.mobile.IconMenuItem */
.mblIconMenuItem {
float: left;
list-style-type: none;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border-left: 1px solid rgba(96, 96, 96, 0.85);
border-bottom: 1px solid rgba(96, 96, 96, 0.85);
}
.mblIconMenuItemIcon {
position: relative;
margin-left: auto;
margin-right: auto;
}
.mblIconMenuItemFirstColumn {
border-left: none;
}
.mblIconMenuItemLastRow {
border-bottom: none;
}
.mblIconMenuItemFirstRow.mblIconMenuItemFirstColumn {
border-top-left-radius: 6px;
}
.mblIconMenuItemFirstRow.mblIconMenuItemLastColumn {
border-top-right-radius: 6px;
}
.mblIconMenuItemLastRow.mblIconMenuItemFirstColumn {
border-bottom-left-radius: 6px;
}
.mblIconMenuItemLastRow.mblIconMenuItemLastColumn {
border-bottom-right-radius: 6px;
}
.mblIconMenuItemAnchor {
display: block;
height: 100%;
font-family: Helvetica;
text-decoration: none;
font-size: 13px;
color: white;
cursor: pointer;
}
.mblIconMenuItemTable {
width: 100%;
height: 100%;
}
.mblIconMenuItemTable img {
border: none;
}
.mblIconMenuItemSel {
background-image: -webkit-gradient(linear, left top, left bottom, from(#306ea1), to(#266093), color-stop(0.06, #4090d3), color-stop(0.5, #306ea1));
background-image: linear-gradient(to bottom, #306ea1 0%, #4090d3 6%, #306ea1 50%, #266093 100%);
color: white;
}