From 537a4f5b3c98ff6d3485d733e8cd2d29d7c27f97 Mon Sep 17 00:00:00 2001 From: "james.zhao" Date: Mon, 8 Apr 2019 18:43:00 +0800 Subject: [PATCH] update css --- .../static/templates/cbpay/css/gateway_test.css | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/main/ui/static/templates/cbpay/css/gateway_test.css b/src/main/ui/static/templates/cbpay/css/gateway_test.css index 6782735ae..c47e011fb 100644 --- a/src/main/ui/static/templates/cbpay/css/gateway_test.css +++ b/src/main/ui/static/templates/cbpay/css/gateway_test.css @@ -2,19 +2,20 @@ width:100%; height:100%; /*position: fixed;*/ - background: url("../img/gateway_bg.png"); + background: url("../img/gateway_bg.png") no-repeat center center fixed;; top: 0; bottom: 0; right: 0; left: 0; z-index: -1; overflow-y: auto; - background-size:100% 100%; + /*background-size:100% 100%;*/ display: flex; justify-content: center; align-items: center; align-content: center; flex-direction: column; + background-size: cover; } .head-bar{ @@ -29,16 +30,16 @@ } .order-box{ - height: 650px; + height: 620px; width: 800px; - margin: 2% auto; + /*margin: 2% auto;*/ /*box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.21);*/ } .order-box-bank{ - height: 900px; + height: 600px; width: 800px; - margin: 2% auto; + /*margin: 2% auto;*/ /*box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.21);*/ } @@ -93,7 +94,7 @@ background: #FFFFFF; width:60%; float: right; - height: 90%; + height: 130%; padding: 20px 40px; } .order-box .brand{ @@ -125,7 +126,7 @@ .order-box .brand-bank img{ width: 246px; height: 51px; - margin-top: 3% + margin-top: 2% } .order-box .right .title {