- Arreglado centrado vertical en IE

git-svn-id: https://192.168.0.254/svn/Proyectos.OriginalHouse_Web/trunk@24 54e8636e-a86c-764f-903d-b964358a1ae2
This commit is contained in:
David Arranz 2011-07-12 17:29:37 +00:00
parent c55e5179b6
commit aa10e1d941
9 changed files with 210 additions and 111 deletions

File diff suppressed because one or more lines are too long

View File

@ -22,7 +22,6 @@
.tubepress_thumbs {
float: left;
width: 100%;
height: 590px;
}
.tubepress_thumb {

View File

@ -14,8 +14,47 @@
float: left;
width: 100%;
heigth: 100%;
border: 0 !important;
margin: 0 !important;
}
.tcp_products_thumbs div {
float: left;
}
.tcp_products_thumbs a {
display: table-cell;
text-align: center;
vertical-align: middle;
}
.tcp_products_thumbs img {
vertical-align: middle;
}
/*\*//*/
* html .tcp_products_thumbs a {
display: block;
}
* html .tcp_products_thumbs span {
display: inline-block;
vertical-align: middle;
height: 100%;
width: 1px;
}
* html .tcp_products_thumbs a {
font-size: 1px;
}
/* */
.tcp_products_thumbs div {
border-collapse: collapse;
}
.tcp_products_thumbs a:hover {
}
.tcp_product_thumb {
float: left;
overflow: hidden;
@ -26,10 +65,8 @@
}
.tcp_product_thumb a {
display: block;
height: 196px;
width: 192px;
display: table-cell;
vertical-align: middle;
text-align: center;
cursor: pointer;
@ -42,15 +79,46 @@
-ms-interpolation-mode: bicubic;
-webkit-box-shadow:none;
box-shadow:none;
display: none;
display: hidden;
opacity: 0.5;
}
.tcp_product_thumb a:hover {
background: #fff;
}
.tcp_product_thumb a:hover img {
opacity: 1;
}
.wp-pagenavi {
background: #7F7875;
height: 30px;
@ -100,4 +168,4 @@
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
}

View File

@ -0,0 +1,10 @@
.tcp_products_thumbs div {
width: 192px;
}
.tcp_products_thumbs a {
width: auto;
height: auto;
}
.tcp_products_thumbs span {
height: 196px;
}

View File

@ -0,0 +1,12 @@
.tcp_products_thumbs a {
display: block;
}
.tcp_products_thumbs span {
display: inline-block;
vertical-align: middle;
height: 100%;
}
.tcp_products_thumbs {
_height: 0;
zoom: 1;
}

View File

@ -134,7 +134,6 @@ if (!function_exists( 'woo_output_alt_stylesheet')) {
$style = $requested_style;
}
echo "<!-- Alt Stylesheet -->\n";
if ($style != '') {
echo '<link href="'. get_template_directory_uri() . '/styles/'. $style . '.css" rel="stylesheet" type="text/css" />'."\n\n";
} else {
@ -158,8 +157,7 @@ if ( ! function_exists( 'woo_output_custom_favicon' ) ) {
function woo_output_custom_favicon() {
// Favicon
if(get_option( 'woo_custom_favicon') != '') {
echo "<!-- Custom Favicon -->\n";
echo '<link rel="shortcut icon" href="' . get_option( 'woo_custom_favicon' ) . '"/>'."\n\n";
echo '<link rel="shortcut icon" href="' . get_option( 'woo_custom_favicon' ) . '"/>'."\n\n";
}
}
@ -217,7 +215,6 @@ if ( ! function_exists( 'woo_head_css' ) ) {
// Output styles
if ($output <> '') {
$output = strip_tags($output);
echo "<!-- Options Panel Custom CSS -->\n";
$output = "<style type=\"text/css\">\n" . $output . "</style>\n\n";
echo $output;
}
@ -234,9 +231,13 @@ if (!function_exists( 'woo_output_custom_css')) {
function woo_output_custom_css() {
// Custom.css insert
echo "<!-- Custom Stylesheet -->\n";
echo '<link href="'. get_template_directory_uri() . '/custom.css" rel="stylesheet" type="text/css" />'."\n";
echo "<!--[if lt IE 8]>";
echo '<link href="'. get_template_directory_uri() . '/custom_ie7.css" rel="stylesheet" type="text/css" />'."\n";
echo "<![endif]-->";
echo "<!--[if lt IE 5.5000]>";
echo '<link href="'. get_template_directory_uri() . '/custom_ie55.css" rel="stylesheet" type="text/css" />'."\n";
echo "<![endif]-->";
}
}

View File

@ -76,6 +76,7 @@ while ( have_posts() ) :
?>
<a rel="lightbox" href="<?php echo $large_image_url[0]; ?>" title="<?php echo $description; ?>" class="size-<?php echo $image_size; ?>">
<span></span>
<?php echo the_post_thumbnail($thumb_size); ?>
</a>
<?php

View File

@ -172,7 +172,7 @@ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {text-de
/* 2.1 Containers & Columns */
#wrapper { }
#main{ width:440px;padding:0;background:transparent;position:relative; z-index:2; height:550px;}
#main{ width:440px;padding:0;background:transparent;position:relative; z-index:2; /*height:550px;*/}
.layout-full #main, .col-full {width:960px; margin:0 auto;}
#main.fullwidth { width:960px; margin:0 auto; }
@ -368,7 +368,7 @@ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {text-de
.social-icons li.facebook {background: url(images/ico-facebook-footer.png) no-repeat left center;}
.social-icons li.twitter {background: url(images/ico-twitter-footer.png) no-repeat left center;;}
.social-icons li.blogger {background: url(images/ico-blogger-footer.png) no-repeat left center;;}
.social-icons li a {padding: 2px 10px 0px 35px; display: block; color: #999; text-transform: uppercase;}
.social-icons li a {padding: 5px 10px 0px 35px; display: block; color: #999; text-transform: uppercase;}
.social-icons li a:hover {text-decoration: none; color: #fff}
@ -396,7 +396,7 @@ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {text-de
#footer-top {}
#footer{margin: 0px auto;padding: 10px 0 30px;color:#767570; font-size: 12px}
#footer {margin: 0px auto; padding: 0px /*10px 0 30px*/; color:#767570; font-size: 12px}
#footer p {}
#footer #credit img{vertical-align:middle;}
#footer #credit span{display:none;}