Changes for page Public Web Site

Last modified by Alex Cotiuga on 2026/07/29 05:00

From version 30.10
edited by Alex Cotiuga
on 2026/07/21 12:54
Change comment: There is no comment for this version
To version 31.14
edited by Alex Cotiuga
on 2026/07/29 05:00
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -117,19 +117,51 @@
117 117  .site-nav {
118 118   display: flex;
119 119   align-items: center;
120 - gap: 22px;
120 + gap: 8px;
121 121   font-size: 15px;
122 122  
123 123   a {
124 + display: inline-flex;
125 + align-items: center;
126 + gap: 5px;
127 + padding: 8px 11px;
128 + border-radius: 9px;
124 124   color: @text;
130 + background: transparent;
125 125   text-decoration: none;
126 126   font-weight: 600;
133 + line-height: 1.2;
134 + transition:
135 + color .18s ease,
136 + background .18s ease,
137 + box-shadow .18s ease,
138 + transform .18s ease;
127 127  
128 128   &:hover,
129 129   &:focus {
130 - color: @brand;
142 + color: #fff;
143 + background:
144 + linear-gradient(
145 + 110deg,
146 + @text 0%,
147 + @text-soft 55%,
148 + @brand-strong 100%
149 + );
150 + box-shadow: 0 8px 18px rgba(7, 24, 45, .14);
131 131   text-decoration: none;
152 + transform: translateY(-1px);
132 132   }
154 +
155 + &:focus-visible {
156 + outline: 2px solid fade(@brand, 45%);
157 + outline-offset: 2px;
158 + }
159 +
160 + i,
161 + .fa,
162 + .caret {
163 + color: inherit;
164 + }
133 133   }
134 134  
135 135   .nav-cta {
... ... @@ -136,14 +136,20 @@
136 136   color: #fff;
137 137   background: @brand;
138 138   border: 1px solid @brand;
139 - border-radius: 6px;
171 + border-radius: 9px;
140 140   padding: 8px 14px;
141 141  
142 142   &:hover,
143 143   &:focus {
144 144   color: #fff;
145 - background: @brand-strong;
146 - border-color: @brand-strong;
177 + border-color: transparent;
178 + background:
179 + linear-gradient(
180 + 110deg,
181 + @text 0%,
182 + @text-soft 55%,
183 + @brand-strong 100%
184 + );
147 147   }
148 148   }
149 149  }
... ... @@ -895,20 +895,23 @@
895 895   pointer-events: none;
896 896   }
897 897  
898 - h2,
899 - p,
900 - .btn {
936 + > h2,
937 + > p,
938 + > form,
939 + > .hero-actions,
940 + > .cta-actions,
941 + > .reviewNotifications {
901 901   position: relative;
902 902   z-index: 1;
903 903   }
904 904  
905 - h2 {
946 + > h2 {
906 906   max-width: 760px;
907 907   margin: 0 auto 16px;
908 908   color: #fff;
909 909   }
910 910  
911 - p {
952 + > p {
912 912   max-width: 760px;
913 913   margin: 0 auto 28px;
914 914   color: #DBE4EF;
... ... @@ -956,6 +956,20 @@
956 956   }
957 957  }
958 958  
1000 +/* ========== XWiki notifications inside public CTA panels ========== */
1001 +
1002 +#mainContentArea {
1003 + .cta-panel {
1004 + .reviewNotifications {
1005 + position: relative;
1006 + z-index: 1;
1007 + max-width: 920px;
1008 + margin: 22px auto 0;
1009 + text-align: left;
1010 + }
1011 + }
1012 +}
1013 +
959 959  @media (max-width: 760px) {
960 960   section[id] {
961 961   scroll-margin-top: 132px;
... ... @@ -1997,3 +1997,177 @@
1997 1997   }
1998 1998  }
1999 1999  
2055 +/* ========== Temporary marketing campaign banner ========== */
2056 +
2057 +.public-campaign-banner {
2058 + position: relative;
2059 + margin-top: 30px;
2060 + z-index: 20;
2061 + border: 0;
2062 + background:
2063 + radial-gradient(circle at 88% 0%, fade(@brand, 30%) 0%, transparent 32%),
2064 + linear-gradient(110deg, @text 0%, @text-soft 55%, @brand-strong 100%);
2065 + color: #fff;
2066 + border-radius: 14px;
2067 + box-shadow: 0 10px 26px rgba(7, 24, 45, .10);
2068 +}
2069 +
2070 +.public-campaign-inner {
2071 + min-height: 88px;
2072 + padding-top: 14px;
2073 + padding-bottom: 14px;
2074 + display: flex;
2075 + align-items: center;
2076 + justify-content: space-between;
2077 + gap: 30px;
2078 +}
2079 +
2080 +.public-campaign-copy {
2081 + min-width: 0;
2082 + display: flex;
2083 + align-items: center;
2084 + gap: 18px;
2085 +}
2086 +
2087 +.public-campaign-label {
2088 + flex-shrink: 0;
2089 + display: inline-flex;
2090 + align-items: center;
2091 + gap: 7px;
2092 + padding: 7px 11px;
2093 + border: 1px solid fade(#fff, 32%);
2094 + border-radius: 999px;
2095 + background: fade(#fff, 12%);
2096 + color: #fff;
2097 + font-size: 12px;
2098 + line-height: 1.2;
2099 + font-weight: 800;
2100 + text-transform: uppercase;
2101 + letter-spacing: .05em;
2102 +}
2103 +
2104 +.public-campaign-message {
2105 + min-width: 0;
2106 + flex: 1;
2107 +
2108 + strong {
2109 + display: block;
2110 + margin-bottom: 5px;
2111 + color: #fff;
2112 + font-size: 18px;
2113 + line-height: 1.25;
2114 + font-weight: 800;
2115 + letter-spacing: -.01em;
2116 + }
2117 +
2118 + span {
2119 + display: block;
2120 + max-width: 660px;
2121 + color: #DBE4EF;
2122 + font-size: 14px;
2123 + line-height: 1.45;
2124 + }
2125 +}
2126 +
2127 +.public-campaign-actions {
2128 + flex-shrink: 0;
2129 + display: flex;
2130 + align-items: center;
2131 + gap: 18px;
2132 +}
2133 +
2134 +.public-campaign-primary {
2135 + white-space: nowrap;
2136 + padding: 9px 16px;
2137 + border-color: #fff;
2138 + border-radius: 7px;
2139 + background: #fff;
2140 + color: @text;
2141 + font-weight: 800;
2142 + box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
2143 +}
2144 +
2145 +.public-campaign-link {
2146 + white-space: nowrap;
2147 + color: #fff;
2148 + font-size: 14px;
2149 + font-weight: 700;
2150 + text-decoration: none;
2151 +
2152 + i {
2153 + margin-left: 6px;
2154 + transition: transform .18s ease;
2155 + }
2156 +
2157 + &:hover,
2158 + &:focus {
2159 + color: #fff;
2160 + text-decoration: underline;
2161 + text-underline-offset: 3px;
2162 +
2163 + i {
2164 + transform: translateX(3px);
2165 + }
2166 + }
2167 +}
2168 +
2169 +@media (max-width: 980px) {
2170 + .public-campaign-inner {
2171 + align-items: flex-start;
2172 + gap: 18px;
2173 + }
2174 +
2175 + .public-campaign-copy {
2176 + align-items: flex-start;
2177 + }
2178 +
2179 + .public-campaign-actions {
2180 + flex-direction: column;
2181 + align-items: flex-end;
2182 + gap: 10px;
2183 + }
2184 +}
2185 +
2186 +@media (max-width: 760px) {
2187 + .public-campaign-inner {
2188 + display: block;
2189 + padding-top: 18px;
2190 + padding-bottom: 18px;
2191 + text-align: center;
2192 + }
2193 +
2194 + .public-campaign-copy {
2195 + display: block;
2196 + }
2197 +
2198 + .public-campaign-label {
2199 + margin-bottom: 12px;
2200 + }
2201 +
2202 + .public-campaign-message {
2203 + strong {
2204 + font-size: 16px;
2205 + }
2206 +
2207 + span {
2208 + margin: 0 auto;
2209 + }
2210 + }
2211 +
2212 + .public-campaign-actions {
2213 + margin-top: 16px;
2214 + display: flex;
2215 + flex-direction: column;
2216 + align-items: stretch;
2217 + gap: 11px;
2218 + }
2219 +
2220 + .public-campaign-primary {
2221 + width: 100%;
2222 + white-space: normal;
2223 + }
2224 +
2225 + .public-campaign-link {
2226 + white-space: normal;
2227 + }
2228 +}