[silva.infrae.contact][Kit Blake] Moved wrapper selectors into r...
[email protected] Sun, 27 Oct 2013 07:56:57 +0100
| Newsgroups | gmane.comp.web.zope.silva.cvs |
|---|---|
| Message-ID | <[email protected]> |
author: Kit Blake
date: Sun Oct 27 07:53:55 2013 +0100
revision: 12:153e67c7214d in silva.infrae.contact
branch:
details: https://hg.infrae.com/silva.infrae.contact?cmd=changeset;node=153e67c7214d
modified: src/silva/infrae/contact/static/contactform.css
added:
removed:
log: Moved wrapper selectors into renaissance skin
diffstat:
src/silva/infrae/contact/static/contactform.css | 60 ++++++++++++------------
1 files changed, 29 insertions(+), 31 deletions(-)
diffs (91 lines):
diff -r 1bd2b77936ad -r 153e67c7214d src/silva/infrae/contact/static/contactform.css
--- a/src/silva/infrae/contact/static/contactform.css Wed Oct 23 12:49:24 2013 +0200
+++ b/src/silva/infrae/contact/static/contactform.css Sun Oct 27 07:53:55 2013 +0100
@@ -1,58 +1,56 @@
#contactusform {
- color: #fff;
- background: #222;
- padding: 8px;
- border: 2px solid #ddd;
- margin: 20px 0;
- font-size: 1.2em;
- -moz-box-shadow: 0 0 20px #999;
- -webkit-box-shadow: 0 0 20px #999;
- box-shadow: 0 0 20px #999;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
- border-radius: 3px;
+ color: #fff;
+ background: #222;
+ font-size: 1.2em;
}
#contactusform .field {
- width: 95%;
- margin: 5px;
+ width: 99%;
+ margin: 0.33em 0;
}
#contactusform textarea {
- border: 1px solid #888;
- resize: vertical;
+ border: 1px solid #888;
+ resize: vertical;
}
#contactusform h3 {
- margin: 0.4em 0 0 0.5em;
- color: #fff;
- font-size: 1.2em;
- line-height: inherit;
+ margin: 0.2em 0 0.5em;
+ color: #fff;
+ font-size: 1.2em;
+ line-height: inherit;
}
-#contactusform .actions {
- margin: 1em 0.65em;
+#contactusform div.actions {
+ margin: 0.66em 0;
}
input#contactform-action-contact {
- width: 40%;
+ width: 40%;
}
-#contactusform .form-status,
-#contactusform .form-error {
- margin: 0 0.65em;
+#contactusform p.form-status,
+#contactusform p.form-error {
+ margin-bottom: 0;
+ line-height: inherit;
+}
+
+div.form-error,
+div.field-error,
+span.field-error {
+ color: #fc0;
}
.form-status a:link {
- color: #ccc;
+ color: #ccc;
}
.form-status a:visited {
- color: #888;
+ color: #888;
}
.form-status a:hover {
- color: #fff;
+ color: #fff;
}
.form-status a.active {
- color: #fff;
- font-weight: bold;
+ color: #fff;
+ font-weight: bold;
}