Browse Source

侧边栏样式调整

huangb 7 years ago
parent
commit
af52212498

+ 7 - 7
jpress-web-template-mallcms/src/main/webapp/templates/mallcms/assets/css/index.css

@@ -196,7 +196,7 @@ body{
     float: left;
     margin: 0 auto;
     height: 140px;
-    width: 200px;
+    width: 240px;
     text-align: center;
     border-right: 1px solid #435e76;
 }
@@ -207,7 +207,7 @@ body{
     border-right: none;
 }
 .adv .adv-list p{
-    margin: 30px auto 16px;
+    margin: 22px auto 12px;
     font-size: 16px;
     color: #fff;
 }
@@ -1684,19 +1684,19 @@ li.active a {
 #sidebar{
     position: fixed;
     z-index: 100;
-    right: 20px;
-    top: 0;
+    right: -42px;
+    top: 10%;
     width: 68px;
-    height: 100%;
+    height: 85%;
 }
 #sidebar .sidebar-content{
     position: absolute;
-    right: 55px;
+    right: 70px;
     top: 50%;
     transform: translateY(-50%);
     list-style: none;
     padding: 0;
-    width: 100%;
+    width: 100%
 }
 #sidebar .sidebar-content li{
     position: relative;