버튼 대체 css 추가. form 일부 제거

This commit is contained in:
2018-07-03 02:55:45 +09:00
parent 6c66fcdfc3
commit 4c25d2275c
2 changed files with 78 additions and 9 deletions
+74
View File
@@ -89,4 +89,78 @@ input.with_skin:disabled {
caption.section_title {
caption-side:top;
}
.samButton{
float:left;
display:block;
padding:0;
margin:0;
text-decoration: none;
position:relative;
}
a.samButton.disabled {
pointer-events: none;
cursor: default;
}
.samButtonOuter{
display: table;
border: outset 2px white;
box-sizing: border-box;
font-weight:bold;
padding: 1px 6px;
width:125px;
height:30px;
background-color:#000000;
color:#ffffff;
}
.samButtonOuter:active{
border: inset 2px white;
}
.samButtonInner{
display: table-cell;
vertical-align: middle;
width: 100%;
margin: 0 auto;
text-align: center;
user-select: none;
}
.samToolbarButton > .samButtonOuter{
width:125px;
height:30px;
background-color:#225500;
color:white;
}
.samToolbarButton2 > .samButtonOuter{
width:125px;
height:30px;
background-color:#225500;
color:magenta;
}
.samCommandButton > .samButtonOuter{
width:111px;
height:30px;
}
.samCommandButton.disabled > .samButtonOuter{
background-color:transparent !important;
color:gray !important;
border-color:transparent !important;
}
.samCommandButton.disabled > .samButtonOuter > .samButtonInner::before{
content:'【'
}
.samCommandButton.disabled > .samButtonOuter > .samButtonInner::after{
content:'】'
}
+4 -9
View File
@@ -29,7 +29,7 @@ increaseRefresh("왕조일람", 1);
<body>
<table align=center width=1000 class="tb_layout bg0">
<tr><td>역 대 왕 조<br>
<input type=button value='창 닫기' onclick=window.close()><br>
<button onclick=window.close()>창 닫기</button><br>
</td></tr>
</table>
@@ -48,16 +48,13 @@ if ($select == 0) {
<table align=center width=1000 class='tb_layout bg0'>
<tr>
<td bgcolor=skyblue align=center colspan=8>
<form action=a_emperior.php method=get>
<font size=5><?=$emperior['phase']?></font>
<input type=submit value='자세히'>
<input type=hidden name=select value='<?=$emperior['no']?>'>
<a href="a_emperior.php?select=<?=$emperior['no']?>"><button>자세히</button></a>
<?php if($emperior['server_id']): ?>
<a href="a_history.php?serverID=<?=$emperior['server_id']?>"><button type="button">역사 보기</button></a>
<a href="a_history.php?serverID=<?=$emperior['server_id']?>"><button>역사 보기</button></a>
<?php endif ?>
</form>
</td>
</tr>
<tr>
@@ -108,10 +105,8 @@ $emperior = $db->queryFirstRow('SELECT * FROM emperior WHERE `no`=%i',$select);
<table align=center width=1000 class='tb_layout bg0'>
<tr>
<td bgcolor=skyblue align=center colspan=6>
<form action=a_emperior.php method=get>
<font size=5><?=$emperior['phase']?></font>
<input type=submit value='전체보기'>
</form>
<a href="a_emperior.php"><button>전체보기</button></a>
</td>
</tr>
<tr>