Skip to content

Commit

Permalink
Socialite card styling
Browse files Browse the repository at this point in the history
  • Loading branch information
benmag committed Aug 1, 2018
1 parent fe6c3d8 commit 9014803
Show file tree
Hide file tree
Showing 6 changed files with 57,986 additions and 3 deletions.
10,528 changes: 10,526 additions & 2 deletions public/css/app.css

Large diffs are not rendered by default.

Binary file added public/img/bigcommerce.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 public/img/shopify.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 public/img/woocommerce.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47,405 changes: 47,404 additions & 1 deletion public/js/app.js

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions resources/assets/sass/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,59 @@
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.socialite-card {
background-color: #f4f4f4;
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
border: 1px solid #d5d5d5;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
height: 100px;
text-indent: -9999px;
width: 140px;

&:hover,&.selected {
border: 1px solid #83bd31;
background-color: #fff;
-webkit-box-shadow: 0 2px 10px rgba(0,0,0,0.2);
-moz-box-shadow: 0 2px 10px rgba(0,0,0,0.2);
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

&.selected {
position: relative;
background-position: top 20px center;

&:after {
font-family: FontAwesome;
content: "\f058";
position: absolute;
color: #83bd31;
bottom: 10px;
width: 20px;
text-align: center;
left: -10px;
margin-left: 50%;
font-size: 1.5em;
text-indent: 0;
}
}



&.shopify {
background-image: url(/img/shopify.png);
}

&.woocommerce {
background-image: url(/img/woocommerce.png);
}

&.bigcommerce {
background-image: url(/img/bigcommerce.png);
}

}

0 comments on commit 9014803

Please sign in to comment.