浏览代码

Use the height variables to fix the calculations using them

Uwe Koloska 2 年前
父节点
当前提交
ee5ea8cad0
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 5
    3
      business_theme_v14/public/css/business_theme_v14.css

+ 5
- 3
business_theme_v14/public/css/business_theme_v14.css 查看文件

142
     --black-color: #000000;
142
     --black-color: #000000;
143
     --gray-color: #888;
143
     --gray-color: #888;
144
 
144
 
145
+    --page-head-height: 50px;
146
+    --navbar-height: 50px;
145
 }
147
 }
146
 .btn-primary:active,
148
 .btn-primary:active,
147
 .btn-secondary:focus,
149
 .btn-secondary:focus,
168
 } */
170
 } */
169
 .page-head,
171
 .page-head,
170
 .page-head .page-head-content{
172
 .page-head .page-head-content{
171
-    height: 50px;
173
+    height: var(--page-head-height);
172
 }
174
 }
173
 .page-head,
175
 .page-head,
174
 .page-head .page-head-content{
176
 .page-head .page-head-content{
175
-    top: 50px;
177
+    top: var(--page-head-height);
176
 }
178
 }
177
 
179
 
178
 
180
 
180
 /* Top Header */
182
 /* Top Header */
181
 .navbar{
183
 .navbar{
182
     background: var(--background-color) !important;
184
     background: var(--background-color) !important;
183
-    height: 50px;
185
+    height: var(--navbar-height);
184
 }
186
 }
185
 .navbar-expand{
187
 .navbar-expand{
186
     background-color: var(--background-color);
188
     background-color: var(--background-color);