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.
39 lines (38 loc) • 837 B
CSS
/* dojox.mobile.Heading */
.mblHeading {
position: relative;
margin: 0;
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
z-index: 1;
padding: 0;
height: 42px;
font-family: Helvetica;
font-size: 20px;
font-weight: bold;
text-align: center;
line-height: 44px;
background-image: -webkit-gradient(linear, left top, left bottom, from(#4a4d52), to(#292c31));
background-image: linear-gradient(to bottom, #4a4d52 0%, #292c31 100%);
border-top: 1px solid #63696b;
border-bottom: 1px solid #292c31;
color: white;
}
.mblHeading * {
z-index: 2;
}
.mblHeadingDivTitle {
position: absolute;
width: 100%;
display: none;
left: 0;
z-index: 1;
}
.mblHeadingCenterTitle .mblHeadingDivTitle {
display: block;
}
.mblHeadingCenterTitle .mblHeadingSpanTitle {
display: none;
}