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'))) {
// 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]');
}
}
}

View File

@ -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;

View File

@ -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:focus, textarea:focus, select:focus {
border-color:#B2D0DD;
input, textarea, select {
border-color:#aaa;
}
input:focus, textarea:focus, select:focus {
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;