| | @@ -0,0 +1,144 @@ |
| 1 | +# Customizing the Timeline Graph
|
| 2 | +
|
| 3 | +Beginning with version 1.33, Fossil gives users and skin authors significantly
|
| 4 | +more control over the look and feel of the timeline graph.
|
| 5 | +
|
| 6 | +## <a id="basic-style"></a>Basic Style Options
|
| 7 | +
|
| 8 | +Fossil includes several options for changing the graph's style without having
|
| 9 | +to delve into CSS. These can be found in the details.txt file of your skin or
|
| 10 | +under Admin/Skins/D###`timeline-arrowheads`
|
| 11 | +
|
| 12 | + Set this to `0` to hide arrowheads on primary child lines.
|
| 13 | +
|
| 14 | +* ### Set this to `node s`**
|
| 15 | +
|
| 16 | + Set this to `1` to### `timeline-color-graph-line`
|
| 17 | +
|
| 18 | + Set this to `1` to colorize### `white-foreground`
|
| 19 | +
|
| 20 | + Set this to `round`**
|
| 21 | +
|
| 22 | + Seses white (or any light color) text.
|
| 23 | + This tells Fossil to generate darker background colors for branches.
|
| 24 | +
|
| 25 | +
|
| 26 | +## <a id="adv-style"></a>Advanced Styling
|
| 27 | +
|
| 28 | +If the above options aren't enough for you, it's time to get your hands dirty
|
| 29 | +with CSS. To get started, I recommend first copying all the [graph-related CSS
|
| 30 | +rules](#default-css) to your stylesheet. Then it's simply a matter of making
|
| 31 | +the necessary changes to achieve the look you want. So, next, let's look at the
|
| 32 | +various graph elements and what purpose they serve.
|
| 33 | +
|
| 34 | +Each element used to construct the timeline graph falls into one of two
|
| 35 | +categories: visible elements and positioning elements. We'll start with the
|
| 36 | +latter, less obvious type.
|
| 37 | +
|
| 38 | +## <a id="pos-elems"></a>Positioning Elements
|
| 39 | +
|
| 40 | +These elements aren't intended to be seen. They're only used to h### <a id="
|
| 41 | +
|
| 42 | + Set the left and right margins on this class to give the desired amount
|
| 43 | + of space between tunt
|
| 44 | + of space between the graph and its adjacent columns in the timeline.
|
| 45 | +
|
| 46 | + #### Ad ditional Classes
|
| 47 | + **Additional Classes**
|
| 48 | +
|
| 49 | + * `.sel`: See [`.tl-node`](#tl-node) ### <a id="tl-rail"></a>`.tl-rail`tl-rail"></a>**`.tl-rail`**
|
| 50 | +
|
| 51 | + Think of rails as invisibl Think of rails as invisible vertical lines o placed. The more simultaneous branches in a graph, the more rails required
|
| 52 | + to draw it. Setting the `width` property on this class determines the
|
| 53 | + maximum spacing between rails. This spacing is automatically reduced as
|
| 54 | + the number of rails increases. If you change the `width` of `.tl-node`
|
| 55 | + elements, you'll probably need to ch###ing the Timeline Graph
|
| 56 | +
|
| 57 | +Begi# Customizing theoreground`**
|
| 58 | +
|
| 59 | + Set this to `1` if your skin uses white (or any light color) text.
|
| 60 | + T`
|
| 61 | +
|
| 62 | + Set this to `round`**
|
| 63 | +
|
| 64 | + Set this to `1` if your skin uses white (or any light color) text.
|
| 65 | + This tells Fossil to generate darker background colors for branches.
|
| 66 | +
|
| 67 | +
|
| 68 | +## <a id="adv-style"></a>Advanced Styling
|
| 69 | +
|
| 70 | +If the above options aren't enough for you, it's time to get your hands dirty
|
| 71 | +with CSS. To get started, I recommend first copying all the [graph-related CSS
|
| 72 | +rules](#default-css) to yourcessary changes to achieve the look you want. So, next, let's look at the
|
| 73 | +various graph elements and what purpose they serve.
|
| 74 | +
|
| 75 | +Each element used to construct the timeline graph falls into one of two
|
| 76 | +categories: visible elements and positioning elements. We'll start with the
|
| 77 | +latter, less obvious type.
|
| 78 | +
|
| 79 | +## <a id="pos-elems"></a>Positioning Elements
|
| 80 | +
|
| 81 | +These elements aren't intended to be seen. They're only used to h### <a id="
|
| 82 | +
|
| 83 | + Set the left and right margins on this class to give the desired amount
|
| 84 | + of space between the graph and its adjaidth` of `.tl-node`
|
| 85 | + elements, you'll probably need to ch###ing the Timeline Graph
|
| 86 | +
|
| 87 | +Begi# Customizing theoreground`**
|
| 88 | +
|
| 89 | + Set this to ` Think of rails as invisibl node`](#tl-node) ### <a id="tl-rail"></a>`.tl-rail`tl-rail"></a>**`.tl-rail`**
|
| 90 | +
|
| 91 | + Thin more simultaneous branches in a graph, the more rails required
|
| 92 | + to draw it. Setting the `width` property on this class determines the
|
| 93 | + maximum spacing between rails. This spacing is automatically reduced as
|
| 94 | + the number of rails increases. If you change the `width` of `.tl-node`
|
| 95 | + elements, you'll probably need to ch###ing the Timeline Graph
|
| 96 | +
|
| 97 | +Begi# Customizing theoreground`**
|
| 98 | +
|
| 99 | + Set this to `1` if your skin uses white (or any light color) text.
|
| 100 | + T`
|
| 101 | +
|
| 102 | + Set this to `round`**
|
| 103 | +
|
| 104 | + Set this to `1` if your skin uses white (or any light color) text.
|
| 105 | + This tells Fossil to generate darker background colors for branches.
|
| 106 | +
|
| 107 | +
|
| 108 | +## <a id="adv-style"></a>Advanced Styling
|
| 109 | +
|
| 110 | +If the above options ar round: transparent;
|
| 111 | + border: 0 dotted #000;
|
| 112 | + }
|
| 113 | + . d #000;
|
| 114 | + }
|
| 115 | + .tl-line.merge.h {
|
| 116 | + border-top-width: 1px;
|
| 117 | + -#### Additional Classesl-node) for more infasses**
|
| 118 | +
|
| 119 | + * `.merge`: A merge line.
|
| 120 | +
|
| 121 | + * skin authors significantly
|
| 122 | +more# Customizing the Timeline Graph
|
| 123 | +
|
| 124 | +Beginning with version 1.33, Fossil gives users and skin authors significantly
|
| 125 | +more control over the look and feel of the timeline graph.
|
| 126 | +
|
| 127 | +## <a id="basic-style"></a>Basic Sty skin authors significantly
|
| 128 | +more control over the look and feel of the timeline graph.
|
| 129 | +
|
| 130 | +## <a id="basic-style"></a>Basic Style Options
|
| 131 | +
|
| 132 | +Fossil includes several options for changing the graph's style without having
|
| 133 | +to delve into CSS. These can be found in the details.txt file of your skin or
|
| 134 | +under Admin/Skins/D###`timeline-arrowheads`
|
| 135 | +
|
| 136 | + Set this to `0` to hide arrowheads on primary child lines.
|
| 137 | +
|
| 138 | +* ### Set this to `nodes`**
|
| 139 | +
|
| 140 | + Set this to `1` to### `timeline-color-graph-line`
|
| 141 | +
|
| 142 | + Set this to `1` to colorize### `white-foreground`
|
| 143 | +
|
| 144 | + Set this to `round`** |