started 'new poll' css

This commit is contained in:
phear 2010-04-17 20:35:13 +00:00
parent 7ade0cc419
commit 81bf19c802
8 changed files with 239 additions and 28 deletions

Binary file not shown.

View file

@ -15,11 +15,8 @@
<div py:def="poll_new_small" class="poll_new_small"> <div py:def="poll_new_small" class="poll_new_small">
<form action="/polls/new" method="post"> <form action="/polls/new" method="post">
<label for="title">Titel des Wortschluckers:</label> <label for="title">Titel des Wortschluckers:</label>
<input type="text" id="title" class="poll_new_small_text" name="title" />
<input type="text" id="title" class="poll_new_small_text" name="title" />
<span py:if="'title' in errors" class="error">${errors.title}</span> <span py:if="'title' in errors" class="error">${errors.title}</span>
<input type="submit" name="submit" class="poll_new_small_button" value="N&auml;chster Schritt" /> <input type="submit" name="submit" class="poll_new_small_button" value="N&auml;chster Schritt" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -0,0 +1,85 @@
<?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="150"
height="35.136715"
id="svg3659"
version="1.1"
inkscape:version="0.47 r22583"
sodipodi:docname="poll_new_text.svg"
inkscape:export-filename="/home/mtsrc/daten/projekte/firma/wortschlucker/templates/media/images/poll_new_text.png"
inkscape:export-xdpi="71.400002"
inkscape:export-ydpi="71.400002">
<defs
id="defs3661">
<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="perspective3667" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="15.839192"
inkscape:cx="148.09314"
inkscape:cy="3.1882215"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1476"
inkscape:window-height="841"
inkscape:window-x="26"
inkscape:window-y="51"
inkscape:window-maximized="0"
showguides="true"
inkscape:guide-bbox="true" />
<metadata
id="metadata3664">
<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(-1.1980891,-1016.46)">
<rect
y="1006.6364"
x="0.35714287"
height="46.000061"
width="150.69537"
id="rect4181"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
style="fill:#ffffff;fill-opacity:1;stroke:#454545;stroke-width:3;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="rect3669"
width="146.97169"
height="32.136658"
x="2.6980891"
y="1017.96"
rx="16.068357"
ry="16.068329" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,016 B

View file

@ -0,0 +1,85 @@
<?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="378.13989"
height="35.136715"
id="svg3659"
version="1.1"
inkscape:version="0.47 r22583"
sodipodi:docname="poll_new_text.svg"
inkscape:export-filename="/home/mtsrc/daten/projekte/firma/wortschlucker/templates/media/images/poll_new_text.png"
inkscape:export-xdpi="71.400002"
inkscape:export-ydpi="71.400002">
<defs
id="defs3661">
<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="perspective3667" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="3.959798"
inkscape:cx="272.39946"
inkscape:cy="17.655561"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1476"
inkscape:window-height="841"
inkscape:window-x="26"
inkscape:window-y="51"
inkscape:window-maximized="0"
showguides="true"
inkscape:guide-bbox="true" />
<metadata
id="metadata3664">
<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(-1.1980891,-1016.46)">
<rect
y="1006.6364"
x="0.35714287"
height="46"
width="380"
id="rect4181"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
style="fill:#ffffff;fill-opacity:1;stroke:#454545;stroke-width:3;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="rect3669"
width="375.13989"
height="32.136715"
x="2.6980891"
y="1017.96"
rx="16.068357"
ry="16.068357" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View file

@ -337,8 +337,6 @@ hr { display: none; }
padding-right:10px; padding-right:10px;
padding-top:10px; padding-top:10px;
padding-bottom:10px; padding-bottom:10px;
} }
.poll_new_small_button{ .poll_new_small_button{
@ -350,6 +348,51 @@ hr { display: none; }
background: url(images/poll_new_small_button.png) no-repeat left top; background: url(images/poll_new_small_button.png) no-repeat left top;
} }
.poll_new_text {
font-size: 12px;
border:none;
width:280px;
height:18px;
background: url(images/poll_new_text.png) no-repeat left top;
vertical-align:middle;
flo at:left;
padding-left:10px;
margin-left:10px;
margin-right:10px;
padding-right:10px;
padding-top:5px;
padding-bottom:5px;
}
.poll_new label {
font-size: 14px;
font-weight:bold;
display: inline-block;
padding:0px;
padding-bottom:5px;
padding-left:10px;
margin-left:10px;
width:90px;
}
.poll_new_buttons{
border:none;
width:100%;
text-align:left;
float:both;
padding-left:20px;
}
.poll_new_button{
font-size: 20px;
margin-right:100px;
border:none;
width:150px;
height:36px;
background: url(images/poll_new_button.png) no-repeat left top;
}
/* Post */ /* Post */
.post { .post {

View file

@ -9,28 +9,29 @@
</head> </head>
<body> <body>
<h1>New poll</h1> <h1>New poll</h1>
<div class="poll_new">
<form action="" method="post"> <form action="" method="post">
<p> <p>
<label for="author">Your name:</label> <label for="author">Your name:</label>
<input type="text" id="author" class="form-entry" name="author" /> <input type="text" id="author" class="poll_new_text" name="author" />
<span py:if="'author' in errors" class="error">${errors.author}</span> <span py:if="'author' in errors" class="error">${errors.author}</span>
</p> </p>
<p> <p>
<label for="title">Poll name:</label> <label for="title">Poll name:</label>
<input type="text" id="title" class="form-entry" name="title" /> <input type="text" id="title" class="poll_new_text" name="title" />
<span py:if="'title' in errors" class="error">${errors.title}</span> <span py:if="'title' in errors" class="error">${errors.title}</span>
</p> </p>
<p> <p>
<label for="description">Description:</label> <label for="description">Description:</label>
<input type="text" id="description" class="form-entry" name="description" /> <input type="text" id="description" class="poll_new_text" name="description" />
<span py:if="'description' in errors" class="error">${errors.description}</span> <span py:if="'description' in errors" class="error">${errors.description}</span>
</p> </p>
<p> <div class="poll_new_buttons">
<input type="submit" name="submit" value="Create poll" /> <input type="submit" name="submit" class="poll_new_button" value="Create poll" />
<input type="submit" name="cancel" value="Cancel" /> <input type="submit" name="cancel" class="poll_new_button" value="Cancel" />
</p> </div>
</form> </form>
</div>
</body> </body>
</html> </html>