Skip to content

Commit

Permalink
Merge pull request #93 from Vizzuality/feature/rapzo-frontend-ui-kit
Browse files Browse the repository at this point in the history
Feature/rapzo frontend ui kit
  • Loading branch information
simaob committed Nov 6, 2019
2 parents 80a4e78 + 5a4d9ad commit d6fd75f
Show file tree
Hide file tree
Showing 93 changed files with 1,281 additions and 19 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,11 @@ yarn-debug.log*

# System Files
.DS_Store

# Personal TODO list and IDE
TODO.md
*.code-workspace

# Apple
.DS_Store

Binary file added app/assets/images/clint_eastwood.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/eli_wallach.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions app/assets/images/hero_background.svg
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.
11 changes: 11 additions & 0 deletions app/assets/images/icon_chevron_dark/chevron_down_black-1.svg
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.
Binary file added app/assets/images/icon_cloud_blue/download-cloud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions app/assets/images/icon_cloud_blue/download-cloud.svg
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions app/assets/images/icon_cloud_blue_dark/download-cloud.svg
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions app/assets/images/icon_cloud_blue_darker/download-cloud.svg
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions app/assets/images/icon_cloud_blue_light/download-cloud.svg
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.
Binary file added app/assets/images/icon_filter_blue/filter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions app/assets/images/icon_filter_blue/filter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/icon_filter_blue/filter@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/icon_filter_dark/filter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions app/assets/images/icon_filter_dark/filter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/icon_filter_dark/filter@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/icon_printer_blue/printer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions app/assets/images/icon_printer_blue/printer.svg
Binary file added app/assets/images/icon_printer_blue/printer@2x.png
Binary file added app/assets/images/icon_search/search.png
16 changes: 16 additions & 0 deletions app/assets/images/icon_search/search.svg
Binary file added app/assets/images/icon_search/search@2x.png
Binary file added app/assets/images/icon_search_dark/search.png
Binary file added app/assets/images/icon_search_dark/search@2x.png
27 changes: 27 additions & 0 deletions app/assets/images/icon_search_dark/search@3x.svg
Binary file added app/assets/images/icon_twitter/White.png
15 changes: 15 additions & 0 deletions app/assets/images/icon_twitter/White.svg
Binary file added app/assets/images/icon_twitter/White@2x.png
Binary file added app/assets/images/lee_van_cleef.jpg
Binary file added app/assets/images/logo/TPI_logo.png
15 changes: 15 additions & 0 deletions app/assets/images/logo/TPI_logo.svg

Large diffs are not rendered by default.

Binary file added app/assets/images/logo/TPI_logo@2x.png
Binary file added app/assets/images/logo_dark/TPI_logo.png
13 changes: 13 additions & 0 deletions app/assets/images/logo_dark/TPI_logo.svg

Large diffs are not rendered by default.

Binary file added app/assets/images/logo_dark/TPI_logo@2x.png
2 changes: 2 additions & 0 deletions app/assets/javascripts/home.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Place all the behaviors and hooks related to the matching controller here.
// All this logic will automatically be available in application.js.
2 changes: 2 additions & 0 deletions app/assets/javascripts/publications.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Place all the behaviors and hooks related to the matching controller here.
// All this logic will automatically be available in application.js.
12 changes: 12 additions & 0 deletions app/assets/stylesheets/app/_colors.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
$white: #fff;
$blue: #5587F6;
$blue-dark: #0A4BDC;
$blue-darker: #083AAB;
$yellow: #FFDD49;
$dark: #191919;
$grey: #F5F8FE;
$grey-dark: #595B5D;
// $pink: #FA7C91;
// $brown: #757763;
// $beige-light: #D0D1CD;
// $beige-lighter: #EFF0EB;
41 changes: 41 additions & 0 deletions app/assets/stylesheets/app/_typography.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
@font-face {
font-family: "BrownTT Regular";
src: url("/assets/BrownTT-Regular.ttf") format("truetype");
}

@font-face {
font-family: "BrownTT Bold";
src: url("/assets/BrownTT-Bold.ttf") format("truetype");
}

::selection {
background-color: $yellow;
}

h1 {
@extend .is-size-1;
}

h2 {
@extend .is-size-2;
}

h3 {
@extend .is-size-3;
}

h4 {
@extend .is-size-4;
}

h5, h6 {
@extend .is-size-5;
}

p {
@extend .is-size-6;
}

small {
@extend .is-size-7;
}
72 changes: 72 additions & 0 deletions app/assets/stylesheets/app/buttons.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
@import "app/typography";

$button-border-width: 4px;

.link {
font-family: $family-sans-serif-bold;

&.is-hovered,
&:hover,
&.is-focused,
&:focus {
color: $blue-darker;
text-decoration: underline;
}

&.is-focused,
&:focus {
background: $yellow;
padding: 0 3px 3px 3px;
}
}

.button {
min-width: 160px;
height: 40px;
justify-content: center;
align-items: center;
font-family: $family-sans-serif-bold;

&.is-small {
border-radius: 0;
height: 30px;
min-width: 100px;
}

&.is-primary {
&.is-hovered,
&:hover {
background-color: $blue-dark;
}

&.is-focused,
&:focus {
background-color: $blue-darker;
border-color: $yellow;
border-width: 4px;
}
}

&.is-secondary {
border: 2px solid $blue;
color: $blue;

&.is-hovered,
&:hover,
&.is-focused,
&:focus {
background-color: $grey;
color: $blue-dark;
}

&.is-hovered,
&:hover {
border-color: $blue-dark;
}

&.is-focused,
&:focus {
border-color: $yellow;
}
}
}
1 change: 1 addition & 0 deletions app/assets/stylesheets/app/forms.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import "app/colors";
Loading

0 comments on commit d6fd75f

Please sign in to comment.