Skip to content

Commit 0990bff

Browse files
committed
Upravena barva z moc jasne na mene jasnejsi
Pridan formular pro registraci a sjednocen styl <a> a <input submit> Signed-off-by: Kosieh Barter <[email protected]>
1 parent e6271ff commit 0990bff

File tree

3 files changed

+45
-2
lines changed

3 files changed

+45
-2
lines changed

apps/web/templates/draft.css

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
1+
/* Zaklady. Nejdrive zakladni veci, ktere sjednocuji drtivou vetsinu nastaveni. */
2+
13
body { background: black; padding: 0px; margin: 0 auto; max-width: 1280px; font-family: arial;}
24
h1 { margin: 0px; padding: 5px; text-align: right; color: white;}
35
h4 { padding: 10px; margin: 0px; text-align: center;}
46
p { padding: 4px; margin: 2px;border: 1px solid black; border-radius: 10px;}
57
input { width: 100%; text-align: center; box-sizing: border-box; border-radius: 10px; padding: 5px; margin-top: 2px; margin-bottom: 2px; }
68
div { background: #4b9320; }
9+
a {width: 100%; text-align: center; box-sizing: border-box; border-radius: 10px; padding: 5px; margin-top: 2px; margin-bottom: 2px;}
10+
11+
#prechod {background: linear-gradient(#4b9320, #71c900)}
12+
#stranka {background: #71c900;}
713

8-
#prechod {background: linear-gradient(#4b9320, #80e400);}
9-
#stranka {background: #80e400;}
14+
/* Nastaveni pro tlacitko typu submit */
15+
#login_tlacitko {width: 100%; box-sizing: border-box; background-color: #094100; color: white; border: 2px solid black;}
16+
#login_tlacitko:hover {background-color: #1f9900; border: 2px solid white;}
17+
/* Chceme sjednotit tlacitko typu a a submit? */
18+
#tlacitko{width: 100%; box-sizing: border-box; background-color: #094100; color: white; border: 2px solid black; display: block;}
19+
#tlacitko:hover {background-color: #1f9900; border: 2px solid white;}

apps/web/templates/draft_login.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ <h1>Jizdoteka.cz</h1>
2323
Po přihlášení můžete svůj účet na Jízdotéce propojit s Vaším účtem na Facebooku pro snadnější a rychlejší přihlašování.
2424
</p>
2525
</form>
26+
<a id="tlacitko" href="draft_register.html">Nemáte účet? Zaregistrujte se zde.</a>
2627
</div>
2728
</div>
2829
</body>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!DOCTYPE html
2+
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4+
<html>
5+
<head>
6+
<title>Jizdoteka - Draft</title>
7+
8+
<link rel="icon" type="image/png" href="draft_jizdoteka.svg" />
9+
<meta charset="utf-8">
10+
<meta name="viewport" content="width=device-width, initial-scale=1">
11+
<link rel="stylesheet" href="./draft.css">
12+
</head>
13+
<body>
14+
<div>
15+
<h1>Jizdoteka.cz</h1>
16+
<div id="prechod"><h4>Registrace</h4></div>
17+
<div id="stranka">
18+
<form class="" action="index.html" method="post">
19+
<input type="text" name="uziv_mail" placeholder="Váš email"/>
20+
<input type="text" name="uziv_mail_potvrd" placeholder="Váš email - kontrola" />
21+
<input type="password" name="uzit_heslo" placeholder="Vaše heslo"/>
22+
<br />
23+
<input type="text" name="protirobotova_och" placeholder="<Náhodná otázka>" />
24+
<input type="button" name="uziv_vstup" value="Registrovat se" id="login_tlacitko">
25+
<p>
26+
Po přihlášení můžete svůj účet na Jízdotéce propojit s Vaším účtem na Facebooku pro snadnější a rychlejší přihlašování.
27+
</p>
28+
</form>
29+
</div>
30+
</div>
31+
</body>
32+
</html>

0 commit comments

Comments
 (0)