Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hifis.net
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HIFIS
Overall
hifis.net
Commits
e6162eab
Verified
Commit
e6162eab
authored
4 years ago
by
Huste, Tobias
Browse files
Options
Downloads
Patches
Plain Diff
Colorize roadmap using Bootstrap alerts
parent
bd3c6b46
No related branches found
Branches containing commit
No related tags found
1 merge request
!26
Colorize roadmap using Bootstrap alerts
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
_layouts/roadmap.html
+5
-6
5 additions, 6 deletions
_layouts/roadmap.html
_sass/_bootstrap_variables.scss
+14
-6
14 additions, 6 deletions
_sass/_bootstrap_variables.scss
_sass/roadmap/_roadmap.scss
+39
-40
39 additions, 40 deletions
_sass/roadmap/_roadmap.scss
roadmap/index.md
+1
-0
1 addition, 0 deletions
roadmap/index.md
with
59 additions
and
52 deletions
_layouts/roadmap.html
+
5
−
6
View file @
e6162eab
...
...
@@ -12,7 +12,6 @@
{% assign unique_dates = sorted_roadmap | map: "date" | uniq | sort %}
{% assign year = "1999" %}
{% assign did_first_section = false %}
<section>
<div
class=
"timeline"
>
...
...
@@ -22,25 +21,25 @@
{% if newyear != year %}
{% assign year = newyear %}
<
div
class=
"roadmap-year"
>
{{ newyear }}
</
div
>
<
h1
>
{{ newyear }}
</
h1
>
{% endif %}
<div
class=
"roadmap-month"
>
<div
class=
"timeline-bubble"
></div>
<
div
class=
"month-text"
>
{{ date_item | date: "%B %Y" }}
</
div
>
<
h2
>
{{ date_item | date: "%B %Y" }}
</
h2
>
</div>
<div
class=
"roadmap-item"
>
{% for roadmap_item in sorted_roadmap_by_date %}
{% assign service_short = roadmap_item.service | capitalize %}
<article>
<article
class=
"alert-{{ roadmap_item.service }}-light"
>
{% for service_name in service_names %}
{% if service_name contains service_short %}
<
div
class=
"service_name"
>
{{ service_name }}
</
div
>
<
span
class=
"service_name
badge badge-{{ roadmap_item.service }}-light
"
>
{{ service_name }}
</
span
>
{% endif %}
{% endfor %}
<p>
{{ roadmap_item.content | markdownify }}
</p>
{{ roadmap_item.content | markdownify }}
</article>
{% endfor %}
...
...
This diff is collapsed.
Click to expand it.
_sass/_bootstrap_variables.scss
+
14
−
6
View file @
e6162eab
...
...
@@ -3,10 +3,18 @@
$border-radius
:
0
.25rem
;
$theme-colors
:
(
"danger"
:
$color-helmholtz-health
,
"info"
:
$color-helmholtz-space
,
"primary"
:
$color-helmholtz-blue
,
"secondary"
:
$color-helmoltz-gray
,
"success"
:
$color-helmholtz-green
,
"warning"
:
$color-helmholtz-energy
"danger"
:
$color-helmholtz-health
,
"info"
:
$color-helmholtz-space
,
"primary"
:
$color-helmholtz-blue
,
"secondary"
:
$color-helmoltz-gray
,
"success"
:
$color-helmholtz-green
,
"warning"
:
$color-helmholtz-energy
,
"overall"
:
$color-helmoltz-gray
,
"backbone"
:
$color-helmholtz-matter
,
"cloud"
:
$color-helmholtz-space
,
"software"
:
$color-helmholtz-green
,
"overall-light"
:
lighten
(
$color-helmoltz-gray
,
30%
)
,
"backbone-light"
:
lighten
(
$color-helmholtz-matter
,
15%
)
,
"cloud-light"
:
lighten
(
$color-helmholtz-space
,
15%
)
,
"software-light"
:
lighten
(
$color-helmholtz-green
,
15%
)
);
This diff is collapsed.
Click to expand it.
_sass/roadmap/_roadmap.scss
+
39
−
40
View file @
e6162eab
...
...
@@ -51,42 +51,40 @@ div.timeline {
margin-left
:
1rem
;
margin-right
:
1rem
;
padding
:
1rem
;
}
/*
* Reduce font-sizes and spacings between elements to consume less
* space in timeline by each roadmap item of the four services.
*/
h1
{
@include
font-normal
;
margin-top
:
0
.25rem
;
margin-bottom
:
0
.25rem
;
}
h2
{
@include
font-small
;
margin-top
:
0
.25rem
;
margin-bottom
:
0
.25rem
;
}
p
{
@include
font-small
;
/*
* Reduce font-sizes and spacings between elements to consume less
* space in timeline by each roadmap item of the four services.
*/
h1
{
@include
font-normal
;
margin-top
:
0
.25rem
;
margin-bottom
:
0
.25rem
;
}
h2
{
@include
font-small
;
margin-top
:
0
.25rem
;
margin-bottom
:
0
.25rem
;
}
ul
{
margin
:
0
.25rem
;
li
{
margin-top
:
0
.25rem
;
margin-bottom
:
0
.25rem
;
}
p
{
@include
font-small
;
margin-top
:
0
.25rem
;
margin-bottom
:
0
.25rem
;
}
ul
{
margin
:
0
.25rem
;
li
{
@include
font-small
;
}
}
}
.service_name
{
@include
font-subscript
;
font-style
:
italic
;
.service_name
{
float
:
right
;
color
:
$color-helmholtz-blue
;
margin-top
:
0
.25rem
;
/*
* Reserve a whole line for service on phone since there is not enough
...
...
@@ -94,18 +92,24 @@ div.timeline {
*/
@include
medium-is-phone
{
float
:
none
;
text-align
:
right
;
}
}
}
.roadmap-year
{
@include
font-very-large
;
@include
font-bold
;
section
{
h1
{
@include
font-very-large
;
@include
font-bold
;
color
:
$color-helmholtz-blue
;
text-align
:
center
;
color
:
$color-helmholtz-blue
;
text-align
:
center
;
}
h2
{
@include
font-large
;
@include
font-bold
;
}
}
.roadmap-month
{
...
...
@@ -128,9 +132,4 @@ div.timeline {
border-top-right-radius
:
0
.5
*
$roadmap_timeline_thickness
;
border-bottom-right-radius
:
0
.5
*
$roadmap_timeline_thickness
;
}
.month-text
{
@include
font-large
;
@include
font-bold
;
}
}
This diff is collapsed.
Click to expand it.
roadmap/index.md
+
1
−
0
View file @
e6162eab
---
title
:
Roadmap
title_image
:
default
layout
:
roadmap
excerpt
:
"
The
is
the
roadmap
of
the
HIFIS
platform.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment