| .ComboButton { | |
| box-sizing: border-box; | |
| position: relative; | |
| } | |
| .ComboButton > BUTTON { | |
| font-family: "Arial"; | |
| /*font-size:11px;*/ | |
| font-weight: bold; | |
| color: #333333; | |
| outline: none; | |
| background-image: linear-gradient(to bottom, #FFFFFF, #e2e1e1); | |
| text-align: center; | |
| vertical-align: middle; | |
| height: 25px; | |
| overflow: hidden; | |
| display: inline-block; | |
| cursor: pointer; | |
| } | |
| .ComboButton > BUTTON:hover, | |
| .ComboButton > DIV:hover { | |
| color: #58585a; | |
| background-image: linear-gradient(to bottom,#e2e1e1, #FFFFFF); | |
| } | |
| .ComboButton > BUTTON:disabled { | |
| color: #999999; | |
| background-color: #AAAAAA; | |
| } | |
| .ComboButton > BUTTON SPAN { | |
| display: inline-block; /* If you remove this, the SPAN that encloses the IMG will not be the same height. Which is most likely a problem. */ | |
| } | |
| .ComboButton > BUTTON IMG { | |
| height: 16px; | |
| width: 16px; | |
| vertical-align: middle; /* If you remove this, the IMG will be centered and the text will valign to baseline. */ | |
| margin-right: 5px; /* Distance between image and text */ | |
| } | |
| .ComboButton > BUTTON LABEL { | |
| vertical-align: middle; | |
| margin-right: 5px; | |
| } | |
| .ComboButton > DIV { | |
| vertical-align: middle; | |
| display: inline-block; | |
| text-align: center; | |
| cursor: pointer; | |
| background: rgba(0,0,0,0); | |
| right: 5%; | |
| bottom: 15%; | |
| width: 10%; | |
| height: 50%; | |
| position: absolute; | |
| } |