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
071dc14d
Commit
071dc14d
authored
Jan 24, 2012
by
Reda Lemeden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a discussion stylesheet and the original sass file
parent
8b3acb34
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
109 additions
and
2 deletions
+109
-2
sass/_askbot-original.scss
+0
-0
sass/_discussion.scss
+106
-1
sass/_index-variables.scss
+2
-0
sass/application.scss
+1
-1
No files found.
sass/_askbot-original.scss
0 → 100644
View file @
071dc14d
This diff is collapsed.
Click to expand it.
sass/_discussion.scss
View file @
071dc14d
secondaryHeader
{
.secondary-nav
{
@extend
.topbar
;
margin
:
0
;
padding
:
15px
0
;
nav
{
@extend
.clearfix
;
@extend
.wrapper
;
@include
box-sizing
(
border-box
);
padding
:
0
$body-line-height
;
div
{
float
:
left
;
&
.question-filter
{
font-size
:
16px
;
margin-top
:
4px
;
width
:
grid-width
(
4
);
ul
{
@include
border-radius
(
35px
);
background
:
darken
(
#F6EFD4
,
20%
);
display
:
inline
;
margin
:
0
0
0
10px
;
padding
:
$body-line-height
/
4
20px
;
li
{
display
:
inline-block
;
list-style
:
none
;
margin-right
:
10px
;
&
:last-child
{
margin-right
:
0
;
}
a
{
text-transform
:
capitalize
;
text-shadow
:
none
;
font-size
:
14px
;
&
.on
{
font-weight
:
bold
;
}
}
}
}
}
&
.search-box
{
margin-left
:
2%
;
text-align
:right
;
width
:
grid-width
(
8
);
}
}
}
}
.content-wrapper
{
@extend
.clearfix
;
@extend
.wrapper
;
@include
box-shadow
(
0
1px
0
#fff
);
@include
box-sizing
(
border-box
);
background
:
#fff
;
border
:
1px
solid
#ccc
;
border-top
:
0
;
.discussion-content
{
/*@extend .content;*/
@include
box-sizing
(
border-box
);
display
:
table-cell
;
padding
:
$gw-gutter
;
vertical-align
:
top
;
width
:
grid-width
(
9
);
}
aside
{
@extend
.sidebar
;
width
:
grid-width
(
2
.5
);
padding
:
$gw-gutter
;
h2
{
font-size
:
16px
;
}
h3
{
border-bottom
:
0
;
box-shadow
:
none
;
}
input
[
type
=
"text"
]
{
width
:
68%
;
}
#displayTagFilterControl
{
margin-top
:
10px
;
}
}
}
.footer-wrapper
{
@extend
.clearfix
;
@extend
.wrapper
;
@include
box-shadow
(
0
1px
0
#fff
);
@include
box-sizing
(
border-box
);
border-top
:
0
;
padding
:
0
$gw-gutter
/
2
;
}
sass/_index-variables.scss
View file @
071dc14d
...
...
@@ -24,4 +24,6 @@ $header-font-family: "Open Sans", Helvetica, Arial, sans-serif;
$lh
:
golden-ratio
(
$body-font-size
,
1
);
// Colors
$mit-red
:
#990000
;
$cream
:
#F6EFD4
;
sass/application.scss
View file @
071dc14d
...
...
@@ -13,7 +13,7 @@
@import
"profile"
;
@import
"wiki-create"
,
"wiki"
;
@import
"activation"
;
@import
"discussion"
;
@import
"discussion"
,
"askbot-original"
;
// left over
@import
"theme"
;
...
...
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