Changes for page Public Web Site

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

From version 10.15
edited by Agnease
on 2026/05/19 06:17
Change comment: There is no comment for this version
To version 10.37
edited by Agnease
on 2026/05/19 07:35
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[1]
code
... ... @@ -1,39 +1,55 @@
1 1  /* ========== Agnease Public Top Menu ========== */
2 2  
3 -.agnease-menu-item {
4 - .dropdown-toggle {
5 - font-weight: inherit;
6 - font-size: inherit;
3 +/* Desktop alignment */
4 +#menuview .navbar-nav {
5 + float: right !important;
6 +}
7 +
8 +/* Top-level menu items */
9 +
10 +.agnease-menu-item,
11 +.agnease-menu-link {
12 + > a,
13 + > .dropdown-toggle {
14 + color: @brand;
15 + font-size: 17px;
16 + font-weight: 600;
17 + padding-left: 16px;
18 + padding-right: 16px;
19 + text-decoration: none;
7 7   }
8 8  
22 + > a:hover,
23 + > a:focus,
24 + > a:active,
25 + &.open > a,
26 + &.active > a {
27 + color: @brand-strong;
28 + text-decoration: none;
29 + outline: none;
30 + }
31 +
9 9   .caret {
10 - margin-left: 4px;
33 + margin-left: 5px;
11 11   border-top-color: @brand;
12 12   border-bottom-color: @brand;
13 13   }
14 14  
15 - &.open > .dropdown-toggle,
16 - .dropdown-toggle:hover,
17 - .dropdown-toggle:focus {
18 - color: @brand-strong;
19 - background: transparent;
20 - background-color: transparent;
21 - box-shadow: none;
22 - }
23 -
24 - &.open > .dropdown-toggle .caret,
25 - .dropdown-toggle:hover .caret,
26 - .dropdown-toggle:focus .caret {
38 + > a:hover .caret,
39 + > a:focus .caret,
40 + > a:active .caret,
41 + &.open > a .caret,
42 + &.active > a .caret {
27 27   border-top-color: @brand-strong;
28 28   border-bottom-color: @brand-strong;
29 29   }
30 30  }
31 31  
32 -/* Dropdown panels */
48 +/* Dropdown panel */
33 33  
34 34  .agnease-dropdown {
35 - min-width: 270px;
36 - padding: 8px;
51 + min-width: 310px;
52 + padding: 10px 8px;
37 37   border: 1px solid fade(@brand, 18%);
38 38   border-radius: 12px;
39 39   background: #fff;
... ... @@ -42,22 +42,21 @@
42 42   > li > a {
43 43   display: flex;
44 44   align-items: center;
45 - gap: 10px;
46 - padding: 9px 11px;
47 - border-radius: 9px;
61 + gap: 12px;
62 + padding: 11px 14px;
48 48   color: @brand;
49 - background: transparent;
50 50   white-space: nowrap;
51 - font-size: 14px;
52 - font-weight: 700;
53 - line-height: 1.25;
65 + font-size: 16px;
66 + font-weight: 600;
67 + line-height: 1.3;
68 + text-decoration: none;
54 54  
55 55   i {
56 - width: 18px;
57 - flex: 0 0 18px;
71 + width: 20px;
72 + flex: 0 0 20px;
58 58   color: @brand;
59 59   text-align: center;
60 - font-size: 14px;
75 + font-size: 15px;
61 61   }
62 62  
63 63   &:hover,
... ... @@ -64,7 +64,6 @@
64 64   &:focus,
65 65   &:active {
66 66   color: @brand-strong;
67 - background: fade(@brand, 8%);
68 68   text-decoration: none;
69 69   outline: none;
70 70  
... ... @@ -74,12 +74,8 @@
74 74   }
75 75   }
76 76  
77 - > .active > a,
78 - > .active > a:hover,
79 - > .active > a:focus {
91 + > .active > a {
80 80   color: @brand-strong;
81 - background: fade(@brand, 10%);
82 - text-decoration: none;
83 83  
84 84   i {
85 85   color: @brand-strong;
... ... @@ -87,33 +87,28 @@
87 87   }
88 88  
89 89   .divider {
90 - margin: 7px 0;
100 + margin: 8px 0;
91 91   background-color: fade(@brand, 16%);
92 92   }
93 93  }
94 94  
95 -.agnease-products-dropdown,
96 -.agnease-resources-dropdown {
97 - min-width: 260px;
98 -}
105 +/* Mobile */
99 99  
100 -/* Remove gray Bootstrap dropdown item states */
101 -.dropdown-menu > li > a:hover,
102 -.dropdown-menu > li > a:focus {
103 - background-image: none;
104 -}
105 -
106 -/* ========== Mobile Menu ========== */
107 -
108 108  @media (max-width: 767px) {
109 - .navbar-nav .open .dropdown-menu > li > a {
110 - font-size: 14px;
108 + .site-nav {
109 + margin-left: 0;
110 + justify-content: center;
111 + flex-wrap: wrap;
111 111   }
112 - .navbar-nav > li.agnease-menu-item > a,
113 - .navbar-nav > li > a {
114 - padding-top: 8px;
115 - padding-bottom: 8px;
116 -
113 +
114 + .agnease-menu-item,
115 + .agnease-menu-link {
116 + > a,
117 + > .dropdown-toggle {
118 + font-size: 16px;
119 + padding-top: 9px;
120 + padding-bottom: 9px;
121 + }
117 117   }
118 118  
119 119   .agnease-dropdown {
... ... @@ -123,31 +123,21 @@
123 123   border: 0;
124 124   border-radius: 0;
125 125   box-shadow: none;
126 - background: #fff;
131 + background: transparent;
127 127  
128 128   > li > a {
129 129   padding: 8px 10px;
130 130   white-space: normal;
131 - font-size: 14px;
132 - border-radius: 8px;
133 - color: @brand;
136 + font-size: 15px;
134 134  
135 135   i {
136 - width: 16px;
137 - flex-basis: 16px;
139 + width: 18px;
140 + flex-basis: 18px;
138 138   }
139 -
140 - &:hover,
141 - &:focus,
142 - &:active {
143 - color: @brand-strong;
144 - background: fade(@brand, 8%);
145 - }
146 146   }
147 147  
148 148   .divider {
149 149   margin: 5px 0;
150 - background-color: fade(@brand, 16%);
151 151   }
152 152   }
153 153  }