Pārlūkot izejas kodu

로그인 팝업 창 추가

whakdo963 2 gadi atpakaļ
vecāks
revīzija
bc81f5ffbb

+ 3 - 1
src/main/webapp/mobile/app/login.html

@@ -62,7 +62,8 @@
62 62
       </form>
63 63
     </div>
64 64
   <script src="../js/app/login.js?version=20210826"></script>
65
-  <div id="ITP_MODAL_ALERT_AJAX" class="modal itp_modal">
65
+  <footer id="ITP_FOOTER">
66
+  <div id="ITP_MODAL_ALERT_AJAX" class="modal itp_modal" style="display:block;">
66 67
     <div class="modal-dialog modal-sm">
67 68
       <div class="modal-content">
68 69
         <div class="modal-header">
@@ -78,5 +79,6 @@
78 79
       </div>
79 80
     </div>
80 81
   </div>
82
+  </footer>
81 83
 </html>
82 84
 

+ 59 - 2
src/main/webapp/mobile/css/style.css

@@ -6,7 +6,7 @@
6 6
 }
7 7
 * {margin: 0; padding: 0; box-sizing: border-box; text-align: center; font-family: 'GmarketSansMedium', 'serif'; list-style: none;}
8 8
 section {}
9
-body{background: #fff; position: relative; width: 100%; height: auto; font-family: 'GmarketSansMedium';}
9
+body{background: #fff; position: fixed; width: 100%; height: auto; font-family: 'GmarketSansMedium';}
10 10
 .color-gray {color:#aaa;}
11 11
 /* 팝업 */
12 12
 section .popup { position: fixed; width: 100%; height: 100%; background: transparent; z-index: 11;}
@@ -496,8 +496,65 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
496 496
 	.content .line div.date_to input {width:45%}
497 497
 	.content .line {margin:-5px 3%;}
498 498
 	.content .line .float_left.name {width:76%;}
499
-	
499
+	.modal-dialog {margin:auto 20% !important; }
500 500
 }
501 501
 /* 알림 팝업 추가 */
502 502
 .modal {position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1050; display: none; overflow: hidden; outline: 0;}
503 503
 .itp_modal {z-index: 10000;}
504
+.modal-dialog {
505
+    position: relative;
506
+    width: auto;
507
+    top:30%;
508
+    margin: 10px;
509
+}
510
+.modal-content {
511
+    position: relative;
512
+    background-color: #fff;
513
+    background-clip: padding-box;
514
+    border: 1px solid #999;
515
+    border: 1px solid rgba(0,0,0,.2);
516
+    border-radius: 6px;
517
+    outline: 0;
518
+    box-shadow: 0 3px 9px rgb(0 0 0 / 50%);
519
+}
520
+.modal-header {
521
+    min-height: 16.43px;
522
+    padding: 15px;
523
+    border-bottom: 1px solid #e5e5e5;
524
+    padding: 12px 15px 12px 15px;
525
+    background: #337ab7;
526
+    cursor: move;
527
+}
528
+.modal-header .close {
529
+    margin-top: -2px;
530
+    color: #fff;
531
+    opacity: 1;
532
+}
533
+button.close {
534
+    -webkit-appearance: none;
535
+    padding: 0;
536
+    cursor: pointer;
537
+    background: 0 0;
538
+    border: 0;
539
+}
540
+.close {
541
+    float: right;
542
+    font-size: 21px;
543
+    font-weight: 700;
544
+    line-height: 1;
545
+    text-shadow: 0 1px 0 #fff;
546
+}
547
+.modal-body {
548
+    position: relative;
549
+    padding: 15px;
550
+}
551
+.modal-footer {
552
+    padding: 15px;
553
+    text-align: right;
554
+    border-top: 1px solid #e5e5e5;
555
+}
556
+.modal-footer .btn {
557
+	border-radius:6px;
558
+    padding: 6px 12px;
559
+}
560
+