cvs: phpweb / style.css
| From: | Gabor Hojtsy | Date: | Mon, 28 Jul 2003 11:14:53 +0000 |
| Subject: | cvs: phpweb / style.css | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-19600@lists.php.net to get a copy of this message | ||
goba Mon Jul 28 07:14:53 2003 EDT
Modified files:
/phpweb style.css
Log:
- Move all the font information to one place
- Add the .warn class for warning on PHP pages
- Add standard tables (so we can remove the coloring
info from HTML)
- Add maximized input field support
Index: phpweb/style.css
diff -u phpweb/style.css:1.45 phpweb/style.css:1.46
--- phpweb/style.css:1.45 Mon Jul 21 12:33:53 2003
+++ phpweb/style.css Mon Jul 28 07:14:53 2003
@@ -62,13 +62,15 @@
text-decoration: underline;
}
+/* Default font size for elements */
body, ul, td, th {
- font-family: verdana,arial,helvetica,sans-serif;
- font-size: 85%;
+ font-size: 85%;
}
-p {
- font-family: verdana,arial,helvetica,sans-serif;
+/* We use this font setting for everything, except codes */
+body, ul, td, th, p, h1, h2, h3, h4, small, a.small,
+.tableTitle, .tableExtras, input, textarea, select {
+ font-family: verdana, arial, helvetica, sans-serif;
}
li {
@@ -111,70 +113,52 @@
}
h1 {
- font-family: verdana,arial,helvetica,sans-serif;
font-size: 130%;
font-weight: bold;
color: #000066;
}
h2 {
- font-family: verdana,arial,helvetica,sans-serif;
font-size: 125%;
font-weight: bold;
color: #000066;
}
h3 {
- font-family: verdana,arial,helvetica,sans-serif;
font-size: 110%;
font-weight: bold;
color: #000066;
}
h4 {
- font-family: verdana,arial,helvetica,sans-serif;
font-size: 100%;
font-weight: bold;
color: #000066;
}
small {
- font-family: verdana,arial,helvetica,sans-serif;
font-size: 75%;
}
a.small {
- font-family: verdana,arial,helvetica,sans-serif;
font-size: 75%;
text-decoration: none;
}
.tableTitle {
- font-family: verdana,arial,helvetica,sans-serif;
font-weight: bold;
}
.tableExtras {
- font-family: verdana,arial,helvetica,sans-serif;
font-size: 85%;
color: #FFFFFF;
}
-input {
- font-family: verdana,arial,helvetica,sans-serif;
-}
-
-textarea {
- font-family: verdana,arial,helvetica,sans-serif;
-}
-
input.small, select.small {
- font-family: verdana,arial,helvetica,sans-serif;
font-size: 75%;
}
textarea.small {
- font-family: verdana,arial,helvetica,sans-serif;
font-size: 75%;
}
@@ -185,7 +169,7 @@
padding: 2px 4px;
}
-div.errors {
+div.errors, .warn {
border: 1px dashed #666600;
color: #660000;
background: #ffeeee;
@@ -267,3 +251,24 @@
background-color: #cccccc;
text-align: right;
}
+
+/* Standard table formatting */
+table.standard td {
+ background-color: #eeeeee;
+}
+table.standard th {
+ background-color: #cccccc;
+}
+table.standard td.sub, table.standard th.sub,
+table.standard th.subr {
+ background-color: #dddddd;
+}
+table.standard th.subr {
+ text-align: right;
+ vertical-align: top;
+}
+
+/* Maximum width input fields */
+input.max, textarea.max {
+ width: 100%;
+}
\ No newline at end of file