Changes for page Public Web Site
Last modified by Agnease on 2026/05/30 16:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -159,7 +159,7 @@ 159 159 <p> 160 160 A business-focused explanation of why regular LTS upgrades reduce security, compatibility and maintenance risk. 161 161 </p> 162 - <a href=" /resources/why-upgrade-xwiki">Read the resource</a>162 + <a href="$xwiki.getURL('resources.why-upgrade-xwiki')">Read the resource</a> 163 163 </article> 164 164 165 165 <article class="resource-card"> ... ... @@ -167,7 +167,7 @@ 167 167 <p> 168 168 How Agnease approaches safe XWiki upgrades for real production environments with customizations and integrations. 169 169 </p> 170 - <a href=" /services/xwiki-upgrades">View the service</a>170 + <a href="$xwiki.getURL('services.xwiki-upgrades')">View the service</a> 171 171 </article> 172 172 </div> 173 173 </div>
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -726,3 +726,540 @@ 726 726 padding: 24px 20px; 727 727 } 728 728 } 729 +/* ========== Resource / Article Pages ========== */ 730 + 731 +.resource-page { 732 + padding-top: 34px; 733 +} 734 + 735 +.resource-header { 736 + padding: 40px 0 30px; 737 + border-top: none; 738 + background: 739 + radial-gradient(42rem 14rem at 50% 0%, @brand-bg 0%, transparent 70%); 740 + 741 + .resource-kicker { 742 + display: inline-flex; 743 + align-items: center; 744 + gap: 8px; 745 + color: @brand; 746 + background: fade(@brand, 8%); 747 + border: 1px solid fade(@brand, 18%); 748 + border-radius: 999px; 749 + padding: 6px 12px; 750 + margin-bottom: 14px; 751 + font-size: 13px; 752 + font-weight: 700; 753 + } 754 + 755 + h1 { 756 + max-width: 820px; 757 + margin: 0 auto 14px; 758 + text-align: center; 759 + line-height: 1.18; 760 + } 761 + 762 + .resource-summary { 763 + max-width: 780px; 764 + margin: 0 auto; 765 + color: @muted; 766 + text-align: center; 767 + font-size: 18px; 768 + line-height: 1.55; 769 + } 770 +} 771 + 772 +.resource-layout { 773 + display: grid; 774 + grid-template-columns: minmax(0, 760px) 280px; 775 + gap: 42px; 776 + max-width: 1080px; 777 + margin: 0 auto; 778 + align-items: start; 779 +} 780 + 781 +.resource-content { 782 + color: @text; 783 + font-size: 16px; 784 + line-height: 1.68; 785 + 786 + h2 { 787 + text-align: left; 788 + margin: 34px 0 12px; 789 + line-height: 1.28; 790 + } 791 + 792 + h3 { 793 + margin: 24px 0 8px; 794 + line-height: 1.3; 795 + } 796 + 797 + p { 798 + margin: 0 0 16px; 799 + } 800 + 801 + ul, 802 + ol { 803 + margin: 0 0 18px; 804 + padding-left: 22px; 805 + } 806 + 807 + li { 808 + margin: 6px 0; 809 + } 810 + 811 + strong { 812 + color: @text; 813 + } 814 +} 815 + 816 +.resource-note { 817 + border-left: 4px solid @brand; 818 + background: @brand-bg; 819 + padding: 16px 18px; 820 + margin: 22px 0; 821 + border-radius: 0 @radius @radius 0; 822 + 823 + p:last-child { 824 + margin-bottom: 0; 825 + } 826 +} 827 + 828 +.resource-checklist { 829 + margin: 18px 0 24px; 830 + padding: 0; 831 + list-style: none; 832 + 833 + li { 834 + position: relative; 835 + padding: 10px 0 10px 34px; 836 + border-bottom: 1px solid @line; 837 + 838 + &:before { 839 + content: "\f00c"; 840 + font-family: FontAwesome; 841 + position: absolute; 842 + left: 0; 843 + top: 11px; 844 + color: @brand; 845 + } 846 + } 847 +} 848 + 849 +.resource-sidebar { 850 + position: sticky; 851 + top: 96px; 852 + border: 1px solid @line; 853 + border-radius: @radius; 854 + padding: 18px; 855 + background: #fff; 856 + box-shadow: @shadow-sm; 857 + 858 + h4 { 859 + margin: 0 0 10px; 860 + } 861 + 862 + ul { 863 + margin: 0; 864 + padding-left: 18px; 865 + color: @muted; 866 + } 867 + 868 + li { 869 + margin: 8px 0; 870 + } 871 + 872 + a { 873 + color: @brand; 874 + font-weight: 600; 875 + } 876 +} 877 + 878 +.resource-cta { 879 + margin-top: 36px; 880 + padding: 22px; 881 + border: 1px solid fade(@brand, 20%); 882 + border-radius: @radius; 883 + background: @brand-bg; 884 + 885 + h3 { 886 + margin-top: 0; 887 + } 888 + 889 + p { 890 + color: @muted; 891 + } 892 +} 893 + 894 +@media (max-width: 900px) { 895 + .resource-layout { 896 + grid-template-columns: 1fr; 897 + } 898 + 899 + .resource-sidebar { 900 + position: static; 901 + } 902 +} 903 +/* ========== Products / Extensions Pages ========== */ 904 + 905 +.product-index-hero { 906 + padding: 56px 0 48px; 907 + text-align: center; 908 + background: 909 + radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%), 910 + radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 911 + border-top: none; 912 + border-bottom: 1px solid @line; 913 + 914 + h1 { 915 + max-width: 790px; 916 + margin: 0 auto; 917 + line-height: 1.18; 918 + } 919 + 920 + .page-lead { 921 + max-width: 760px; 922 + margin: 14px auto 0; 923 + color: @muted; 924 + text-align: center; 925 + font-size: 19px; 926 + line-height: 1.55; 927 + } 928 +} 929 + 930 +.product-page-kicker, 931 +.product-card-kicker { 932 + display: inline-flex; 933 + align-items: center; 934 + gap: 8px; 935 + color: @brand; 936 + background: fade(@brand, 8%); 937 + border: 1px solid fade(@brand, 18%); 938 + border-radius: 999px; 939 + padding: 6px 12px; 940 + margin-bottom: 14px; 941 + font-size: 13px; 942 + font-weight: 700; 943 + 944 + i { 945 + color: @brand; 946 + } 947 +} 948 + 949 +.product-card-kicker { 950 + margin-bottom: 10px; 951 + padding: 5px 10px; 952 + font-size: 12px; 953 + text-transform: uppercase; 954 + letter-spacing: .04em; 955 +} 956 + 957 +.product-index-section { 958 + padding: 52px 0 56px; 959 + 960 + h2 { 961 + margin-bottom: 10px; 962 + } 963 +} 964 + 965 +.product-card-grid { 966 + max-width: 840px; 967 + margin: 28px auto 0; 968 + display: grid; 969 + grid-template-columns: 1fr; 970 + grid-gap: 18px; 971 +} 972 + 973 +.product-card { 974 + background: #fff; 975 + border: 1px solid @line; 976 + border-radius: @radius; 977 + box-shadow: @shadow-sm; 978 + padding: 28px; 979 + display: grid; 980 + grid-template-columns: 68px 1fr; 981 + grid-gap: 22px; 982 + align-items: start; 983 + transition: transform .18s ease, box-shadow .18s ease; 984 + 985 + &:hover { 986 + transform: translateY(-2px); 987 + box-shadow: @shadow; 988 + } 989 + 990 + .product-card-icon { 991 + width: 58px; 992 + height: 58px; 993 + border-radius: 50%; 994 + background: fade(@brand, 10%); 995 + border: 1px solid fade(@brand, 20%); 996 + color: @brand; 997 + display: flex; 998 + align-items: center; 999 + justify-content: center; 1000 + font-size: 22px; 1001 + flex-shrink: 0; 1002 + } 1003 + 1004 + h3 { 1005 + margin: 0 0 10px; 1006 + color: @text; 1007 + font-size: 23px; 1008 + line-height: 1.25; 1009 + font-weight: 800; 1010 + } 1011 + 1012 + p { 1013 + color: @muted; 1014 + line-height: 1.6; 1015 + } 1016 + 1017 + .card-link { 1018 + margin: 0; 1019 + 1020 + a { 1021 + font-weight: 700; 1022 + } 1023 + } 1024 +} 1025 + 1026 +.product-highlights { 1027 + margin: 14px 0 20px; 1028 + padding-left: 18px; 1029 + color: @muted; 1030 + 1031 + li { 1032 + margin: 6px 0; 1033 + line-height: 1.45; 1034 + } 1035 +} 1036 + 1037 +.product-cta-section { 1038 + padding: 0 0 56px; 1039 + border-top: 1px solid @line; 1040 +} 1041 + 1042 +.product-cta-panel { 1043 + max-width: 860px; 1044 + margin: 0 auto; 1045 + padding: 32px; 1046 + border-radius: @radius; 1047 + border: 1px solid fade(@brand, 20%); 1048 + background: 1049 + radial-gradient(34rem 12rem at 50% 0%, @brand-soft 0%, #fff 70%); 1050 + box-shadow: @shadow-sm; 1051 + text-align: center; 1052 + 1053 + h2 { 1054 + margin-top: 0; 1055 + } 1056 + 1057 + p { 1058 + max-width: 680px; 1059 + margin: 0 auto 18px; 1060 + color: @muted; 1061 + line-height: 1.55; 1062 + } 1063 +} 1064 + 1065 +/* ========== Individual Product Pages ========== */ 1066 + 1067 +.product-hero { 1068 + min-height: 330px; 1069 +} 1070 + 1071 +.product-layout { 1072 + display: grid; 1073 + grid-template-columns: 1.1fr .9fr; 1074 + grid-gap: 36px; 1075 + max-width: 1040px; 1076 + margin: 0 auto; 1077 + align-items: start; 1078 +} 1079 + 1080 +.product-summary-card, 1081 +.product-info-card, 1082 +.product-gallery-panel { 1083 + background: #fff; 1084 + border: 1px solid @line; 1085 + border-radius: @radius; 1086 + box-shadow: @shadow-sm; 1087 +} 1088 + 1089 +.product-summary-card { 1090 + padding: 26px; 1091 + 1092 + h2 { 1093 + text-align: left; 1094 + margin-top: 0; 1095 + } 1096 + 1097 + p { 1098 + color: @muted; 1099 + line-height: 1.6; 1100 + } 1101 + 1102 + p:last-child { 1103 + margin-bottom: 0; 1104 + } 1105 +} 1106 + 1107 +.product-info-card { 1108 + padding: 22px; 1109 + 1110 + h3 { 1111 + margin-top: 0; 1112 + margin-bottom: 12px; 1113 + } 1114 + 1115 + ul { 1116 + margin: 0; 1117 + padding-left: 20px; 1118 + color: @muted; 1119 + } 1120 + 1121 + li { 1122 + margin: 8px 0; 1123 + line-height: 1.45; 1124 + } 1125 +} 1126 + 1127 +.product-feature-grid { 1128 + display: grid; 1129 + grid-template-columns: repeat(3, minmax(0, 1fr)); 1130 + grid-gap: 18px; 1131 + max-width: 1040px; 1132 + margin: 26px auto 0; 1133 +} 1134 + 1135 +.product-feature { 1136 + background: #fff; 1137 + border: 1px solid @line; 1138 + border-radius: @radius; 1139 + box-shadow: @shadow-sm; 1140 + padding: 22px; 1141 + transition: transform .18s ease, box-shadow .18s ease; 1142 + 1143 + &:hover { 1144 + transform: translateY(-2px); 1145 + box-shadow: @shadow; 1146 + } 1147 + 1148 + .feature-icon { 1149 + width: 46px; 1150 + height: 46px; 1151 + border-radius: 50%; 1152 + background: fade(@brand, 10%); 1153 + color: @brand; 1154 + display: flex; 1155 + align-items: center; 1156 + justify-content: center; 1157 + margin-bottom: 14px; 1158 + font-size: 18px; 1159 + } 1160 + 1161 + h3 { 1162 + margin: 0 0 8px; 1163 + color: @text; 1164 + font-size: 18px; 1165 + line-height: 1.25; 1166 + } 1167 + 1168 + p { 1169 + margin: 0; 1170 + color: @muted; 1171 + line-height: 1.5; 1172 + } 1173 +} 1174 + 1175 +.product-gallery-panel { 1176 + max-width: 1040px; 1177 + margin: 20px auto 0; 1178 + padding: 26px; 1179 + 1180 + h2 { 1181 + margin-top: 0; 1182 + text-align: center; 1183 + } 1184 + 1185 + .gallery-note { 1186 + max-width: 700px; 1187 + margin: 0 auto 18px; 1188 + color: @muted; 1189 + text-align: center; 1190 + line-height: 1.55; 1191 + } 1192 +} 1193 + 1194 +.product-gallery-placeholder { 1195 + min-height: 260px; 1196 + padding: 28px; 1197 + border: 1px dashed fade(@brand, 40%); 1198 + border-radius: @radius; 1199 + background: fade(@brand, 5%); 1200 + color: @muted; 1201 + text-align: center; 1202 + display: flex; 1203 + align-items: center; 1204 + justify-content: center; 1205 +} 1206 + 1207 +.product-section-muted { 1208 + background: 1209 + radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%); 1210 +} 1211 + 1212 +.product-use-cases { 1213 + ul { 1214 + margin: 0; 1215 + padding-left: 20px; 1216 + color: @muted; 1217 + } 1218 + 1219 + li { 1220 + margin: 8px 0; 1221 + line-height: 1.5; 1222 + } 1223 +} 1224 + 1225 +@media (max-width: 980px) { 1226 + .product-layout, 1227 + .product-feature-grid { 1228 + grid-template-columns: 1fr; 1229 + } 1230 + 1231 + .product-summary-card h2 { 1232 + text-align: center; 1233 + } 1234 +} 1235 + 1236 +@media (max-width: 640px) { 1237 + .product-index-hero { 1238 + padding: 38px 0 34px; 1239 + 1240 + .page-lead { 1241 + font-size: 17px; 1242 + } 1243 + } 1244 + 1245 + .product-card { 1246 + grid-template-columns: 1fr; 1247 + padding: 22px; 1248 + text-align: left; 1249 + 1250 + .product-card-icon { 1251 + margin-bottom: 2px; 1252 + } 1253 + } 1254 + 1255 + .product-summary-card, 1256 + .product-info-card, 1257 + .product-feature, 1258 + .product-gallery-panel { 1259 + padding: 20px; 1260 + } 1261 + 1262 + .product-cta-panel { 1263 + padding: 24px 20px; 1264 + } 1265 +}
- XWiki.StyleSheetExtension[1]
-
- code
-
... ... @@ -7,25 +7,53 @@ 7 7 @line: #E4ECE9; 8 8 @brand-bg: #F4FCFA; 9 9 10 -.agnease-services-menu { 10 +/* Top-level menu items */ 11 + 12 +.agnease-services-menu, 13 +.agnease-products-menu { 11 11 .dropdown-toggle { 12 12 font-weight: inherit; 13 13 font-size: inherit; 14 14 } 15 15 19 + .caret { 20 + margin-left: 4px; 21 + } 22 + 16 16 &.open > .dropdown-toggle, 17 17 .dropdown-toggle:hover, 18 18 .dropdown-toggle:focus { 19 - color: @brand; 26 + color: @brand-strong; 20 20 background: transparent; 28 + background-color: transparent; 29 + box-shadow: none; 21 21 } 31 +} 22 22 23 - .caret { 24 - margin-left: 4px; 25 - } 33 +/* Keep Agnease public top-level menu visually clean when hovered/open/focused */ 34 + 35 +.navbar-nav > li.agnease-services-menu > a, 36 +.navbar-nav > li.agnease-products-menu > a, 37 +.navbar-nav > li.agnease-services-menu > a:hover, 38 +.navbar-nav > li.agnease-products-menu > a:hover, 39 +.navbar-nav > li.agnease-services-menu > a:focus, 40 +.navbar-nav > li.agnease-products-menu > a:focus, 41 +.navbar-nav > li.agnease-services-menu.open > a, 42 +.navbar-nav > li.agnease-products-menu.open > a, 43 +.navbar-nav > li.agnease-services-menu.open > a:hover, 44 +.navbar-nav > li.agnease-products-menu.open > a:hover, 45 +.navbar-nav > li.agnease-services-menu.open > a:focus, 46 +.navbar-nav > li.agnease-products-menu.open > a:focus { 47 + background: transparent; 48 + background-color: transparent; 49 + color: @brand-strong; 50 + box-shadow: none; 26 26 } 27 27 28 -.agnease-services-dropdown { 53 +/* Dropdown panels */ 54 + 55 +.agnease-services-dropdown, 56 +.agnease-products-dropdown { 29 29 min-width: 360px; 30 30 padding: 10px; 31 31 border: 1px solid @line; ... ... @@ -102,12 +102,23 @@ 102 102 } 103 103 } 104 104 133 +/* Products dropdown can be slightly narrower for now */ 134 + 135 +.agnease-products-dropdown { 136 + min-width: 340px; 137 +} 138 + 139 +/* Mobile */ 140 + 105 105 @media (max-width: 767px) { 106 - .agnease-services-dropdown { 142 + .agnease-services-dropdown, 143 + .agnease-products-dropdown { 107 107 min-width: 0; 108 108 width: 100%; 109 109 padding: 6px; 110 110 border-radius: 0; 148 + border-left: 0; 149 + border-right: 0; 111 111 box-shadow: none; 112 112 113 113 > li > a { ... ... @@ -115,15 +115,3 @@ 115 115 } 116 116 } 117 117 } 118 -/* Keep the top-level Services menu visually clean when hovered/open/focused */ 119 -.navbar-nav > li.agnease-services-menu > a, 120 -.navbar-nav > li.agnease-services-menu > a:hover, 121 -.navbar-nav > li.agnease-services-menu > a:focus, 122 -.navbar-nav > li.agnease-services-menu.open > a, 123 -.navbar-nav > li.agnease-services-menu.open > a:hover, 124 -.navbar-nav > li.agnease-services-menu.open > a:focus { 125 - background: transparent; 126 - background-color: transparent; 127 - color: @brand-strong; 128 - box-shadow: none; 129 -}