浏览代码

修复登录页背景图错误

Karson 5 年之前
父节点
当前提交
4f7b083e8d
共有 1 个文件被更改,包括 14 次插入1 次删除
  1. 14 1
      application/admin/view/index/login.html

+ 14 - 1
application/admin/view/index/login.html

@@ -6,7 +6,7 @@
     <style type="text/css">
     <style type="text/css">
         body {
         body {
             color: #999;
             color: #999;
-            background: #f1f4fd url('{$background}');
+            background-color: #f1f4fd;
             background-size: cover;
             background-size: cover;
         }
         }
 
 
@@ -71,7 +71,20 @@
             margin-bottom: 15px;
             margin-bottom: 15px;
         }
         }
 
 
+        #login-form .form-control {
+            font-size: 13px;
+        }
+
     </style>
     </style>
+    <!--@formatter:off-->
+    {if $background}
+        <style type="text/css">
+            body{
+                background-image: url('{$background}');
+            }
+        </style>
+    {/if}
+    <!--@formatter:on-->
 </head>
 </head>
 <body>
 <body>
 <div class="container">
 <div class="container">