Changes for page Public Web Site
Last modified by Alex Cotiuga on 2026/07/29 05:00
From version 31.4
edited by Alex Cotiuga
on 2026/07/27 04:27
on 2026/07/27 04:27
Change comment:
There is no comment for this version
To version 31.6
edited by Alex Cotiuga
on 2026/07/29 04:33
on 2026/07/29 04:33
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -2014,3 +2014,177 @@ 2014 2014 } 2015 2015 } 2016 2016 2017 +/* ========== Temporary marketing campaign banner ========== */ 2018 + 2019 +.public-campaign-banner { 2020 + position: relative; 2021 + z-index: 20; 2022 + border: 0; 2023 + background: 2024 + radial-gradient(circle at 88% 0%, fade(@brand, 30%) 0%, transparent 32%), 2025 + linear-gradient(110deg, @text 0%, @text-soft 55%, @brand-strong 100%); 2026 + color: #fff; 2027 + box-shadow: 0 10px 26px rgba(7, 24, 45, .12); 2028 +} 2029 + 2030 +.public-campaign-inner { 2031 + min-height: 88px; 2032 + padding-top: 14px; 2033 + padding-bottom: 14px; 2034 + display: flex; 2035 + align-items: center; 2036 + justify-content: space-between; 2037 + gap: 30px; 2038 +} 2039 + 2040 +.public-campaign-copy { 2041 + min-width: 0; 2042 + display: flex; 2043 + align-items: center; 2044 + gap: 18px; 2045 +} 2046 + 2047 +.public-campaign-label { 2048 + flex-shrink: 0; 2049 + display: inline-flex; 2050 + align-items: center; 2051 + gap: 7px; 2052 + padding: 6px 10px; 2053 + border: 1px solid fade(#fff, 28%); 2054 + border-radius: 999px; 2055 + background: fade(#fff, 10%); 2056 + color: #fff; 2057 + font-size: 12px; 2058 + line-height: 1.2; 2059 + font-weight: 800; 2060 + text-transform: uppercase; 2061 + letter-spacing: .04em; 2062 + 2063 + i { 2064 + color: #fff; 2065 + } 2066 +} 2067 + 2068 +.public-campaign-message { 2069 + min-width: 0; 2070 + 2071 + strong { 2072 + display: block; 2073 + margin-bottom: 4px; 2074 + color: #fff; 2075 + font-size: 17px; 2076 + line-height: 1.3; 2077 + } 2078 + 2079 + span { 2080 + display: block; 2081 + max-width: 700px; 2082 + color: #DBE4EF; 2083 + font-size: 14px; 2084 + line-height: 1.45; 2085 + } 2086 +} 2087 + 2088 +.public-campaign-actions { 2089 + flex-shrink: 0; 2090 + display: flex; 2091 + align-items: center; 2092 + gap: 18px; 2093 +} 2094 + 2095 +.public-campaign-primary { 2096 + white-space: nowrap; 2097 + border-color: #fff; 2098 + background: #fff; 2099 + color: @text; 2100 + font-weight: 700; 2101 + box-shadow: 0 10px 24px rgba(0, 0, 0, .16); 2102 + 2103 + &:hover, 2104 + &:focus { 2105 + border-color: #fff; 2106 + background: #fff; 2107 + color: @brand-strong; 2108 + text-decoration: none; 2109 + } 2110 +} 2111 + 2112 +.public-campaign-link { 2113 + white-space: nowrap; 2114 + color: #fff; 2115 + font-size: 14px; 2116 + font-weight: 700; 2117 + text-decoration: underline; 2118 + text-underline-offset: 3px; 2119 + 2120 + i { 2121 + margin-left: 5px; 2122 + } 2123 + 2124 + &:hover, 2125 + &:focus { 2126 + color: #fff; 2127 + text-decoration-thickness: 2px; 2128 + } 2129 +} 2130 + 2131 +@media (max-width: 980px) { 2132 + .public-campaign-inner { 2133 + align-items: flex-start; 2134 + gap: 18px; 2135 + } 2136 + 2137 + .public-campaign-copy { 2138 + align-items: flex-start; 2139 + } 2140 + 2141 + .public-campaign-actions { 2142 + flex-direction: column; 2143 + align-items: flex-end; 2144 + gap: 10px; 2145 + } 2146 +} 2147 + 2148 +@media (max-width: 760px) { 2149 + .public-campaign-inner { 2150 + display: block; 2151 + padding-top: 18px; 2152 + padding-bottom: 18px; 2153 + text-align: center; 2154 + } 2155 + 2156 + .public-campaign-copy { 2157 + display: block; 2158 + } 2159 + 2160 + .public-campaign-label { 2161 + margin-bottom: 12px; 2162 + } 2163 + 2164 + .public-campaign-message { 2165 + strong { 2166 + font-size: 16px; 2167 + } 2168 + 2169 + span { 2170 + margin: 0 auto; 2171 + } 2172 + } 2173 + 2174 + .public-campaign-actions { 2175 + margin-top: 16px; 2176 + display: flex; 2177 + flex-direction: column; 2178 + align-items: stretch; 2179 + gap: 11px; 2180 + } 2181 + 2182 + .public-campaign-primary { 2183 + width: 100%; 2184 + white-space: normal; 2185 + } 2186 + 2187 + .public-campaign-link { 2188 + white-space: normal; 2189 + } 2190 +}