Changes for page Public Web Site

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

From version 7.5
edited by Agnease
on 2026/05/12 14:18
Change comment: There is no comment for this version
To version 8.9
edited by Agnease
on 2026/05/18 19:03
Change comment: There is no comment for this version

Summary

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,425 @@
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(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%),
740 + radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%);
741 +
742 + h1 {
743 + margin: 0 auto 14px;
744 + text-align: center;
745 + line-height: 1.18;
746 + }
747 +
748 + .resource-summary {
749 + max-width: 780px;
750 + margin: 0 auto;
751 + color: @muted;
752 + text-align: center;
753 + font-size: 18px;
754 + line-height: 1.55;
755 + }
756 +}
757 +
758 +.resource-layout {
759 + display: grid;
760 + grid-template-columns: minmax(0, 760px) 280px;
761 + gap: 42px;
762 + max-width: 1080px;
763 + margin: 0 auto;
764 + align-items: start;
765 +}
766 +
767 +.resource-content {
768 + color: @text;
769 + font-size: 16px;
770 + line-height: 1.68;
771 +
772 + h2 {
773 + text-align: left;
774 + margin: 34px 0 12px;
775 + line-height: 1.28;
776 + }
777 +
778 + h3 {
779 + margin: 24px 0 8px;
780 + line-height: 1.3;
781 + }
782 +
783 + p {
784 + margin: 0 0 16px;
785 + }
786 +
787 + ul,
788 + ol {
789 + margin: 0 0 18px;
790 + padding-left: 22px;
791 + }
792 +
793 + li {
794 + margin: 6px 0;
795 + }
796 +
797 + strong {
798 + color: @text;
799 + }
800 +}
801 +
802 +.resource-note {
803 + border-left: 4px solid @brand;
804 + background: @brand-bg;
805 + padding: 16px 18px;
806 + margin: 22px 0;
807 + border-radius: 0 @radius @radius 0;
808 +
809 + p:last-child {
810 + margin-bottom: 0;
811 + }
812 +}
813 +
814 +.resource-checklist {
815 + margin: 18px 0 24px;
816 + padding: 0;
817 + list-style: none;
818 +
819 + li {
820 + position: relative;
821 + padding: 10px 0 10px 34px;
822 + border-bottom: 1px solid @line;
823 +
824 + &:before {
825 + content: "\f00c";
826 + font-family: FontAwesome;
827 + position: absolute;
828 + left: 0;
829 + top: 11px;
830 + color: @brand;
831 + }
832 + }
833 +}
834 +
835 +.resource-sidebar {
836 + position: sticky;
837 + top: 96px;
838 + border: 1px solid @line;
839 + border-radius: @radius;
840 + padding: 18px;
841 + background: #fff;
842 + box-shadow: @shadow-sm;
843 +
844 + h4 {
845 + margin: 0 0 10px;
846 + }
847 +
848 + ul {
849 + margin: 0;
850 + padding-left: 18px;
851 + color: @muted;
852 + }
853 +
854 + li {
855 + margin: 8px 0;
856 + }
857 +
858 + a {
859 + color: @brand;
860 + font-weight: 600;
861 + }
862 +}
863 +
864 +.resource-cta {
865 + margin-top: 36px;
866 + padding: 22px;
867 + border: 1px solid fade(@brand, 20%);
868 + border-radius: @radius;
869 + background: @brand-bg;
870 +
871 + h3 {
872 + margin-top: 0;
873 + }
874 +
875 + p {
876 + color: @muted;
877 + }
878 +}
879 +
880 +@media (max-width: 900px) {
881 + .resource-layout {
882 + grid-template-columns: 1fr;
883 + }
884 +
885 + .resource-sidebar {
886 + position: static;
887 + }
888 +}
889 +/* ========== Products / Extensions Pages ========== */
890 +
891 +.product-index-section {
892 + padding: 52px 0 56px;
893 +
894 + h2 {
895 + margin-bottom: 10px;
896 + }
897 +}
898 +
899 +.product-card-grid {
900 + max-width: 840px;
901 + margin: 28px auto 0;
902 + display: grid;
903 + grid-template-columns: 1fr;
904 + grid-gap: 18px;
905 +}
906 +
907 +.product-card {
908 + background: #fff;
909 + border: 1px solid @line;
910 + border-radius: @radius;
911 + box-shadow: @shadow-sm;
912 + padding: 28px;
913 + display: grid;
914 + grid-template-columns: 68px 1fr;
915 + grid-gap: 22px;
916 + align-items: start;
917 + transition: transform .18s ease, box-shadow .18s ease;
918 +
919 + &:hover {
920 + transform: translateY(-2px);
921 + box-shadow: @shadow;
922 + }
923 +
924 + .product-card-icon {
925 + width: 58px;
926 + height: 58px;
927 + border-radius: 50%;
928 + background: fade(@brand, 10%);
929 + border: 1px solid fade(@brand, 20%);
930 + color: @brand;
931 + display: flex;
932 + align-items: center;
933 + justify-content: center;
934 + font-size: 22px;
935 + flex-shrink: 0;
936 + }
937 +
938 + h3 {
939 + margin: 0 0 10px;
940 + color: @text;
941 + font-size: 23px;
942 + line-height: 1.25;
943 + font-weight: 800;
944 + }
945 +
946 + p {
947 + color: @muted;
948 + line-height: 1.6;
949 + }
950 +
951 + .card-link {
952 + margin: 0;
953 +
954 + a {
955 + font-weight: 700;
956 + }
957 + }
958 +}
959 +
960 +.product-card-kicker {
961 + margin-bottom: 10px;
962 + padding: 5px 10px;
963 + font-size: 12px;
964 + text-transform: uppercase;
965 + letter-spacing: .04em;
966 +}
967 +
968 +.product-highlights {
969 + margin: 14px 0 20px;
970 + padding-left: 18px;
971 + color: @muted;
972 +
973 + li {
974 + margin: 6px 0;
975 + line-height: 1.45;
976 + }
977 +}
978 +
979 +/* ========== Individual Product Pages ========== */
980 +
981 +.product-layout {
982 + display: grid;
983 + grid-template-columns: 1.1fr .9fr;
984 + grid-gap: 36px;
985 + max-width: 1040px;
986 + margin: 0 auto;
987 + align-items: start;
988 +}
989 +
990 +.product-summary-card,
991 +.product-info-card,
992 +.product-gallery-panel {
993 + background: #fff;
994 + border: 1px solid @line;
995 + border-radius: @radius;
996 + box-shadow: @shadow-sm;
997 +}
998 +
999 +.product-summary-card {
1000 + padding: 26px;
1001 +
1002 + h2 {
1003 + text-align: left;
1004 + margin-top: 0;
1005 + }
1006 +
1007 + p {
1008 + color: @muted;
1009 + line-height: 1.6;
1010 + }
1011 +
1012 + p:last-child {
1013 + margin-bottom: 0;
1014 + }
1015 +}
1016 +
1017 +.product-info-card {
1018 + padding: 22px;
1019 +
1020 + h3 {
1021 + margin-top: 0;
1022 + margin-bottom: 12px;
1023 + }
1024 +
1025 + ul {
1026 + margin: 0;
1027 + padding-left: 20px;
1028 + color: @muted;
1029 + }
1030 +
1031 + li {
1032 + margin: 8px 0;
1033 + line-height: 1.45;
1034 + }
1035 +}
1036 +
1037 +.product-feature-grid {
1038 + display: grid;
1039 + grid-template-columns: repeat(3, minmax(0, 1fr));
1040 + grid-gap: 18px;
1041 + max-width: 1040px;
1042 + margin: 26px auto 0;
1043 +}
1044 +
1045 +.product-feature {
1046 + background: #fff;
1047 + border: 1px solid @line;
1048 + border-radius: @radius;
1049 + box-shadow: @shadow-sm;
1050 + padding: 22px;
1051 + transition: transform .18s ease, box-shadow .18s ease;
1052 +
1053 + &:hover {
1054 + transform: translateY(-2px);
1055 + box-shadow: @shadow;
1056 + }
1057 +
1058 + .feature-icon {
1059 + width: 46px;
1060 + height: 46px;
1061 + border-radius: 50%;
1062 + background: fade(@brand, 10%);
1063 + color: @brand;
1064 + display: flex;
1065 + align-items: center;
1066 + justify-content: center;
1067 + margin-bottom: 14px;
1068 + font-size: 18px;
1069 + }
1070 +
1071 + h3 {
1072 + margin: 0 0 8px;
1073 + color: @text;
1074 + font-size: 18px;
1075 + line-height: 1.25;
1076 + }
1077 +
1078 + p {
1079 + margin: 0;
1080 + color: @muted;
1081 + line-height: 1.5;
1082 + }
1083 +}
1084 +
1085 +.product-gallery-panel {
1086 + max-width: 1040px;
1087 + margin: 20px auto 0;
1088 + padding: 26px;
1089 +
1090 + h2 {
1091 + margin-top: 0;
1092 + text-align: center;
1093 + }
1094 +
1095 + .gallery-note {
1096 + max-width: 700px;
1097 + margin: 0 auto 18px;
1098 + color: @muted;
1099 + text-align: center;
1100 + line-height: 1.55;
1101 + }
1102 +}
1103 +
1104 +.product-gallery-placeholder {
1105 + min-height: 260px;
1106 + padding: 28px;
1107 + border: 1px dashed fade(@brand, 40%);
1108 + border-radius: @radius;
1109 + background: fade(@brand, 5%);
1110 + color: @muted;
1111 + text-align: center;
1112 + display: flex;
1113 + align-items: center;
1114 + justify-content: center;
1115 +}
1116 +
1117 +.product-section-muted {
1118 + background:
1119 + radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%);
1120 +}
1121 +
1122 +@media (max-width: 980px) {
1123 + .product-layout,
1124 + .product-feature-grid {
1125 + grid-template-columns: 1fr;
1126 + }
1127 +
1128 + .product-summary-card h2 {
1129 + text-align: center;
1130 + }
1131 +}
1132 +
1133 +@media (max-width: 640px) {
1134 + .product-card {
1135 + grid-template-columns: 1fr;
1136 + padding: 22px;
1137 + text-align: left;
1138 +
1139 + .product-card-icon {
1140 + margin-bottom: 2px;
1141 + }
1142 + }
1143 +
1144 + .product-summary-card,
1145 + .product-info-card,
1146 + .product-feature,
1147 + .product-gallery-panel {
1148 + padding: 20px;
1149 + }
1150 +}
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,17 +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 -}
130 -
131 -