Minimal cross browser styling (mostly IE7). w00t!

This commit is contained in:
sarven 2009-01-19 00:10:42 +00:00
parent c04fade6be
commit 910bd33243
3 changed files with 35 additions and 15 deletions

View File

@ -138,7 +138,7 @@ class Action extends HTMLOutputter // lawsuit
if (file_exists(theme_file('ie'.$ver.'.css'))) { if (file_exists(theme_file('ie'.$ver.'.css'))) {
// Yes, IE people should be put in jail. // Yes, IE people should be put in jail.
$this->comment('[if lte IE '.$ver.']><link rel="stylesheet" type="text/css" '. $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]');
} }
} }
} }

View File

@ -48,13 +48,18 @@ input, textarea, select, option {
padding:4px; padding:4px;
font-family:sans-serif; font-family:sans-serif;
font-size:1em; font-size:1em;
-moz-border-radius:4px;
} }
input:focus, textarea:focus, select:focus { input, textarea, select {
border-width:2px; border-width:2px;
border-style: solid; border-style: solid;
-moz-border-radius:4px;
}
input.submit {
font-weight:bold;
}
textarea {
overflow:auto;
} }
select, option { select, option {
padding-bottom:0; padding-bottom:0;
} }
@ -73,10 +78,11 @@ font-weight:bold;
form ul li input { form ul li input {
} }
form input.checkbox { input.checkbox {
position:relative; position:relative;
top:2px; top:2px;
left:0; left:0;
border:0;
} }
#page_notice .error, #page_notice .error,
@ -120,7 +126,7 @@ float:left;
} }
.form_settings label { .form_settings label {
margin-top:7px; margin-top:2px;
width:152px; width:152px;
} }
@ -388,9 +394,7 @@ display:none;
} }
#form_notice textarea { #form_notice textarea {
-moz-border-radius:4px; -moz-border-radius:4px;
width:304px;
width:377px; width:377px;
height:95px;
height:86px; height:86px;
line-height:1.5; line-height:1.5;
padding:7px 7px 14px 7px; padding:7px 7px 14px 7px;
@ -416,7 +420,6 @@ margin-left:4px;
#form_notice .form_note { #form_notice .form_note {
position:absolute; position:absolute;
top:125px;
top:116px; top:116px;
right:98px; right:98px;
z-index:9; z-index:9;
@ -445,10 +448,14 @@ text-indent:-9999px;
} }
#form_notice .form_actions { #form_notice .form_actions {
position:absolute; position:absolute;
top:107px; bottom:0;
top:98px;
right:0; right:0;
} }
#form_notice .form_actions input.submit {
width:60px;
padding:8px;
}
#form_notice li { #form_notice li {
margin-bottom:0; margin-bottom:0;
} }
@ -715,6 +722,7 @@ font-style:italic;
.notice .entry-title { .notice .entry-title {
float:left; float:left;
width:100%;
} }
.notice p.entry-content { .notice p.entry-content {
display:inline; display:inline;

View File

@ -5,13 +5,23 @@ background-color:#ddd;
body { body {
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
font-size:1em; font-size:1em;
background-color:#ddd;
} }
input, textarea, select, option { input, textarea, select, option {
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
} }
input:focus, textarea:focus, select:focus { input, textarea, select {
border-color:#B2D0DD; border-color:#aaa;
} }
input:focus, textarea:focus, select:focus {
border-color:#A9BF4F;
}
input.submit {
background-color:#A9BF4F;
color:#fff;
}
a { a {
color:#002E6E; color:#002E6E;
} }
@ -33,7 +43,8 @@ background-color:#fcfffc;
background-color:#CEE1E9; background-color:#CEE1E9;
} }
#form_notice textarea {
}
#form_notice label { #form_notice label {
color:#88171A; color:#88171A;
@ -59,7 +70,8 @@ background-color:transparent;
#site_nav_global_primary a { #site_nav_global_primary a {
} }
#form_notice .form_actions input.submit {
}
#nav_register a { #nav_register a {
background-color:#A9BF4F; background-color:#A9BF4F;
color:#fff; color:#fff;