Fossil SCM

Tweaks to the default CSS for the /fileage page.

drh 2014-12-18 15:28 trunk
Commit 64ae69e172d6c76099a25e12ecd878b112313842
1 file changed +13 -2
+13 -2
--- src/style.c
+++ src/style.c
@@ -1232,24 +1232,35 @@
12321232
},
12331233
{ ".fileage table",
12341234
"The fileage table",
12351235
@ border-spacing: 0;
12361236
},
1237
+ { ".fileage tr:hover",
1238
+ "Mouse-over effects for the file-age table",
1239
+ @ background-color: #eee;
1240
+ },
12371241
{ ".fileage td",
12381242
"fileage table cells",
12391243
@ vertical-align: top;
12401244
@ text-align: left;
1241
- @ border-top: 1px solid black;
1245
+ @ border-top: 1px solid #ddd;
1246
+ @ padding-top: 3px;
12421247
},
12431248
{ ".fileage td:first-child",
12441249
"fileage first column (the age)",
12451250
@ white-space: nowrap;
12461251
},
1247
- { ".fileage td:first-child + td",
1252
+ { ".fileage td:nth-child(2)",
12481253
"fileage second column (the filename)",
12491254
@ padding-left: 1em;
12501255
@ 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%;
12511262
},
12521263
{ 0,
12531264
0,
12541265
0
12551266
}
12561267
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button