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
d8591c28
Commit
d8591c28
authored
Aug 31, 2012
by
Tom Giannattasio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
basic discussion profile styles
parent
b167e0f7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
82 additions
and
0 deletions
+82
-0
lms/static/sass/_discussion.scss
+43
-0
lms/static/sass/course/base/_mixins.scss
+39
-0
No files found.
lms/static/sass/_discussion.scss
View file @
d8591c28
...
...
@@ -291,6 +291,49 @@ body.discussion {
}
}
}
section
.user-profile
{
@extend
.sidebar
;
display
:
table-cell
;
@include
border-radius
(
3px
0
0
3px
);
border-right
:
1px
solid
#ddd
;
@include
box-shadow
(
none
);
background-color
:
$sidebar-color
;
.user-profile
{
padding
:
32px
36px
;
}
.sidebar-username
{
font-size
:
18px
;
font-weight
:
700
;
}
.sidebar-user-roles
{
margin-top
:
6px
;
font-size
:
13px
;
font-style
:
italic
;
}
.sidebar-threads-count
{
margin-top
:
14px
;
}
.sidebar-threads-count
span
,
.sidebar-comments-count
span
{
font-weight
:
700
;
}
.sidebar-toggle-moderator-button
{
@include
blue-button
;
text-align
:
center
;
margin-top
:
20px
;
}
}
}
...
...
lms/static/sass/course/base/_mixins.scss
0 → 100644
View file @
d8591c28
@mixin
blue-button
{
display
:
block
;
height
:
35px
;
padding
:
0
15px
;
border-radius
:
3px
;
border
:
1px
solid
#2d81ad
;
@include
linear-gradient
(
top
,
#6dccf1
,
#38a8e5
);
font-size
:
13px
;
font-weight
:
700
;
line-height
:
32px
;
color
:
#fff
;
text-shadow
:
0
1px
0
rgba
(
0
,
0
,
0
,
.3
);
box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.4
)
inset
,
0
1px
1px
rgba
(
0
,
0
,
0
,
.15
);
&
:hover
{
border-color
:
#297095
;
@include
linear-gradient
(
top
,
#4fbbe4
,
#2090d0
);
}
}
@mixin
white-button
{
display
:
block
;
height
:
35px
;
padding
:
0
15px
;
border-radius
:
3px
;
border
:
1px
solid
#444
;
@include
linear-gradient
(
top
,
#eee
,
#ccc
);
font-size
:
13px
;
font-weight
:
700
;
line-height
:
32px
;
color
:
#333
;
text-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.6
);
box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.4
)
inset
,
0
1px
1px
rgba
(
0
,
0
,
0
,
.15
);
&
:hover
{
@include
linear-gradient
(
top
,
#fff
,
#ddd
);
}
}
\ 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