ouidade 3 rokov pred
rodič
commit
0b2878a290

+ 11 - 6
web/themes/custom/eql/css-compiled/styles.css

@@ -1988,21 +1988,26 @@ a {
       list-style: none;
       display: flex;
       flex-direction: row;
-      width: 100%; }
+      justify-content: space-around;
+      width: 100%;
+      padding: 0.5rem; }
       #header-top .region-header-top-left ul .is-active {
         color: #009ee3; }
       #header-top .region-header-top-left ul ul {
         display: flex;
         flex-direction: column;
-        padding: 1rem; }
+        padding: 0.5rem; }
         #header-top .region-header-top-left ul ul .is-active {
           color: #009ee3; }
       #header-top .region-header-top-left ul li {
         display: flex;
         flex-direction: column;
-        padding: 1rem; }
+        padding: 0.5rem;
+        align-items: center;
+        min-width: 260px; }
         #header-top .region-header-top-left ul li a {
-          color: black; }
+          color: black;
+          text-align: center; }
         #header-top .region-header-top-left ul li .is-active {
           color: #009ee3; }
         #header-top .region-header-top-left ul li :hover {
@@ -2010,9 +2015,9 @@ a {
     #header-top .region-header-top-left ul ul {
       display: none; }
     #header-top .region-header-top-left :hover ul ul {
-      display: block;
+      display: flex;
       background-color: white;
-      padding: 0.2rem; }
+      justify-content: space-around; }
       #header-top .region-header-top-left :hover ul ul .is-active {
         color: #009ee3; }
       #header-top .region-header-top-left :hover ul ul a {

+ 13 - 4
web/themes/custom/eql/scss/partials/_header.scss

@@ -78,14 +78,18 @@
             list-style: none;
             display: flex;
             flex-direction: row;
+            justify-content: space-around;
             width: 100%;
+            padding: 0.5rem;
+           
             .is-active{
                 color:$blue-light;
             }
             ul{
                 display: flex;
                 flex-direction: column;
-                padding: 1rem;
+                // padding: 1rem;
+                padding: 0.5rem;
                 .is-active{
                     color:$blue-light;
                 }
@@ -93,9 +97,13 @@
             li{
                 display: flex;
                 flex-direction: column;
-                padding: 1rem;
+                padding: 0.5rem;
+                align-items: center;
+                min-width: 260px;
                 a {
                     color: $black;
+                    text-align: center;
+
                 }
                 .is-active{
                     color:$blue-light;
@@ -112,9 +120,10 @@
 
         :hover ul{
             ul{
-                display: block;
+                display: flex;
                 background-color: $white;
-                padding: 0.2rem;
+                justify-content: space-around;
+                // padding: 0.5rem;
                 .is-active{
                     color:$blue-light;
                 }