]> _ Git - c6-wordpress.git/commitdiff
wait #7095 @1:00
authorsoufiane <soufiane@cubedesigners.com>
Mon, 23 Sep 2024 14:24:14 +0000 (16:24 +0200)
committersoufiane <soufiane@cubedesigners.com>
Mon, 23 Sep 2024 14:24:14 +0000 (16:24 +0200)
wp-content/themes/c6/resources/assets/styles/components/navigation-offcanvas.styl
wp-content/themes/c6/resources/assets/styles/components/navigation.styl

index 295c0ac7e14bb477808c278edb8b27b8e65d36fe..74848a364e3e78e13c4b7b8ff53ea9497d086f63 100644 (file)
       // Otherwise the gap above the submenu looks a bit too big
       margin-top: -0.25em
 
-    ul a // Second level links
-      padding-left: 40px
-      color: #bbb
-      font-weight: normal
-      text-transform: none
+    ul
+      a // Second level links
+        padding-left: 40px
+        color: #bbb
+        font-weight: normal
+        text-transform: none
+      ul
+        a
+          padding-left: 70px
 
   a
     font-smoothing()
index 944266f3accf2bd1590f1e315a078e1d017c6184..4b2ca08cfb1a99769e280a26c34e272cb5de0fb6 100644 (file)
     > li
       position: relative
 
+    li
       // Sub menu display
       &:hover
-        .sub-menu
+        .sub-menu
           display: block
           animation: fade-in 0.3s
 
     .current_page_item
       border-bottom: none
 
+    .sub-menu
+      left: 100%
+      top: -2px
+
     li
       white-space: nowrap
       display: block
       width: 100%
       padding-bottom: 0
       margin: 0
+      position: relative
 
     a
       font-smoothing-reset()