ソースを参照

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