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
f68a97a6
Commit
f68a97a6
authored
Aug 21, 2012
by
Kyle Fiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added changes to wiki 404 and fixed CMS Sass
parent
63900ef4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
3 deletions
+40
-3
cms/static/sass/_base.scss
+5
-0
lms/static/sass/course/wiki/_wiki.scss
+33
-0
lms/templates/wiki/wiki-404.html
+2
-3
No files found.
cms/static/sass/_base.scss
View file @
f68a97a6
...
...
@@ -14,6 +14,11 @@ $yellow: #fff8af;
$cream
:
#F6EFD4
;
$border-color
:
#ddd
;
// edX colors
$blue
:
rgb
(
29
,
157
,
217
);
$pink
:
rgb
(
182
,
37
,
104
);
@mixin
hide-text
{
background-color
:
transparent
;
border
:
0
;
...
...
lms/static/sass/course/wiki/_wiki.scss
View file @
f68a97a6
...
...
@@ -767,6 +767,39 @@ section.wiki {
text-decoration
:
none
;
}
}
.missing
{
max-width
:
400px
;
margin
:
lh
(
2
)
auto
;
display
:
block
;
overflow
:
hidden
;
background
:
$pink
;
padding
:
lh
();
@include
box-shadow
(
inset
0
0
0
1px
lighten
(
$pink
,
10%
));
border
:
1px
solid
darken
(
$pink
,
15%
);
p
{
color
:
#fff
;
a
{
display
:
block
;
background
:
darken
(
$pink
,
8%
);
margin
:
lh
()
(
-
(
lh
()))
(
-
(
lh
()));
padding
:
lh
();
border-top
:
1px
solid
darken
(
$pink
,
15%
);
color
:
#fff
;
font-weight
:
bold
;
font-size
:
em
(
18
);
@include
transition
;
text-align
:
center
;
-webkit-font-smoothing
:
antialiased
;
&
:hover
{
background
:
darken
(
$pink
,
12%
);
}
}
}
}
}
.modal-backdrop
{
...
...
lms/templates/wiki/wiki-404.html
View file @
f68a97a6
...
...
@@ -10,9 +10,8 @@
{% block wiki_contents %}
<div
class=
"missing-wrapper"
>
<p>
This article was not found, and neither was the parent.
<a
href=
"#"
>
Go back to the main wiki article.
</a></p>
<button
type=
"submit"
>
Create a new article
</button>
<div
class=
"missing"
>
<p>
This article was not found, and neither was its parent article.
<a
href=
"#"
>
Go back to the main wiki article
</a></p>
</div>
{% endblock %}
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