Changes for page Public Web Site

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

From version 31.3
edited by Alex Cotiuga
on 2026/07/27 04:17
Change comment: There is no comment for this version
To version 31.5
edited by Alex Cotiuga
on 2026/07/29 04:33
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -969,72 +969,6 @@
969 969   max-width: 920px;
970 970   margin: 22px auto 0;
971 971   text-align: left;
972 -
973 - .box {
974 - margin: 0;
975 - padding: 18px 22px;
976 - border-radius: 8px;
977 -
978 - p {
979 - max-width: none;
980 - margin: 0;
981 - font-size: 15px;
982 - line-height: 1.55;
983 - font-weight: 600;
984 - }
985 - }
986 -
987 - .successmessage {
988 - border-color: #D6E9C6;
989 - border-left: 4px solid #3C763D;
990 - background: #DFF0D8;
991 - color: #3C763D;
992 -
993 - p,
994 - .fa,
995 - .icon {
996 - color: #3C763D;
997 - }
998 - }
999 -
1000 - .errormessage {
1001 - border-color: #EBCCD1;
1002 - border-left: 4px solid #A94442;
1003 - background: #F2DEDE;
1004 - color: #A94442;
1005 -
1006 - p,
1007 - .fa,
1008 - .icon {
1009 - color: #A94442;
1010 - }
1011 - }
1012 -
1013 - .warningmessage {
1014 - border-color: #FAEBCC;
1015 - border-left: 4px solid #8A6D3B;
1016 - background: #FCF8E3;
1017 - color: #8A6D3B;
1018 -
1019 - p,
1020 - .fa,
1021 - .icon {
1022 - color: #8A6D3B;
1023 - }
1024 - }
1025 -
1026 - .infomessage {
1027 - border-color: #BCE8F1;
1028 - border-left: 4px solid #31708F;
1029 - background: #D9EDF7;
1030 - color: #31708F;
1031 -
1032 - p,
1033 - .fa,
1034 - .icon {
1035 - color: #31708F;
1036 - }
1037 - }
1038 1038   }
1039 1039   }
1040 1040  }
... ... @@ -2080,3 +2080,177 @@
2080 2080   }
2081 2081  }
2082 2082  
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 +}