react-apollo-todo example app ui fixes (#1091)

This commit is contained in:
surendran82 2018-11-22 13:19:15 +05:30 committed by Shahidh K Muhammed
parent ef6e53a407
commit 9d53f38ec4
4 changed files with 17404 additions and 10 deletions

View File

@ -0,0 +1,3 @@
node_modules/
package-lock.json

File diff suppressed because it is too large Load Diff

View File

@ -110,14 +110,19 @@ class App extends Component {
rel="noopener noreferrer"
>
Backend
<i className="fa fa-angle-double-right" />
</a>
<span className="accessKey">
<button>(use Access Key: hasurademoapp)</button>
</span>
<i className="fa fa-angle-double-right" />
</span>
{/*
<span className="footerLinkPadd accessKey">
<button>
Access Key: hasurademoapp
</button>
</span>
*/}
<span className="footerLinkPadd">
<a
href="https://github.com/hasura/graphql-engine/tree/master/community/examples/react-apollo-todo"

View File

@ -70,18 +70,19 @@ body {
padding-right: 75px;
}
.loginBtn button {
background-color: #8da5c1;
border: 1px solid #fff;
border-radius: 20px;
padding: 4px 30px;
font-family: "Raleway";
font-size: 16px;
background-color: #f93c18;
padding: 10px 30px;
border: 0;
color: #fff;
font-weight: 600;
cursor: pointer;
font-family: "raleway";
font-size: 16px;
font-weight: 700;
letter-spacing: 1px;
border-radius: 25px;
text-transform: uppercase;
}
.loginBtn button:hover {
background-color: #7792b2;
background-color: #e0270e;
}
.loginBtn button:focus {
outline: none;
@ -501,6 +502,9 @@ body {
.footerWrapper a:hover {
color: #406282;
}
.footerWrapper span i {
margin-left: 5px;
}
.footerWrapper a i {
margin-left: 5px;
}
@ -510,6 +514,20 @@ body {
.footerWrapper .accessKey button {
background-color: #a5b9cc;
border: 0;
padding-right: 0;
}
@media (max-width: 767px) {
.headerWrapper {
display: block !important;
}
.headerDescription {
text-align: center;
padding-bottom: 10px;
}
.loginBtn {
display: flex;
justify-content: center;
}
}
@media (max-width: 991px) {
.sliderMenu {
@ -527,6 +545,7 @@ body {
margin: 0 auto;
}
.headerWrapper {
display: flex;
padding-left: 0;
height: auto;
}