Fossil SCM
Tweaks to the default CSS for the /fileage page.
Commit
64ae69e172d6c76099a25e12ecd878b112313842
Parent
87185aa5dddc0f8…
1 file changed
+13
-2
+13
-2
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -1232,24 +1232,35 @@ | ||
| 1232 | 1232 | }, |
| 1233 | 1233 | { ".fileage table", |
| 1234 | 1234 | "The fileage table", |
| 1235 | 1235 | @ border-spacing: 0; |
| 1236 | 1236 | }, |
| 1237 | + { ".fileage tr:hover", | |
| 1238 | + "Mouse-over effects for the file-age table", | |
| 1239 | + @ background-color: #eee; | |
| 1240 | + }, | |
| 1237 | 1241 | { ".fileage td", |
| 1238 | 1242 | "fileage table cells", |
| 1239 | 1243 | @ vertical-align: top; |
| 1240 | 1244 | @ text-align: left; |
| 1241 | - @ border-top: 1px solid black; | |
| 1245 | + @ border-top: 1px solid #ddd; | |
| 1246 | + @ padding-top: 3px; | |
| 1242 | 1247 | }, |
| 1243 | 1248 | { ".fileage td:first-child", |
| 1244 | 1249 | "fileage first column (the age)", |
| 1245 | 1250 | @ white-space: nowrap; |
| 1246 | 1251 | }, |
| 1247 | - { ".fileage td:first-child + td", | |
| 1252 | + { ".fileage td:nth-child(2)", | |
| 1248 | 1253 | "fileage second column (the filename)", |
| 1249 | 1254 | @ padding-left: 1em; |
| 1250 | 1255 | @ padding-right: 1em; |
| 1256 | + }, | |
| 1257 | + { ".fileage td:nth-child(3)", | |
| 1258 | + "fileage third column (the check-in comment)", | |
| 1259 | + @ word-break: break-all; | |
| 1260 | + @ word-wrap: break-word; | |
| 1261 | + @ max-width: 50%; | |
| 1251 | 1262 | }, |
| 1252 | 1263 | { 0, |
| 1253 | 1264 | 0, |
| 1254 | 1265 | 0 |
| 1255 | 1266 | } |
| 1256 | 1267 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -1232,24 +1232,35 @@ | |
| 1232 | }, |
| 1233 | { ".fileage table", |
| 1234 | "The fileage table", |
| 1235 | @ border-spacing: 0; |
| 1236 | }, |
| 1237 | { ".fileage td", |
| 1238 | "fileage table cells", |
| 1239 | @ vertical-align: top; |
| 1240 | @ text-align: left; |
| 1241 | @ border-top: 1px solid black; |
| 1242 | }, |
| 1243 | { ".fileage td:first-child", |
| 1244 | "fileage first column (the age)", |
| 1245 | @ white-space: nowrap; |
| 1246 | }, |
| 1247 | { ".fileage td:first-child + td", |
| 1248 | "fileage second column (the filename)", |
| 1249 | @ padding-left: 1em; |
| 1250 | @ padding-right: 1em; |
| 1251 | }, |
| 1252 | { 0, |
| 1253 | 0, |
| 1254 | 0 |
| 1255 | } |
| 1256 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -1232,24 +1232,35 @@ | |
| 1232 | }, |
| 1233 | { ".fileage table", |
| 1234 | "The fileage table", |
| 1235 | @ border-spacing: 0; |
| 1236 | }, |
| 1237 | { ".fileage tr:hover", |
| 1238 | "Mouse-over effects for the file-age table", |
| 1239 | @ background-color: #eee; |
| 1240 | }, |
| 1241 | { ".fileage td", |
| 1242 | "fileage table cells", |
| 1243 | @ vertical-align: top; |
| 1244 | @ text-align: left; |
| 1245 | @ border-top: 1px solid #ddd; |
| 1246 | @ padding-top: 3px; |
| 1247 | }, |
| 1248 | { ".fileage td:first-child", |
| 1249 | "fileage first column (the age)", |
| 1250 | @ white-space: nowrap; |
| 1251 | }, |
| 1252 | { ".fileage td:nth-child(2)", |
| 1253 | "fileage second column (the filename)", |
| 1254 | @ padding-left: 1em; |
| 1255 | @ padding-right: 1em; |
| 1256 | }, |
| 1257 | { ".fileage td:nth-child(3)", |
| 1258 | "fileage third column (the check-in comment)", |
| 1259 | @ word-break: break-all; |
| 1260 | @ word-wrap: break-word; |
| 1261 | @ max-width: 50%; |
| 1262 | }, |
| 1263 | { 0, |
| 1264 | 0, |
| 1265 | 0 |
| 1266 | } |
| 1267 |