Skip to content

Commit

Permalink
Update clap style
Browse files Browse the repository at this point in the history
  • Loading branch information
hoanglecao committed Dec 15, 2017
1 parent c9a8dc8 commit 9f087a5
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


<div class="float-left">
<button class="button--link" (click) = "onClap()">
<button class="button--clap" (click) = "onClap()">
<svg class="svgIcon--25px" width="25" height="25" viewBox="0 0 25 25">
<g fill-rule="evenodd"><path d="M11.739 0l.761 2.966L13.261 0z"></path>
<path d="M14.815 3.776l1.84-2.551-1.43-.471z"></path>
Expand All @@ -11,4 +11,4 @@
</g></svg>
</button>
</div>
<div>{{NumberOfClaps}}<div>
<div class="clap">{{NumberOfClaps}}<div>
28 changes: 27 additions & 1 deletion src/modules/CRMCore.Module.Spa/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,40 @@ html, body {
font-family: medium-content-sans-serif-font,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif; }
.button--chromeless,
.button--link {
border-width: 0;
border: none;
padding: 2;
text-align: left;
vertical-align: baseline;
white-space: normal;
background-color: #f8f8f8;
margin-left: 9px;
margin-right: 9px;

}
.button--clap {
border: none;
padding: 2;
text-align: left;
vertical-align: baseline;
white-space: normal;
background-color: #f8f8f8;
margin-left: 9px;
margin-right: 9px;
border-radius: 18px;
box-shadow: 0 6px #4CAF50;
}
.button--clap:hover {background-color: #3e8e41;border: none;}
.clap {
padding-top: 12px !important;
font-family: fantasy;
}

.button--clap:active {
background-color: #3e8e41;
box-shadow: 0 5px #666;
transform: translateY(4px);
border: none;
}
.svgIcon--25px {
line-height: 25px;
height: 25px;
Expand Down Expand Up @@ -279,6 +304,7 @@ html, body {

}


#wrapper .visible {
position:relative;

Expand Down

0 comments on commit 9f087a5

Please sign in to comment.