-
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 #461 from unepwcmc/ticket-13
Ticket 13
- Loading branch information
Showing
38 changed files
with
546 additions
and
395 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[submodule "db"] | ||
path = db | ||
url = https://github.com/unepwcmc/protectedplanet-db.git | ||
branch = refresh | ||
branch = ticket-13 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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
42 changes: 42 additions & 0 deletions
42
app/assets/stylesheets/components/cards/card/stats/_card-stats-affiliations.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,42 @@ | ||
//-------------------------------------------------- | ||
// classes | ||
//-------------------------------------------------- | ||
&--stats-affliations { | ||
@include card-stats; | ||
|
||
.card { | ||
&__button { | ||
@include card-button-external; | ||
margin-top: auto; | ||
padding-top: rem-calc(14); | ||
|
||
display: none; //to be added later | ||
} | ||
|
||
&__h2 { @include card-stats-h2; } | ||
|
||
&__logos { | ||
@include flex; | ||
@include ul-unstyled; | ||
} | ||
|
||
&__logo { | ||
margin-left: rem-calc(30); | ||
max-width: rem-calc(200); | ||
|
||
&:first-child { margin-left: 0; } | ||
} | ||
|
||
&__logo-image { | ||
width: rem-calc(100); height: auto; | ||
|
||
display: block; | ||
} | ||
|
||
&__subtitle { | ||
font-weight: $bold; | ||
line-height: 1.2; | ||
margin: rem-calc(14 0 0 0); | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
app/assets/stylesheets/components/cards/card/stats/_card-stats-attributes.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,10 @@ | ||
//-------------------------------------------------- | ||
// classes | ||
//-------------------------------------------------- | ||
&--stats-attributes { | ||
@include card-stats; | ||
|
||
.card { | ||
&__h2 { @include card-stats-h2; } | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
app/assets/stylesheets/components/cards/card/stats/_card-stats-coverage.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,51 @@ | ||
//-------------------------------------------------- | ||
// classes | ||
//-------------------------------------------------- | ||
&--stats-coverage { | ||
@include card-stats; | ||
|
||
.card { | ||
&__chart { | ||
margin-bottom: rem-calc(14); | ||
width: 50%; | ||
|
||
@include breakpoint($small) { | ||
margin-right: rem-calc(20); | ||
margin-bottom: 0; | ||
width: 30%; | ||
} | ||
} | ||
|
||
&__content { @include card-stat-content; } | ||
|
||
&__h2 { @include card-stats-h2; } | ||
|
||
&__number { | ||
font-size: rem-calc(16); | ||
font-weight: $bold; | ||
line-height: .9; | ||
} | ||
|
||
&__number-large { | ||
font-size: rem-calc(40); | ||
font-weight: $bold; | ||
line-height: .9; | ||
} | ||
|
||
&__stat { | ||
font-size: rem-calc(14); | ||
line-height: 1.3; | ||
margin: rem-calc(6 0 14 0); | ||
} | ||
|
||
&__stat-large { margin-bottom: rem-calc(14); } | ||
|
||
&__subsection { border-top: solid 1px $grey-light; } | ||
|
||
&__subtitle { | ||
font-size: rem-calc(20); | ||
font-weight: $bold; | ||
margin: rem-calc(12 0 0 0); | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
app/assets/stylesheets/components/cards/card/stats/_card-stats-designations.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,12 @@ | ||
//-------------------------------------------------- | ||
// classes | ||
//-------------------------------------------------- | ||
&--stats-designations { | ||
@include card-stats; | ||
|
||
.card { | ||
&__h2 { @include card-stats-h2; } | ||
|
||
&__third { @include card-stats-third; } | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
app/assets/stylesheets/components/cards/card/stats/_card-stats-governance.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,10 @@ | ||
//-------------------------------------------------- | ||
// classes | ||
//-------------------------------------------------- | ||
&--stats-governance { | ||
@include card-stats; | ||
|
||
.card { | ||
&__h2 { @include card-stats-h2; } | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
app/assets/stylesheets/components/cards/card/stats/_card-stats-iucn.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,10 @@ | ||
//-------------------------------------------------- | ||
// classes | ||
//-------------------------------------------------- | ||
&--stats-iucn { | ||
@include card-stats; | ||
|
||
.card { | ||
&__h2 { @include card-stats-h2; } | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
app/assets/stylesheets/components/cards/card/stats/_card-stats-management.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,10 @@ | ||
//-------------------------------------------------- | ||
// classes | ||
//-------------------------------------------------- | ||
&--stats-management { | ||
@include card-stats; | ||
|
||
.card { | ||
&__h2 { @include card-stats-h2; } | ||
} | ||
} |
File renamed without changes.
Oops, something went wrong.