Changes for page Public Web Site

Last modified by Agnease on 2026/05/30 16:24

From version 12.7
edited by Agnease
on 2026/05/22 10:39
Change comment: There is no comment for this version
To version 12.5
edited by Agnease
on 2026/05/22 10:36
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[1]
code
... ... @@ -1,13 +1,15 @@
1 1  /* ========== Agnease Public Top Menu ========== */
2 2  
3 3  /* Desktop alignment */
4 +/* Desktop alignment */
4 4  
5 5  @media (min-width: 768px) {
6 6   #menuview {
7 - margin-left: auto;
8 + width: 100%;
8 8   }
9 9  
10 10   #menuview .navbar-collapse {
12 + width: 100%;
11 11   padding-left: 0;
12 12   padding-right: 0;
13 13   }
... ... @@ -15,8 +15,9 @@
15 15   #menuview .navbar-nav {
16 16   float: none;
17 17   display: flex;
18 - align-items: center;
19 19   justify-content: flex-end;
21 + align-items: center;
22 + width: 100%;
20 20   margin: 0;
21 21   }
22 22  
... ... @@ -27,8 +27,8 @@
27 27  
28 28  /* Top-level menu items */
29 29  
30 -#menuview .agnease-menu-item,
31 -#menuview .agnease-menu-link {
33 +.agnease-menu-item,
34 +.agnease-menu-link {
32 32   > a,
33 33   > .dropdown-toggle {
34 34   color: @brand;
... ... @@ -37,7 +37,6 @@
37 37   padding-left: 16px;
38 38   padding-right: 16px;
39 39   text-decoration: none;
40 - background: transparent;
41 41   }
42 42  
43 43   > a:hover,
... ... @@ -48,7 +48,6 @@
48 48   color: @brand-strong;
49 49   text-decoration: none;
50 50   outline: none;
51 - background: transparent;
52 52   }
53 53  
54 54   .caret {
... ... @@ -69,7 +69,7 @@
69 69  
70 70  /* Dropdown panel */
71 71  
72 -#menuview .agnease-dropdown {
73 +.agnease-dropdown {
73 73   min-width: 310px;
74 74   padding: 10px 8px;
75 75   border: 1px solid fade(@brand, 18%);
... ... @@ -88,7 +88,6 @@
88 88   font-weight: 600;
89 89   line-height: 1.3;
90 90   text-decoration: none;
91 - background: transparent;
92 92  
93 93   i {
94 94   width: 20px;
... ... @@ -104,7 +104,6 @@
104 104   color: @brand-strong;
105 105   text-decoration: none;
106 106   outline: none;
107 - background: transparent;
108 108  
109 109   i {
110 110   color: @brand-strong;
... ... @@ -114,7 +114,6 @@
114 114  
115 115   > .active > a {
116 116   color: @brand-strong;
117 - background: transparent;
118 118  
119 119   i {
120 120   color: @brand-strong;
... ... @@ -130,23 +130,14 @@
130 130  /* Mobile */
131 131  
132 132  @media (max-width: 767px) {
133 - #menuview {
131 + .site-nav {
134 134   margin-left: 0;
135 - width: 100%;
133 + justify-content: center;
134 + flex-wrap: wrap;
136 136   }
137 137  
138 - #menuview .navbar-nav {
139 - float: none;
140 - margin: 0;
141 - width: 100%;
142 - }
143 -
144 - #menuview .navbar-nav > li {
145 - float: none;
146 - }
147 -
148 - #menuview .agnease-menu-item,
149 - #menuview .agnease-menu-link {
137 + .agnease-menu-item,
138 + .agnease-menu-link {
150 150   > a,
151 151   > .dropdown-toggle {
152 152   font-size: 16px;
... ... @@ -155,7 +155,7 @@
155 155   }
156 156   }
157 157  
158 - #menuview .agnease-dropdown {
147 + .agnease-dropdown {
159 159   min-width: 0;
160 160   width: 100%;
161 161   padding: 4px 8px 8px 18px;