Fossil SCM

Diff-related CSS cleanups.

stephan 2021-09-11 08:17 diff-js-refactoring
Commit 1ca68f3ab40723153c65c4f007763a2656b9914f18b9eb3247ae710f99d030fe
--- skins/darkmode/css.txt
+++ skins/darkmode/css.txt
@@ -479,24 +479,16 @@
479479
td.difftxt ins > ins {
480480
background-color: #559855;
481481
color: #000;
482482
text-decoration: none;
483483
}
484
-body.fossil-dark-style tr.diffskip.jchunk {
485
- filter: revert;
486
- background-color: black;
484
+tr.diffskip.jchunk {
485
+ background-color: black;
487486
}
488487
tr.diffskip > td.chunkctrl .jcbutton {
489488
background-color: #303536;
490489
}
491
-table.diff {
492
- /* For reasons beyond my ken, in THIS SKIN ONLY, table.diff
493
- is wider than the body even when it is explicitly set
494
- to a size less than the body UNLESS we reduce the font-size
495
- to about 85%. */
496
- /*font-size: 0.85em;*/
497
-}
498490
499491
/************************************************************************
500492
************************************************************************/
501493
body.wikiedit #fossil-status-bar,
502494
body.fileedit #fossil-status-bar{
503495
--- skins/darkmode/css.txt
+++ skins/darkmode/css.txt
@@ -479,24 +479,16 @@
479 td.difftxt ins > ins {
480 background-color: #559855;
481 color: #000;
482 text-decoration: none;
483 }
484 body.fossil-dark-style tr.diffskip.jchunk {
485 filter: revert;
486 background-color: black;
487 }
488 tr.diffskip > td.chunkctrl .jcbutton {
489 background-color: #303536;
490 }
491 table.diff {
492 /* For reasons beyond my ken, in THIS SKIN ONLY, table.diff
493 is wider than the body even when it is explicitly set
494 to a size less than the body UNLESS we reduce the font-size
495 to about 85%. */
496 /*font-size: 0.85em;*/
497 }
498
499 /************************************************************************
500 ************************************************************************/
501 body.wikiedit #fossil-status-bar,
502 body.fileedit #fossil-status-bar{
503
--- skins/darkmode/css.txt
+++ skins/darkmode/css.txt
@@ -479,24 +479,16 @@
479 td.difftxt ins > ins {
480 background-color: #559855;
481 color: #000;
482 text-decoration: none;
483 }
484 tr.diffskip.jchunk {
485 background-color: black;
 
486 }
487 tr.diffskip > td.chunkctrl .jcbutton {
488 background-color: #303536;
489 }
 
 
 
 
 
 
 
490
491 /************************************************************************
492 ************************************************************************/
493 body.wikiedit #fossil-status-bar,
494 body.fileedit #fossil-status-bar{
495
--- skins/eagle/css.txt
+++ skins/eagle/css.txt
@@ -346,21 +346,13 @@
346346
background-color: rgb(230, 110, 110);
347347
}
348348
td.difftxt del {
349349
background-color: inherit;
350350
}
351
-
352
-tr.diffskip > td.chunkctrl .button {
353
- background-color: #485D7B;
354
-}
355351
tr.diffskip.jchunk {
356352
background-color: #7EA2D9;
357353
}
358
-body.fossil-dark-style tr.diffskip.jchunk {
359
- filter: revert;
360
-}
361
-
362354
tr.diffskip > td.chunkctrl .jcbutton{
363355
color: white;
364356
background-color: #485D7B;
365357
}
366358
367359
--- skins/eagle/css.txt
+++ skins/eagle/css.txt
@@ -346,21 +346,13 @@
346 background-color: rgb(230, 110, 110);
347 }
348 td.difftxt del {
349 background-color: inherit;
350 }
351
352 tr.diffskip > td.chunkctrl .button {
353 background-color: #485D7B;
354 }
355 tr.diffskip.jchunk {
356 background-color: #7EA2D9;
357 }
358 body.fossil-dark-style tr.diffskip.jchunk {
359 filter: revert;
360 }
361
362 tr.diffskip > td.chunkctrl .jcbutton{
363 color: white;
364 background-color: #485D7B;
365 }
366
367
--- skins/eagle/css.txt
+++ skins/eagle/css.txt
@@ -346,21 +346,13 @@
346 background-color: rgb(230, 110, 110);
347 }
348 td.difftxt del {
349 background-color: inherit;
350 }
 
 
 
 
351 tr.diffskip.jchunk {
352 background-color: #7EA2D9;
353 }
 
 
 
 
354 tr.diffskip > td.chunkctrl .jcbutton{
355 color: white;
356 background-color: #485D7B;
357 }
358
359
--- skins/xekri/css.txt
+++ skins/xekri/css.txt
@@ -263,10 +263,17 @@
263263
264264
265265
/**************************************
266266
* Diffs
267267
*/
268
+
269
+tr.diffskip.jchunk {
270
+ background-color: black;
271
+}
272
+tr.diffskip > td.chunkctrl .jcbutton {
273
+ background-color: #303536;
274
+}
268275
269276
/* Code Added */
270277
td.diffln ins,
271278
td.difftxt ins > ins {
272279
background-color: #7f7;
273280
--- skins/xekri/css.txt
+++ skins/xekri/css.txt
@@ -263,10 +263,17 @@
263
264
265 /**************************************
266 * Diffs
267 */
 
 
 
 
 
 
 
268
269 /* Code Added */
270 td.diffln ins,
271 td.difftxt ins > ins {
272 background-color: #7f7;
273
--- skins/xekri/css.txt
+++ skins/xekri/css.txt
@@ -263,10 +263,17 @@
263
264
265 /**************************************
266 * Diffs
267 */
268
269 tr.diffskip.jchunk {
270 background-color: black;
271 }
272 tr.diffskip > td.chunkctrl .jcbutton {
273 background-color: #303536;
274 }
275
276 /* Code Added */
277 td.diffln ins,
278 td.difftxt ins > ins {
279 background-color: #7f7;
280
+1 -8
--- src/default.css
+++ src/default.css
@@ -565,13 +565,10 @@
565565
/* jchunk gets added from JS to diffskip rows when they are
566566
plugged into the /jchunk route. */
567567
background-color: aliceblue;
568568
padding: 0;
569569
}
570
-body.fossil-dark-style tr.diffskip.jchunk {
571
- filter: invert(100%);
572
-}
573570
tr.diffskip.jchunk > td {
574571
padding: 0.25em 0.5em;
575572
margin: 0;
576573
}
577574
tr.diffskip.jchunk:hover {
@@ -583,13 +580,10 @@
583580
font-family: monospace;
584581
}
585582
tr.diffskip > td.chunkctrl > div {
586583
/* Exists solely for layout purposes. */
587584
}
588
-body.fossil-dark-style tr.diffskip > td.chunkctrl{
589
- filter: inherit;
590
-}
591585
tr.diffskip > td.chunkctrl .jcbutton
592586
/* class name .button breaks w/ some skins! */ {
593587
min-width: 3.5ex;
594588
max-width: 3.5ex;
595589
text-align: center;
@@ -625,14 +619,13 @@
625619
tr.diffskip > td.chunkctrl .jcbutton.up.down > span::before {
626620
content: '⇡⇣';
627621
}
628622
629623
tr.diffskip > td.chunkctrl .jcbutton:hover {
630
- /*border-color: rgba(75,75,75,1);*/
631624
cursor: pointer;
632625
opacity: 1;
633
- filter: contrast(3);
626
+ filter: contrast(1);
634627
}
635628
td.diffln {
636629
width: 1px;
637630
text-align: right;
638631
padding: 0 1em 0 0;
639632
--- src/default.css
+++ src/default.css
@@ -565,13 +565,10 @@
565 /* jchunk gets added from JS to diffskip rows when they are
566 plugged into the /jchunk route. */
567 background-color: aliceblue;
568 padding: 0;
569 }
570 body.fossil-dark-style tr.diffskip.jchunk {
571 filter: invert(100%);
572 }
573 tr.diffskip.jchunk > td {
574 padding: 0.25em 0.5em;
575 margin: 0;
576 }
577 tr.diffskip.jchunk:hover {
@@ -583,13 +580,10 @@
583 font-family: monospace;
584 }
585 tr.diffskip > td.chunkctrl > div {
586 /* Exists solely for layout purposes. */
587 }
588 body.fossil-dark-style tr.diffskip > td.chunkctrl{
589 filter: inherit;
590 }
591 tr.diffskip > td.chunkctrl .jcbutton
592 /* class name .button breaks w/ some skins! */ {
593 min-width: 3.5ex;
594 max-width: 3.5ex;
595 text-align: center;
@@ -625,14 +619,13 @@
625 tr.diffskip > td.chunkctrl .jcbutton.up.down > span::before {
626 content: '⇡⇣';
627 }
628
629 tr.diffskip > td.chunkctrl .jcbutton:hover {
630 /*border-color: rgba(75,75,75,1);*/
631 cursor: pointer;
632 opacity: 1;
633 filter: contrast(3);
634 }
635 td.diffln {
636 width: 1px;
637 text-align: right;
638 padding: 0 1em 0 0;
639
--- src/default.css
+++ src/default.css
@@ -565,13 +565,10 @@
565 /* jchunk gets added from JS to diffskip rows when they are
566 plugged into the /jchunk route. */
567 background-color: aliceblue;
568 padding: 0;
569 }
 
 
 
570 tr.diffskip.jchunk > td {
571 padding: 0.25em 0.5em;
572 margin: 0;
573 }
574 tr.diffskip.jchunk:hover {
@@ -583,13 +580,10 @@
580 font-family: monospace;
581 }
582 tr.diffskip > td.chunkctrl > div {
583 /* Exists solely for layout purposes. */
584 }
 
 
 
585 tr.diffskip > td.chunkctrl .jcbutton
586 /* class name .button breaks w/ some skins! */ {
587 min-width: 3.5ex;
588 max-width: 3.5ex;
589 text-align: center;
@@ -625,14 +619,13 @@
619 tr.diffskip > td.chunkctrl .jcbutton.up.down > span::before {
620 content: '⇡⇣';
621 }
622
623 tr.diffskip > td.chunkctrl .jcbutton:hover {
 
624 cursor: pointer;
625 opacity: 1;
626 filter: contrast(1);
627 }
628 td.diffln {
629 width: 1px;
630 text-align: right;
631 padding: 0 1em 0 0;
632

Keyboard Shortcuts

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