Skip to content

Commit

Permalink
GH-68: fixed styles for button that appears on hover for icon components
Browse files Browse the repository at this point in the history
  • Loading branch information
troychaplin committed Oct 7, 2019
1 parent 2fcc111 commit 5a43ff4
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/_themes/docs/components/cardlabel/_cardlabel.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.c-cardlabel{
.c-cardlabel {
overflow: hidden;
box-shadow: 0 5px 8px 2px rgba($grey-emperor, 0.1);
background-color: white;
Expand All @@ -10,7 +10,7 @@

.cardlabel__content figure {
height: 160px;
transition: all .3s ease-out;
transition: all 0.3s ease-out;
display: flex;
align-items: center;
justify-content: center;
Expand All @@ -28,13 +28,17 @@

.cardlabel__content h2 {
font-size: $pixel16;
padding: 3px 5px 5px;
padding: 8px 5px 5px;
margin-bottom: 10px;
}

.cardlabel__label {
background-color: $grey;
padding: 10px;
// padding: 10px;

.c-buttoncta {
margin: 0;
}
}

.c-cardlabel:hover .cardlabel__content figure {
Expand Down

0 comments on commit 5a43ff4

Please sign in to comment.