Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mauko Quiroga
committed
Oct 23, 2017
1 parent
3ebc9b1
commit 545e628
Showing
35 changed files
with
224 additions
and
209 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
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 was deleted.
Oops, something went wrong.
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,6 +1,17 @@ | ||
body { | ||
background: $background-white; | ||
margin: 0; | ||
overflow: auto; | ||
padding: 0; | ||
position: relative; | ||
} | ||
|
||
a { | ||
&, | ||
&:hover, | ||
&:focus, | ||
&:visited, | ||
&:active { | ||
color: $primary; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,3 @@ | ||
%button { | ||
@extend .pure-button; | ||
$color: $white !default; | ||
$text-shadow: rgba($black, .2) !default; | ||
|
||
border-radius: .25em; | ||
color: $color; | ||
line-height: 1em; | ||
text-shadow: $text-shadow; | ||
} | ||
|
||
[role='button'], | ||
[role='link'] { | ||
&.button-success { | ||
@extend %button; | ||
$button-color-success: $green !default; | ||
background: $button-color-success; | ||
} | ||
|
||
&.button-warning { | ||
@extend %button; | ||
$button-color-warning: $red !default; | ||
background: $button-color-warning; | ||
} | ||
.button { | ||
@extend button; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.container { | ||
@include media-tablet-up { | ||
padding: 0; | ||
width: 85%; | ||
} | ||
|
||
@include media-desktop-up { | ||
width: 80%; | ||
} | ||
|
||
box-sizing: border-box; | ||
margin: 0 auto; | ||
max-width: 80em; | ||
padding: 0 20px; | ||
position: relative; | ||
width: 100%; | ||
} |
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,11 @@ | ||
.icon { | ||
@extend .fa; | ||
} | ||
|
||
.icon--login { | ||
@extend .fa-sign-in; | ||
} | ||
|
||
.icon--logout { | ||
@extend .fa-sign-out; | ||
} |
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,7 +1,11 @@ | ||
.info { | ||
background-color: $green; | ||
.message--success { | ||
background: $background-message-success; | ||
} | ||
|
||
.error { | ||
background-color: $red; | ||
.message--info { | ||
background: $background-message-info; | ||
} | ||
|
||
.message--error { | ||
background: $background-message-error; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
// External styles and libraries. | ||
|
||
@import '~normalize.css'; | ||
@import '~bourbon/core/bourbon'; | ||
@import '~bourbon-neat/core/neat'; | ||
@import '~purecss'; | ||
@import '~leaflet/dist/leaflet'; | ||
@import '~font-awesome/scss/font-awesome'; |
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,20 +1,63 @@ | ||
// Variables to setup globally some site standard values. | ||
|
||
// Colours | ||
// # Colours | ||
|
||
$light-grey: hsl(0, 0%, 93%); | ||
$dark-grey: hsl(0, 0%, 20%); | ||
$white: hsl(0, 0%, 100%); | ||
$black: hsl(0, 0%, 0%); | ||
$green: hsl(134, 74%, 42%); | ||
$red: hsl(29, 84%, 48%); | ||
$dark-blue: hsl(215, 58%, 34%); | ||
$light-green: hsl(122, 38%, 84%) !default; | ||
$light-red: hsl(354, 100%, 90%) !default; | ||
$light-blue: hsl(207, 89%, 86%) !default; | ||
$blue: hsl(201, 63%, 56%) !default; | ||
$dark-blue: hsl(201, 50%, 44%) !default; | ||
$white: hsl(0, 0%, 100%) !default; | ||
$almost-black: hsl(0, 0%, 25%) !default; | ||
$black: hsl(0, 0%, 11%) !default; | ||
$light-grey: hsl(0, 0%, 91%) !default; | ||
$grey: hsl(0, 0%, 85%) !default; | ||
$dark-grey: hsl(0, 0%, 80%) !default; | ||
$black-alpha-2: hsla(0, 0%, 0%, .3) !default; | ||
$black-alpha-3: hsla(0, 0%, 0%, .3) !default; | ||
|
||
// Content breakpoints | ||
// # Theme colours | ||
|
||
$breakpoint-tablet: 40em; | ||
$breakpoint-desktop: 53.75em; | ||
$primary: $blue !default; | ||
$primary-darker: $blue !default; | ||
$secondary: $blue !default; | ||
$secondary-darken: $dark-blue !default; | ||
$border: $dark-grey !default; | ||
$border-lighter: $grey !default; | ||
$background-white: $white !default; | ||
$background-grey: $light-grey !default; | ||
$background-color: $blue !default; | ||
$background-dark: $black !default; | ||
$box-shadow: $grey !default; | ||
$dark-text: $almost-black !default; | ||
|
||
// Other global variables | ||
// # Component colours | ||
|
||
$fa-font-path: '~font-awesome/fonts'; | ||
// ## Dropdown | ||
|
||
$box-shadow-dropdown: $black-alpha-2 !default; | ||
|
||
// ## Buttons | ||
$box-shadow-button: $black-alpha-3 !default; | ||
$box-shadow-button-hover: $secondary-darken !default; | ||
|
||
// ## Messages | ||
|
||
$background-message-success: $light-green; | ||
$background-message-info: $light-blue; | ||
$background-message-error: $light-red; | ||
|
||
// # Typography | ||
|
||
$font-size: 15px; | ||
$font-family-primary: 'Source Sans Pro', Arial, sans-serif !default; | ||
$font-family-secondary: 'Evolventa', 'Trebuchet MS', sans-serif !default; | ||
|
||
// # Content breakpoints | ||
|
||
$breakpoint-tablet: 40em !default; | ||
$breakpoint-desktop: 53.75em !default; | ||
|
||
// # Other global variables | ||
|
||
$fa-font-path: '~font-awesome/fonts' !default; |
Oops, something went wrong.