summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-09-15 14:11:43 +0200
committerKevin Chabowski <kevin@kch42.de>2013-09-15 14:11:43 +0200
commitbc1dd802e346f02f36888174d9095baf12352f48 (patch)
tree83daf94dd286ccc91c0262920f9bb57633e06440
parentb341840f1001d21cab8c37fe8a2a71a69b64954a (diff)
downloadmailremind-bc1dd802e346f02f36888174d9095baf12352f48.tar.gz
mailremind-bc1dd802e346f02f36888174d9095baf12352f48.tar.bz2
mailremind-bc1dd802e346f02f36888174d9095baf12352f48.zip
Styles for errors and successes.
-rw-r--r--static/error.pngbin0 -> 1072 bytes
-rw-r--r--static/error.svg44
-rw-r--r--static/style.css17
-rw-r--r--static/success.pngbin0 -> 1518 bytes
-rw-r--r--static/success.svg102
5 files changed, 163 insertions, 0 deletions
diff --git a/static/error.png b/static/error.png
new file mode 100644
index 0000000..de5e5f9
--- /dev/null
+++ b/static/error.png
Binary files differ
diff --git a/static/error.svg b/static/error.svg
new file mode 100644
index 0000000..6ebe085
--- /dev/null
+++ b/static/error.svg
@@ -0,0 +1,44 @@
+<?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"
+ version="1.1"
+ width="50"
+ height="50"
+ id="svg2">
+ <defs
+ id="defs4" />
+ <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
+ transform="translate(0,-1002.3622)"
+ id="layer1">
+ <path
+ d="M -14.344328,1046.3622 46,1046.3622 15.827836,986.0179 z"
+ id="path3763"
+ style="fill:none;stroke:#000000;stroke-width:5.80233908;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.36078431;stroke-dasharray:none" />
+ <g
+ id="text3765"
+ style="font-size:40px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:0.75294118;stroke:none;font-family:Tahoma;-inkscape-font-specification:Tahoma">
+ <path
+ d="m 16.069878,1032.1201 c -2.367352,0 -4.316941,1.9034 -4.316941,4.1777 0,2.4602 1.903169,4.4096 4.270521,4.4096 2.367354,0 4.316942,-1.9494 4.316942,-4.3168 0,-2.3671 -1.90317,-4.2705 -4.270522,-4.2705 m 1.903166,-5.5654 c 0.324932,-4.456 0.603443,-6.3594 1.624656,-10.9085 0.928372,-3.899 1.114049,-4.8739 1.114049,-6.1736 0,-3.1099 -1.810333,-5.106 -4.595453,-5.106 -2.645864,0 -4.68829,2.0425 -4.68829,4.6417 0,1.5318 0.185675,2.6462 1.114049,6.9164 0.789118,3.5743 1.206886,6.3133 1.624656,10.63 l 3.806333,0"
+ id="path3770"
+ style="font-size:20px;font-weight:bold;fill:#000000;fill-opacity:0.36078431;font-family:URW Bookman L;-inkscape-font-specification:URW Bookman L Bold" />
+ </g>
+ </g>
+</svg>
diff --git a/static/style.css b/static/style.css
index a8380b9..5a51c56 100644
--- a/static/style.css
+++ b/static/style.css
@@ -120,3 +120,20 @@ input.quant {
font-style: italic;
color: #777;
}
+
+div.error, div.success {
+ border: 1px solid #8d8d8d;
+ min-height: 40px;
+ color: #222;
+ padding: 1em;
+ margin: 3mm 0mm 3mm;
+ text-align: center;
+}
+
+div.error {
+ background: #ddd url(error.png) no-repeat top left;
+}
+
+div.success {
+ background: #ddd url(success.png) no-repeat top left;
+} \ No newline at end of file
diff --git a/static/success.png b/static/success.png
new file mode 100644
index 0000000..dc79180
--- /dev/null
+++ b/static/success.png
Binary files differ
diff --git a/static/success.svg b/static/success.svg
new file mode 100644
index 0000000..39a606d
--- /dev/null
+++ b/static/success.svg
@@ -0,0 +1,102 @@
+<?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="50"
+ height="50"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.1 r9760"
+ inkscape:export-filename="/home/skadu42/Desktop/success.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90"
+ sodipodi:docname="success.svg">
+ <defs
+ id="defs4" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#dddddd"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="7.9195959"
+ inkscape:cx="27.664243"
+ inkscape:cy="33.687243"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ inkscape:window-width="1680"
+ inkscape:window-height="1000"
+ inkscape:window-x="0"
+ inkscape:window-y="26"
+ inkscape:window-maximized="1">
+ <inkscape:grid
+ type="xygrid"
+ id="grid2985"
+ empspacing="2"
+ visible="true"
+ enabled="true"
+ snapvisiblegridlinesonly="true"
+ dotted="false" />
+ <sodipodi:guide
+ orientation="-0.70710678,0.70710678"
+ position="30,30"
+ id="guide3755" />
+ <sodipodi:guide
+ orientation="0.70710678,0.70710678"
+ position="0,50"
+ id="guide3757" />
+ <sodipodi:guide
+ orientation="1,0"
+ position="25,25"
+ id="guide3759" />
+ <sodipodi:guide
+ orientation="0,1"
+ position="25,25"
+ id="guide3761" />
+ </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="Ebene 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(0,-1002.3622)">
+ <path
+ sodipodi:type="arc"
+ style="fill:#000000;fill-opacity:0.36078431;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0;stroke-dasharray:none"
+ id="path3828"
+ sodipodi:cx="25"
+ sodipodi:cy="25"
+ sodipodi:rx="23"
+ sodipodi:ry="23"
+ d="M 48,25 A 23,23 0 1 1 2,25 23,23 0 1 1 48,25 z"
+ transform="matrix(1.2564831,0,0,1.2564831,-12.124007,989.84923)" />
+ <path
+ style="fill:none;stroke:#dddddd;stroke-width:5.65417433;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 5.4667569,1021.2614 11.3083491,16.3342 21.360213,-32.6686"
+ id="path3832"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccc" />
+ </g>
+</svg>