Adding a new front and getting all the new swatches aligned
authorrsesek <rsesek@ad1dcce9-c9fe-0310-b82b-83ea1733dbb0>
Sat, 15 Jul 2006 00:52:16 +0000 (00:52 +0000)
committerrsesek <rsesek@ad1dcce9-c9fe-0310-b82b-83ea1733dbb0>
Sat, 15 Jul 2006 00:52:16 +0000 (00:52 +0000)
git-svn-id: svn://depot/macosx/RGBConverter/trunk@233 ad1dcce9-c9fe-0310-b82b-83ea1733dbb0

RGB_Converter.wdgt/Default.png [deleted file]
RGB_Converter.wdgt/Front.png [new file with mode: 0644]
RGB_Converter.wdgt/Widget.css
RGB_Converter.wdgt/Widget.html
front.psd

diff --git a/RGB_Converter.wdgt/Default.png b/RGB_Converter.wdgt/Default.png
deleted file mode 100644 (file)
index 62aed98..0000000
Binary files a/RGB_Converter.wdgt/Default.png and /dev/null differ
diff --git a/RGB_Converter.wdgt/Front.png b/RGB_Converter.wdgt/Front.png
new file mode 100644 (file)
index 0000000..501a53a
Binary files /dev/null and b/RGB_Converter.wdgt/Front.png differ
index d33c56ce94049a907904ebec7afc7d43fe54c47f..339a600ccd8b562bf7fd6221dd50d68febb96974 100644 (file)
@@ -52,22 +52,70 @@ a
        width: 50px;
 }
 
+#hexinput
+{
+       position: absolute;
+       top: 5px;
+       left: 10px;
+       width: 200px;
+       font-size: 11px;
+       font-weight: bold;
+       
+       z-index: 1000;
+}
+
+/* ################################################################### */
+
 #swatch
 {
+       z-index: 1;
+       
        position: absolute;
-       top: 18px;
-       left: 148px;
-       height: 30px;
-       width: 30px;
+       top: 0px;
+       left: 135px;
+       height: 35px;
+       width: 65px;
+       
+       background-color: rgb(0, 0, 0);
 }
 
-#hexinput
+#swatch-red
 {
+       z-index: 1;
+       
        position: absolute;
-       top: 20px;
-       left: 25px;
-       width: 200px;
-       font-size: 11px;
+       top: 0px;
+       left: 200px;
+       height: 35px;
+       width: 100px;
+       
+       background-color: rgb(0, 0, 0);
+}
+
+#swatch-green
+{
+       z-index: 1;
+       
+       position: absolute;
+       top: 0px;
+       left: 300px;
+       height: 35px;
+       width: 100px;
+       
+       background-color: rgb(0, 0, 0);
+}
+
+#swatch-blue
+{
+       z-index: 1;
+       
+       position: absolute;
+       top: 0px;
+       left: 400px;
+       height: 35px;
+       width: 100px;
+       
+       background-color: rgb(0, 0, 0);
 }
 
 /* ################################################################### */
index c0b1a090a4b52961495c8009a057b9f1436e2e92..09706a8c3551fa528635c5e9d9034889378edb4c 100644 (file)
 <body onload="setup()">
        <!-- front -->
     <div id="front" onmousemove="mousemove(event);" onmouseout="mouseexit(event);">
-               <img src="Default.png" alt="" />
-               
+    
+               <div style="z-index: 500; position: absolute"><img src="Front.png" alt="" style="" /></div>
                <div id="hexinput">HEX Code <input type="text" name="hexinput" id="hexinputf" size="6" maxlength="6" onblur="hexwatcher()" value="000000" /></div>
                
                <div id="swatch"></div>
+               <div id="swatch-red"></div>
+               <div id="swatch-green"></div>
+               <div id="swatch-blue"></div>
                
-               <div id="redinput"><input type="text" name="redinput" id="redinputf" style="color: red" size="3" maxlength="3" onblur="rgbwatcher('red')" value="0" /></div>
+               <div id="redinput"><input type="text" name="redinput" id="redinputf" style="color: red; background-color: green; border: none" size="3" maxlength="3" onblur="rgbwatcher('red')" value="0" /></div>
                <div id="greeninput"><input type="text" name="greeninput" id="greeninputf" style="color: green" size="3" maxlength="3" onblur="rgbwatcher('green')" value="0" /></div>
                <div id="blueinput"><input type="text" name="blueinput" id="blueinputf" style="color: blue" size="3" maxlength="3" onblur="rgbwatcher('blue')" value="0" /></div>
                
                <div class="flip" id="fliprollie"></div>
                <div class="flip" id="flip" onclick="show_back(event);" onmouseover="enterflip(event);" onmouseout="exitflip(event)";></div>
+               
        </div>
        <!-- / front -->
        
index a8b7a6e04138c478d4d962e07edc5d4e62c91045..451a77feba82daf56238f5e20092fe9b5e016559 100644 (file)
Binary files a/front.psd and b/front.psd differ