12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- /* begin i-button layout define */
- .i-button {
- cursor: default;
- outline: none;
- display: inline-block;
- *zoom: 1; *display: inline; /* IE6/7 fake inline-block */
- text-align: left;
- -moz-user-select: none;
- }
- .i-button-state {
- position: relative;
- }
- .i-button-disabled {
- cursor: default;
- }
- .i-button .i-button-left,
- .i-button .i-button-right {
- float: inherit;
- float: left;
- overflow: hidden;
- }
- .i-button .i-button-icon {
- font-size: 0;
- position: absolute;
- z-index: 1;
- }
- /* end i-button layout define */
- /*
- * CAUTION: IF EXSIT BELOW DEFINITIONS, BE KEEP IN ORDER
- * hover, focus, active, disabled
- *
- * "i-button-default" style class must be defined.
- * It is used for iButton className binding and dialog button binding by default.
- */
- .i-button-default {
- cursor: pointer;
- }
- .i-button-default .i-button-left,
- .i-button-default .i-button-right {
- height: 25px;
- background-image: url("ibutton.gif");
- }
- .i-button-default .i-button-left {
- padding-left: 20px;
- background-position: 0 0;
- }
- .i-button-default .i-button-right {
- padding-right: 20px;
- background-position: -180px 0;
- }
- .i-button-default .i-button-left-hover {
- background-position: -200px 0;
- }
- .i-button-default .i-button-right-hover {
- background-position: -380px 0;
- }
- .i-button-default .i-button-left-focus {
- background-position: -400px 0;
- }
- .i-button-default .i-button-right-focus {
- background-position: -580px 0;
- }
- .i-button-default .i-button-left-active {
- background-position: -600px 0;
- }
- .i-button-default .i-button-right-active {
- background-position: -780px 0;
- }
- .i-button-default .i-button-text {
- color: #000;
- font-size: 12px;
- line-height: 17px;
- padding-top: 5px;
- }
- .i-button-default .i-button-text-disabled {
- color: #ccc;
- }
|