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
0e221693
Commit
0e221693
authored
Feb 20, 2012
by
Kyle Fiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added more style for askbot profile page
parent
02174ff6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
103 additions
and
29 deletions
+103
-29
main.html
+1
-1
sass/discussion/_askbot-original.scss
+24
-24
sass/discussion/_profile.scss
+78
-4
No files found.
main.html
View file @
0e221693
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
<head>
<head>
<
%
block
name=
"title"
><title>
MITx 6.002
</title></
%
block>
<
%
block
name=
"title"
><title>
MITx 6.002
x
</title></
%
block>
<link
rel=
"stylesheet"
href=
"${ settings.LIB_URL }jquery.treeview.css"
type=
"text/css"
media=
"all"
/>
<link
rel=
"stylesheet"
href=
"${ settings.LIB_URL }jquery.treeview.css"
type=
"text/css"
media=
"all"
/>
<link
rel=
"stylesheet"
href=
"/static/css/application.css"
type=
"text/css"
media=
"all"
/>
<link
rel=
"stylesheet"
href=
"/static/css/application.css"
type=
"text/css"
media=
"all"
/>
...
...
sass/discussion/_askbot-original.scss
View file @
0e221693
...
@@ -107,9 +107,9 @@
...
@@ -107,9 +107,9 @@
// height: 0;
// height: 0;
// visibility: hidden; }
// visibility: hidden; }
.badges
a
{
//
.badges a {
color
:
#763333
;
//
color: #763333;
text-decoration
:
underline
;
}
//
text-decoration: underline; }
// a:hover {
// a:hover {
// text-decoration: underline; }
// text-decoration: underline; }
...
@@ -1846,27 +1846,27 @@ body.anon #searchbar {
...
@@ -1846,27 +1846,27 @@ body.anon #searchbar {
// width: 270px;
// width: 270px;
// margin-bottom: 15px; }
// margin-bottom: 15px; }
a
{
//
a {
&
.medal
{
//
&.medal {
font-size
:
17px
;
//
font-size: 17px;
line-height
:
250%
;
//
line-height: 250%;
margin-right
:
5px
;
//
margin-right: 5px;
color
:
#333
;
//
color: #333;
text-decoration
:
none
;
//
text-decoration: none;
background
:
url(../images/medala.gif)
no-repeat
;
//
background: url(../images/medala.gif) no-repeat;
border-left
:
1px
solid
#eee
;
//
border-left: 1px solid #eee;
border-top
:
1px
solid
#eee
;
//
border-top: 1px solid #eee;
border-bottom
:
1px
solid
#ccc
;
//
border-bottom: 1px solid #ccc;
border-right
:
1px
solid
#ccc
;
//
border-right: 1px solid #ccc;
padding
:
4px
12px
4px
6px
;
}
//
padding: 4px 12px 4px 6px; }
&
:hover
.medal
{
//
&:hover.medal {
color
:
#333
;
//
color: #333;
text-decoration
:
none
;
//
text-decoration: none;
background
:
url(../images/medala_on.gif)
no-repeat
;
//
background: url(../images/medala_on.gif) no-repeat;
border-left
:
1px
solid
#e7e296
;
//
border-left: 1px solid #e7e296;
border-top
:
1px
solid
#e7e296
;
//
border-top: 1px solid #e7e296;
border-bottom
:
1px
solid
#d1ca3d
;
//
border-bottom: 1px solid #d1ca3d;
border-right
:
1px
solid
#d1ca3d
;
}
}
//
border-right: 1px solid #d1ca3d; } }
#award-list
.user
{
#award-list
.user
{
float
:
left
;
float
:
left
;
...
...
sass/discussion/_profile.scss
View file @
0e221693
body
.user-profile-page
{
body
.user-profile-page
{
section
.user-info
{
section
.user-info
{
// @extend .sidebar;
// @extend .sidebar;
h1
{
header
{
@extend
h2
;
@extend
.clearfix
;
margin-top
:
0
;
section
{
float
:
left
;
width
:
flex-grid
(
2
,
3
);
margin-right
:
flex-gutter
(
3
);
h1
{
@extend
h2
;
margin-top
:
0
;
}
}
p
.karma
{
float
:
left
;
width
:
flex-grid
(
1
,
3
);
border
:
1px
solid
#D3D3D3
;
@include
border-radius
(
3px
);
@include
box-shadow
(
inset
0
0
0
1px
#fff
,
0
1px
0
#fff
);
background
:
#eee
;
text-align
:
center
;
padding
:
lh
(
.5
)
0
;
strong
{
display
:
block
;
font-style
:
20px
;
}
}
}
}
}
}
...
@@ -37,10 +63,58 @@ body.user-profile-page {
...
@@ -37,10 +63,58 @@ body.user-profile-page {
h2
{
h2
{
margin-top
:
0
;
margin-top
:
0
;
}
}
span
.tag-number
{
display
:
none
;
}
}
}
ul
.user-stats-table
{
ul
{
list-style
:
none
;
list-style
:
none
;
&
.user-stats-table
{
list-style
:
none
;
}
&
.vote-buttons
{
list-style
:
none
;
li
{
@include
border-radius
(
4px
);
background-color
:
lighten
(
#F6EFD4
,
3%
);
background-position
:
10px
center
;
background-repeat
:
no-repeat
;
height
:
20px
;
padding
:
10px
10px
10px
40px
;
display
:
inline-block
;
&
.up
{
background-image
:
url(/static/images/askbot/vote-arrow-up.png)
;
margin-right
:
6px
;
}
&
.down
{
background-image
:
url(/static/images/askbot/vote-arrow-down.png)
;
}
}
}
&
.badges
{
@include
border-radius
(
4px
);
background-color
:
#e3e3e3
;
@include
inline-block
();
a
{
border
:
0
;
background
:
none
;
text-transform
:
uppercase
;
color
:
#292309
;
font-size
:
12px
;
padding
:
10px
;
text-shadow
:
0
1px
0
#fff
;
display
:
block
;
}
}
}
}
}
}
}
}
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