]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 31 Jan 2013 10:00:31 +0000 (10:00 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 31 Jan 2013 10:00:31 +0000 (10:00 +0000)
fluidbook/icones/bookmark/bookmark-left-off.svg
fluidbook/icones/bookmark/bookmark-left-on.svg
fluidbook/icones/bookmark/bookmark-right-off.svg
fluidbook/icones/bookmark/bookmark-right-on.svg
images/ws/favicon.ico [deleted file]
inc/ws/Util/class.ws.tools.php
inc/ws/Util/html5/class.ws.html5.compiler.php

index 82a197cf2333d1ddf5a8642666760f0c27a3d84a..89513f3e24638ef40275e22a642ff3889cda8140 100644 (file)
@@ -3,7 +3,7 @@
 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">\r
 <svg version="1.0" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\r
         width="50px" height="50px" viewBox="0 0 50 50" enable-background="new 0 0 50 50" xml:space="preserve">\r
-<path fill="$star" d="M20.4,29.512c-0.213,0.21-0.488,0.356-0.799,0.407c-0.629,0.102-1.251-0.213-1.542-0.779l-3.212-6.252\r
+<path fill="$star" stroke="$sstar" d="M20.4,29.512c-0.213,0.21-0.488,0.356-0.799,0.407c-0.629,0.102-1.251-0.213-1.542-0.779l-3.212-6.252\r
        l-7.155,1.092c-0.629,0.096-1.249-0.225-1.535-0.793s-0.174-1.256,0.277-1.704l5.094-5.055l-3.17-6.178\r
        C8.067,9.682,8.182,8.997,8.635,8.547c0.002-0.002,0.003-0.003,0.005-0.005c0.451-0.447,1.131-0.563,1.697-0.272l6.236,3.161\r
        l5.052-5.02c0,0,0,0,0,0c0.524-0.446,1.112-0.53,1.678-0.242c0.565,0.288,0.871,0.919,0.773,1.546l-1.094,7.029l6.313,3.243\r
index 82a197cf2333d1ddf5a8642666760f0c27a3d84a..89513f3e24638ef40275e22a642ff3889cda8140 100644 (file)
@@ -3,7 +3,7 @@
 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">\r
 <svg version="1.0" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\r
         width="50px" height="50px" viewBox="0 0 50 50" enable-background="new 0 0 50 50" xml:space="preserve">\r
-<path fill="$star" d="M20.4,29.512c-0.213,0.21-0.488,0.356-0.799,0.407c-0.629,0.102-1.251-0.213-1.542-0.779l-3.212-6.252\r
+<path fill="$star" stroke="$sstar" d="M20.4,29.512c-0.213,0.21-0.488,0.356-0.799,0.407c-0.629,0.102-1.251-0.213-1.542-0.779l-3.212-6.252\r
        l-7.155,1.092c-0.629,0.096-1.249-0.225-1.535-0.793s-0.174-1.256,0.277-1.704l5.094-5.055l-3.17-6.178\r
        C8.067,9.682,8.182,8.997,8.635,8.547c0.002-0.002,0.003-0.003,0.005-0.005c0.451-0.447,1.131-0.563,1.697-0.272l6.236,3.161\r
        l5.052-5.02c0,0,0,0,0,0c0.524-0.446,1.112-0.53,1.678-0.242c0.565,0.288,0.871,0.919,0.773,1.546l-1.094,7.029l6.313,3.243\r
index 66dc04c189773791631161a418e5a9150f413835..9283e0db5818b6e4401706c7e12a1c2fb71f9106 100644 (file)
@@ -3,7 +3,7 @@
 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">\r
 <svg version="1.0" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\r
         width="50px" height="50px" viewBox="0 0 50 50" enable-background="new 0 0 50 50" xml:space="preserve">\r
-<path fill="$star" d="M29.912,29.512c0.216,0.21,0.494,0.356,0.808,0.407c0.636,0.102,1.265-0.213,1.559-0.779l3.246-6.252\r
+<path fill="$star" stroke="$sstar" d="M29.912,29.512c0.216,0.21,0.494,0.356,0.808,0.407c0.636,0.102,1.265-0.213,1.559-0.779l3.246-6.252\r
        l7.23,1.092c0.637,0.096,1.262-0.225,1.551-0.793s0.177-1.256-0.28-1.704l-5.147-5.055l3.203-6.178\r
        c0.295-0.568,0.18-1.253-0.279-1.702c-0.002-0.002-0.003-0.003-0.005-0.005c-0.456-0.447-1.144-0.563-1.715-0.272l-6.302,3.161\r
        l-5.105-5.02c0,0,0,0,0,0c-0.53-0.446-1.124-0.53-1.695-0.242c-0.571,0.288-0.88,0.919-0.781,1.546l1.104,7.029l-6.38,3.243\r
index 66dc04c189773791631161a418e5a9150f413835..9283e0db5818b6e4401706c7e12a1c2fb71f9106 100644 (file)
@@ -3,7 +3,7 @@
 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">\r
 <svg version="1.0" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\r
         width="50px" height="50px" viewBox="0 0 50 50" enable-background="new 0 0 50 50" xml:space="preserve">\r
-<path fill="$star" d="M29.912,29.512c0.216,0.21,0.494,0.356,0.808,0.407c0.636,0.102,1.265-0.213,1.559-0.779l3.246-6.252\r
+<path fill="$star" stroke="$sstar" d="M29.912,29.512c0.216,0.21,0.494,0.356,0.808,0.407c0.636,0.102,1.265-0.213,1.559-0.779l3.246-6.252\r
        l7.23,1.092c0.637,0.096,1.262-0.225,1.551-0.793s0.177-1.256-0.28-1.704l-5.147-5.055l3.203-6.178\r
        c0.295-0.568,0.18-1.253-0.279-1.702c-0.002-0.002-0.003-0.003-0.005-0.005c-0.456-0.447-1.144-0.563-1.715-0.272l-6.302,3.161\r
        l-5.105-5.02c0,0,0,0,0,0c-0.53-0.446-1.124-0.53-1.695-0.242c-0.571,0.288-0.88,0.919-0.781,1.546l1.104,7.029l-6.38,3.243\r
diff --git a/images/ws/favicon.ico b/images/ws/favicon.ico
deleted file mode 100644 (file)
index 252c8fa..0000000
Binary files a/images/ws/favicon.ico and /dev/null differ
index 077d10d5e7c936e82adb4cdac025b3ffc62c275b..c5260e483a471b916d11b8d679556fe6d0d48459 100644 (file)
@@ -62,8 +62,15 @@ class wsTools {
                        // Colorize it
                        foreach ($colors as $k => $v) {
                                $replace = "#" . $v['hex'];
-                               if ($v['alpha'] < 1) {
-                                       $replace.='" fill-opacity="' . $v['alpha'];
+                               if ($v['opacity'] < 1) {
+                                       $replace.='" stroke-opacity="' . $v['opacity'];
+                               }
+                               $svg = str_replace('$s' . $k, $replace, $svg);
+
+
+                               $replace = "#" . $v['hex'];
+                               if ($v['opacity'] < 1) {
+                                       $replace.='" fill-opacity="' . $v['opacity'];
                                }
                                $svg = str_replace('$' . $k, $replace, $svg);
                        }
index fda990d9fb614a6d85d183e07792c678f6581d14..af8ee46a87308248db9d4f4258025cf2878e4005 100644 (file)
@@ -996,7 +996,10 @@ class wsHTML5Compiler {
                $res[] = '.link a.displayArea{-webkit-tap-highlight-color:' . self::colorToCSS($this->theme->parametres->linksColor, 0.4) . ';background-color:' . self::colorToCSS($this->theme->parametres->linksColor, 0.0001) . ';}';
 
                // Bookmarks
-               $size = round($this->book->parametres->width * $this->book->parametres->bookmarkCornerSize * 0.0075);
+               if(!isset($this->book->parametres->bookmarkCornerSize)){
+                       $this->book->parametres->bookmarkCornerSize=10;
+               }
+               $size = round($this->book->parametres->width * $s * 0.0075);
                $res[] = '#links .bookmark{width:' . $size . 'px;height:' . $size . 'px;}';
 
                // Menus
@@ -1087,7 +1090,7 @@ class wsHTML5Compiler {
                        $hex = $color;
                        $alpha = 1;
                } else {
-                       $alpha = substr($color, 0, 2) / 255;
+                       $alpha = hexdec(substr($color, 0, 2)) / 255;
                        $hex = substr($color, 2, 6);
                }