作者 Karson

修复登录页背景图错误

@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 <style type="text/css"> 6 <style type="text/css">
7 body { 7 body {
8 color: #999; 8 color: #999;
9 - background: #f1f4fd url('{$background}'); 9 + background-color: #f1f4fd;
10 background-size: cover; 10 background-size: cover;
11 } 11 }
12 12
@@ -71,7 +71,20 @@ @@ -71,7 +71,20 @@
71 margin-bottom: 15px; 71 margin-bottom: 15px;
72 } 72 }
73 73
  74 + #login-form .form-control {
  75 + font-size: 13px;
  76 + }
  77 +
74 </style> 78 </style>
  79 + <!--@formatter:off-->
  80 + {if $background}
  81 + <style type="text/css">
  82 + body{
  83 + background-image: url('{$background}');
  84 + }
  85 + </style>
  86 + {/if}
  87 + <!--@formatter:on-->
75 </head> 88 </head>
76 <body> 89 <body>
77 <div class="container"> 90 <div class="container">