IE7 issue: GNB, Easy install, Multilingual layer. fixed.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12055 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-11-02 12:00:55 +00:00
parent e1eb56c500
commit faae215247
5 changed files with 14 additions and 13 deletions

View file

@ -149,7 +149,7 @@ body>.x,
.x>.xin>.skipNav{margin:0}
.x>.xin>.skipNav>a{display:block;height:1px;text-align:center;border-radius:4px;overflow:hidden;color:#333;text-decoration:none}
.x>.xin>.skipNav>a:focus{height:auto;margin:5px 0;padding:8px 0;background:#fff}
.x>.xin>.header{border-radius:5px 5px 0 0;padding:10px 15px;zoom:1;border-bottom:1px solid #ddd;background:#f6f6f6;background:-webkit-gradient(linear, left top, left bottom, from(#F6F6F6), to(#F1F1F1));background:-moz-linear-gradient(top,#F6F6F6,#F1F1F1);background:-o-linear-gradient(top,#F6F6F6,#F1F1F1)}
.x>.xin>.header{position:relative;z-index:2;border-radius:5px 5px 0 0;padding:10px 15px;zoom:1;border-bottom:1px solid #ddd;background:#f6f6f6;background:-webkit-gradient(linear, left top, left bottom, from(#F6F6F6), to(#F1F1F1));background:-moz-linear-gradient(top,#F6F6F6,#F1F1F1);background:-o-linear-gradient(top,#F6F6F6,#F1F1F1)}
.x>.xin>.header:after{content:"";display:block;clear:both}
.x>.xin>.body{position:relative;zoom:1;padding:0 20px 0 215px}
.x>.xin>.body.wide{padding:0 20px 0 70px}
@ -207,7 +207,7 @@ body>.x,
.x>.xin>.body>.gnb>ul{position:relative;z-index:1;box-shadow:2px 2px 4px #ddd;border-right:2px solid #fff;border-bottom:2px solid #fff}
.x>.xin>.body>.gnb>ul>li.active_{display:none}
.x>.xin>.body>.gnb a{text-decoration:none;text-shadow:0 1px 0 #fff;color:#000;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.x>.xin>.body>.gnb>a[href="#gnbNav"]{display:block;position:absolute;z-index:2;white-space:nowrap;font-size:0;top:50%;right:-14px;background:#eee;width:12px;height:50px;border-radius:0 3px 3px 0;margin:-25px 0 0 0;border:1px solid #ddd;border-left:0}
.x>.xin>.body>.gnb>a[href="#gnbNav"]{display:block;position:absolute;z-index:2;white-space:nowrap;font-size:0;top:50%;right:-14px;background:#eee;width:12px;height:50px;border-radius:0 3px 3px 0;margin:-25px 0 0 0;border:1px solid #ddd;border-left:0;overflow:hidden;text-indent:20px}
.x>.xin>.body.wide>.gnb>a[href="#gnbNav"]>b{border-color:transparent;border-left-color:#666;margin:-4px 0 0 -2px}
.x>.xin>.body>.gnb>a[href="#gnbNav"]>b{width:0;height:0;position:absolute;top:50%;left:50%;margin:-4px 0 0 -6px;border:4px solid;border-color:transparent;border-right-color:#666}
.x>.xin>.body>.gnb>a>i{display:none}

File diff suppressed because one or more lines are too long

View file

@ -10,10 +10,10 @@ a>i{opacity:.5;filter:alpha(opacity=50)}
.category .active>a{font-weight:bold;color:#333}
.list{zoom:1}
.list:after{content:"";display:block;clear:both}
.list>.x_thumbnail{padding:8px 10px; margin-bottom:10px;zoom:1;width:47%;box-shadow:1px 1px 3px #eee}
.list>.x_thumbnail{padding:8px 10px; margin-bottom:10px;zoom:1;width:47%;box-shadow:1px 1px 3px #eee;overflow:hidden}
.list>.x_thumbnail:after{content:"";display:block; clear:both}
.list>.x_thumbnail:nth-child(odd){float:left}
.list>.x_thumbnail:nth-child(even){float:right}
.list>.x_thumbnail.odd{float:left}
.list>.x_thumbnail.even{float:right}
.list .thumb{border-radius:3px;float:left;overflow:hidden;box-shadow:0 0 3px #666 inset;margin:0 15px 0 0;padding:5px}
.list .text>h3{margin:0 0 8px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.list .text>h3>a{color:#333}
@ -26,6 +26,6 @@ a>i{opacity:.5;filter:alpha(opacity=50)}
}
@media all and (max-width:960px){
.list>.x_thumbnail{width:auto}
.list>.x_thumbnail:nth-child(odd),
.list>.x_thumbnail:nth-child(even){float:none}
.list>.x_thumbnail.odd,
.list>.x_thumbnail.even{float:none}
}

View file

@ -46,7 +46,7 @@
<p>
<block cond="(int)$item->package_voter > 0">
<span class="starRating"><span style="width:{sprintf("%d",$item->package_voted/$item->package_voter*20)}%">{sprintf($lang->rate, $item->package_start)}</span></span>
<span class="x_badge">{sprintf("%0.1f",$item->package_voted/$item->package_voter*2)}/{number_format($item->package_voter)}</label>
<span class="x_badge">{sprintf("%0.1f",$item->package_voted/$item->package_voter*2)}/{number_format($item->package_voter)}</span>
</block>
<block cond="(int)$item->package_voter <= 0">
<span class="starRating"><span style="width:0%">0</span></span>
@ -191,5 +191,7 @@ jQuery(function($){
if(viewType == 'detail'){
$btnDetail.trigger('click');
}
$('.list>.x_thumbnail:odd').addClass('even');
$('.list>.x_thumbnail:even').addClass('odd');
});
</script>

View file

@ -15,10 +15,10 @@
</ul>
<div class="x_tab-content x_thumbnail">
<div class="x_tab-pane x_active" id="pre_document">
<iframe src="{getUrl('','act', 'dispEditorConfigPreview','mode','main')}" id="pre_document_frame"></iframe>
<iframe src="{getUrl('','act', 'dispEditorConfigPreview','mode','main')}" id="pre_document_frame" frameborder="0" style="border:0"></iframe>
</div>
<div class="x_tab-pane" id="pre_comment">
<iframe src="{getUrl('','act', 'dispEditorConfigPreview','mode','comment')}" id="pre_comment_frame"></iframe>
<iframe src="{getUrl('','act', 'dispEditorConfigPreview','mode','comment')}" id="pre_comment_frame" frameborder="0" style="border:0"></iframe>
</div>
</div>
</div>
@ -183,8 +183,7 @@ jQuery(function($){
function preview(){
$('._preview iframe').css({
width : "100%",
height : "450px",
border :0
height : "450px"
});
}
preview();