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
f1623ec6
Commit
f1623ec6
authored
Jul 05, 2012
by
Kyle Fiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added more tweeks to the calendar and unit pages
parent
94fccb00
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
19 deletions
+56
-19
cms/static/sass/_calendar.scss
+24
-4
cms/static/sass/_unit.scss
+31
-14
cms/templates/widgets/html-edit.html
+1
-1
No files found.
cms/static/sass/_calendar.scss
View file @
f1623ec6
...
...
@@ -269,14 +269,34 @@ section.cal {
opacity
:
.4
;
@include
transition
();
>
header
ul
{
display
:
none
;
}
&
:hover
{
opacity
:
1
;
}
>
header
{
@include
transition
;
overflow
:
hidden
;
height
:
55px
;
ul
{
display
:
block
;
li
{
border-left
:
0
;
margin-left
:
0
;
margin-bottom
:
4px
;
ul
{
display
:
inline
;
}
}
}
&
:hover
{
height
:
167px
;
}
}
ol
{
li
{
@include
box-sizing
(
border-box
);
...
...
cms/static/sass/_unit.scss
View file @
f1623ec6
...
...
@@ -51,41 +51,61 @@ section#unit-wrapper {
padding
:
20px
;
section
.meta
{
background
:
$light-blue
;
border-bottom
:
1px
solid
lighten
(
$dark-blue
,
40%
);
padding
:
10px
20px
;
margin
:
-20px
-20px
10px
;
opacity
:
.7
;
@include
transition
;
&
:hover
{
opacity
:
1
;
padding
:
20px
;
margin
:
-20px
-20px
10px
;
}
section
{
&
.status-settings
{
float
:
left
;
margin-bottom
:
10px
;
color
:
$dark-blue
;
@include
clearfix
;
ul
{
list-style
:
none
;
border
:
1px
solid
lighten
(
$dark-blue
,
40%
);
@include
inline-block
();
border
:
1px
solid
darken
(
$light-blue
,
15%
);
@include
clearfix
();
float
:
left
;
li
{
@include
inline-block
();
border-right
:
1px
solid
lighten
(
$dark-blue
,
40%
);
padding
:
6px
;
border-right
:
1px
solid
darken
(
$light-blue
,
15%
);
float
:
left
;
&
:last-child
{
border-right
:
0
;
}
&
.current
{
background
:
#eee
;
}
a
{
color
:
$dark-blue
;
padding
:
6px
;
display
:
block
;
&
.current
{
background
:
darken
(
$light-blue
,
5%
);
}
&
:hover
{
background-color
:
lighten
(
$yellow
,
13%
);
}
}
}
}
a
.settings
{
@include
inline-block
()
;
float
:
left
;
margin
:
0
20px
;
padding
:
6px
;
border
:
1px
solid
lighten
(
$dark-blue
,
40
%
);
border
:
1px
solid
darken
(
$light-blue
,
15
%
);
color
:
$dark-blue
;
}
...
...
@@ -110,10 +130,7 @@ section#unit-wrapper {
}
&
.tags
{
background
:
$light-blue
;
color
:
lighten
(
$dark-blue
,
6%
);
padding
:
10px
;
margin
:
0
0
20px
;
@include
clearfix
();
clear
:
both
;
...
...
cms/templates/widgets/html-edit.html
View file @
f1623ec6
...
...
@@ -36,7 +36,7 @@
<textarea
name=
""
class=
"edit-box"
rows=
"8"
cols=
"40"
>
${data}
</textarea>
<div
class=
"preview"
>
${data}
</div>
<div
class=
"actions
wip
"
>
<div
class=
"actions"
>
<a
href=
""
class=
"save-update"
>
Save
&
Update
</a>
<a
href=
"#"
class=
"cancel"
>
Cancel
</a>
</div>
...
...
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