Rounded legend tracks
This commit is contained in:
@@ -140,27 +140,29 @@ $legend-color: #222;
|
||||
}
|
||||
|
||||
#legend {
|
||||
.line {
|
||||
display: block;
|
||||
border-left: 2em solid;
|
||||
line-height: 4px;
|
||||
padding-left: 0.5em;
|
||||
margin: 1em 1em 0.5em;
|
||||
font-size: 1em;
|
||||
color: $legend-color;
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0.5em;
|
||||
.track {
|
||||
.line {
|
||||
width: 2em;
|
||||
height: 4px;
|
||||
display: inline-block;
|
||||
border-radius: 2px;
|
||||
vertical-align: middle;
|
||||
|
||||
&.main {
|
||||
background-color: $track-main-color;
|
||||
}
|
||||
&.off-track {
|
||||
background-color: $track-off-track-color;
|
||||
}
|
||||
&.hitchhiking {
|
||||
background-color: $track-hitchhiking-color;
|
||||
}
|
||||
}
|
||||
|
||||
&.main {
|
||||
border-color: $track-main-color;
|
||||
}
|
||||
&.off-track {
|
||||
border-color: $track-off-track-color;
|
||||
}
|
||||
&.hitchhiking {
|
||||
border-color: $track-hitchhiking-color;
|
||||
.desc {
|
||||
font-size: 1em;
|
||||
margin-left: 0.5em;
|
||||
color: $legend-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
sass --unix-newline -l --style=compressed --watch spot.scss:spot.css
|
||||
sass --style=compressed --watch spot.scss:spot.css
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user