|
Struts example source code file (ButtonTemplate.css)
The Struts ButtonTemplate.css source code/* ---- button --- */ .dojoButton { padding: 0 0 0 0; font-size: 8pt; white-space: nowrap; cursor: pointer; font-family: Myriad, Tahoma, Verdana, sans-serif; } .dojoButton .dojoButtonContents { padding: 2px 2px 2px 2px; text-align: center; /* if icon and label are split across two lines, center icon */ color: white; } .dojoButtonLeftPart .dojoButtonContents { padding-right: 8px; } .dojoButtonDisabled { cursor: url("images/no.gif"), default; } .dojoButtonContents img { vertical-align: middle; /* if icon and label are on same line, center them */ } /* -------- colors ------------ */ .dojoButtonHover .dojoButtonContents { } .dojoButtonDepressed .dojoButtonContents { color: #293a4b; } .dojoButtonDisabled .dojoButtonContents { color: #aaa; } /* ---------- drop down button specific ---------- */ /* border between label and arrow (for drop down buttons */ .dojoButton .border { width: 1px; background: gray; } /* button arrow */ .dojoButton .downArrow { padding-left: 10px; text-align: center; } .dojoButton.disabled .downArrow { cursor : default; } Other Struts examples (source code examples)Here is a short list of links related to this Struts ButtonTemplate.css source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.