Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
b654ee40
Commit
b654ee40
authored
Feb 04, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
studio - soft landing: further styling and modal set-up - WIP
parent
db21156d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
21 deletions
+39
-21
cms/static/img/hiw-feature1.png
+0
-0
cms/static/sass/_index.scss
+18
-18
cms/templates/howitworks.html
+21
-3
No files found.
cms/static/img/hiw-feature1.png
0 → 100644
View file @
b654ee40
255 KB
cms/static/sass/_index.scss
View file @
b654ee40
...
@@ -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
.
15
s
ease-in-out
);
@include
transition
(
color
.
50
s
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
;
}
}
}
}
...
...
cms/templates/howitworks.html
View file @
b654ee40
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment