Skip to content

Commit

Permalink
edits to the card class, js function at bottom of explore pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Calvinjwala committed Sep 21, 2020
1 parent 2bc198f commit 3cc4f06
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/css/devportal.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/devportal.css.map

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions styles/_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,16 @@ td:nth-child(1) {
padding: 2rem;
background: rgba(34, 37, 43, 0.5);
backdrop-filter: blur(3px);
border-radius: 8px;
opacity: 1;
transition: all 0.35s ease-in-out;
@include media-breakpoint-down(sm) {
margin-left: 15px;
margin-right: 15px;
}
&.not-hover {
opacity: 0.6;
}
}
.section-marker {
position: absolute;
Expand Down
11 changes: 11 additions & 0 deletions tool/template-explore-businesses.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,17 @@ <h3 class="my-10 h4">{% trans %}Applications{% endtrans %}</h3>


{% block endbody %}
<script type="text/javascript">
$( '.card-b' )
.mouseover( function(e){
$( '.card-b' ).addClass( 'not-hover' );
$( this ).removeClass( 'not-hover' );
})
.mouseout( function(e){
$( '.card-b' ).removeClass( 'not-hover' );
});
</script>

<script type="application/javascript">
gtag('config', 'UA-157720658-3', {'content_group1': 'Hub Pages'});
</script>
Expand Down
10 changes: 10 additions & 0 deletions tool/template-explore-exchanges.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ <h5 class="ml-3 mb-3">{% trans %}Top Exchanges, according to CryptoCompare (as o


{% block endbody %}
<script type="text/javascript">
$( '.card-b' )
.mouseover( function(e){
$( '.card-b' ).addClass( 'not-hover' );
$( this ).removeClass( 'not-hover' );
})
.mouseout( function(e){
$( '.card-b' ).removeClass( 'not-hover' );
});
</script>
<script type="application/javascript">
gtag('config', 'UA-157720658-3', {'content_group1': 'Hub Pages'});
</script>
Expand Down
10 changes: 10 additions & 0 deletions tool/template-explore-wallets.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,16 @@ <h5 class="ml-3 mb-3">{% trans %}Hardware Wallets:{% endtrans %}</h5>


{% block endbody %}
<script type="text/javascript">
$( '.card-b' )
.mouseover( function(e){
$( '.card-b' ).addClass( 'not-hover' );
$( this ).removeClass( 'not-hover' );
})
.mouseout( function(e){
$( '.card-b' ).removeClass( 'not-hover' );
});
</script>
<script type="application/javascript">
gtag('config', 'UA-157720658-3', {'content_group1': 'Hub Pages'});
</script>
Expand Down

0 comments on commit 3cc4f06

Please sign in to comment.