File tree Expand file tree Collapse file tree 2 files changed +36
-39
lines changed
Expand file tree Collapse file tree 2 files changed +36
-39
lines changed Original file line number Diff line number Diff line change 6161}
6262
6363.release-cycle-chart .release-cycle-status-end-of-life {
64- --status-bg-color : # DD2200 ;
65- --status-border-color : # FF8888 ;
64+ --status-bg-color : # FF8888 ;
65+ --status-border-color : # DD2200 ;
6666}
6767
6868.release-cycle-chart .release-cycle-status-security {
9090 stroke : transparent;
9191}
9292
93- .release-cycle-chart .release-cycle-border {
94- fill : transparent ;
93+ .release-cycle-chart .release-cycle-blob-full {
94+ fill : var ( --status-bg-color ) ;
9595 stroke : var (--status-border-color );
96- stroke-width : 1.6px ;
9796}
9897
99- .release-cycle-chart .release-cycle-shade {
98+ .release-cycle-chart .release-cycle-border {
10099 fill : transparent;
101- stroke : transparent;
102-
103- & .release-cycle-status-end-of-life {
104- fill : # DD2200 ;
105- stroke : # FF8888 ;
106- }
107- & .release-cycle-status-feature {
108- fill : var (--color-background-primary );
109- opacity : 50% ;
110- }
100+ stroke : var (--status-border-color );
101+ stroke-width : 1.6px ;
111102}
112103
113104.good pre {
Original file line number Diff line number Diff line change 127127 Z {#- left -#}
128128 "
129129 />
130+ <!-- Add a common border -->
131+ <rect
132+ class =" release-cycle-border release-cycle-status-{{ version.status }}"
133+ x =" {{ start_x }}"
134+ y =" {{ top_y }}"
135+ width =" {{ (end_x - start_x) }}"
136+ height =" {{ height }}"
137+ rx =" 0.25em"
138+ ry =" 0.25em"
139+ mask =" url(#release-cycle-mask-{{ id_key }})"
140+ />
141+ {% else %}
142+ <!-- For EOL releases, use a single rounded rectangle -->
143+ <rect
144+ class =" release-cycle-blob release-cycle-blob-full
145+ release-cycle-status-{{ version.status }}"
146+ x =" {{ start_x }}"
147+ y =" {{ top_y }}"
148+ width =" {{ (end_x - start_x) }}"
149+ height =" {{ height }}"
150+ rx =" 0.25em"
151+ ry =" 0.25em"
152+ mask =" url(#release-cycle-mask-{{ id_key }})"
153+ />
130154 {% endif %}
131- <rect
132- class =" release-cycle-shade release-cycle-status-{{ version.status }}"
133- x =" {{ start_x }}"
134- y =" {{ top_y }}"
135- width =" {{ (end_x - start_x) }}"
136- height =" {{ height }}"
137- rx =" 0.25em"
138- ry =" 0.25em"
139- mask =" url(#release-cycle-mask-{{ id_key }})"
140- />
141- <rect
142- class =" release-cycle-border release-cycle-status-{{ version.status }}"
143- x =" {{ start_x }}"
144- y =" {{ top_y }}"
145- width =" {{ (end_x - start_x) }}"
146- height =" {{ height }}"
147- rx =" 0.25em"
148- ry =" 0.25em"
149- mask =" url(#release-cycle-mask-{{ id_key }})"
150- />
155+
156+ <!-- Add text before/after/inside the blob -->
151157 <text
152158 class =" release-cycle-blob-label release-cycle-status-{{ version.status }}"
153159 font-size =" {{ SCALE * 0.75 }}"
165171 x =" {{ start_x - (0.5 * SCALE) }}"
166172 text-anchor =" end"
167173 {% endif %}
168- >
169- {{ version.status }}
170- </text >
174+ >
175+ {{ version.status }}
176+ </text >
171177
172178 <!-- Legend on the left -->
173179 <text
You can’t perform that action at this time.
0 commit comments