.btn UI fix.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12597 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2013-01-29 03:01:44 +00:00
parent e94a6b4f4c
commit 7c8730f645
10 changed files with 68 additions and 57 deletions

View file

@ -40,7 +40,7 @@
.x select,
.x textarea{margin:0;font-size:100%;vertical-align:middle}
.x button,
.x input{*overflow:visible;line-height:normal}
.x input{*overflow:visible}
.x button::-moz-focus-inner,
.x input::-moz-focus-inner{padding:0;border:0}
.x button,
@ -280,7 +280,7 @@
.x input,
.x button,
.x select,
.x textarea{font-size:14px;font-weight:normal;line-height:20px}
.x textarea{font-size:14px;font-weight:normal}
.x input,
.x button,
.x select,

File diff suppressed because one or more lines are too long

View file

@ -54,6 +54,7 @@ body>.x,
.x .x_pagination [id^="goTo"]>*{border:0;border-radius:0}
.x .x_pagination [id^="goTo"]>[type="number"]{height:16px;line-height:16px;width:50px;text-align:center}
.x .x_pagination [id^="goTo"]>[type="submit"]{line-height:24px;height:24px;padding:0 6px}
.x .btn{color:#333}
.x .x_btn{border-radius:2px;overflow:visible;font-size:14px;line-height:18px;padding:3px 9px;text-decoration:none !important}
.x .x_btn-large{font-size:16px;padding:9px 14px;font-weight:bold}
.x .x_btn-small{font-size:14px}
@ -133,9 +134,6 @@ body>.x,
.x input[type="tel"],
.x input[type="color"],
.x_uneditable-input{height:16px}
.x label,
.x input,
.x button{line-height:16px}
.x select{padding:0;height:26px;line-height:26px}
.x select[multiple]{height:auto}
.x textarea{vertical-align:top}

File diff suppressed because one or more lines are too long

View file

@ -2,15 +2,17 @@
<!--@if($grant->manager)-->
<load target="./js/page_admin.js" usecdn="true" />
<div class="btnArea">
<button class="btn" type="button" onclick="doRemoveWidgetCache({$module_info->module_srl}); return false;">{$lang->cmd_remake_cache}</button>
<!--@if($logged_info->is_admin=='Y')-->
<a class="btn" href="{getUrl('act','dispPageAdminInfo','module_srl',$module_info->module_srl)}">{$lang->cmd_setup}</a>
<!--@end-->
<!--@if($module_info->page_type != 'OUTSIDE')-->
<a class="btn" href="{getUrl('act','dispPageAdminContentModify','document_srl','')}">{$lang->cmd_page_modify}</a>
<!--@end-->
<!--@if($module_info->use_mobile =="Y" && $module_info->page_type != 'OUTSIDE')-->
<a class="btn" href="{getUrl('act','dispPageAdminMobileContent','module_srl',$module_info->module_srl)}">Mobile</a>
<!--@end-->
<span class="btn-group">
<button class="btn" type="button" onclick="doRemoveWidgetCache({$module_info->module_srl}); return false;">{$lang->cmd_remake_cache}</button>
<!--@if($logged_info->is_admin=='Y')-->
<a class="btn" href="{getUrl('act','dispPageAdminInfo','module_srl',$module_info->module_srl)}">{$lang->cmd_setup}</a>
<!--@end-->
<!--@if($module_info->page_type != 'OUTSIDE')-->
<a class="btn" href="{getUrl('act','dispPageAdminContentModify','document_srl','')}">{$lang->cmd_page_modify}</a>
<!--@end-->
<!--@if($module_info->use_mobile =="Y" && $module_info->page_type != 'OUTSIDE')-->
<a class="btn" href="{getUrl('act','dispPageAdminMobileContent','module_srl',$module_info->module_srl)}">{$lang->mobile}</a>
<!--@end-->
</span>
</div>
<!--@end-->

View file

@ -2,12 +2,14 @@
<!--@if($grant->manager)-->
<load target="./js/page_admin.js" usecdn="true" />
<div class="btnArea">
<button class="btn" type="button" onclick="doRemoveWidgetCache({$module_info->module_srl}); return false;">{$lang->cmd_remake_cache}</button>
<!--@if($logged_info->is_admin=='Y')-->
<a class="btn" href="{getUrl('act','dispPageAdminInfo','module_srl',$module_info->module_srl)}">{$lang->cmd_setup}</a>
<!--@end-->
<a class="btn" href="{getUrl('act','dispPageAdminMobileContentModify','document_srl','')}">{$lang->cmd_page_modify}</a>
<a class="btn" href="{getUrl('act','','module_srl',$module_info->module_srl)}">PC</a>
<p>{$lang->about_mcontent}</p>
<p class="etc">{$lang->about_mcontent}</p>
<span class="btn-group">
<button class="btn" type="button" onclick="doRemoveWidgetCache({$module_info->module_srl}); return false;">{$lang->cmd_remake_cache}</button>
<!--@if($logged_info->is_admin=='Y')-->
<a class="btn" href="{getUrl('act','dispPageAdminInfo','module_srl',$module_info->module_srl)}">{$lang->cmd_setup}</a>
<!--@end-->
<a class="btn" href="{getUrl('act','dispPageAdminMobileContentModify','document_srl','')}">{$lang->cmd_page_modify}</a>
<a class="btn" href="{getUrl('act','','module_srl',$module_info->module_srl)}">PC</a>
</span>
</div>
<!--@end-->

View file

@ -14,17 +14,21 @@
<div class="btnArea" id="pageBtnArea" style="display:none;">
<div class="etc">
<input class="btn" type="button" value="{$lang->cmd_box_widget_insert}" onclick="doAddWidgetBox()" />
<input class="btn" type="button" value="{$lang->cmd_content_insert}" onclick="doAddContent('{$module_info->mid}')" />
<select name="widget_list">
<span class="btn-group">
<input class="btn" type="button" value="{$lang->cmd_box_widget_insert}" onclick="doAddWidgetBox()" />
<input class="btn" type="button" value="{$lang->cmd_content_insert}" onclick="doAddContent('{$module_info->mid}')" />
</span>
<select name="widget_list" style="margin:0;width:auto">
<!--@foreach($widget_list as $widget)-->
<option value="{$widget->widget}" <!--@if($widget->widget=='content')-->selected="selected"<!--@end-->>{$widget->title}</option>
<!--@end-->
</select>
<input class="btn" type="button" value="{$lang->cmd_insert}" onclick="doAddWidget(this.form)"/>
</div>
<input class="btn" type="submit" value="{$lang->cmd_save}"/></span>
<input class="btn" type="button" value="{$lang->cmd_remove_all_widgets}" onclick="removeAllWidget()"/>
<span class="btn-group">
<input class="btn" type="submit" value="{$lang->cmd_save}"/>
<input class="btn" type="button" value="{$lang->cmd_remove_all_widgets}" onclick="removeAllWidget()"/>
</span>
</div>
</form>

View file

@ -16,17 +16,21 @@
<div class="btnArea" id="pageBtnArea" style="display: none;">
<div class="etc">
<input class="btn" type="button" value="{$lang->cmd_box_widget_insert}" onclick="doAddWidgetBox()" />
<input class="btn" type="button" value="{$lang->cmd_content_insert}" onclick="doAddContent('{$module_info->mid}')" />
<select name="widget_list">
<span class="btn-group">
<input class="btn" type="button" value="{$lang->cmd_box_widget_insert}" onclick="doAddWidgetBox()" />
<input class="btn" type="button" value="{$lang->cmd_content_insert}" onclick="doAddContent('{$module_info->mid}')" />
</span>
<select name="widget_list" style="margin:0;width:auto">
<!--@foreach($widget_list as $widget)-->
<option value="{$widget->widget}" <!--@if($widget->widget=='content')-->selected="selected"<!--@end-->>{$widget->title}</option>
<!--@end-->
</select>
<input class="btn" type="button" value="{$lang->cmd_insert}" onclick="doAddWidget(this.form)"/>
</div>
<input class="btn" type="submit" value="{$lang->cmd_save}"/>
<input class="btn" type="button" value="{$lang->cmd_remove_all_widgets}" onclick="removeAllWidget()"/>
<span class="btn-group">
<input class="btn" type="submit" value="{$lang->cmd_save}"/>
<input class="btn" type="button" value="{$lang->cmd_remove_all_widgets}" onclick="removeAllWidget()"/>
</span>
</div>
</form>