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
4dafe790
Commit
4dafe790
authored
Feb 02, 2012
by
Kyle Fiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added start to style for profile and course info
parent
2458b52a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
97 additions
and
20 deletions
+97
-20
info.html
+3
-3
sass/_base.scss
+17
-5
sass/_info.scss
+39
-0
sass/_layout.scss
+16
-0
sass/_profile.scss
+21
-12
sass/application.scss
+1
-0
No files found.
info.html
View file @
4dafe790
...
...
@@ -3,11 +3,11 @@
<
%
include
file=
"navigation.html"
/>
<section
class=
"main-content"
>
<div
class=
"
profile
-wrapper"
>
<section
class=
"u
ser-info
"
>
<div
class=
"
info
-wrapper"
>
<section
class=
"u
pdates
"
>
<
%
include
file=
"info_files/updates.html"
/>
</section>
<section
class=
"
course-info
"
>
<section
class=
"
handouts
"
>
<
%
include
file=
"info_files/handouts.html"
/>
</section>
</div>
...
...
sass/_base.scss
View file @
4dafe790
...
...
@@ -41,12 +41,24 @@ em {
}
}
a
:link
,
a
:visited
{
text-decoration
:none
;
}
a
{
color
:
$mit-red
;
&
:link
{
color
:
$mit-red
;
}
&
:visited
{
color
:
darken
(
$mit-red
,
10%
);
}
&
:link
,
&
:visited
{
text-decoration
:none
;
}
a
:hover
{
text-decoration
:underline
;
&
:hover
,
&
:focus
{
text-decoration
:underline
;
}
}
input
[
type
=
"submit"
],
input
[
type
=
"button"
],
button
{
...
...
sass/_info.scss
0 → 100644
View file @
4dafe790
div
.info-wrapper
{
@extend
.table-wrapper
;
section
.updates
{
@extend
.content
;
}
section
.handouts
{
@extend
.sidebar
;
@include
border-radius
(
0px
4px
0px
4px
);
border-right
:
0
;
border-left
:
1px
solid
#d3d3d3
;
h1
{
padding
:
0
lh
();
}
ol
{
list-style
:
none
;
li
{
a
{
@include
transition
();
color
:
lighten
(
$text-color
,
10%
);
display
:
block
;
text-decoration
:
none
;
@include
box-shadow
(
0
1px
0
#eee
);
padding
:
7px
lh
();
border-bottom
:
1px
solid
#d3d3d3
;
&
:hover
{
@include
box-shadow
(
0
1px
0
#fff
);
background
:
#efefef
;
}
}
}
}
}
}
sass/_layout.scss
View file @
4dafe790
...
...
@@ -122,6 +122,14 @@ html {
a
{
color
:
#444
;
&
:link
,
&
:visited
{
color
:
#444
;
}
&
:hover
,
&
:focus
{
color
:
#000
;
}
}
}
...
...
@@ -134,6 +142,14 @@ html {
a
{
color
:
#444
;
&
:link
,
&
:visited
{
color
:
#444
;
}
&
:hover
,
&
:focus
{
color
:
#000
;
}
}
}
}
...
...
sass/_profile.scss
View file @
4dafe790
...
...
@@ -2,23 +2,32 @@ div.profile-wrapper {
@extend
.table-wrapper
;
section
.user-info
{
@include
box-sizing
(
border-box
);
margin-right
:
flex-gutter
();
padding
:
$body-line-height
;
width
:
flex-grid
(
6
);
background
:
#e3e3e3
;
border-right
:
1px
solid
#d3d3d3
;
text-shadow
:
0
1px
0
#f6f6f6
;
display
:
table-cell
;
@extend
.sidebar
;
padding
:
lh
();
ul
{
list-style
:
none
;
li
{
margin-bottom
:
lh
(
.5
);
}
}
div
#change_password_pop
{
border-top
:
1px
;
}
}
section
.course-info
{
@include
box-sizing
(
border-box
);
display
:
table-cell
;
padding
:
$body-line-height
;
width
:
flex-grid
(
6
);
@extend
.content
;
ol
{
list-style
:
none
;
}
ul
{
list-style
:
none
;
li
{
display
:
inline-block
;
padding-right
:
1em
;
...
...
sass/application.scss
View file @
4dafe790
...
...
@@ -10,6 +10,7 @@
// pages
@import
"courseware"
,
"courseware-video"
,
"courseware-sequence-nav"
;
@import
"textbook"
;
@import
"info"
;
@import
"profile"
;
@import
"wiki-basic-html"
,
"wiki-create"
,
"wiki"
;
@import
"activation"
;
...
...
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