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,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,54 +7,58 @@ 7 7 @line: #E4ECE9; 8 8 @brand-bg: #F4FCFA; 9 9 10 -/* Top-level public menu links: Services + Contact */ 11 -.navbar-nav > li > a, 12 -.navbar-nav > li.agnease-services-menu > a { 13 - color: @brand; 14 - font-size: inherit; 15 - font-weight: 400; 16 - background: transparent; 17 - background-color: transparent; 18 - box-shadow: none; 19 - text-decoration: none; 10 +/* Top-level menu items */ 11 + 12 +.agnease-services-menu, 13 +.agnease-products-menu { 14 + .dropdown-toggle { 15 + font-weight: inherit; 16 + font-size: inherit; 17 + } 18 + 19 + .caret { 20 + margin-left: 4px; 21 + } 22 + 23 + &.open > .dropdown-toggle, 24 + .dropdown-toggle:hover, 25 + .dropdown-toggle:focus { 26 + color: @brand-strong; 27 + background: transparent; 28 + background-color: transparent; 29 + box-shadow: none; 30 + } 20 20 } 21 21 22 -.navbar-nav > li > a:hover, 23 -.navbar-nav > li > a:focus, 24 -.navbar-nav > li.open > a, 25 -.navbar-nav > li.open > a:hover, 26 -.navbar-nav > li.open > a:focus, 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, 27 27 .navbar-nav > li.agnease-services-menu > a:hover, 38 +.navbar-nav > li.agnease-products-menu > a:hover, 28 28 .navbar-nav > li.agnease-services-menu > a:focus, 40 +.navbar-nav > li.agnease-products-menu > a:focus, 29 29 .navbar-nav > li.agnease-services-menu.open > a, 42 +.navbar-nav > li.agnease-products-menu.open > a, 30 30 .navbar-nav > li.agnease-services-menu.open > a:hover, 31 -.navbar-nav > li.agnease-services-menu.open > a:focus { 32 - color: @brand-strong; 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 { 33 33 background: transparent; 34 34 background-color: transparent; 49 + color: @brand-strong; 35 35 box-shadow: none; 36 - text-decoration: none; 37 37 } 38 38 39 -.agnease-services-menu { 40 - .dropdown-toggle { 41 - font-weight: 400; 42 - font-size: inherit; 43 - } 53 +/* Dropdown panels */ 44 44 45 - .caret { 46 - margin-left: 4px; 47 - } 48 -} 49 - 50 -/* Dropdown panel */ 51 -.agnease-services-dropdown { 55 +.agnease-services-dropdown, 56 +.agnease-products-dropdown { 52 52 min-width: 360px; 53 53 padding: 10px; 54 54 border: 1px solid @line; 55 55 border-radius: 12px; 56 56 box-shadow: 0 12px 36px rgba(0, 0, 0, .10); 57 - background: #fff; 58 58 59 59 > li > a { 60 60 display: flex; ... ... @@ -62,10 +62,8 @@ 62 62 gap: 12px; 63 63 padding: 10px 12px; 64 64 border-radius: 10px; 69 + color: @text; 65 65 white-space: normal; 66 - text-decoration: none; 67 - background: transparent; 68 - color: @brand; 69 69 70 70 &:hover, 71 71 &:focus { ... ... @@ -75,15 +75,15 @@ 75 75 76 76 .menu-icon { 77 77 color: @brand-strong; 78 - background: fade(@brand, 1 2%);79 - border-color: fade(@brand, 2 4%);80 + background: fade(@brand, 14%); 81 + border-color: fade(@brand, 28%); 80 80 } 81 81 82 - .menu-textstrong {84 + strong { 83 83 color: @brand-strong; 84 84 } 85 85 86 - .menu-textsmall {88 + small { 87 87 color: @muted; 88 88 } 89 89 } ... ... @@ -115,8 +115,8 @@ 115 115 116 116 strong { 117 117 color: @brand; 118 - font-size: inherit;119 - font-weight: 400;120 + font-size: 14px; 121 + font-weight: 600; 120 120 } 121 121 122 122 small { ... ... @@ -128,77 +128,27 @@ 128 128 } 129 129 } 130 130 131 -/* Mobile dropdown: compact vertical list */ 132 -@media (max-width: 767px) { 133 - .navbar-nav > li.agnease-services-menu { 134 - position: static; 135 - } 133 +/* Products dropdown can be slightly narrower for now */ 136 136 137 - .agnease-services-dropdown { 138 - left: 50% !important; 139 - right: auto !important; 140 - transform: translateX(-50%); 141 - width: calc(100vw - 40px); 142 - max-width: 380px; 143 - min-width: 0; 144 - max-height: calc(100vh - 190px); 145 - overflow-y: auto; 135 +.agnease-products-dropdown { 136 + min-width: 340px; 137 +} 146 146 147 - padding: 8px; 148 - margin-top: 6px; 149 - border-radius: 12px; 150 - border: 1px solid @line; 151 - box-shadow: 0 12px 32px rgba(0, 0, 0, .12); 152 - background: #fff; 139 +/* Mobile */ 153 153 141 +@media (max-width: 767px) { 142 + .agnease-services-dropdown, 143 + .agnease-products-dropdown { 144 + min-width: 0; 145 + width: 100%; 146 + padding: 6px; 147 + border-radius: 0; 148 + border-left: 0; 149 + border-right: 0; 150 + box-shadow: none; 151 + 154 154 > li > a { 155 - display: flex; 156 - align-items: center; 157 - gap: 10px; 158 - min-height: 0; 159 - padding: 9px 10px; 160 - border-radius: 9px; 161 - text-align: left; 162 - white-space: normal; 153 + padding: 10px; 163 163 } 164 - 165 - .divider { 166 - margin: 6px 0; 167 - } 168 - 169 - .menu-icon { 170 - width: 28px; 171 - height: 28px; 172 - font-size: 13px; 173 - flex: 0 0 28px; 174 - } 175 - 176 - .menu-text { 177 - display: block; 178 - line-height: 1.25; 179 - } 180 - 181 - .menu-text strong { 182 - display: block; 183 - font-size: 14px; 184 - font-weight: 400; 185 - color: @brand; 186 - } 187 - 188 - .menu-text small { 189 - display: none; 190 - } 191 - 192 - > li > a:hover .menu-text strong, 193 - > li > a:focus .menu-text strong { 194 - color: @brand-strong; 195 - } 196 - 197 - > li > a:hover .menu-icon, 198 - > li > a:focus .menu-icon { 199 - color: @brand-strong; 200 - background: fade(@brand, 12%); 201 - border-color: fade(@brand, 24%); 202 - } 203 203 } 204 204 }