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
ceb8d4bf
Commit
ceb8d4bf
authored
Apr 03, 2012
by
Kyle Fiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some small css bugs in askbot
parent
cec1ecf9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
34 additions
and
33 deletions
+34
-33
static/css/application.css
+0
-0
templates/sass/base/_extends.scss
+30
-0
templates/sass/discussion/_discussion.scss
+0
-31
templates/sass/discussion/_questions.scss
+2
-2
templates/sass/discussion/_sidebar.scss
+2
-0
No files found.
static/css/application.css
View file @
ceb8d4bf
This diff is collapsed.
Click to expand it.
templates/sass/base/_extends.scss
View file @
ceb8d4bf
...
...
@@ -46,6 +46,36 @@ h1.top-header {
}
}
.light-button
,
a
.light-button
{
@include
box-shadow
(
inset
0
1px
0
#fff
);
@include
linear-gradient
(
#fff
,
lighten
(
#888
,
40%
));
@include
border-radius
(
3px
);
border
:
1px
solid
#ccc
;
padding
:
4px
8px
;
color
:
#666
;
font
:
normal
$body-font-size
$body-font-family
;
text-decoration
:
none
;
cursor
:
pointer
;
-webkit-font-smoothing
:
antialiased
;
&
:hover
,
&
:focus
{
@include
linear-gradient
(
#fff
,
lighten
(
#888
,
37%
));
border
:
1px
solid
#ccc
;
text-decoration
:
none
;
}
}
.action-link
{
a
{
color
:
$mit-red
;
&
:hover
{
text-decoration
:
none
;
color
:
darken
(
$mit-red
,
20%
);
}
}
}
.content
{
@include
box-shadow
(
inset
0
0
2px
3px
#f3f3f3
);
@include
box-sizing
(
border-box
);
...
...
templates/sass/discussion/_discussion.scss
View file @
ceb8d4bf
// Base extends (Merge with main stylesheet later)
.light-button
,
a
.light-button
{
@include
box-shadow
(
inset
0
1px
0
#fff
);
@include
linear-gradient
(
#fff
,
lighten
(
#888
,
40%
));
@include
border-radius
(
3px
);
border
:
1px
solid
#ccc
;
padding
:
4px
8px
;
color
:
#666
;
font
:
normal
$body-font-size
$body-font-family
;
text-decoration
:
none
;
cursor
:
pointer
;
-webkit-font-smoothing
:
antialiased
;
&
:hover
,
&
:focus
{
@include
linear-gradient
(
#fff
,
lighten
(
#888
,
37%
));
border
:
1px
solid
#ccc
;
text-decoration
:
none
;
}
}
.action-link
{
a
{
color
:
$mit-red
;
&
:hover
{
text-decoration
:
none
;
color
:
darken
(
$mit-red
,
20%
);
}
}
}
// Layout
body
.askbot
{
...
...
templates/sass/discussion/_questions.scss
View file @
ceb8d4bf
...
...
@@ -105,8 +105,8 @@ ul.question-list, div#question-list {
li
.single-question
{
border-bottom
:
1px
solid
#eee
;
list-style
:
none
;
padding
:
10px
3%
;
margin-left
:
-3%
;
padding
:
10px
lh
()
;
margin-left
:
(
-
(
lh
()))
;
width
:
100%
;
&
:hover
{
...
...
templates/sass/discussion/_sidebar.scss
View file @
ceb8d4bf
...
...
@@ -288,6 +288,7 @@ div.discussion-wrapper aside {
border-top
:
0
;
@include
box-shadow
(
none
);
}
a
{
width
:
100%
;
@include
box-sizing
(
border-box
);
...
...
@@ -295,6 +296,7 @@ div.discussion-wrapper aside {
padding
:
10px
;
display
:
block
;
margin-top
:
10px
;
@extend
.light-button
;
&
:first-child
{
margin-top
:
0
;
...
...
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