added a colorPicker

This commit is contained in:
Peter 'Pita' Martischka 2011-08-20 18:22:10 +01:00
parent 5d30c8b4a5
commit 9d37d91ce1
8 changed files with 594 additions and 51 deletions

View file

@ -347,9 +347,9 @@ a#hidetopmsg { position: absolute; right: 5px; bottom: 5px; }
}
#myswatch { width: 100%; height: 100%; background: transparent;/*...initially*/ }
#mycolorpicker {
/*background: url(../img/colorpicker.gif) no-repeat left top;*/
width: 232px; height: 230px;
width: 232px; height: 265px;
position: absolute;
left: -240px; top: 0px; z-index: 101;
display: none;/*...initially*/
@ -358,8 +358,10 @@ a#hidetopmsg { position: absolute; right: 5px; bottom: 5px; }
border-color: #000;
background: #fff;
border-width:1px;
padding-left:10px;
padding-top:10px;
}
/*
#mycolorpicker ul li
{
float: left;
@ -367,12 +369,16 @@ a#hidetopmsg { position: absolute; right: 5px; bottom: 5px; }
#mycolorpicker .picked { border: 1px solid #000 !important; }
#mycolorpicker .picked .pickerswatch { border: 1px solid #fff; }
#mycolorpickersave { position: absolute; left: 10px; top: 192px;
width: 60px; padding: 4px; overflow: hidden; color: #000;
cursor: pointer; color:#000; font-size:13px; border-radius:5px; border-style:solid; border-color:#000; border-width:1px;text-align:center;background-color:#86DC6C;}
#mycolorpickercancel { position: absolute; left: 87px; top: 192px;
*/
#mycolorpickersave { position: absolute; left: 10px; top: 240px;
width: 80px; padding: 4px; overflow: hidden; color: #000;
cursor: pointer; color:#000; font-size:13px; border-radius:5px; border-style:solid; border-color:#000; border-width:1px;text-align:center;background-color:lightgrey;}
#mycolorpickercancel { position: absolute; left: 107px; top: 240px;
width: 60px; padding: 4px; overflow: hidden; color: #000;
cursor: pointer; color:#000; font-size:13px; border-radius:5px; border-style:solid; border-color:#000; border-width:1px;text-align:center;background-color:#FF8F8F;}
cursor: pointer; color:#000; font-size:13px; border-radius:5px; border-style:solid; border-color:#000; border-width:1px;text-align:center;background-color:lightgrey;}
#mycolorpickerpreview { position: absolute; left: 207px; top: 240px; width:15px; padding:4px; overflow: hidden; color: #fff; border-radius:5px; border-style: solid; border-width:1px;border-color:#000; height:15px;}
#myusernameform { margin-left: 35px; }
#myusernameedit { font-size: 1.3em; color: #fff;
padding: 3px; height: 18px; margin: 0; border: 0;