-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #376 from unepwcmc/refresh-marine-line
Refresh marine line
- Loading branch information
Showing
12 changed files
with
594 additions
and
583 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
app/assets/stylesheets/components/charts/_chart-legend.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
//-------------------------------------------------- | ||
// classes | ||
//-------------------------------------------------- | ||
&--legend { | ||
@include flex; | ||
@include flex-wrap; | ||
@include ul-unstyled; | ||
margin: rem-calc(14 0); | ||
} | ||
|
||
&__legend-item { | ||
@include flex; | ||
@include flex-v-center; | ||
margin-right: rem-calc(14); | ||
} | ||
|
||
&__legend-key { | ||
@include flex-no-shrink; | ||
background-color: $chart-aqua; | ||
border-radius: 100%; | ||
width: rem-calc(24); height: rem-calc(24); | ||
|
||
display: block; | ||
} | ||
|
||
&__legend-text { | ||
margin-left: rem-calc(6); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
&--line { | ||
.chart { | ||
&__wrapper-ie11 { // do not remove - this is required to set the sizing for ie11 | ||
@include breakpoint($small) { | ||
padding-bottom: 54%; | ||
width: 100%; | ||
|
||
position: relative; | ||
} | ||
} | ||
|
||
&__scrollable { | ||
@include breakpoint-down($small) { | ||
overflow-x: auto; | ||
|
||
display: flex; | ||
} | ||
} | ||
|
||
&__chart { | ||
@include breakpoint-down($small) { min-width: 260%; } | ||
} | ||
|
||
&__svg { | ||
width: 100%; | ||
|
||
@include breakpoint($small) { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
} | ||
} | ||
} | ||
} |
158 changes: 0 additions & 158 deletions
158
app/assets/stylesheets/components/charts/_interactive-multiline.scss
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.