Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-wiki
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
OpenEdx
django-wiki
Commits
d077af20
Commit
d077af20
authored
Jul 27, 2013
by
benjaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
responsive search form
parent
fbccb07a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
5 deletions
+11
-5
wiki/static/wiki/bootstrap/css/wiki-bootstrap.css
+4
-1
wiki/static/wiki/bootstrap/css/wiki-bootstrap.min.css
+2
-2
wiki/static/wiki/bootstrap/less/wiki/wiki-bootstrap.less
+3
-0
wiki/templates/wiki/base.html
+2
-2
No files found.
wiki/static/wiki/bootstrap/css/wiki-bootstrap.css
View file @
d077af20
...
...
@@ -4140,7 +4140,7 @@ h1#article-title {
#attachment_form
#id_description
{
width
:
95%
;
}
#
edit_
sidebar
.accordion
{
#
wiki-edit-
sidebar
.accordion
{
margin-bottom
:
5px
;
}
.wiki-article
div
.toc
,
...
...
@@ -4477,6 +4477,9 @@ textarea.wiki-control textarea {
.pull-right-block-on-responsive
{
float
:
right
;
}
#wiki-search-form
{
width
:
140px
;
}
}
/******************************
ICONS
...
...
wiki/static/wiki/bootstrap/css/wiki-bootstrap.min.css
View file @
d077af20
...
...
@@ -548,7 +548,7 @@ h1#article-title{font-size:2.5em;margin-top:0px;}
.settings-form
.form-actions
{
padding-left
:
270px
;}
.controls
ul
{
margin-left
:
0
;
list-style
:
none
;}
#attachment_form
#id_description
{
width
:
95%
;}
#
edit_
sidebar
.accordion
{
margin-bottom
:
5px
;}
#
wiki-edit-
sidebar
.accordion
{
margin-bottom
:
5px
;}
.wiki-article
div
.toc
,
.wiki-article
div
.article-list
{
max-width
:
340px
;
clear
:
left
;}
.wiki-article
div
.toc
ul
,
.wiki-article
div
.article-list
ul
{
position
:
absolute
;
top
:
100%
;
left
:
0
;
z-index
:
1000
;
display
:
none
;
float
:
left
;
min-width
:
160px
;
padding
:
5px
0
;
margin
:
2px
0
0
;
list-style
:
none
;
background-color
:
#ffffff
;
border
:
1px
solid
#cccccc
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.15
);
border-radius
:
4px
;
-webkit-box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
0.175
);
box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
0.175
);
background-clip
:
padding-box
;}
.wiki-article
div
.toc
ul
.pull-right
,
.wiki-article
div
.article-list
ul
.pull-right
{
right
:
0
;
left
:
auto
;}
.wiki-article
div
.toc
ul
.divider
,
.wiki-article
div
.article-list
ul
.divider
{
height
:
1px
;
margin
:
9px
0
;
overflow
:
hidden
;
background-color
:
#e5e5e5
;}
...
...
@@ -594,7 +594,7 @@ textarea.wiki-control input,textarea.wiki-control select,textarea.wiki-control t
.wiki-control
input
.input-small
,
.wiki-control
select
.input-small
,
.wiki-control
textarea
.input-small
{
height
:
30px
;
padding
:
5px
10px
;
font-size
:
12px
;
border-radius
:
3px
;}
.form-actions
{
padding
:
19px
15px
20px
;
padding-left
:
0
;
margin-top
:
20px
;
margin-bottom
:
20px
;
background-color
:
#f5f5f5
;
border-top
:
1px
solid
#e5e5e5
;}
.accordion-heading
.icon
{
color
:
#444
;
font-size
:
75%
;}
@media
(
min-width
:
980px
){
.wiki-modal
{
width
:
80%
;
margin-left
:
-40%
;}}
@media
(
max-width
:
979px
){
.wiki-modal
{
width
:
90%
;
margin-left
:
-45%
;}}
@media
(
max-width
:
767px
){
.wiki-modal
{
width
:
90%
;
margin-left
:
0
;}}
@media
screen
and
(
min-width
:
768px
){
.pull-right-block-on-responsive
{
float
:
right
;}}
@font-face
{
font-family
:
'FontAwesome'
;
src
:
url('../../font-awesome/font/fontawesome-webfont.eot?v=3.2.1')
;
src
:
url('../../font-awesome/font/fontawesome-webfont.eot?#iefix&v=3.2.1')
format
(
'embedded-opentype'
),
url('../../font-awesome/font/fontawesome-webfont.woff?v=3.2.1')
format
(
'woff'
),
url('../../font-awesome/font/fontawesome-webfont.ttf?v=3.2.1')
format
(
'truetype'
),
url('../../font-awesome/font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1')
format
(
'svg'
);
font-weight
:
normal
;
font-style
:
normal
;}
[
class
^=
"icon-"
],[
class
*=
" icon-"
]
{
font-family
:
FontAwesome
;
font-weight
:
normal
;
font-style
:
normal
;
text-decoration
:
inherit
;
-webkit-font-smoothing
:
antialiased
;
*
margin-right
:
.3em
;}
@media
(
min-width
:
980px
){
.wiki-modal
{
width
:
80%
;
margin-left
:
-40%
;}}
@media
(
max-width
:
979px
){
.wiki-modal
{
width
:
90%
;
margin-left
:
-45%
;}}
@media
(
max-width
:
767px
){
.wiki-modal
{
width
:
90%
;
margin-left
:
0
;}}
@media
screen
and
(
min-width
:
768px
){
.pull-right-block-on-responsive
{
float
:
right
;}
#wiki-search-form
{
width
:
140px
;}
}
@font-face
{
font-family
:
'FontAwesome'
;
src
:
url('../../font-awesome/font/fontawesome-webfont.eot?v=3.2.1')
;
src
:
url('../../font-awesome/font/fontawesome-webfont.eot?#iefix&v=3.2.1')
format
(
'embedded-opentype'
),
url('../../font-awesome/font/fontawesome-webfont.woff?v=3.2.1')
format
(
'woff'
),
url('../../font-awesome/font/fontawesome-webfont.ttf?v=3.2.1')
format
(
'truetype'
),
url('../../font-awesome/font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1')
format
(
'svg'
);
font-weight
:
normal
;
font-style
:
normal
;}
[
class
^=
"icon-"
],[
class
*=
" icon-"
]
{
font-family
:
FontAwesome
;
font-weight
:
normal
;
font-style
:
normal
;
text-decoration
:
inherit
;
-webkit-font-smoothing
:
antialiased
;
*
margin-right
:
.3em
;}
[
class
^=
"icon-"
]
:before
,[
class
*=
" icon-"
]
:before
{
text-decoration
:
inherit
;
display
:
inline-block
;
speak
:
none
;}
.icon-large
:before
{
vertical-align
:
-10%
;
font-size
:
1.3333333333333333em
;}
a
[
class
^=
"icon-"
],
a
[
class
*=
" icon-"
]
{
display
:
inline
;}
...
...
wiki/static/wiki/bootstrap/less/wiki/wiki-bootstrap.less
View file @
d077af20
...
...
@@ -258,6 +258,9 @@ input[type=file] {float: none; width: auto;}
.pull-right-block-on-responsive {
.pull-right;
}
#wiki-search-form {
width: 140px;
}
}
/******************************
...
...
wiki/templates/wiki/base.html
View file @
d077af20
...
...
@@ -37,8 +37,8 @@
<a
class=
"navbar-brand"
href=
"{% url 'wiki:root' %}"
>
django-\/\/ i K |
</a>
{% endblock %}
<div
class=
"nav-collapse collapse navbar-responsive-collapse"
>
<form
class=
"navbar-form pull-right-block-on-responsive"
id=
"
navbar_wiki_search
"
method=
"GET"
action=
"{% url 'wiki:search' %}"
>
<div
class=
"input-group"
style=
"width: 120px;"
>
<form
class=
"navbar-form pull-right-block-on-responsive"
id=
"
wiki-search-form
"
method=
"GET"
action=
"{% url 'wiki:search' %}"
>
<div
class=
"input-group"
>
<input
type=
"search"
class=
"form-control search-query"
name=
"q"
placeholder=
"{% trans "
Search
..."
%}"
/>
<span
class=
"input-group-btn"
>
<button
class=
"btn btn-default"
type=
"button"
>
...
...
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