Commit b654ee40 by Brian Talbot

studio - soft landing: further styling and modal set-up - WIP

parent db21156d
...@@ -148,37 +148,35 @@ ...@@ -148,37 +148,35 @@
position: relative; position: relative;
top: 0; top: 0;
display: block; display: block;
overflow: hidden;
border: 1px solid $gray-l3; border: 1px solid $gray-l3;
padding: ($baseline/4); padding: ($baseline/4);
background: $white; background: $white;
.action-zoom { .action-zoom {
@include transition(opacity .15s ease-in-out); @include transition(bottom .50s ease-in-out);
opacity: 0;
position: absolute; position: absolute;
left: 110px; bottom: -30px;
top: 110px; right: ($baseline/2);
min-height: 300px; opacity: 0;
min-width: 300px;
.ss-icon { .ss-icon {
@include font-size(32); @include font-size(18);
@include border-radius(($baseline)); @include border-radius(2px);
display: inline-block; display: inline-block;
padding: ($baseline*1.5) $baseline $baseline $baseline; padding: ($baseline/4) ($baseline/2);
background: $blue; background: $blue;
color: $white; color: $white;
text-align: center; text-align: center;
line-height: 2.75rem;
} }
} }
&:hover { &:hover {
border-color: $blue; border-color: $blue;
top: -($baseline/5);
.action-zoom { .action-zoom {
opacity: 0.8; opacity: 1.0;
bottom: -2px;
} }
} }
} }
...@@ -207,7 +205,8 @@ ...@@ -207,7 +205,8 @@
} }
strong { strong {
font-weight: 700; color: $pink-l1;
font-weight: 500;
} }
.list-proofpoints { .list-proofpoints {
...@@ -219,7 +218,7 @@ ...@@ -219,7 +218,7 @@
.proofpoint { .proofpoint {
@include box-sizing(border-box); @include box-sizing(border-box);
@include border-radius(($baseline/4)); @include border-radius(($baseline/4));
@include transition(color .15s ease-in-out); @include transition(color .50s ease-in-out);
position: relative; position: relative;
top: 0; top: 0;
float: left; float: left;
...@@ -238,12 +237,13 @@ ...@@ -238,12 +237,13 @@
} }
&:hover { &:hover {
background: $blue-l5; @include box-shadow(0 1px ($baseline/10) $shadow-l1);
color: $blue-l2; background: $blue;
color: $blue-l3;
top: -($baseline/5); top: -($baseline/5);
.title { .title, strong {
color: $blue-d1; color: $white;
} }
} }
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<ol class="list-features"> <ol class="list-features">
<li class="feature"> <li class="feature">
<figure class="img zoom"> <figure class="img zoom">
<a href="/static/img/howitworks-feature1.png"> <a rel="modal" href="#hiw-feature1">
<img src="/static/img/thumb-hiw-feature1.png" alt="Studio Helps You Keep Your Courses Organized" /> <img src="/static/img/thumb-hiw-feature1.png" alt="Studio Helps You Keep Your Courses Organized" />
<figcaption class="sr">Studio Helps You Keep Your Courses Organized</figcaption> <figcaption class="sr">Studio Helps You Keep Your Courses Organized</figcaption>
<span class="action-zoom"> <span class="action-zoom">
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<li class="feature"> <li class="feature">
<figure class="img zoom"> <figure class="img zoom">
<a href="/static/img/howitworks-feature2.png"> <a rel="modal" href="#hiw-feature2">
<img src="/static/img/thumb-hiw-feature1.png" alt="Studio Keeps Your Learning Sequences and Lectures, Together" /> <img src="/static/img/thumb-hiw-feature1.png" alt="Studio Keeps Your Learning Sequences and Lectures, Together" />
<figcaption class="sr">Studio Keeps Your Learning Sequences and Lectures, Together</figcaption> <figcaption class="sr">Studio Keeps Your Learning Sequences and Lectures, Together</figcaption>
<span class="action-zoom"> <span class="action-zoom">
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
<li class="feature"> <li class="feature">
<figure class="img zoom"> <figure class="img zoom">
<a href="/static/img/thumb-hiw-feature3.png"> <a rel="modal" href="#hiw-feature3">
<img src="/static/img/thumb-hiw-feature1.png" alt="Studio Gives You Simple, Fast, and Incremental Publishing. With Friends." /> <img src="/static/img/thumb-hiw-feature1.png" alt="Studio Gives You Simple, Fast, and Incremental Publishing. With Friends." />
<figcaption class="sr">Studio Gives You Simple, Fast, and Incremental Publishing. With Friends.</figcaption> <figcaption class="sr">Studio Gives You Simple, Fast, and Incremental Publishing. With Friends.</figcaption>
<span class="action-zoom"> <span class="action-zoom">
...@@ -143,12 +143,29 @@ ...@@ -143,12 +143,29 @@
</ul> </ul>
</section> </section>
</div> </div>
<!-- <div class="content-modal" id="hiw-feature1">
<h3>Feature #1</h3>
<img src="/static/img/hiw-feature1.png" alt="" />
</div>
<div class="content-modal" id="hiw-feature2">
<h3>Feature #2</h3>
<img src="/static/img/hiw-feature1.png" alt="" />
</div>
<div class="content-modal" id="hiw-feature3">
<h3>Feature #3</h3>
<img src="/static/img/hiw-feature1.png" alt="" />
</div> -->
</%block> </%block>
<%block name="jsextra"> <%block name="jsextra">
<script type="text/javascript"> <script type="text/javascript">
(function() { (function() {
$("a[rel*=modal]").leanModal({closeButton: ".modal_close"});
})(this) })(this)
</script> </script>
</%block> </%block>
\ No newline at end of file
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