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
a147c662
Commit
a147c662
authored
Jan 30, 2013
by
marco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
partial styles for problem type header, still work remains.
parent
60032047
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
15 deletions
+28
-15
cms/static/sass/_unit.scss
+27
-8
cms/templates/unit.html
+1
-7
No files found.
cms/static/sass/_unit.scss
View file @
a147c662
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
}
}
//Problem selector requirements - TO DO: Marco -determine placement, integration for this
//Problem selector requirements - TO DO: Marco -determine placement, integration for this
.js
.tabs
.tab
{
//
.js .tabs .tab {
display
:
none
;
//
display: none;
}
//
}
//end problem selector reqs
//end problem selector reqs
.main-column
{
.main-column
{
...
@@ -162,14 +162,29 @@
...
@@ -162,14 +162,29 @@
.problem-type-tabs
{
.problem-type-tabs
{
list-style-type
:
none
;
list-style-type
:
none
;
display
:
inline-block
;
width
:
100%
;
width
:
100%
;
margin
:
5px
;
.problem-type-label
{
font-size
:
16px
;
}
li
{
li
{
display
:inline-block
;
margin
:
5px
;
text-align
:center
;
}
}
a
{
a
{
display
:
block
;
width
:
100px
;
width
:
70px
;
height
:
60px
;
height
:
25px
;
margin-right
:
10px
;
margin-bottom
:
10px
;
border-radius
:
8px
;
font-size
:
13px
;
line-height
:
14px
;
text-align
:
center
;
@include
box-shadow
(
0
1px
1px
rgba
(
0
,
0
,
0
,
.2
)
,
0
1px
0
rgba
(
255
,
255
,
255
,
.4
)
inset
);
}
}
}
}
...
@@ -243,10 +258,14 @@
...
@@ -243,10 +258,14 @@
margin-bottom
:
10px
;
margin-bottom
:
10px
;
a
{
a
{
border-bottom
:
1px
solid
$
darkGreen
;
border-bottom
:
1px
solid
$
lightBluishGrey2
;
border-radius
:
3px
;
border-radius
:
3px
;
font-weight
:
500
;
font-weight
:
500
;
background
:
$green
;
background
:
tint
(
$mediumGrey
,
20%
);
&
:hover
{
background
:
$brightGreen
;
}
}
}
}
}
}
}
...
...
cms/templates/unit.html
View file @
a147c662
...
@@ -67,6 +67,7 @@
...
@@ -67,6 +67,7 @@
<div
class=
"tab-group"
>
<div
class=
"tab-group"
>
<ul
class=
"problem-type-tabs nav-tabs"
>
<ul
class=
"problem-type-tabs nav-tabs"
>
<span
class=
"problem-type-label"
>
Problem Types:
</span>
<li
class=
"current"
>
<li
class=
"current"
>
<a
class=
"link-tab"
href=
"#tab1"
>
Standard
</a>
<a
class=
"link-tab"
href=
"#tab1"
>
Standard
</a>
</li>
</li>
...
@@ -87,13 +88,6 @@
...
@@ -87,13 +88,6 @@
</a>
</a>
</li>
</li>
% elif has_markdown:
<li
class=
"editor-md"
>
<a
href=
"#"
data-location=
"${location}"
>
<span
class=
"name"
><i
class=
"problem-selector-icons ss-symbolicons-block"
>

</i>
${name}
</span>
</a>
</li>
% else:
% else:
<li
class=
"editor-manual"
>
<li
class=
"editor-manual"
>
<a
href=
"#"
data-location=
"${location}"
>
<a
href=
"#"
data-location=
"${location}"
>
...
...
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