Skip to content

Commit 668e88a

Browse files
committed
Moved the timeline colouring css to ietf.less, to pick up the brand colours directly.
- Legacy-Id: 10598
1 parent 213ae49 commit 668e88a

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

bootstrap/less/ietf.less

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,16 @@
139139
.position-recuse-row { background-color: hsl(hue(@brand-primary), 90%, 95%) !important ; }
140140
.position-norecord-row { background-color: inherit; }
141141

142+
/* like label-success */
143+
#timeline .bar:nth-child(odd) rect { fill: desaturate(@label-success-bg, 30%); }
144+
145+
/* like label-primary */
146+
#timeline .bar:nth-child(even) rect { fill: @label-primary-bg; }
147+
148+
/* like label-warning */
149+
#timeline .gradient.left { stop-color: @label-warning-bg; }
150+
#timeline .gradient.right { stop-color: white; }
151+
142152

143153
// XXX This change from before is not currently being applied, not sure how
144154
// critical this is:

ietf/static/ietf/css/ietf.css

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -451,12 +451,3 @@ form.navbar-form input.form-control.input-sm { width: 141px; }
451451
pointer-events: none;
452452
}
453453

454-
/* like label-success */
455-
#timeline .bar:nth-child(odd) rect { fill: #5CB85C; }
456-
457-
/* like label-primary */
458-
#timeline .bar:nth-child(even) rect { fill: #337AB7; }
459-
460-
/* like label-warning */
461-
#timeline .gradient.left { stop-color: #F0AD4E; }
462-
#timeline .gradient.right { stop-color: white; }

0 commit comments

Comments
 (0)