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