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
3176123c
Commit
3176123c
authored
Feb 13, 2012
by
Reda Lemeden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Started redesigning the question filtering and navigation
parent
fdcb5848
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
111 additions
and
121 deletions
+111
-121
sass/_askbot-original.scss
+10
-10
sass/_discussion-questions.scss
+90
-33
sass/_discussion.scss
+10
-78
sass/_question-view.scss
+1
-0
No files found.
sass/_askbot-original.scss
View file @
3176123c
...
...
@@ -650,17 +650,17 @@ body.anon #searchBar {
// padding-top: 6px;
// font-family: 'Yanone Kaffeesatz',sans-serif; }
#listSearchTags
{
float
:
left
;
margin-top
:
3px
;
color
:
#707070
;
font-size
:
16px
;
font-family
:
'Yanone Kaffeesatz'
,
sans-serif
;
}
//
#listSearchTags {
//
float: left;
//
margin-top: 3px;
//
color: #707070;
//
font-size: 16px;
//
font-family: 'Yanone Kaffeesatz',sans-serif; }
ul
#searchTags
{
margin-left
:
10px
;
float
:
right
;
padding-top
:
2px
;
}
//
ul#searchTags {
//
margin-left: 10px;
//
float: right;
//
padding-top: 2px; }
// .search-tips {
// font-size: 16px;
...
...
sass/_discussion-questions.scss
View file @
3176123c
div
.question-
controls
{
div
.question-
list-header
{
display
:
block
;
margin-bottom
:
30
px
;
margin-bottom
:
15
px
;
overflow
:
hidden
;
width
:
flex-grid
(
9
,
9
);
div
{
display
:
inline-block
;
section
.question-list-meta
,
section
.question-sort-filter
{
display
:
block
;
overflow
:
hidden
;
width
:
100%
;
div
{
display
:
inline
;
float
:
left
;
}
}
div
.question-count
{
margin-right
:
flex-gutter
();
width
:
flex-grid
(
4
,
9
);
section
.question-list-meta
{
div
.question-list-title
{
margin-right
:
flex-gutter
();
// width: flex-grid(3,9);
h1
{
margin-top
:
0
;
h1
{
margin-top
:
0
;
}
}
div
.question-list-tags
{
// width: flex-grid(6,9);
padding-top
:
8px
;
ul
.tags
{
display
:
inline
;
// float: left;
li
{
span
.delete-icon
,
div
.delete-icon
{
@include
border-radius
(
0
4px
4px
0
);
background
:
#555
;
color
:
#eee
;
cursor
:
pointer
;
float
:
none
;
left
:
10px
;
padding
:
3px
6px
;
position
:
relative
;
top
:
1px
;
opacity
:
0
.5
;
&
:hover
{
opacity
:
1
;
}
}
}
}
}
}
section
.question-sort-filter
{
font-size
:
16px
;
div
.question-sort
{
vertical-align
:
bottom
;
width
:
flex-grid
(
5
,
9
);
span
.label
{
color
:
#555
;
}
nav
{
@include
border-radius
(
35px
);
background-color
:
lighten
(
#F6EFD4
,
5%
)
;
height
:
30px
;
float
:
right
;
font-size
:
16px
;
margin
:
3px
0
;
padding
:
0px
20px
5px
;
div
.question-filter
{
margin-right
:
flex-gutter
(
9
);
a
{
color
:
darken
(
#F6EFD4
,
50%
)
;
ul
.scope-filters
{
@extend
.action-link
;
&
.on
span
{
font-weight
:
bold
;
}
li
{
display
:
inline
;
a
{
&
.on
{
font-weight
:
bold
;
}
&
:before
{
content
:
'|'
;
color
:
darken
(
#F6EFD4
,
10%
);
font-size
:
22px
;
&
:before
{
content
:
'|'
;
color
:
darken
(
#F6EFD4
,
10%
);
font-size
:
22px
;
}
}
}
}
}
&
:hover
{
text-decoration
:
none
;
color
:
darken
(
#F6EFD4
,
70%
);
div
.question-sort
{
margin-left
:
flex-gutter
();
float
:
right
;
nav
{
@extend
.action-link
;
a
{
&
.on
span
{
font-weight
:
bold
;
}
&
:before
{
content
:
'|'
;
color
:
darken
(
#F6EFD4
,
10%
);
font-size
:
22px
;
}
}
}
}
}
}
ul
.question-list
{
...
...
@@ -75,7 +132,7 @@ ul.question-list {
h2
{
font-size
:
16px
;
font-weight
:
normal
;
font-weight
:
bold
;
margin
:
0px
0
15px
0
;
text-transform
:
none
;
}
...
...
sass/_discussion.scss
View file @
3176123c
...
...
@@ -17,73 +17,19 @@
text-decoration
:
none
;
}
}
.action-link
{
a
{
color
:
darken
(
#F6EFD4
,
50%
);
// Layout
body
.askbot
{
.secondary-nav
{
margin
:
0
;
nav
{
@extend
.clearfix
;
@extend
.topbar
;
@extend
.wrapper
;
@include
box-sizing
(
border-box
);
border
:
1px
solid
darken
(
#F6EFD4
,
10%
);
border-top
:
0
;
margin
:
0
auto
;
padding
:
$body-line-height
;
div
{
float
:
left
;
&
.question-filter
{
font-size
:
16px
;
margin-top
:
4px
;
width
:
flex-grid
(
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
:
flex-grid
(
8
);
input
[
type
=
"text"
]
{
margin-right
:
6px
;
width
:
flex-grid
(
2
,
8
);
}
}
}
&
:hover
{
text-decoration
:
none
;
color
:
darken
(
#F6EFD4
,
70%
);
}
}
}
// Layout
body
.askbot
{
section
.main-content
{
div
.discussion-wrapper
{
...
...
@@ -149,18 +95,4 @@ body.askbot {
}
}
// footer {
// margin: 0 auto;
// padding: 0;
// div.footer-wrapper {
// @extend .clearfix;
// @extend .wrapper;
// @include box-shadow(0 1px 0 #fff);
// @include box-sizing(border-box);
// background-color: #000;
// border-top: 0;
// padding: $gw-gutter/2;
// }
// }
}
sass/_question-view.scss
View file @
3176123c
...
...
@@ -93,6 +93,7 @@ div.question-header {
float
:
left
;
margin-right
:
flex-gutter
(
8
);
width
:
flex-grid
(
6
.2
,
8
);
}
div
.post-update-container
{
...
...
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