/* base */ .ec-base-box { padding:20px; margin-left:auto; margin-right:auto; border:5px solid #e8e8e8; color:#404040; } .ec-base-box.gHalf { position:relative; padding:20px 0; } .ec-base-box.gHalf:before { position:absolute; top:0; left:50%; display:block; content:""; width:1px; height:100%; background-color:#e6e6e6; } .ec-base-box.typeBg { background-color:#fbfafa; } .ec-base-box.typeThin { border-width:1px; border-color:#d7d5d5; } .ec-base-box.typeThin h3.boxTitle { margin:0 0 20px 0; font-size:20px; text-align:center; } .ec-base-box.typeThinBg { border-width:1px; border-color:#d7d5d5; background-color:#fbfafa; } .ec-base-box.center { text-align:center; } .ec-base-box.typeThinBg > .agree { padding:20px; border:1px solid #e6e6e6; background:#fff; } .ec-base-box.typeThinBg > .agree p { padding:0 0 17px; } /* typeMember */ .ec-base-box.typeMember { padding:0; } .ec-base-box.typeMember .information { display:table; table-layout:fixed; padding:10px 0; width:100%; box-sizing:border-box; } .ec-base-box.typeMember .information > .title, .ec-base-box.typeMember .information > .thumbnail { display:table-cell; padding:0 15px; width:70px; text-align:center; vertical-align:middle; } .ec-base-box.typeMember .information > .title { vertical-align:middle; } .ec-base-box.typeMember .information > .thumbnail img { max-width:70px; } .ec-base-box.typeMember .information .description { display:table-cell; padding:0 10px; width:auto; line-height:1.5em; border-left:1px solid #e8e8e8; vertical-align:middle; } .ec-base-box.typeMember.gMessage { border-width:1px; border-color:#d7d5d5; } .ec-base-box .message { display:block; padding:10px 0 10px 35px; border-bottom:1px solid #e8e7e7; background:#fbfbfb url("//img.echosting.cafe24.com/skin/base/common/ico_info.gif") no-repeat 10px center; } /* typeProduct */ .ec-base-box.typeProduct { display:table; table-layout:fixed; padding:15px 0; width:100%; box-sizing:border-box; } .ec-base-box.typeProduct .thumbnail, .ec-base-box.typeProduct .information { display:table-cell; padding:0 20px; vertical-align:middle; } .ec-base-box.typeProduct .thumbnail { width:100px; } .ec-base-box.typeProduct .thumbnail img { max-width:90px; border:1px solid #d7d5d5; } .ec-base-box.typeProduct .information { padding-left:0; }
Use this to display important fields such as customer information in aEnter text here.
xxxxxxxxxx
<div class="ec-base-box">
<p>Enter text here.</p>
</div>
Use this to create a divider line in the middle.
xxxxxxxxxx
<div class="ec-base-box gHalf">
<p>Enter text here.</p>
<p>Enter text here.</p>
</div>
This box has thinner lines than the default type box.
Thin-line boxes can be used when expanded.
xxxxxxxxxx
<div class="ec-base-box typeThin">
<p>Enter text here.</p>
</div>
Background color is added to the default type box.
xxxxxxxxxx
<div class="ec-base-box typeBg">
<p>Enter text here.</p>
</div>
Background color added to thin-line type box
Thin-line boxes can be used when extended.
xxxxxxxxxx
<div class="ec-base-box typeThinBg">
<p>Enter text here.</p>
</div>
Use this to display a box’s line thickness as 1px when stacking thin-line boxes next to each other.
xxxxxxxxxx
<div class="ec-base-box typeThin">
<p>Content to be entered into this field.</p>
</div>
<div class="ec-base-box typeThinBg gMerge">
<p>Content to be entered into this field.</p>
</div>
You can edit a box’s size and alignment values by adding CSS style to .ec-base-box in the specified $MODULE (module).
xxxxxxxxxx
<!--Center align -->
<div module="MODULE" class="ec-base-box">
<div class="ec-base-box typeThinBg">
<p class="ec-base-help">Enter text here.</p>
</div>
<div class="ec-base-box typeThin typeMember gMerge">
<div class="information">
<span class="thumbnail"><img src="//img.echosting.cafe24.com/skin/base/member/img_member_default.gif" alt="" /></span>
<div class="description">
<p><strong>name</strong>Name is a [group_name] member.</p>
<dl class="ec-base-desc typeBullet gMedium">
<dt>Text</dt>
<dd>content</dd>
<dt>Text</dt>
<dd>content</dd>
</dl>
</div>
</div>
</div>
</div>
<!--CSS source example-->
.Module { width:600px; margin:0 auto; }
Background color + thin-line type box combination is commonly used in Terms of Use.
xxxxxxxxxx
<div class="ec-base-box typeThinBg">
<div class="agree">
<p>Enter text here.</p>
</div>
</div>
Can be used as UI.
xxxxxxxxxx
<div class="ec-base-box typeProduct">
<p class="thumbnail"><a href="#none"><img src="//img.echosting.cafe24.com/thumb/75x75.gif" alt="" /></a></p>
<div class="information">
<h3>Product name</h3>
<strong class="txtEm">KRW 10,000</strong>
<p class="button">
<a href="#none"><img src="//img.echosting.cafe24.com/skin/base_ko_KR/board/btn_prd_detail.gif" alt="View product details" /></a>
<a href="#none"><img src="//img.echosting.cafe24.com/skin/base_ko_KR/board/btn_prd_select.gif" alt="Select product information" /></a>
<a href="#none"><img src="//img.echosting.cafe24.com/skin/base_ko_KR/board/btn_prd_order.gif" alt="Select orders" /></a>
</p>
</div>
</div>
UI to show customer information.
xxxxxxxxxx
<!--Customer information-->
<div class="ec-base-box typeMember">
<div class="information">
<strong class="thumbnail"><img src="//uidevdmp.cafe24.com/web/upload/mg_img_btn_mem_group_b2.gif" alt="" /><br />Top-align</strong>
<div class="description">
<p><strong>○○○</strong>is a [VIP] member.</p>
<ul>
<li>Enter text here.</li>
<li>Enter text here.</li>
</ul>
</div>
</div>
</div>
<!--Customer information expandable type-->
<div class="ec-base-box typeThinBg">
<p class="ec-base-help">Enter text here.</p>
</div>
<div class="ec-base-box typeThin typeMember gMerge">
<div class="information">
<strong class="thumbnail"><img src="//uidevdmp.cafe24.com/web/upload/mg_img_btn_mem_group_b2.gif" alt="" /><br />Top-align</strong>
<div class="description">
<p><strong>○○○</strong>is a [VIP] member.</p>
<ul>
<li>Enter text here.</li>
<li>Enter text here.</li>
</ul>
</div>
</div>
</div>
<!-- Customer information expandable type + Box type-->
<div class="ec-base-box typeThinBg">
<p class="ec-base-help">Enter text here.</p>
</div>
<div class="ec-base-box typeThin typeMember gMerge">
<div class="information">
<strong class="title"><img src="//uidevdmp.cafe24.com/web/upload/mg_img_btn_mem_group_b2.gif" alt="" /><br />Center-align</strong>
<div class="description">
<p><strong>○○○</strong>is a [VIP] member.</p>
<ul>
<li>Enter text here.</li>
<li>Enter text here.</li>
</ul>
</div>
</div>
</div>
<div class="ec-base-box typeThinBg gMerge">
<p>Enter text here.</p>
</div>
We will continue to strive to provide better service.