Commit 2b80c619 by Chris Committed by GitHub

Merge pull request #13520 from edx/clrux/ac-586-course-card-contrast

AC-586 adding min-height and bg color for contrast
parents af841336 dadd7195
...@@ -55,18 +55,20 @@ $learn-more-horizontal-position: calc(50% - 100px); // calculate the left positi ...@@ -55,18 +55,20 @@ $learn-more-horizontal-position: calc(50% - 100px); // calculate the left positi
.learn-more { .learn-more {
@include left($learn-more-horizontal-position); @include left($learn-more-horizontal-position);
@include box-sizing(border-box); @include box-sizing(border-box);
@include line-height(28);
@extend %ui-depth2; @extend %ui-depth2;
position: absolute; position: absolute;
top: ($baseline*2.75); top: ($baseline*2.75);
opacity: 0;
border: 3px solid $white;
border-radius: 3px;
padding: 0 $baseline; padding: 0 $baseline;
width: ($baseline*10); width: ($baseline*10);
height: ($baseline*2.5); height: ($baseline*2.5);
text-align: center; border-color: $uxpl-blue-base;
border-radius: 3px;
background: $uxpl-blue-base;
color: $white; color: $white;
line-height: ($baseline*2.5);
text-align: center;
opacity: 0;
text-transform: none;
} }
} }
...@@ -171,4 +173,3 @@ $learn-more-horizontal-position: calc(50% - 100px); // calculate the left positi ...@@ -171,4 +173,3 @@ $learn-more-horizontal-position: calc(50% - 100px); // calculate the left positi
@include omega(4n); @include omega(4n);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment