User:Koevanuda: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 14: | Line 14: | ||
#swatch { position:absolute; left:160px; top:34px; height:50px; width:50px; border:1px solid #aaaaaa; } | #swatch { position:absolute; left:160px; top:34px; height:50px; width:50px; border:1px solid #aaaaaa; } | ||
</style> | </style> | ||
<div id="ddRGB" class="dragPanel"> | |||
<h4 id="pickerHandle"> </h4> | |||
<div id="rBG" class="bg" tabindex="1" hidefocus="true"> | |||
<div id="rthumb" class="thumb"><img src="assets/thumb-rgb.png" /></div> | |||
</div> | |||
<div id="gBG" class="bg" tabindex="2" hidefocus="true"> | |||
<div id="gthumb" class="thumb"><img src="assets/thumb-rgb.png" /></div> | |||
</div> | |||
<div id="bBG" class="bg" tabindex="3" hidefocus="true"> | |||
<div id="bthumb" class="thumb"><img src="assets/thumb-rgb.png" /></div> | |||
</div> | |||
<div id="valdiv"> | |||
<form name="rgbform"> | |||
<table border="0"> | |||
<tr> | |||
<td> | |||
RGB | |||
</td> | |||
<td> | |||
<input autocomplete="off" tabindex="3" name="rval" id="rval" type="text" value="0" size="4" maxlength="4" /> | |||
<input autocomplete="off" tabindex="4" name="gval" id="gval" type="text" value="0" size="4" maxlength="4" /> | |||
<input autocomplete="off" tabindex="5" name="bval" id="bval" type="text" value="0" size="4" maxlength="4" /> | |||
</td> | |||
<td> | |||
<input tabindex="6" id="rgbSubmit" type="button" value="Update" /> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td> | |||
Hex: # | |||
</td> | |||
<td> | |||
<input autocomplete="off" tabindex="7" name="hexval" id="hexval" type="text" value="" size="6" maxlength="6" /> | |||
</td> | |||
<td> | |||
<input tabindex="8" id="hexSubmit" type="button" value="Update" /> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td> | |||
<input tabindex="9" id="resetButton" type="button" value="Reset" /> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</div> | |||
<div id="swatch"> </div> | |||
</div> |
Revision as of 00:33, 13 December 2011
<style type="text/css">
.dragPanel { position: relative; background-color: #eeeeee; top: 0px; left: 20px; width: 320px; height: 180px; } .dragPanel h4 { background-color: #bbbbbb; height: 10px; margin: 0px; cursor: move; } input { font-size: 85%} .thumb { cursor:default; width:18px; height:18px; z-index: 9; position: absolute; left: 0px; } .bg { position:absolute; left:10px; height:18px; width:146px; border: 0px solid #aaaaaa; } .bg span, .bg p { cursor:default; position: relative; font-size: 2px; overflow: hidden; color: #aaaaaa; top: 4px; height: 10px; width: 4px; display: block; float:left; } .bg span { border-top:1px solid #cccccc; border-bottom:1px solid #cccccc; } .bg .lb { border-left:1px solid #cccccc; } .bg .rb { border-right:1px solid #cccccc; } #valdiv { position:absolute; top: 100px; left:10px; } #rBG {-moz-outline: none; outline:0px none;top:30px} #gBG {-moz-outline: none; outline:0px none;top:50px} #bBG {-moz-outline: none; outline:0px none;top:70px} #swatch { position:absolute; left:160px; top:34px; height:50px; width:50px; border:1px solid #aaaaaa; }
</style>
<img src="assets/thumb-rgb.png" />
<img src="assets/thumb-rgb.png" />
<img src="assets/thumb-rgb.png" />
<form name="rgbform">
RGB |
<input autocomplete="off" tabindex="3" name="rval" id="rval" type="text" value="0" size="4" maxlength="4" /> <input autocomplete="off" tabindex="4" name="gval" id="gval" type="text" value="0" size="4" maxlength="4" /> <input autocomplete="off" tabindex="5" name="bval" id="bval" type="text" value="0" size="4" maxlength="4" /> |
<input tabindex="6" id="rgbSubmit" type="button" value="Update" /> |
Hex: # |
<input autocomplete="off" tabindex="7" name="hexval" id="hexval" type="text" value="" size="6" maxlength="6" /> |
<input tabindex="8" id="hexSubmit" type="button" value="Update" /> |
<input tabindex="9" id="resetButton" type="button" value="Reset" /> |
</form>