0 Votes

Changes for page Home

Last modified by Alex Cotiugă on 2026/01/13 13:12

From version 7.78
edited by Alex Cotiugă
on 2025/11/13 20:53
Change comment: There is no comment for this version
To version 7.79
edited by Alex Cotiugă
on 2025/11/13 20:56
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -124,28 +124,26 @@
124 124   .widgets {
125 125   margin-top: 12px;
126 126  
127 - /* Flexbox makes Bootstrap columns equal height */
127 + /* Flex layout = equal-height columns */
128 128   display: flex;
129 129   flex-wrap: wrap;
130 130  
131 - /* Remove default Bootstrap left/right gutters
132 - so cards align with the section heading */
131 + /* Cancel Bootstrap's outer gutters so cards align with heading */
133 133   margin-left: -15px;
134 134   margin-right: -15px;
135 135  
136 - /* Cards (inside columns) */
137 137   .widget {
138 - /* Bootstrap grid classes remain active (col-sm-6 col-md-3) */
136 + /* Bootstrap grid classes (col-sm-6, col-md-3) still apply padding */
139 139   display: flex;
140 140   flex-direction: column;
141 141   height: 100%;
142 142  
143 - /* Card styling */
144 - padding: 18px;
141 + /* Card design */
145 145   background: #fff;
146 146   border: 1px solid @line;
147 147   border-radius: @radius;
148 148   box-shadow: @shadow-sm;
146 + padding: 18px;
149 149   transition: transform .18s ease, box-shadow .18s ease;
150 150  
151 151   &:hover {
... ... @@ -153,7 +153,6 @@
153 153   box-shadow: @shadow;
154 154   }
155 155  
156 - /* Icon row */
157 157   .icon {
158 158   display: flex;
159 159   align-items: center;
... ... @@ -162,9 +162,7 @@
162 162   margin-bottom: 8px;
163 163   border-bottom: 1px solid fade(@line, 60%);
164 164  
165 - i {
166 - color: @brand;
167 - }
162 + i { color: @brand; }
168 168  
169 169   h4 {
170 170   margin: 0;
... ... @@ -173,18 +173,16 @@
173 173   }
174 174   }
175 175  
176 - /* Card text */
177 177   p {
178 178   margin: 0;
179 - line-height: 1.45;
180 180   color: @muted;
174 + line-height: 1.45;
181 181   }
182 182   }
183 183  
184 - /* Mobile spacing */
185 185   @media (max-width: 767px) {
186 186   .widget {
187 - margin-bottom: 16px;
180 + margin-bottom: 16px; /* spacing between stacked items */
188 188   }
189 189   }
190 190   }