-
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.
- Loading branch information
Showing
39 changed files
with
757 additions
and
11 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 |
---|---|---|
|
@@ -20,4 +20,5 @@ | |
/public/packs | ||
/public/packs-test | ||
/node_modules | ||
.DS_Store | ||
.DS_Store | ||
.env |
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,3 +1,7 @@ | ||
### 2.1.0 | ||
|
||
* Addition of a contact form to submit metadata suggestions | ||
|
||
### 2.0.0 | ||
|
||
**Ocean+ Library:** | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
.v-form { | ||
&__error { | ||
color: $red-required; | ||
font-style: normal; | ||
font-weight: bold; | ||
margin-top: rem-calc(14); | ||
|
||
display: inline-block; | ||
} | ||
|
||
&__overlay { | ||
background-color: rgba($white, 0.8); | ||
|
||
position: fixed; | ||
top: 0; | ||
bottom: 0; | ||
left: 0; | ||
right: 0; | ||
z-index: $z-200; | ||
} | ||
|
||
&__success { | ||
@extend .item-center; | ||
|
||
background-color: $blue-dark; | ||
color: $white; | ||
box-shadow: rem-calc(0 1 2 1) rgba($black, 0.5); | ||
padding: rem-calc(30 20); | ||
width: 80%; | ||
|
||
position: fixed; | ||
|
||
@include breakpoint($small) { | ||
padding: rem-calc(20 130); | ||
width: rem-calc(690); height: rem-calc(510); | ||
} | ||
} | ||
|
||
&__success-icon { | ||
background-size: rem-calc(50 50); | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
border: solid rem-calc(2) $white; | ||
border-radius: 100%; | ||
padding: rem-calc(20); | ||
width: rem-calc(90); height: rem-calc(90); | ||
|
||
@include breakpoint($medium) { | ||
background-size: rem-calc(75 75); | ||
padding: rem-calc(30); | ||
width: rem-calc(130); height: rem-calc(130); | ||
} | ||
} | ||
|
||
&__success-title { | ||
align-self: flex-start; | ||
margin-top: rem-calc(30); | ||
margin-bottom: rem-calc(14); | ||
} | ||
|
||
&__success-message { | ||
align-self: flex-start; | ||
margin-bottom: rem-calc(30); | ||
} | ||
|
||
&__success-button { | ||
border-radius: rem-calc(2); | ||
font-size: rem-calc(16); | ||
margin-top: rem-calc(20); | ||
padding: rem-calc(12 65); | ||
} | ||
} |
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,88 @@ | ||
$border: solid rem-calc(1) $grey; | ||
$checkbox-width: rem-calc(30); | ||
|
||
.form { | ||
&__section-header { | ||
margin-top: rem-calc(34); | ||
padding-bottom: rem-calc(20); | ||
border-bottom: $border; | ||
} | ||
|
||
&__field { | ||
border-radius: rem-calc(3); | ||
border: $border; | ||
font-size: inherit; | ||
padding: rem-calc(14); | ||
width: 100%; height: rem-calc(50); | ||
|
||
display: block; | ||
} | ||
|
||
&__label { | ||
font-size: rem-calc(16); | ||
font-weight: bold; | ||
margin: rem-calc(16 0 10 0); | ||
|
||
display: inline-block; | ||
} | ||
|
||
&__label-comment { | ||
font-weight: normal; | ||
} | ||
|
||
&__checkbox-row { | ||
margin: rem-calc(16 0 10 0); | ||
} | ||
|
||
&__default-checkbox { | ||
@extend %hidden-input; | ||
top: $checkbox-width; | ||
left: $checkbox-width / 2; | ||
} | ||
|
||
&__checkbox { | ||
border: $border; | ||
cursor: pointer; | ||
margin-right: rem-calc(8); | ||
width: $checkbox-width; height: $checkbox-width; | ||
|
||
display: inline-block; | ||
} | ||
|
||
&__submit { | ||
border-radius: rem-calc(2); | ||
font-size: rem-calc(16); | ||
margin-top: rem-calc(20); | ||
padding: rem-calc(12 65); | ||
} | ||
|
||
&__required { | ||
color: $red-required; | ||
font-weight: bold; | ||
font-style: inherit; | ||
} | ||
} | ||
|
||
@include custom_input_checked('.form__default-checkbox', '.form__checkbox') { | ||
&::after { | ||
background: $blue image-url('icons/tick.svg') center no-repeat; | ||
content: ''; | ||
width: $checkbox-width; | ||
height: $checkbox-width; | ||
|
||
display: block; | ||
} | ||
} | ||
|
||
@include custom_input_focus_default('.form__default-checkbox', '.form__checkbox'); | ||
|
||
::-webkit-input-placeholder { | ||
font-style: italic; | ||
} | ||
|
||
:-ms-input-placeholder { | ||
font-style: italic; | ||
} | ||
::placeholder { | ||
font-style: italic; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
%hidden-input { | ||
border: 0; | ||
clip: rect(0 0 0 0); | ||
height: rem-calc(1); | ||
margin: - rem-calc(1); | ||
overflow: hidden; | ||
padding: 0; | ||
white-space: nowrap; | ||
width: rem-calc(1); | ||
opacity: 0; | ||
position: absolute; | ||
} | ||
|
||
@mixin custom_input_checked($default-input-selector, $custom-input-selector) { | ||
#{$default-input-selector} { | ||
&:checked + #{$custom-input-selector} { | ||
@content; | ||
} | ||
} | ||
} | ||
@mixin custom_input_focus_default($default-input-selector, $custom-input-selector) { | ||
#{$default-input-selector} { | ||
&:focus + #{$custom-input-selector} { | ||
outline-width: rem-calc(2); | ||
outline-style: solid; | ||
outline-color: Highlight; | ||
|
||
@media (-webkit-min-device-pixel-ratio:0) { | ||
outline-color: -webkit-focus-ring-color; | ||
outline-style: auto; | ||
} | ||
} | ||
} | ||
} |
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
Oops, something went wrong.