Skip to content

Commit

Permalink
added new flex-wrapping to mobile view of home screen
Browse files Browse the repository at this point in the history
  • Loading branch information
guylepage3 committed Feb 27, 2017
1 parent 89a8054 commit 3f5d4ed
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 11 deletions.
8 changes: 4 additions & 4 deletions app/js/pages/DashboardPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class DashboardPage extends Component {
<div className="container-fluid app-center dashboard">
<div className="container app-wrap">
<div className="col-sm-12 app-container no-padding">
<div className="col-sm-3">
<div className="app-box-wrap">
<Link to="/profiles" className="app-box-container">
<div className="app-box">
<img src="/images/[email protected]" />
Expand All @@ -32,7 +32,7 @@ class DashboardPage extends Component {
<h3>Profiles</h3>
</div>
</div>
<div className="col-sm-3">
<div className="app-box-wrap">
<Link to="/wallet/deposit" className="app-box-container">
<div className="app-box">
<img src="/images/[email protected]" />
Expand All @@ -42,7 +42,7 @@ class DashboardPage extends Component {
<h3>Wallet</h3>
</div>
</div>
<div className="col-sm-3">
<div className="app-box-wrap">
<Link to="/account/settings" className="app-box-container">
<div className="app-box">
<img src="/images/app-settings.png" />
Expand All @@ -52,7 +52,7 @@ class DashboardPage extends Component {
<h3>Account</h3>
</div>
</div>
<div className="col-sm-3">
<div className="app-box-wrap">
<a href="https://helloblockstack.com"
className="app-box-container">
<div className="app-box">
Expand Down
30 changes: 23 additions & 7 deletions app/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -138,14 +138,22 @@ button.btn.btn-sm.nav-page{margin-top:-1px;padding:10px 8px;}
.out-block{width:490px;}
.out-form-group{width:490px;margin-left:-80px;}
.app-box-container{display:block;min-height:1px;padding-right:4px;text-align:center;}
.app-box{height:auto;margin:1.5rem auto;width:100%;margin-left:0px;margin-right:0px!important;}
.app-box img {
.app-box-wrap {
width:105px;
}
.app-box {
height: auto;
margin: 0.5rem auto;
width: 100%;
max-width: 76px;
margin-left: 0px;
margin-right: 0px !important;
}
.app-box img {
width: 76px;
background-color: rgba(44, 150, 255, 0.5);
-webkit-box-shadow: 0px 0px 100px 0px rgba(44, 150, 255, 1);
-moz-box-shadow: 0px 0px 100px 0px rgba(44, 150, 255, 1);
box-shadow: 0px 0px 100px 0px rgba(44, 150, 255, 1);
-webkit-box-shadow: 0px 0px 20px 0px rgba(44, 150, 255, 1);
-moz-box-shadow: 0px 0px 20px 0px rgba(44, 150, 255, 1);
box-shadow: 0px 0px 20px 0px rgba(44, 150, 255, 1);
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border-radius: 15px;
Expand Down Expand Up @@ -339,18 +347,26 @@ a.list-group-item-dash:hover,
justify-content: center;
}
.app-wrap {
max-width:unset;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
flex-direction: row;
justify-content: center;
}
.app-container {
display: flex;
flex-wrap:wrap;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
flex-direction: row;
justify-content: center;
}
div.app-text-container > h3 {color:#fff;font-weight:300;font-size:1.5rem;}
div.app-text-container > h3 {
color: #fff;
font-weight: 300;
font-size: 0.875rem;
}
.btn-home-profiles{position:absolute;font-size:12px;font-weight:500;top:75px;left:0px;padding:2px 10px;background-color:#fafafa;border-radius:6px;-webkit-box-shadow:0px 0px 20px 0px rgba(0,0,0,0.15);-moz-box-shadow:0px 0px 20px 0px rgba(0,0,0,0.15);box-shadow:0px 0px 20px 0px rgba(0,0,0,0.15);}
.btn-home-pageheader{position:absolute;font-size:11px;font-weight:400;color:rgba(255,255,255,0.85);top:15px;left:15px;padding:3px 20px;background-color:rgba(255,255,255,0.15);border-radius:6px;-webkit-box-shadow:0px 0px 20px 0px rgba(0,0,0,0.15);-moz-box-shadow:0px 0px 20px 0px rgba(0,0,0,0.15);box-shadow:0px 0px 20px 0px rgba(0,0,0,0.15);}

Expand Down

0 comments on commit 3f5d4ed

Please sign in to comment.