Changes for page Public Web Site

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

From version 10.10
edited by Agnease
on 2026/05/19 06:03
Change comment: There is no comment for this version
To version 8.24
edited by Agnease
on 2026/05/19 03:47
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[1]
code
... ... @@ -8,8 +8,6 @@
8 8  
9 9   .caret {
10 10   margin-left: 4px;
11 - border-top-color: @brand;
12 - border-bottom-color: @brand;
13 13   }
14 14  
15 15   &.open > .dropdown-toggle,
... ... @@ -20,24 +20,26 @@
20 20   background-color: transparent;
21 21   box-shadow: none;
22 22   }
21 +}
23 23  
24 - &.open > .dropdown-toggle .caret,
25 - .dropdown-toggle:hover .caret,
26 - .dropdown-toggle:focus .caret {
27 - border-top-color: @brand-strong;
28 - border-bottom-color: @brand-strong;
29 - }
23 +.navbar-nav > li.agnease-menu-item > a,
24 +.navbar-nav > li.agnease-menu-item > a:hover,
25 +.navbar-nav > li.agnease-menu-item > a:focus,
26 +.navbar-nav > li.agnease-menu-item.open > a,
27 +.navbar-nav > li.agnease-menu-item.open > a:hover,
28 +.navbar-nav > li.agnease-menu-item.open > a:focus {
29 + background: transparent;
30 + background-color: transparent;
31 + color: @brand-strong;
32 + box-shadow: none;
30 30  }
31 31  
32 -/* Dropdown panels */
33 -
34 34  .agnease-dropdown {
35 35   min-width: 270px;
36 36   padding: 8px;
37 - border: 1px solid fade(@brand, 18%);
38 + border: 1px solid @line;
38 38   border-radius: 12px;
39 - background: #fff;
40 - box-shadow: 0 12px 32px fade(@brand-strong, 12%);
40 + box-shadow: 0 12px 32px rgba(0, 0, 0, .10);
41 41  
42 42   > li > a {
43 43   display: flex;
... ... @@ -45,11 +45,10 @@
45 45   gap: 10px;
46 46   padding: 9px 11px;
47 47   border-radius: 9px;
48 - color: @brand;
49 - background: transparent;
48 + color: @text;
50 50   white-space: nowrap;
51 51   font-size: 14px;
52 - font-weight: 700;
51 + font-weight: 600;
53 53   line-height: 1.25;
54 54  
55 55   i {
... ... @@ -61,12 +61,10 @@
61 61   }
62 62  
63 63   &:hover,
64 - &:focus,
65 - &:active {
63 + &:focus {
66 66   color: @brand-strong;
67 - background: fade(@brand, 8%);
65 + background: @brand-bg;
68 68   text-decoration: none;
69 - outline: none;
70 70  
71 71   i {
72 72   color: @brand-strong;
... ... @@ -74,33 +74,18 @@
74 74   }
75 75   }
76 76  
77 - > .active > a,
78 - > .active > a:hover,
79 - > .active > a:focus {
80 - color: @brand-strong;
81 - background: fade(@brand, 10%);
82 - text-decoration: none;
83 -
84 - i {
85 - color: @brand-strong;
86 - }
87 - }
88 -
89 89   .divider {
90 90   margin: 7px 0;
91 - background-color: fade(@brand, 16%);
76 + background-color: @line;
92 92   }
93 93  }
94 94  
95 -.agnease-products-dropdown,
96 -.agnease-resources-dropdown {
80 +.agnease-products-dropdown {
97 97   min-width: 260px;
98 98  }
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;
84 +.agnease-resources-dropdown {
85 + min-width: 260px;
104 104  }
105 105  
106 106  /* ========== Mobile Menu ========== */
... ... @@ -119,7 +119,7 @@
119 119   border: 0;
120 120   border-radius: 0;
121 121   box-shadow: none;
122 - background: #fff;
104 + background: transparent;
123 123  
124 124   > li > a {
125 125   padding: 8px 10px;
... ... @@ -126,24 +126,15 @@
126 126   white-space: normal;
127 127   font-size: 14px;
128 128   border-radius: 8px;
129 - color: @brand;
130 130  
131 131   i {
132 132   width: 16px;
133 133   flex-basis: 16px;
134 134   }
135 -
136 - &:hover,
137 - &:focus,
138 - &:active {
139 - color: @brand-strong;
140 - background: fade(@brand, 8%);
141 - }
142 142   }
143 143  
144 144   .divider {
145 145   margin: 5px 0;
146 - background-color: fade(@brand, 16%);
147 147   }
148 148   }
149 149  }