Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch line-number-selection Excluding Merge-Ins
This is equivalent to a diff from db1afa75 to 1cb792fd
2020-08-16
| ||
13:39 | Improvements to line-numbered text output. (check-in: b699040d user: drh tags: trunk) | |
13:18 | Version 2.12 (check-in: d075b619 user: drh tags: trunk, release, version-2.12) | |
10:05 | Reverted [33610b04de8fdf56] because a subtle bug in Chrome and FF causes both browsers to break scrolling of elements if they are descendants, however deeply nested, of a fieldset element. The one known workaround for that is too fragile. This is not release-critical. (Closed-Leaf check-in: e5c3ffeb user: stephan tags: post-2.12-fixes) | |
08:13 | Removed a now-unused CSS class. (Closed-Leaf check-in: 1cb792fd user: stephan tags: line-number-selection) | |
05:10 | Several padding tweaks to ensure proper line/code alignment in all of the skins. (check-in: e0e5449a user: stephan tags: line-number-selection) | |
2020-08-14
| ||
19:25 | Merged trunk to avoid style collisions later. Changed table.numbered-lines line-height from ex units to unitless, as Mozilla recommends. (check-in: 41f270de user: stephan tags: line-number-selection) | |
18:54 | Consolidated the common styles of the bottom- and right-side forum post expansion toggles and resolved a layout quirk which could cause the right-side expander to sit too far to the left. (check-in: db1afa75 user: stephan tags: trunk) | |
17:57 | Several forum style improvements based on forum feedback. (check-in: 2121b1f7 user: stephan tags: trunk) | |
Changes to skins/ardoise/css.txt.
︙ | |||
570 571 572 573 574 575 576 577 578 579 580 581 582 583 | 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 | + + + | margin: 0 .2rem; font-size: 90%; white-space: nowrap; background: #000; border: 2px solid #bbb; border-radius: 5px } table.numbered-lines td.file-content > pre { margin-top: -2px/*offset CODE tag border*/; } pre > code { padding: 1rem 1.5rem; white-space: pre } td, th { padding: 1px 5px; |
︙ |
Changes to skins/eagle/css.txt.
︙ | |||
397 398 399 400 401 402 403 | 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 | - + | font-family: "courier new"; } div.filetreeline:hover { background-color: #7EA2D9; } |
︙ |
Changes to skins/xekri/css.txt.
︙ | |||
998 999 1000 1001 1002 1003 1004 | 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 | - + - + | /************************************** * Did not encounter these */ /* selected lines of text within a linenumbered artifact display */ |
︙ |
Changes to src/ajax.c.
︙ | |||
128 129 130 131 132 133 134 | 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | - + + | case AJAX_RENDER_WIKI: safe_html_context(DOCSRC_FILE); wiki_render_by_mimetype(pContent, zMime); break; default:{ const char *zContent = blob_str(pContent); if(AJAX_PREVIEW_LINE_NUMBERS & flags){ |
︙ |
Changes to src/attach.c.
︙ | |||
615 616 617 618 619 620 621 | 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 | - + | blob_zero(&attach); if( fShowContent ){ const char *z; content_get(ridSrc, &attach); blob_to_utf8_no_bom(&attach, 0); z = blob_str(&attach); if( zLn ){ |
︙ |
Changes to src/default.css.
︙ | |||
438 439 440 441 442 443 444 | 438 439 440 441 442 443 444 445 446 447 448 449 450 451 | - - - - - - | } span.usertype:before { content:"'"; } span.usertype:after { content:"'"; } |
︙ | |||
951 952 953 954 955 956 957 | 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 | + + + + + - - - - + + + + | } .warning { color: darkred; background: yellow; opacity: 0.7; } .hidden { /* The framework-wide way of hiding elements is to assign them this CSS class. To make them visible again, remove it. The !important qualifiers are unfortunate but sometimes necessary when hidden element has other classes which specify visibility-related options. */ |
︙ | |||
1156 1157 1158 1159 1160 1161 1162 | 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 | + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | vertical-align: sub; } .input-with-label > label { font-weight: initial; margin: 0 0.25em 0 0.25em; vertical-align: middle; } table.numbered-lines { width: 100%; table-layout: fixed /* required to keep ultra-wide code from exceeding window width, and instead force a scrollbar on them. */; } table.numbered-lines > tbody > tr { font-family: monospace; font-size: 1.2em; line-height: 1.35; white-space: pre; } table.numbered-lines > tbody > tr > td { font-family: inherit; font-size: inherit; line-height: inherit; white-space: inherit; margin: 0; vertical-align: top; padding: 0.25em 0 0 0 /*prevents slight overlap at top */; } table.numbered-lines td.line-numbers { width: 4.5em; } table.numbered-lines td.line-numbers > span:first-of-type { margin-top: 0.25em/*must match top PADDING of td.file-content > pre > code*/; } table.numbered-lines td.line-numbers > span { display: block; margin: 0; padding: 0; line-height: inherit; font-size: inherit; font-family: inherit; cursor: pointer; white-space: pre; margin-right: 2px/*keep selection from nudging the right column */; text-align: right; } table.numbered-lines td.line-numbers > span:hover { background-color: rgba(112, 112, 112, 0.25); } table.numbered-lines td.file-content { padding-left: 0.25em; } table.numbered-lines td.file-content > pre, table.numbered-lines td.file-content > pre > code { margin: 0; padding: 0; line-height: inherit; font-size: inherit; font-family: inherit; white-space: pre; display: block/*necessary for certain skins!*/; } table.numbered-lines td.file-content > pre { } table.numbered-lines td.file-content > pre > code { overflow: auto; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.25em/*any top padding here must match the top MARGIN of td.line-numbers's first span child or the lines/code will get misaligned. */; padding-bottom: 0.25em/*prevents a slight overlap at bottom from triggering a scroller*/; } table.numbered-lines td.file-content > pre > code > * { /* Defense against syntax highlighters indirectly messing up these properties... */ line-height: inherit; font-size: inherit; font-family: inherit; } table.numbered-lines td.line-numbers span.selected-line/*replacement*/ { font-weight: bold; color: blue; background-color: #d5d5ff; border: 1px blue solid; border-top-width: 0; border-bottom-width: 0; padding: 0; margin: 0; } table.numbered-lines td.line-numbers span.selected-line.start { border-top-width: 1px; margin-top: -1px/*restore alignment*/; } table.numbered-lines td.line-numbers span.selected-line.end { border-bottom-width: 1px; margin-top: -1px/*restore alignment*/; } table.numbered-lines td.line-numbers span.selected-line.start.end { margin-top: -2px/*restore alignment*/; } .fossil-tooltip { text-align: center; padding: 0.2em 1em; border: 1px solid black; border-radius: 0.25em; position: absolute; display: inline-block; z-index: 100; box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.75); background-color: inherit; font-size: 80%; } .fossil-toast {/* "toast"-style popup message */ padding: 0.25em 0.5em; margin: 0; border-radius: 0.25em; font-size: 1em; opacity: 0.8; border-size: 1px; border-style: dotted; border-color: rgb( 127, 127, 127, 0.5 ); } blockquote.file-content { /* file content block in the /file page */ margin: 0 1em; } |
Changes to src/diff.c.
︙ | |||
123 124 125 126 127 128 129 | 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | - + | /* ** Count the number of lines in the input string. Include the last line ** in the count even if it lacks the \n terminator. If an empty string ** is specified, the number of lines is zero. For the purposes of this ** function, a string is considered empty if it contains no characters ** -OR- it contains only NUL characters. */ |
︙ |
Changes to src/file.c.
︙ | |||
2395 2396 2397 2398 2399 2400 2401 | 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 | + + + + + + + + + | if( dryRunFlag!=0 ){ fossil_print("dry-run: would have touched %d file(s)\n", changeCount); }else{ fossil_print("Touched %d file(s)\n", changeCount); } } /* ** If zFileName is not NULL and contains a '.', this returns a pointer ** to the position after the final '.', else it returns NULL. */ const char * file_extension(const char *zFileName){ const char * zExt = strrchr(zFileName, '.'); return zExt ? &zExt[1] : 0; } |
Changes to src/fossil.bootstrap.js.
1 2 3 4 5 6 7 8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | + + + + + + + + + + + + | "use strict"; (function () { /* CustomEvent polyfill, courtesy of Mozilla: https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent */ if(typeof window.CustomEvent === "function") return false; window.CustomEvent = function(event, params) { if(!params) params = {bubbles: false, cancelable: false, detail: null}; const evt = document.createEvent('CustomEvent'); evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail ); return evt; }; })(); (function(global){ /* Bootstrapping bits for the global.fossil object. Must be loaded after style.c:style_emit_script_tag() has initialized that object. */ const F = global.fossil; |
︙ |
Added src/fossil.copybutton.js.