diff options
Diffstat (limited to 'public/stylesheets')
-rw-r--r-- | public/stylesheets/.gitignore | 0 | ||||
-rw-r--r-- | public/stylesheets/web/css/grid.css | 39 | ||||
-rw-r--r-- | public/stylesheets/web/css/reset.css | 22 | ||||
-rw-r--r-- | public/stylesheets/web/css/style.css | 90 | ||||
-rw-r--r-- | public/stylesheets/web/css/typefacing.css | 80 | ||||
-rw-r--r-- | public/stylesheets/web/fonts/DroidSans-Bold.ttf | bin | 191032 -> 0 bytes | |||
-rw-r--r-- | public/stylesheets/web/fonts/DroidSans.ttf | bin | 190044 -> 0 bytes | |||
-rw-r--r-- | public/stylesheets/web/fonts/DroidSansMono.ttf | bin | 117072 -> 0 bytes | |||
-rw-r--r-- | public/stylesheets/web/fonts/DroidSerif-Bold.ttf | bin | 184836 -> 0 bytes | |||
-rw-r--r-- | public/stylesheets/web/fonts/DroidSerif-BoldItalic.ttf | bin | 189916 -> 0 bytes | |||
-rw-r--r-- | public/stylesheets/web/fonts/DroidSerif-Italic.ttf | bin | 177176 -> 0 bytes | |||
-rw-r--r-- | public/stylesheets/web/fonts/DroidSerif-Regular.ttf | bin | 172532 -> 0 bytes | |||
-rw-r--r-- | public/stylesheets/web/images/770-grid.png | bin | 958 -> 0 bytes | |||
-rw-r--r-- | public/stylesheets/web/images/770-grid.svg | 293 | ||||
-rw-r--r-- | public/stylesheets/web/js/hashgrid.js | 147 |
15 files changed, 0 insertions, 671 deletions
diff --git a/public/stylesheets/.gitignore b/public/stylesheets/.gitignore deleted file mode 100644 index e69de29..0000000 --- a/public/stylesheets/.gitignore +++ /dev/null diff --git a/public/stylesheets/web/css/grid.css b/public/stylesheets/web/css/grid.css deleted file mode 100644 index a2ed3d0..0000000 --- a/public/stylesheets/web/css/grid.css +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Grid System - * - * total area: 770px - 203mm (A4 ISO format less the left/right margins) - * gutter/gap: 20px - * line height: 20px - * grid width: 730px (total area - 2 x gutter) - */ -#grid { - - /* Vertical grid lines */ - background: url(../images/770-grid.png) repeat-y 0 0; - - /* Dimensions - same width as your grid with gutters */ - width: 770px; - - /* Grid (centered) */ - position: absolute; - top: 0; - left: 50%; - margin-left: -385px; - -} - -/** - * Horizontal grid lines, defined by your base line height - * - * Remember, the CSS properties that define the box model: - * visible height = height + borders + margins + padding - */ -#grid .horiz { - - /* 20px line height */ - height:19px; - border-bottom:1px dotted #AAA; - margin:0; - padding:0; - -} diff --git a/public/stylesheets/web/css/reset.css b/public/stylesheets/web/css/reset.css deleted file mode 100644 index 3a5ff48..0000000 --- a/public/stylesheets/web/css/reset.css +++ /dev/null @@ -1,22 +0,0 @@ -/** Resetting elements */ -/*html, body, div, span, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, code, -del, dfn, em, img, q, dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, hr { - border:0; - color:#000000; - font-weight:inherit; - font-style:inherit; - font-size:100%; - font-family:inherit; - margin:0; - outline:none; - padding:0; - text-decoration:none; - vertical-align:baseline; -}*/ -/* Remove possible quote marks (") from <q>, <blockquote>. */ -blockquote:before, blockquote:after, q:before, q:after { content:"";} -blockquote, q { quotes:"" "";} diff --git a/public/stylesheets/web/css/style.css b/public/stylesheets/web/css/style.css deleted file mode 100644 index f24610d..0000000 --- a/public/stylesheets/web/css/style.css +++ /dev/null @@ -1,90 +0,0 @@ -/** - * Toffanin Mauro - toffanin.mauro@gmail.com - * v0.1 - 07.01.2009 - */ - -/** - * COLORS TABLE: - * white background: #F9F9F9; - * black foreground: #1A1A1A; - * blue: #0F83DB; - */ - -/** General HTML Elements **/ -body { - background-color:#F9F9F9; - color:#1A1A1A; - max-width:730px; - margin:auto; - margin-top:40px; - margin-bottom:40px; -/* border:1px solid red;*/ -} -hr { - margin:0; - padding:0; - border:0; - border-bottom:4px solid #1A1A1A; -} -p { - text-align:justify; - text-indent:30px; -} -a { - /* Resetting borders from the DocBook template */ - text-decoration:none; - border:0; - border-bottom:1px dotted #0F83DB; - color:#0F83DB; -} - -/** General HTML Classes **/ -.legalnotice { - border-top:1px solid #1A1A1A; - border-bottom:1px solid #1A1A1A; -} -.chapter { -} -.section { -} -div.toc > dl > dd { - margin-bottom:10px; -} -div.toc > p { - text-indent:0px; -} -div.chapter > div.toc { - border:2px solid #1A1A1A; - padding:10px; - padding-left:30px; /* same as the <p> indentation */ - - -moz-border-radius:8px; - -webkit-border-radius:8px; - -khtml-border-radius:8px; - border-radius:8px; /* leave this CSS tag always as last */ -} -div.chapter > div.toc > dl > dt > span.section { -/* margin-left:20px; /* same as the <p> indentation */ -/* border:1px solid red;*/ -} -.programlisting { - background-color:#F8F8F8; - border:2px solid #1A1A1A; - border-left:16px solid #1A1A1A; - padding:5px; - - -moz-border-radius:8px; - -webkit-border-radius:8px; - -khtml-border-radius:8px; - border-radius:8px; /* leave this CSS tag always as last */ -} -.programlisting > a { - color:#333333; -} -.navheader { - height:60px; -/* border:1px solid red;*/ -} -h2.title { - border-bottom:2px solid #1A1A1A; -} diff --git a/public/stylesheets/web/css/typefacing.css b/public/stylesheets/web/css/typefacing.css deleted file mode 100644 index e61f9a1..0000000 --- a/public/stylesheets/web/css/typefacing.css +++ /dev/null @@ -1,80 +0,0 @@ -/** - * @font-face is supported by: - * - Safari 3.1+; - * - Internet Explorer (only if EOT fonts are used); - * - Opera 9+; - * - Firefox 3.5+; - * - Konqueror 4.3+; - * - Google Chrome/Chromium; - */ - -/** Sans font sets **/ -@font-face { - font-family: 'DroidSans'; - src: url('../fonts/DroidSans.ttf') format('truetype'); -} -@font-face { - font-family: 'DroidSans-Bold'; - src: url('../fonts/DroidSans-Bold.ttf') format('truetype'); -} -@font-face { - font-family: 'DoridSans-Mono'; - src: url('../fonts/DroidSansMono.ttf') format('truetype'); -} - -/** Sans Serif font sets **/ -@font-face { - font-family: 'DroidSerif-BoldItalic'; - src: url('../fonts/DroidSerif-BoldItalic.ttf') format('truetype'); -} -@font-face { - font-family: 'DroidSerif-Bold'; - src: url('../fonts/DroidSerif-Bold.ttf') format('truetype'); -} -@font-face { - font-family: 'DroidSerif-Regular'; - src: url('../fonts/DroidSerif-Regular.ttf') format('truetype'); -} -@font-face { - font-family: 'DroidSerif-Italic'; - src: url('../fonts/DroidSerif-Italic.ttf') format('truetype'); -} - -/** Typefacing elements **/ -html { - font-size:100.01%; /* FIX typefacing rendering on broken browsers */ -} -body { -/* font-family:Helvetica,'Helvetica Neue','Lucida Grande','Lucida Sans Unicode',Sans-Serif,Verdana,Arial;*/ - font-family:'DroidSans'; - font-size:1em; -} -.amp, em { -/* font-family:Baskerville,Georgia,'Times New Roman,sans-serif;*/ - font-family:'DroidSerif-Italic'; -} -a { - font-family:'DroidSans-Bold'; -} - -/** DocBook elements **/ -para { -} - - -/** DocBook classes **/ -.legalnotice { - font-family: 'DroidSerif-Italic'; -} -.programlisting { -/* font-family:'DroidSans-Mono','Consolas','Bitstream Vera Sans Mono','Courier New',Courier,monospace !important;*/ - font-family:'DoridSans-Mono'; - font-size:0.9em; - font-style:normal; - font-weight:normal; - line-height:20px; -} -.varname, .filename { - font-family: 'DroidSans-Bold'; - font-size:1.2em; -} diff --git a/public/stylesheets/web/fonts/DroidSans-Bold.ttf b/public/stylesheets/web/fonts/DroidSans-Bold.ttf Binary files differdeleted file mode 100644 index 7ac04b6..0000000 --- a/public/stylesheets/web/fonts/DroidSans-Bold.ttf +++ /dev/null diff --git a/public/stylesheets/web/fonts/DroidSans.ttf b/public/stylesheets/web/fonts/DroidSans.ttf Binary files differdeleted file mode 100644 index 2537cc3..0000000 --- a/public/stylesheets/web/fonts/DroidSans.ttf +++ /dev/null diff --git a/public/stylesheets/web/fonts/DroidSansMono.ttf b/public/stylesheets/web/fonts/DroidSansMono.ttf Binary files differdeleted file mode 100644 index 6e79dad..0000000 --- a/public/stylesheets/web/fonts/DroidSansMono.ttf +++ /dev/null diff --git a/public/stylesheets/web/fonts/DroidSerif-Bold.ttf b/public/stylesheets/web/fonts/DroidSerif-Bold.ttf Binary files differdeleted file mode 100644 index 85d6c6b..0000000 --- a/public/stylesheets/web/fonts/DroidSerif-Bold.ttf +++ /dev/null diff --git a/public/stylesheets/web/fonts/DroidSerif-BoldItalic.ttf b/public/stylesheets/web/fonts/DroidSerif-BoldItalic.ttf Binary files differdeleted file mode 100644 index 9d8e798..0000000 --- a/public/stylesheets/web/fonts/DroidSerif-BoldItalic.ttf +++ /dev/null diff --git a/public/stylesheets/web/fonts/DroidSerif-Italic.ttf b/public/stylesheets/web/fonts/DroidSerif-Italic.ttf Binary files differdeleted file mode 100644 index 6acc86d..0000000 --- a/public/stylesheets/web/fonts/DroidSerif-Italic.ttf +++ /dev/null diff --git a/public/stylesheets/web/fonts/DroidSerif-Regular.ttf b/public/stylesheets/web/fonts/DroidSerif-Regular.ttf Binary files differdeleted file mode 100644 index 8c1c2c4..0000000 --- a/public/stylesheets/web/fonts/DroidSerif-Regular.ttf +++ /dev/null diff --git a/public/stylesheets/web/images/770-grid.png b/public/stylesheets/web/images/770-grid.png Binary files differdeleted file mode 100644 index c4bf785..0000000 --- a/public/stylesheets/web/images/770-grid.png +++ /dev/null diff --git a/public/stylesheets/web/images/770-grid.svg b/public/stylesheets/web/images/770-grid.svg deleted file mode 100644 index 0e2c250..0000000 --- a/public/stylesheets/web/images/770-grid.svg +++ /dev/null @@ -1,293 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Created with Inkscape (http://www.inkscape.org/) --> - -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="770" - height="40" - id="svg2" - version="1.1" - inkscape:version="0.47 r22583" - sodipodi:docname="770-grid.svg" - inkscape:export-filename="/home/equilibrium/tmp/ineluttabile/devmanual/public/stylesheets/web/images/770-grid.png" - inkscape:export-xdpi="90" - inkscape:export-ydpi="90"> - <defs - id="defs4"> - <inkscape:perspective - sodipodi:type="inkscape:persp3d" - inkscape:vp_x="0 : 526.18109 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_z="744.09448 : 526.18109 : 1" - inkscape:persp3d-origin="372.04724 : 350.78739 : 1" - id="perspective10" /> - <inkscape:perspective - id="perspective3621" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3643" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3665" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3665-0" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3665-1" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3665-5" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3665-7" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3665-6" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3665-3" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3665-4" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3665-54" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3665-43" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3665-78" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3665-8" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3786" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3786-4" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3786-2" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3786-6" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3786-9" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - <inkscape:perspective - id="perspective3844" - inkscape:persp3d-origin="0.5 : 0.33333333 : 1" - inkscape:vp_z="1 : 0.5 : 1" - inkscape:vp_y="0 : 1000 : 0" - inkscape:vp_x="0 : 0.5 : 1" - sodipodi:type="inkscape:persp3d" /> - </defs> - <sodipodi:namedview - id="base" - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1.0" - inkscape:pageopacity="0.0" - inkscape:pageshadow="2" - inkscape:zoom="1" - inkscape:cx="451.05476" - inkscape:cy="9.8780999" - inkscape:document-units="px" - inkscape:current-layer="layer1" - showgrid="true" - inkscape:showpageshadow="false" - inkscape:window-width="1024" - inkscape:window-height="710" - inkscape:window-x="-4" - inkscape:window-y="-3" - inkscape:window-maximized="1" - showborder="true"> - <inkscape:grid - type="xygrid" - id="grid2816" - empspacing="5" - visible="true" - enabled="true" - snapvisiblegridlinesonly="true" /> - </sodipodi:namedview> - <metadata - id="metadata7"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <g - inkscape:label="Livello 1" - inkscape:groupmode="layer" - id="layer1" - transform="translate(9.9999999,-1012.2403)"> - <path - style="fill:#aaaaaa;fill-opacity:1;stroke:#aaaaaa;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1, 1;stroke-dashoffset:0" - d="m 0.50000004,1003.1963 0,48.2361" - id="path2818" /> - <path - style="fill:#0000ff;stroke:#0000ff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" - d="m 10.49997,1003.1869 0,48.2456" - id="path2818-6" /> - <path - style="fill:#0000ff;stroke:#0000ff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" - d="m 115.5,1003.1964 0,48.2361" - id="path2818-6-3" /> - <path - style="fill:#0000ff;stroke:#0000ff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" - d="m 135.5,1003.1964 0,48.2361" - id="path2818-6-3-2" /> - <path - style="fill:#0000ff;stroke:#0000ff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" - d="m 240.5,1003.1964 0,48.2361" - id="path2818-6-3-6" /> - <path - style="fill:#0000ff;stroke:#0000ff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" - d="m 260.5,1003.1964 0,48.2361" - id="path2818-6-3-5" /> - <path - style="fill:#0000ff;stroke:#0000ff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" - d="m 365.5,1003.1964 0,48.2361" - id="path2818-6-3-4" /> - <path - style="fill:#0000ff;stroke:#0000ff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" - d="m 385.5,1003.1964 0,48.2361" - id="path2818-6-3-65" /> - <path - style="fill:#0000ff;stroke:#0000ff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" - d="m 490.5,1003.1963 0,48.236" - id="path2818-6-3-9" /> - <path - style="fill:#0000ff;stroke:#0000ff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" - d="m 510.5,1003.1963 0,48.236" - id="path2818-6-3-7" /> - <path - style="fill:#0000ff;stroke:#0000ff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" - d="m 615.5,1003.1963 0,48.236" - id="path2818-6-3-52" /> - <path - style="fill:#0000ff;stroke:#0000ff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" - d="m 635.5,1003.1963 0,48.236" - id="path2818-6-3-74" /> - <path - style="fill:#0000ff;stroke:#0000ff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" - d="m 740.5,1003.1963 0,48.236" - id="path2818-6-3-0" /> - <path - style="fill:#aaaaaa;stroke:#cccccc;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1,1;stroke-dashoffset:0;fill-opacity:1" - d="m 125.5,1003.1964 0,48.2361" - id="path2818-6-3-43" /> - <path - style="fill:#aaaaaa;stroke:#aaaaaa;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1, 1;stroke-dashoffset:0;fill-opacity:1" - d="m 250.5,1002.4325 0,48.9901" - id="path2818-6-3-43-1" /> - <path - style="fill:#aaaaaa;stroke:#aaaaaa;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1,1;stroke-dashoffset:0;fill-opacity:1" - d="m 375.5,1003.1964 0,48.2361" - id="path2818-6-3-43-9" /> - <path - style="fill:#aaaaaa;stroke:#aaaaaa;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1, 1;stroke-dashoffset:0;fill-opacity:1" - d="m 500.5,1003.1964 0,48.2361" - id="path2818-6-3-43-0" /> - <path - style="fill:#aaaaaa;stroke:#aaaaaa;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1,1;stroke-dashoffset:0;fill-opacity:1" - d="m 625.5,1003.1964 0,48.2361" - id="path2818-6-3-43-8" /> - <path - style="fill:#aaaaaa;stroke:#aaaaaa;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1, 1;stroke-dashoffset:0;fill-opacity:1" - d="m 750.5,1003.1964 0,48.2361" - id="path2818-6-3-43-2" /> - </g> -</svg> diff --git a/public/stylesheets/web/js/hashgrid.js b/public/stylesheets/web/js/hashgrid.js deleted file mode 100644 index 428ba43..0000000 --- a/public/stylesheets/web/js/hashgrid.js +++ /dev/null @@ -1,147 +0,0 @@ -/** - * Overlay tool (jQuery version) - * http://github.com/dotjay/hashgrid - * Version 1, 21 Dec 2009 - * By Jon Gibbins, accessibility.co.uk - */ - -$(document).ready(function() { - - var grid = new GridOverlay('grid'); - -}); - - -/** - * Grid overlay - */ -var GridOverlay = function(id) { - - var overlayEl = $('<div id="' + id + '"></div>'), - overlayGrid = false, - overlaySticky = false, - cookieName = 'gridoverlay' + id; - - // Remove any conflicting overlay in the DOM - if ($('#' + id).length > 0) { - $('#' + id).remove(); - } - - // Ensure the overlay is hidden before adding to the DOM - overlayEl.css('display', 'none'); - $("body").prepend(overlayEl); - var overlay = $('#' + id); - - // Unless a custom z-index is set, ensure the overlay will be behind everything - var overlayZ = overlay.css('z-index'); - if (overlayZ == 'auto') { - overlayZ = '-1'; - overlay.css('z-index', overlayZ); - } - - // Override the default overlay height with the actual page height - var pageHeight = parseFloat($(document).height()); - overlay.height(pageHeight); - - // Add the first grid line so that we can measure it - overlay.append('<div class="horiz first-line">'); - - // Calculate the number of grid lines needed - var overlayGridLines = overlay.children('.horiz'), - overlayGridLineHeight = parseFloat(overlayGridLines.css('height')) + parseFloat(overlayGridLines.css('border-bottom-width')), - numGridLines = Math.floor(pageHeight / overlayGridLineHeight), - i; - - // Add the remaining grid lines - for (i = numGridLines - 1; i >= 1; i--) { - overlay.append('<div class="horiz">'); - }; - - // Check for previous overlay state - var overlayCookie = readCookie(cookieName); - if (overlayCookie) { - overlayGrid = true; - overlaySticky = true; - overlay.show(); - } - - // Keyboard controls - $(document).bind('keydown', function(e) { - var code = (e.keyCode ? e.keyCode : e.which); - var modifier = (e.altKey ? e.altKey : false); - //console.log('press: ' + code); - if (overlayGrid) { - // Toggle sticky overlay z-index (b == 66) - if (modifier && (code == 66)) { - if (overlay.css('z-index') == 9999) { - overlay.css('z-index', overlayZ); - } - else { - overlay.css('z-index', 9999); - } - } - // Turn sticky overlay on - if (modifier && (code == 13)) { - overlaySticky = true; - createCookie(cookieName, true, 1); - } - // Turn sticky overlay off - else if (overlaySticky && modifier && (code == 71)) { - overlay.hide(); - overlayGrid = false; - overlaySticky = false; - eraseCookie(cookieName); - } - } - else{ - // Show overlay (g == 71) - if (modifier && (code == 71)) { - overlay.show(); - overlayGrid = true; - } - } - }); - - $(document).bind('keyup', function(e) { - var code = (e.keyCode ? e.keyCode : e.which); - var modifier = (e.altKey ? e.altKey : false); - // Hide overlay (g == 71) - if (!overlaySticky && modifier && (code == 71)) { - overlay.hide(); - overlayGrid = false; - } - }); - -} - - -/** - * Cookie functions - * - * By Peter-Paul Koch: - * http://www.quirksmode.org/js/cookies.html - */ -function createCookie(name,value,days) { - if (days) { - var date = new Date(); - date.setTime(date.getTime()+(days*24*60*60*1000)); - var expires = "; expires="+date.toGMTString(); - } - else var expires = ""; - document.cookie = name+"="+value+expires+"; path=/"; -} - -function readCookie(name) { - var nameEQ = name + "="; - var ca = document.cookie.split(';'); - for(var i=0;i < ca.length;i++) { - var c = ca[i]; - while (c.charAt(0)==' ') c = c.substring(1,c.length); - if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); - } - return null; -} - -function eraseCookie(name) { - createCookie(name,"",-1); -}
\ No newline at end of file |