config.css에서 div, button에 적용되던 전역 style 제거

모바일 화면에서 입구 햄버거 버튼 동작
This commit is contained in:
2018-05-05 19:48:38 +09:00
parent 69af23b60a
commit a1392652ae
5 changed files with 29 additions and 44 deletions
+10 -24
View File
@@ -1,8 +1,9 @@
@charset "utf-8"; @charset "utf-8";
* { margin: 0px; padding: 0px; } body {
body { color:white; background-color:black; border-width:1px; border-color:gray; } color:white; background-color:black; font-family: '맑은 고딕';
table { }
table {
border: solid 1px; border-spacing: 0px; border-collapse: separate; border-top-color: gray; border-left-color: gray; border-right-color: black; border-bottom-color: black; border: solid 1px; border-spacing: 0px; border-collapse: separate; border-top-color: gray; border-left-color: gray; border-right-color: black; border-bottom-color: black;
padding: 0px; padding: 0px;
font-size: 13px; font-size: 13px;
@@ -23,13 +24,6 @@ a.just_link {
text-decoration: none; text-decoration: none;
} }
div {
margin:0px;
padding: 0px;
word-break: break-all;
font-family: '맑은 고딕';
}
.with_border{ .with_border{
border: solid 1px; border: solid 1px;
border-spacing: 0px; border-spacing: 0px;
@@ -58,8 +52,6 @@ div {
font-family: '맑은 고딕';; font-family: '맑은 고딕';;
} }
font { font-family: '맑은 고딕';}
.obj_fill{ .obj_fill{
display:block; display:block;
width:100%; width:100%;
@@ -72,24 +64,18 @@ button.with_skin {
font-size: 13px; font-size: 13px;
} }
button.with_skin:disabled {
background-color:#333333;
}
input.with_skin { input.with_skin {
background-color: black; color: white; background-color: black; color: white;
font-family: '맑은 고딕'; font-family: '맑은 고딕';
font-size: 13px; font-size: 13px;
} }
select { input.with_skin:disabled {
width: 100px; height: 18px; background-color: #333333;
background-color: black; color: white;
font-family: '맑은 고딕';
font-size: 13px;
}
button {
width: 100px; height: 20px;
background-color: black; color: white;
font-family: '맑은 고딕';
font-size: 13px;
line-height:1.3;
} }
.font0 { font-size: 10px; } .font0 { font-size: 10px; }
+6 -8
View File
@@ -21,6 +21,7 @@
right: 6px; right: 6px;
margin:6px; margin:6px;
height:40px; height:40px;
line-height:40px;
} }
#btn_delete_me{ #btn_delete_me{
@@ -37,15 +38,15 @@
#image_upload_filename{ #image_upload_filename{
position:absolute; position:absolute;
height:16px; height:20px;
left:10px; left:10px;
width:130px; width:130px;
top:16px; top:12px;
} }
#image_upload_fake_btn{ #image_upload_fake_btn{
top:16px; top:12px;
height:20px; height:22px;
right:10px; right:10px;
position:absolute; position:absolute;
} }
@@ -53,8 +54,7 @@
#image_upload{ #image_upload{
opacity: 0; opacity: 0;
position:absolute; position:absolute;
top:16px; top:12px;
height:22px;
left:0; left:0;
height:20px; height:20px;
width:100%; width:100%;
@@ -70,7 +70,6 @@
bottom:0; bottom:0;
left:0; left:0;
width:50%; width:50%;
height:20px;
} }
#btn_remove_icon{ #btn_remove_icon{
@@ -78,7 +77,6 @@
bottom:0; bottom:0;
right:0; right:0;
width:50%; width:50%;
height:20px;
} }
#third_use_disallow{ #third_use_disallow{
+1 -1
View File
@@ -23,12 +23,12 @@ $userGrade = $session->userGrade;
<link type="text/css" rel="stylesheet" href="../e_lib/bootstrap.min.css"> <link type="text/css" rel="stylesheet" href="../e_lib/bootstrap.min.css">
<link type="text/css" rel="stylesheet" href='../d_shared/common.css'> <link type="text/css" rel="stylesheet" href='../d_shared/common.css'>
<link type="text/css" rel="stylesheet" href='../css/config.css'> <link type="text/css" rel="stylesheet" href='../css/config.css'>
<link type="text/css" rel="stylesheet" href='../css/entrance.css'> <link type="text/css" rel="stylesheet" href='../css/entrance.css'>
<!-- 액션 --> <!-- 액션 -->
<script type="text/javascript" src='../js/common.js'></script> <script type="text/javascript" src='../js/common.js'></script>
<script type="text/javascript" src='../e_lib/jquery-3.2.1.min.js'></script> <script type="text/javascript" src='../e_lib/jquery-3.2.1.min.js'></script>
<script type="text/javascript" src='../e_lib/bootstrap.bundle.min.js'></script>
<script type="text/javascript" src='../js/func.js'></script> <script type="text/javascript" src='../js/func.js'></script>
<script type="text/javascript" src='../js/entrance.js'></script> <script type="text/javascript" src='../js/entrance.js'></script>
<script src="../d_shared/menu.js"></script> <script src="../d_shared/menu.js"></script>
+2 -1
View File
@@ -15,6 +15,7 @@
<script src='../d_shared/common_path.js'></script> <script src='../d_shared/common_path.js'></script>
<script type="text/javascript" src='../js/common.js'></script> <script type="text/javascript" src='../js/common.js'></script>
<script type="text/javascript" src='../e_lib/jquery-3.2.1.min.js'></script> <script type="text/javascript" src='../e_lib/jquery-3.2.1.min.js'></script>
<script type="text/javascript" src='../e_lib/bootstrap.bundle.min.js'></script>
<script type="text/javascript" src='../e_lib/sha512.min.js'></script> <script type="text/javascript" src='../e_lib/sha512.min.js'></script>
<script type="text/javascript" src='../js/func.js'></script> <script type="text/javascript" src='../js/func.js'></script>
<script type="text/javascript" src='../js/user_info.js'></script> <script type="text/javascript" src='../js/user_info.js'></script>
@@ -36,7 +37,7 @@
<table class="bg0" id="user_info_table"> <table class="bg0" id="user_info_table">
<caption class="bg2 section_title with_border"> <caption class="bg2 section_title with_border">
계 정 관 리 계 정 관 리
<a href="entrance.php"><button id="btn_back1" >돌아가기</button></a> <a href="entrance.php"><button id="btn_back1" class="with_skin">돌아가기</button></a>
</caption> </caption>
<colgroup> <colgroup>
<col style="width:80px;" /> <col style="width:80px;" />
+10 -10
View File
@@ -4,13 +4,13 @@ var serverAdminTemplate = '\
<th style="color:<%color%>;"><%korName%>(<%name%>)</th>\ <th style="color:<%color%>;"><%korName%>(<%name%>)</th>\
<td><%status%></td>\ <td><%status%></td>\
<td><%version%></td>\ <td><%version%></td>\
<td><button class="valid_if_set with_border obj_fill" onclick="modifyServerStatus(this, \'close\');">폐쇄</button></td>\ <td><button class="with_skin valid_if_set with_border obj_fill" onclick="modifyServerStatus(this, \'close\');">폐쇄</button></td>\
<td><button class="valid_if_set with_border obj_fill" onclick="modifyServerStatus(this, \'open\');">오픈</button></td>\ <td><button class="with_skin valid_if_set with_border obj_fill" onclick="modifyServerStatus(this, \'open\');">오픈</button></td>\
<td><a class="just_link" href="../<%name%>/install.php"><button class="valid_if_set with_border obj_fill">리셋</button></a></td>\ <td><a class="just_link" href="../<%name%>/install.php"><button class="with_skin valid_if_set with_border obj_fill">리셋</button></a></td>\
<td><a class="just_link" href="../<%name%>/install_db.php"><button class="valid_if_installed only_admin with_border obj_fill">하드리셋</button></a></td>\ <td><a class="just_link" href="../<%name%>/install_db.php"><button class="with_skin valid_if_installed only_admin with_border obj_fill">하드리셋</button></a></td>\
<td><button class="valid_if_set with_border obj_fill" onclick="Entrance_AdminClosedLogin(this);">폐쇄중 로그인</button></td>\ <td><button class="with_skin valid_if_set with_border obj_fill" onclick="Entrance_AdminClosedLogin(this);">폐쇄중 로그인</button></td>\
<td><button class="valid_if_set with_border obj_fill" onclick="Entrance_AdminOpen119(this);">서버119</button></td>\ <td><button class="with_skin valid_if_set with_border obj_fill" onclick="Entrance_AdminOpen119(this);">서버119</button></td>\
<td><button class="only_admin with_border obj_fill" onclick="serverUpdate(this);">업데이트</button></td>\ <td><button class="with_skin only_admin with_border obj_fill" onclick="serverUpdate(this);">업데이트</button></td>\
</tr>\ </tr>\
'; ';
@@ -77,14 +77,14 @@ function drawServerAdminList(serverList){
var $tr = $(TemplateEngine(serverAdminTemplate, server)); var $tr = $(TemplateEngine(serverAdminTemplate, server));
$table.append($tr); $table.append($tr);
if(!server.valid){ if(!server.valid){
$tr.find('.valid_if_set').css('background','#333333').prop('disabled', true); $tr.find('.valid_if_set').prop('disabled', true);
} }
if(!server.installed){ if(!server.installed){
$tr.find('.valid_if_installed').css('background','#333333').prop('disabled', true); $tr.find('.valid_if_installed').prop('disabled', true);
} }
}); });
if(serverList.grade == 5){ if(serverList.grade == 5){
$table.find('.only_admin').css('background','#333333').prop('disabled', true); $table.find('.only_admin').prop('disabled', true);
} }
} }