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.
49 lines (48 loc) • 1.68 kB
CSS
/* dojox.mobile.Button */
.mblButton {
padding: 0 10px;
height: 29px;
border-style: outset;
border-width: 1px;
background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e2e2e2));
background-image: linear-gradient(to bottom, #ffffff 0%, #e2e2e2 100%);
font-family: Helvetica;
line-height: 29px;
cursor: pointer;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
border: 1px solid #c0c0c0;
border-bottom-color: #9b9b9b;
border-radius: 0;
color: #000000;
font-size: 13px;
}
.mblButtonSelected {
background-image: -webkit-gradient(linear, left top, left bottom, from(#bbbbbb), to(#999999));
background-image: linear-gradient(to bottom, #bbbbbb 0%, #999999 100%);
color: #ffffff;
}
.mblButtonDisabled,
.mblButton:disabled {
border-color: grey;
background-image: none;
color: grey;
cursor: default;
}
.mblBlueButton {
background-image: -webkit-gradient(linear, left top, left bottom, from(#48adfc), to(#048bf4));
background-image: linear-gradient(to bottom, #48adfc 0%, #048bf4 100%);
color: #ffffff;
}
.mblBlueButtonSelected {
background-image: -webkit-gradient(linear, left top, left bottom, from(#bbbbbb), to(#999999));
background-image: linear-gradient(to bottom, #bbbbbb 0%, #999999 100%);
}
.mblRedButton {
background-image: -webkit-gradient(linear, left top, left bottom, from(#fa9d58), to(#ee4115));
background-image: linear-gradient(to bottom, #fa9d58 0%, #ee4115 100%);
color: #ffffff;
}
.mblRedButtonSelected {
background-image: -webkit-gradient(linear, left top, left bottom, from(#bbbbbb), to(#999999));
background-image: linear-gradient(to bottom, #bbbbbb 0%, #999999 100%);
}