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.
40 lines (39 loc) • 881 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(#9c9e9c), to(#848284));
background-image: linear-gradient(to bottom, #9c9e9c 0%, #848284 100%);
border-top: 1px solid #cdd5df;
border-bottom: 1px solid #2d3642;
color: white;
text-shadow: rgba(0, 0, 0, 0.6) 0 -1px 0;
}
.mblHeading * {
z-index: 2;
}
.mblHeadingDivTitle {
position: absolute;
width: 100%;
display: none;
left: 0;
z-index: 1;
}
.mblHeadingCenterTitle .mblHeadingDivTitle {
display: block;
}
.mblHeadingCenterTitle .mblHeadingSpanTitle {
display: none;
}