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
70e273db
Commit
70e273db
authored
Feb 09, 2012
by
Kyle Fiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some more style for course info and profile pages
parent
8b6188b9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
70 additions
and
7 deletions
+70
-7
sass/_base-extends.scss
+7
-0
sass/_info.scss
+57
-6
sass/_profile.scss
+6
-1
No files found.
sass/_base-extends.scss
View file @
70e273db
...
...
@@ -19,6 +19,13 @@
}
}
h1
.top-header
{
margin
:
(
-
(
lh
()))
(
-
(
lh
()))
lh
();
padding
:
lh
();
background
:
#f3f3f3
;
border-bottom
:
1px
solid
#e3e3e3
;
}
.button
{
@include
box-shadow
(
inset
0
1px
0
lighten
(
#888
,
10%
)
,
0
0
3px
#ccc
);
@include
linear-gradient
(
lighten
(
#888
,
5%
)
,
darken
(
#888
,
5%
));
...
...
sass/_info.scss
View file @
70e273db
...
...
@@ -3,37 +3,88 @@ div.info-wrapper {
section
.updates
{
@extend
.content
;
>
h1
{
@extend
.top-header
;
}
>
p
{
margin-bottom
:
lh
();
}
ol
{
list-style
:
none
;
li
{
padding-bottom
:
lh
(
.5
);
margin-bottom
:
lh
(
.5
);
@extend
.clearfix
;
border-bottom
:
1px
solid
#e3e3e3
;
h2
{
float
:
left
;
width
:
flex-grid
(
2
,
9
);
margin
:
0
flex-gutter
()
0
0
;
}
p
{
float
:
left
;
width
:
flex-grid
(
7
,
9
);
margin-bottom
:
0
;
}
}
}
}
section
.handouts
{
@extend
.sidebar
;
@include
border-radius
(
0
px
4px
0px
4px
);
@include
border-radius
(
0
4px
4px
0
);
border-right
:
0
;
border-left
:
1px
solid
#d3d3d3
;
h1
{
padding
:
0
lh
();
font-size
:
18px
;
}
ol
{
list-style
:
none
;
li
{
h2
{
padding
:
0
lh
();
@include
box-shadow
(
0
1px
0
#eee
);
border-bottom
:
1px
solid
#d3d3d3
;
@extend
.clearfix
;
p
{
padding
:
7px
lh
();
margin
:
0
;
text-transform
:
none
;
letter-spacing
:
0
;
font-size
:
$body-font-size
;
&
:hover
{
background
:
#efefef
;
}
a
{
display
:
inline
;
padding
:
0
;
&
:hover
{
text-decoration
:
underline
;
background
:
none
;
}
}
}
a
{
@include
box-shadow
(
0
1px
0
#eee
);
@include
transition
();
border-bottom
:
1px
solid
#d3d3d3
;
color
:
lighten
(
$text-color
,
10%
);
display
:
block
;
padding
:
7px
lh
();
text-decoration
:
none
;
&
:hover
{
@include
box-shadow
(
0
1px
0
#fff
);
background
:
#efefef
;
}
}
...
...
sass/_profile.scss
View file @
70e273db
...
...
@@ -9,7 +9,8 @@ div.profile-wrapper {
border-right
:
0
;
h1
{
padding
:
lh
();
padding
:
0
lh
();
font-size
:
18px
;
}
ul
{
...
...
@@ -52,6 +53,10 @@ div.profile-wrapper {
section
.course-info
{
@extend
.content
;
>
h1
{
@extend
.top-header
;
}
ol
{
list-style
:
none
;
...
...
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