Browse Source

- dodanie menu na każdej z podstron(widoczne tylko dla strony głownej/ pokazywane po kliknieciu w hamburgera)
todo: jest jakiś problem z aktalizacja styli css (Piotrku zerknij
proszę)

dariusz.andryskowski 7 years ago
parent
commit
ca11513e8b
4 changed files with 98 additions and 41 deletions
  1. 0 0
      theme/assets/css/styles.css
  2. 50 8
      theme/assets/less/styles.less
  3. 3 33
      theme/view/home.php
  4. 45 0
      theme/view/top.php

File diff suppressed because it is too large
+ 0 - 0
theme/assets/css/styles.css


+ 50 - 8
theme/assets/less/styles.less

@@ -19,6 +19,7 @@ summary {
 /* MIX */
 body {
   margin: 0 0;
+  padding-bottom: 0!important;
   font-family: @font-primary;
   font-size: 17px;
   line-height: 27px;
@@ -44,6 +45,10 @@ strong {
   padding-left: 0;
   padding-right: 0;
 }
+.padding-top-bottom-25 {
+ padding-top: 25px;
+ padding-bottom: 25px;
+}
 .padding-bottom-25 {
   padding-bottom: 25px;
 }
@@ -67,6 +72,9 @@ strong {
 .text-grey {
   color: @brand-text-light;
 }
+.bg-white {
+  background-color: @brand-white!important;
+}
 
 .btn {
   padding-top: 10px;
@@ -80,12 +88,40 @@ strong {
 .border-bottom-grey {
   border-bottom: 2px solid @brand-grey;
 }
+ul.breadcrumb {
+  background-color: @brand-white;
+  li {
+    a {
+      color: @brand-dark;
+      font-weight: 700;
+
+      &:first-child:before {
+        padding-right: 5px;
+        content: "|";
+        color: @brand-primary;
+      }
+    }
+  }
+}
+
+/* menu hamburger*/
+#hamburger-menu {
+    float: right;
+    
+  .hamburger-menu-line {
+    width: 35px;
+    height: 3px;
+    background-color: @brand-dark;
+    margin: 6px 0;
+    text-align: right;
+  }
+}
 
 /** Bootstrap */
 .btn:focus,.btn:active {
   outline: none !important;
 }
-.btn-primary {
+/*.btn-primary {
   color: @brand-text;
   background-color: @brand-grey;
   border-color: @brand-grey;
@@ -153,7 +189,12 @@ strong {
   background-color: @brand-secondary;
   border-color: @brand-secondary;
 }
+*/
 
+/* Select option */
+.form-control {
+  height: 43px;
+}
 .col-centered {
   margin: 0 auto;
   float: none;
@@ -223,14 +264,13 @@ strong {
 /** Menu */
 #smad-menu-section {
 
-
   .smad-heder-title {
     color: @brand-text;
     font-weight: 700;
   }
 
   .menu-items {
-    padding-top: 35px;
+    padding-top: 20px;
     padding-bottom: 20px;
 
     .menu-item {
@@ -241,7 +281,7 @@ strong {
       display: inline-block;
 
       li {
-        padding: 0 10px;
+        padding: 0 7px;
         display: inline-block;
       }
     }
@@ -323,7 +363,6 @@ strong {
 
 /** Footer */
 footer {
-  position: fixed;
   height: 75px;
   bottom: 0;
   width: 100%;
@@ -369,7 +408,7 @@ footer {
 /**
  * Employees
  */
-#smad-employees-section {
+#smad-employees-sectionn, #smad-reaport-section  {
   /*Form Wizard*/
   .smad-wizard {
     margin-top: 0px;
@@ -516,9 +555,11 @@ footer {
   }
 
   /** form list employes */
-  .smad-employees-list-head {
+  .smad-employees-list-head, .smad-form-list-head {
     padding: 15px 0px;
     background-color: @brand-grey-light;
+    display: fix;
+
     .title {
 
     }
@@ -548,7 +589,8 @@ footer {
   }
 
   .smad-employees-bottom-navigation {
-    padding: 30px 0;
+    padding-top: 30px;
+    padding-bottom: 30px;
   }
 }
 

+ 3 - 33
theme/view/home.php

@@ -1,36 +1,5 @@
-<div class="container-fluid">
-    <div>
-        <div>
-            <div id="smad-menu-section">
-                <div class="col-md-6 padding-lr-0">
-                    <div class="menu-items">
-                        <div class="smad-heder-title menu-item"><span class="smad-line-red">|</span> RAPORTY</div>
-                        <div class="menu-item">
-                            <ul>
-                                <li><a href="index.php?_route=ViewTableAjax&namespace=default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA" title="zobacz raporty" class="btn btn-success">zobacz raporty</a></li>
-                            </ul>
-                        </div>
-                    </div>
-                </div>
-                <div class="col-md-6 padding-lr-0">
-                    <div class="menu-items">
-                        <div class="menu-item smad-heder-title"><span class="smad-line-red">|</span> BAZY DANYCH</div>
-                        <div class="menu-item">
-                            <ul>
-                                <li><a href="index.php?_route=ViewTableAjax&namespace=default_db/BI_audit_KRS/BI_audit_KRS" title="KRS" class="btn btn-success">KRS</a></li>
-                                <li><a href="index.php?_route=ViewTableAjax&namespace=default_db/BI_audit_CEIDG/BI_audit_CEIDG" title="CIDG" class="btn btn-success">CEIDG</a></li>
-                                <li><a href="index.php?_route=ViewTableAjax&namespace=default_db/BI_audit_ENERGA_RUM_KONTRAHENCI" title="RUM" class="btn btn-success">RUM</a></li>
-                                <li><a href="#" title="KSIĘGOWOŚĆ" class="btn btn-success">KSIĘGOWOŚĆ</a></li>
-                            </ul>
-                        </div>
-                    </div>
-                </div>
-            </div>
-        </div>
-    </div>
-</div>
-
-<div class="container-fluid">
+<!-- start: home -->
+<div id="smad-page-home" class="container-fluid">
     <div>
         <div>
             <div id="smad-menu-form-section" class="border-top-grey">
@@ -155,3 +124,4 @@ function clearBIAuditFormLocalStorage() {
 }
 window.delayUpdate = delayUpdate;
 </script>
+<!-- end:home -->

+ 45 - 0
theme/view/top.php

@@ -1,3 +1,4 @@
+<!-- start:top -->
 <div id="smad-header-section" class="container-fluid">
 	<div class="row">
 		<div class="col-xs-12 col-sm-2 col-md-2 col-lg-1 brand-logo">
@@ -12,11 +13,55 @@
 				</ul>
 			</div>
 			<div class="smad-top-second">
+				<div id="hamburger-menu">
+					<a href="#" title="Menu" onClick="toggledisplay('smad-menu-main');">
+					<div class="hamburger-menu-line"></div>
+					<div class="hamburger-menu-line"></div>
+					<div class="hamburger-menu-line"></div>
+				</a>
+				</div>
+				<div>
 				 <ul>
 					 <li><div class="smad-header-title">koniec sesji za:</div></li>
 					 <li><div class="smad-desc"><code id="session-timer" style="padding:2px 5px;font-weight:normal;color:#000;" title="Czas sesji">52:40</code></div></li>
 				 </ul>
+			 </div>
 			</div>
 		</div>
 	</div>
 </div>
+<!-- end:top -->
+<!-- start:menu -->
+<div id="smad-menu-main" class="container-fluid" style="display:none;">
+    <div>
+        <div>
+            <div id="smad-menu-section">
+                <div class="col-md-6 padding-lr-0">
+                    <div class="menu-items">
+                        <div class="smad-heder-title menu-item"><span class="smad-line-red">|</span> RAPORTY</div>
+                        <div class="menu-item">
+                            <ul>
+                                <li><a href="index.php?_route=ViewTableAjax&namespace=default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA" title="zobacz raporty" class="btn btn-success">zobacz raporty</a></li>
+                            </ul>
+                        </div>
+                    </div>
+                </div>
+                <div class="col-md-6 padding-lr-0">
+                    <div class="menu-items">
+                        <div class="menu-item smad-heder-title"><span class="smad-line-red">|</span> BAZY DANYCH</div>
+                        <div class="menu-item">
+                            <ul>
+                                <li><a href="index.php?_route=ViewTableAjax&namespace=default_db/BI_audit_KRS/BI_audit_KRS" title="KRS" class="btn btn-success">KRS</a></li>
+                                <li><a href="index.php?_route=ViewTableAjax&namespace=default_db/BI_audit_CEIDG/BI_audit_CEIDG" title="CIDG" class="btn btn-success">CEIDG</a></li>
+                                <li><a href="index.php?_route=ViewTableAjax&namespace=default_db/BI_audit_ENERGA_RUM_KONTRAHENCI" title="RUM" class="btn btn-success">RUM</a></li>
+                                <li><a href="#" title="KSIĘGOWOŚĆ" class="btn btn-success">KSIĘGOWOŚĆ</a></li>
+                            </ul>
+                        </div>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+</div>
+
+<!-- end:menu -->

Some files were not shown because too many files changed in this diff