summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-19 00:10:42 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-19 00:10:42 +0000
commit910bd332430b0af233ae78b330994520d4b59c97 (patch)
treef9d61afa3b73749c348b67a03407e5909d028d62
parentc04fade6be03385213b97fff998e1b6c19ae3790 (diff)
Minimal cross browser styling (mostly IE7). w00t!
-rw-r--r--lib/action.php2
-rw-r--r--theme/base/css/display.css28
-rw-r--r--theme/identica/css/display.css18
3 files changed, 34 insertions, 14 deletions
diff --git a/lib/action.php b/lib/action.php
index 3d61afde2..c463c8459 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -138,7 +138,7 @@ class Action extends HTMLOutputter // lawsuit
if (file_exists(theme_file('ie'.$ver.'.css'))) {
// Yes, IE people should be put in jail.
$this->comment('[if lte IE '.$ver.']><link rel="stylesheet" type="text/css" '.
- 'href="'.theme_path('ie'.$ver.'.css').'?version='.LACONICA_VERSION.'" /><![endif]');
+ 'href="'.theme_path('css/ie'.$ver.'.css', 'base').'?version='.LACONICA_VERSION.'" /><![endif]');
}
}
}
diff --git a/theme/base/css/display.css b/theme/base/css/display.css
index 0041baf44..5a52780fc 100644
--- a/theme/base/css/display.css
+++ b/theme/base/css/display.css
@@ -48,13 +48,18 @@ input, textarea, select, option {
padding:4px;
font-family:sans-serif;
font-size:1em;
--moz-border-radius:4px;
}
-input:focus, textarea:focus, select:focus {
+input, textarea, select {
border-width:2px;
border-style: solid;
+-moz-border-radius:4px;
+}
+input.submit {
+font-weight:bold;
+}
+textarea {
+overflow:auto;
}
-
select, option {
padding-bottom:0;
}
@@ -73,10 +78,11 @@ font-weight:bold;
form ul li input {
}
-form input.checkbox {
+input.checkbox {
position:relative;
top:2px;
left:0;
+border:0;
}
#page_notice .error,
@@ -120,7 +126,7 @@ float:left;
}
.form_settings label {
-margin-top:7px;
+margin-top:2px;
width:152px;
}
@@ -388,9 +394,7 @@ display:none;
}
#form_notice textarea {
-moz-border-radius:4px;
-width:304px;
width:377px;
-height:95px;
height:86px;
line-height:1.5;
padding:7px 7px 14px 7px;
@@ -416,7 +420,6 @@ margin-left:4px;
#form_notice .form_note {
position:absolute;
-top:125px;
top:116px;
right:98px;
z-index:9;
@@ -445,10 +448,14 @@ text-indent:-9999px;
}
#form_notice .form_actions {
position:absolute;
-top:107px;
-top:98px;
+bottom:0;
right:0;
}
+#form_notice .form_actions input.submit {
+width:60px;
+padding:8px;
+}
+
#form_notice li {
margin-bottom:0;
}
@@ -715,6 +722,7 @@ font-style:italic;
.notice .entry-title {
float:left;
+width:100%;
}
.notice p.entry-content {
display:inline;
diff --git a/theme/identica/css/display.css b/theme/identica/css/display.css
index a5b177004..8a1130387 100644
--- a/theme/identica/css/display.css
+++ b/theme/identica/css/display.css
@@ -5,13 +5,23 @@ background-color:#ddd;
body {
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
font-size:1em;
+background-color:#ddd;
}
input, textarea, select, option {
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}
+input, textarea, select {
+border-color:#aaa;
+}
+
input:focus, textarea:focus, select:focus {
-border-color:#B2D0DD;
+border-color:#A9BF4F;
+}
+input.submit {
+background-color:#A9BF4F;
+color:#fff;
}
+
a {
color:#002E6E;
}
@@ -33,7 +43,8 @@ background-color:#fcfffc;
background-color:#CEE1E9;
}
-
+#form_notice textarea {
+}
#form_notice label {
color:#88171A;
@@ -59,7 +70,8 @@ background-color:transparent;
#site_nav_global_primary a {
}
-
+#form_notice .form_actions input.submit {
+}
#nav_register a {
background-color:#A9BF4F;
color:#fff;