Browse Source

생치 재택 구분 css 수정

huiwonseo 4 years ago
parent
commit
d4b5b55547
1 changed files with 10 additions and 4 deletions
  1. 10 4
      src/main/webapp/WEB-INF/jsp/mobile/login/login.jsp

+ 10 - 4
src/main/webapp/WEB-INF/jsp/mobile/login/login.jsp

@@ -10,6 +10,9 @@ var redirectUrl;
 
 $( function(){
     $( "#locationList option[value='98']" ).remove();
+    if( setLocale != 'ko' ) {
+        $( ".center-type-ul li label" ).css( "font-size", "16px" );
+    }
     // $( "#ex_select" ).siblings('label').text( $( "#ex_select" ).children('option:selected').text() );
     
     $.validator.addMethod('selectcheck', function (value) {
@@ -152,6 +155,10 @@ $( function(){
 });
 
 function setCenterType( type ){
+  $("ul.center-type-ul li").css("border-bottom", "none");
+  $("input[name='centerType']:checked").parent("li").css("border-bottom", "1px solid #426ddb");
+  $("ul.center-type-ul li").height($("ul.center-type-ul").height() - 1);
+
   $( "#centerList option:not([value='0'])" ).appendTo( "#hideList2" );
   console.log( " type :::: " + type );
   $( "#hideList option[data-center-type='"+type+"']").appendTo("#centerList");
@@ -242,20 +249,19 @@ function autoLogin(){
 
 .center-type-ul li input[type="radio"] + label {
   font-size:17px;
-    height: 50px;
+    /* height: 50px; */
     width: 100%;
     display: inline-block;
     margin: 0;
     padding: 0 5px;
     vertical-align: top;
-    line-height: 50px;
+    /* line-height: 50px; */
     color:#9e9e9e;
+    padding: 20px 0 15px 0;
 }
 
 .center-type-ul li input[type="radio"]:checked + label {
 color: #426ddb;
-border-bottom:1px solid #426ddb;
-transition: 0.5s;
 }
 </style>
 </head>