Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
fix: buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
RitaOak committed May 27, 2020
1 parent da9519e commit e7f0168
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 38 deletions.
4 changes: 2 additions & 2 deletions src/components/homepage-navV2.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class homeNavV2 extends LitElement {
<div class="navbar-end navEnd">
<div class="navbar-item">
<div class="buttons">
<a class="button is-round signIn-button">Website</a>
<a class="button is-round website-button">Sign Up</a>
<a class="button is-round register-button">Register</a>
<a class="button is-round signIn-button">Sign In</a>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/oae.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ class OAE extends PageViewElement {
<home-search-v2></home-search-v2>
<div class="button-wrap buttons-landing">
<a class="button cta is-rounded primary-btn button-start">
Get Started
Search
</a>
<a class="button cta is-rounded button-filter">
Filter Results
Filter
</a>
</div>
</div>
Expand Down
5 changes: 2 additions & 3 deletions style/homepage-navv2.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@

.home-nav {
background: white;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 30px rgba(0, 0, 0, 0.24);
}

.signIn-button {
.register-button {
font-size: 1em;
border-radius: 25px;
color: #00253d;
Expand All @@ -29,7 +28,7 @@
}
}

.website-button {
.signIn-button {
font-size: 1em;
border-radius: 25px;
width: 80px;
Expand Down
50 changes: 19 additions & 31 deletions style/homepage-searchV2.scss
Original file line number Diff line number Diff line change
@@ -1,42 +1,30 @@
.home-search {
vertical-align: middle;
vertical-align: middle;
}

.home-search input {
height: 2.5em;
border-style: solid;
border-color: white;
background-color: #E9EFF5;
border-width: 1px;
&:hover, :active :focus {
border-style: solid;
border-color: white;
background-color: #E9EFF5;
border-width: 1px;
}
height: 2.5em;
border-style: solid;
border-color: white;
background-color: #e9eff5;
border-width: 1px;
&:hover,
:active :focus {
border-style: solid;
border-color: white;
background-color: #e9eff5;
border-width: 1px;
}
}

.input:focus {
border-style: solid;
border-color: white;
border-width: 1px;
background-color: white;
p.control {
width: 20em;
}

.input:focus + .icon {
color: blue;
.filter {
padding-left: 25px;
}

.home-searchIcon {
display: flex;
justify-content: center;
align-items: center;
span.filter-icon {
margin-right: 20px;
}

.is-gapless {
background: url("/images/background_02.jpg") no-repeat center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
4 changes: 4 additions & 0 deletions style/homepage-v2.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ $secondaryFontColor: #424242;

.button.button-start {
background-color: #e9eff5;
width: 80px;
height: 30px;
color: #2274ff;
border: none;
&:hover {
Expand All @@ -43,6 +45,8 @@ $secondaryFontColor: #424242;

.button.button-filter {
background-color: transparent;
width: 80px;
height: 30px;
color: $fontColour;
border: none;
&:hover {
Expand Down

2 comments on commit e7f0168

@datreeio
Copy link

@datreeio datreeio bot commented on e7f0168 May 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

6 / 1 Rules Failed

:octocat: Ensure a .gitignore file is included in project

@datreeio
Copy link

@datreeio datreeio bot commented on e7f0168 May 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

6 / 1 Rules Failed

:octocat: Ensure a .gitignore file is included in project

Please sign in to comment.