Changes for page Public Web Site

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

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

Summary

Details

XWiki.StyleSheetExtension[1]
code
... ... @@ -8,6 +8,8 @@
8 8  
9 9   .caret {
10 10   margin-left: 4px;
11 + border-top-color: @brand;
12 + border-bottom-color: @brand;
11 11   }
12 12  
13 13   &.open > .dropdown-toggle,
... ... @@ -18,26 +18,24 @@
18 18   background-color: transparent;
19 19   box-shadow: none;
20 20   }
21 -}
22 22  
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;
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 + }
33 33  }
34 34  
32 +/* Dropdown panels */
33 +
35 35  .agnease-dropdown {
36 36   min-width: 270px;
37 37   padding: 8px;
38 - border: 1px solid @line;
37 + border: 1px solid fade(@brand, 18%);
39 39   border-radius: 12px;
40 - box-shadow: 0 12px 32px rgba(0, 0, 0, .10);
39 + background: #fff;
40 + box-shadow: 0 12px 32px fade(@brand-strong, 12%);
41 41  
42 42   > li > a {
43 43   display: flex;
... ... @@ -45,10 +45,11 @@
45 45   gap: 10px;
46 46   padding: 9px 11px;
47 47   border-radius: 9px;
48 - color: @text;
48 + color: @brand;
49 + background: transparent;
49 49   white-space: nowrap;
50 50   font-size: 14px;
51 - font-weight: 600;
52 + font-weight: 700;
52 52   line-height: 1.25;
53 53  
54 54   i {
... ... @@ -60,10 +60,12 @@
60 60   }
61 61  
62 62   &:hover,
63 - &:focus {
64 + &:focus,
65 + &:active {
64 64   color: @brand-strong;
65 - background: @brand-bg;
67 + background: fade(@brand, 8%);
66 66   text-decoration: none;
69 + outline: none;
67 67  
68 68   i {
69 69   color: @brand-strong;
... ... @@ -71,18 +71,33 @@
71 71   }
72 72   }
73 73  
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 +
74 74   .divider {
75 75   margin: 7px 0;
76 - background-color: @line;
91 + background-color: fade(@brand, 16%);
77 77   }
78 78  }
79 79  
80 -.agnease-products-dropdown {
95 +.agnease-products-dropdown,
96 +.agnease-resources-dropdown {
81 81   min-width: 260px;
82 82  }
83 83  
84 -.agnease-resources-dropdown {
85 - min-width: 260px;
100 +/* Remove gray Bootstrap dropdown item states */
101 +.dropdown-menu > li > a:hover,
102 +.dropdown-menu > li > a:focus {
103 + background-image: none;
86 86  }
87 87  
88 88  /* ========== Mobile Menu ========== */
... ... @@ -101,7 +101,7 @@
101 101   border: 0;
102 102   border-radius: 0;
103 103   box-shadow: none;
104 - background: transparent;
122 + background: #fff;
105 105  
106 106   > li > a {
107 107   padding: 8px 10px;
... ... @@ -108,15 +108,24 @@
108 108   white-space: normal;
109 109   font-size: 14px;
110 110   border-radius: 8px;
129 + color: @brand;
111 111  
112 112   i {
113 113   width: 16px;
114 114   flex-basis: 16px;
115 115   }
135 +
136 + &:hover,
137 + &:focus,
138 + &:active {
139 + color: @brand-strong;
140 + background: fade(@brand, 8%);
141 + }
116 116   }
117 117  
118 118   .divider {
119 119   margin: 5px 0;
146 + background-color: fade(@brand, 16%);
120 120   }
121 121   }
122 122  }