From e6a7b4e64815ba17c2c39f4cc8888d81eb80ba15 Mon Sep 17 00:00:00 2001 From: phear Date: Tue, 20 Sep 2005 09:06:22 +0000 Subject: [PATCH] style optimization. IMHO the old version was technically correct, but firefox had problems. Now we work with id=... tags, this causes no errors. --- default.css | 39 +++++++++++++++------------------------ login.py | 4 ++-- 2 files changed, 17 insertions(+), 26 deletions(-) diff --git a/default.css b/default.css index 7bcc1d7..b2a3cfc 100644 --- a/default.css +++ b/default.css @@ -1,3 +1,5 @@ +/* TODO: optimize. the only things modified are the form entries. But it looks cool anyway ;> */ + body { background-position: top center; background-attachment: fixed; @@ -211,39 +213,21 @@ body { /* ----------------------=-=-=- Forms -=-=-=--------------------- */ /* pretty forms and buttons */ -input { +input#text { border: 1px solid #333333; color: #333333; background: #fff; padding: 2px 5px 1px 5px; font-size: 1em; - } -input:hover { +input#text:hover { background: #fff; - border: 1px solid #ACE149; + border: 1px solid #ACE149; color: #7DA721; font-size: 1em; - } -textarea { - font-family: arial, verdana, helvetica; - font-size: 1.1em; - border: 1px solid #BFBFBF; - color: #949494; - padding: 2px 5px 1px 5px; - width: 450px; - - } - -textarea:hover { - background: #fff; - border: 1px solid #ACE149; - color: #7DA721; - - } /* the submit buttons have to have id="submit" for the following style: ------------------------------------- */ input#submit { background-color: #ACE149; @@ -262,13 +246,20 @@ input#submit:hover { font-weight: bold; cursor: pointer; } + /* the submit buttons have to have id="goban" for the following style, for use in goban display ------------- */ -input#goban { +/*input#goban { padding: 0px; border: 0px; - cursor: pointer; + margin: 0px; } - +*/ +/*input#goban:hover { + padding: 0px; + border: 0px; + margin: 0px; + } +*/ #words form label { diff --git a/login.py b/login.py index 5862c34..c082277 100755 --- a/login.py +++ b/login.py @@ -88,9 +88,9 @@ def login_form(): data = helper.header() + """

Name:
-

+

Pasword:
-

+