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
d0d02963
Commit
d0d02963
authored
Feb 01, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
studio - revising course-based navigation - initial scss setup
parent
01fab2ec
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
84 additions
and
4 deletions
+84
-4
cms/static/img/logo-edx-studio.png
+0
-0
cms/static/sass/_extends.scss
+79
-0
cms/static/sass/base-style.scss
+1
-0
cms/templates/base.html
+1
-1
common/static/sass/_mixins.scss
+3
-3
No files found.
cms/static/img/logo-edx-studio.png
0 → 100644
View file @
d0d02963
2.4 KB
cms/static/sass/_extends.scss
0 → 100644
View file @
d0d02963
.faded-hr-divider
{
@include
background-image
(
linear-gradient
(
180deg
,
rgba
(
200
,
200
,
200
,
0
)
0%
,
rgba
(
200
,
200
,
200
,
1
)
50%
,
rgba
(
200
,
200
,
200
,
0
)));
height
:
1px
;
width
:
100%
;
}
.faded-hr-divider-medium
{
@include
background-image
(
linear-gradient
(
180deg
,
rgba
(
240
,
240
,
240
,
0
)
0%
,
rgba
(
240
,
240
,
240
,
1
)
50%
,
rgba
(
240
,
240
,
240
,
0
)));
height
:
1px
;
width
:
100%
;
}
.faded-hr-divider-light
{
@include
background-image
(
linear-gradient
(
180deg
,
rgba
(
255
,
255
,
255
,
0
)
0%
,
rgba
(
255
,
255
,
255
,
0
.8
)
50%
,
rgba
(
255
,
255
,
255
,
0
)));
height
:
1px
;
width
:
100%
;
}
.faded-vertical-divider
{
@include
background-image
(
linear-gradient
(
90deg
,
rgba
(
200
,
200
,
200
,
0
)
0%
,
rgba
(
200
,
200
,
200
,
1
)
50%
,
rgba
(
200
,
200
,
200
,
0
)));
height
:
100%
;
width
:
1px
;
}
.faded-vertical-divider-light
{
@include
background-image
(
linear-gradient
(
90deg
,
rgba
(
255
,
255
,
255
,
0
)
0%
,
rgba
(
255
,
255
,
255
,
0
.6
)
50%
,
rgba
(
255
,
255
,
255
,
0
)));
height
:
100%
;
width
:
1px
;
}
.vertical-divider
{
@extend
.faded-vertical-divider
;
position
:
relative
;
&
:
:
after
{
@extend
.faded-vertical-divider-light
;
content
:
""
;
display
:
block
;
position
:
absolute
;
left
:
1px
;
}
}
.horizontal-divider
{
border
:
none
;
@extend
.faded-hr-divider
;
position
:
relative
;
&
:
:
after
{
@extend
.faded-hr-divider-light
;
content
:
""
;
display
:
block
;
position
:
absolute
;
top
:
1px
;
}
}
.fade-right-hr-divider
{
@include
background-image
(
linear-gradient
(
180deg
,
rgba
(
200
,
200
,
200
,
0
)
0%
,
rgba
(
200
,
200
,
200
,
1
)));
border
:
none
;
}
.fade-left-hr-divider
{
@include
background-image
(
linear-gradient
(
180deg
,
rgba
(
200
,
200
,
200
,
1
)
0%
,
rgba
(
200
,
200
,
200
,
0
)));
border
:
none
;
}
\ No newline at end of file
cms/static/sass/base-style.scss
View file @
d0d02963
...
...
@@ -8,6 +8,7 @@
@import
"fonts"
;
@import
"variables"
;
@import
"cms_mixins"
;
@import
"extends"
;
@import
"base"
;
@import
"header"
;
@import
"dashboard"
;
...
...
cms/templates/base.html
View file @
d0d02963
...
...
@@ -29,8 +29,8 @@
<script
type=
"text/javascript"
src=
"${static.url('js/vendor/backbone-min.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('js/vendor/markitup/jquery.markitup.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('js/vendor/markitup/sets/wiki/set.js')}"
></script>
<script
src=
"${static.url('js/vendor/symbolset.ss-standard.js')}"
></script>
<script
src=
"${static.url('js/vendor/symbolset.ss-symbolicons.js')}"
></script>
<script
src=
"${static.url('js/vendor/symbolset.ss-standard.js')}"
></script>
<
%
static:js
group=
'main'
/>
<
%
static:js
group=
'module-js'
/>
...
...
common/static/sass/_mixins.scss
View file @
d0d02963
...
...
@@ -7,10 +7,10 @@
@return
$body-line-height
*
$amount
;
}
@mixin
hide-text
(){
text-indent
:
-9999px
;
@mixin
hide-text
()
{
text-indent
:
-100%
;
white-space
:
nowrap
;
overflow
:
hidden
;
display
:
block
;
}
@mixin
vertically-and-horizontally-centered
(
$height
,
$width
)
{
...
...
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