사용자:필드셋 스타일

This commit is contained in:
whitedot
2013-01-04 14:39:59 +09:00
parent 3e6c61f3db
commit 308be0e1ce
3 changed files with 9 additions and 5 deletions

View File

@ -23,11 +23,14 @@ td {padding:10px 0;border-top:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;
/* 필드셋 */
fieldset {margin-bottom:20px;padding:13px;border:1px solid #dedace;background:#fff}
legend {margin-left:0;padding:7px 10px;border:1px solid #dedace;background:#f0f0ed}
fieldset .fieldset_input {padding:3px;border:1px solid #ddd;background:#f0f0ed;vertical-align:middle}
fieldset .fieldset_input:focus {padding:4px;border:0;background:#494946;color:#fff}
fieldset select {padding:2px;border:1px solid #ddd;background:#f0f0ed;vertical-align:middle}
fieldset span {display:inline-block;margin-right:10px;padding-right:10px;border-right:1px solid #ddd;vertical-align:middle}
fieldset button,
.fieldset_submit {padding:0 15px;height:23px;border:0;background:#494946;color:#fff;font-size:0.8em;line-height:2.1em;vertical-align:middle;cursor:pointer}
.fieldset_submit {padding:0 15px;height:23px;border:0;background:#494946;color:#fff;font-size:0.8em;line-height:1.9em;vertical-align:middle;cursor:pointer}
fieldset button:focus,
.fieldset_submit:focus {padding:0 15px;height:23px;border:0;background:#555;color:#fff;font-size:0.8em;line-height:2.1em;vertical-align:middle}
.fieldset_submit:focus {padding:0 15px;height:23px;border:0;background:#555;color:#fff;font-size:0.8em;line-height:1.9em;vertical-align:middle}
.readonly {background:#ff3061}
/* 이미지 등비율 리사이징 */

View File

@ -15,7 +15,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<option value="c">코멘트만
</select>
<label for="mb_id">회원아이디</label>
<input type="text" id="mb_id" name="mb_id" value="<?=$mb_id?>">
<input type="text" id="mb_id" name="mb_id" class="fieldset_input" value="<?=$mb_id?>">
<input type="submit" class="fieldset_submit" value="검색">
<script>
function select_change()

View File

@ -5,6 +5,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<form name="fsearch" method="get" onsubmit="return fsearch_submit(this);">
<input type="hidden" name="srows" value="<?=$srows?>">
<fieldset>
<legend>상세검색</legend>
<?=$group_select?>
<script>document.getElementById("gr_id").value = "<?=$gr_id?>";</script>
@ -16,9 +17,9 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<option value="wr_name">이름</option>
</select>
<input type="text" name="stx" value="<?=$text_stx?>" maxlength="20" required>
<input type="text" name="stx" class="fieldset_input" value="<?=$text_stx?>" maxlength="20" required>
<input type="submit" value="검색">
<input type="submit" class="fieldset_submit" value="검색">
<script>
document.fsearch.sfl.value = "<?=$sfl?>";