Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
cdb7d2a1
Commit
cdb7d2a1
authored
Jun 05, 2014
by
Yuliya Bozhko
Committed by
Gerrit Code Review
Jun 05, 2014
Browse files
Merge "Mahara compatibility changes for Select2 external library"
parents
d9b77ad8
c77652d5
Changes
11
Hide whitespace changes
Inline
Side-by-side
htdocs/js/select2/.gitignore
deleted
100644 → 0
View file @
d9b77ad8
.idea
htdocs/js/select2/README.Mahara
View file @
cdb7d2a1
...
...
@@ -8,4 +8,7 @@ Select2 is a jQuery-based replacement for <select> browser elements. It turns th
interactive widgets, supports searching, ajax, and infinite scrolling of results.
Changes:
* None
\ No newline at end of file
* Moved CSS and images into Mahara theme directory
* Removed CSS file for Bootstrap framework
* Removed package manager metadata files
* Added styling to decrease size of text in the menus
\ No newline at end of file
htdocs/js/select2/bower.json
deleted
100644 → 0
View file @
d9b77ad8
{
"name"
:
"select2"
,
"version"
:
"3.4.8"
,
"main"
:
[
"select2.js"
,
"select2.css"
,
"select2.png"
,
"select2x2.png"
,
"select2-spinner.gif"
],
"dependencies"
:
{
"jquery"
:
">= 1.7.1"
}
}
htdocs/js/select2/component.json
deleted
100644 → 0
View file @
d9b77ad8
{
"name"
:
"select2"
,
"repo"
:
"ivaynberg/select2"
,
"description"
:
"Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results."
,
"version"
:
"3.4.8"
,
"demo"
:
"http://ivaynberg.github.io/select2/"
,
"keywords"
:
[
"jquery"
],
"main"
:
"select2.js"
,
"styles"
:
[
"select2.css"
,
"select2-bootstrap.css"
],
"scripts"
:
[
"select2.js"
,
"select2_locale_ar.js"
,
"select2_locale_bg.js"
,
"select2_locale_ca.js"
,
"select2_locale_cs.js"
,
"select2_locale_da.js"
,
"select2_locale_de.js"
,
"select2_locale_el.js"
,
"select2_locale_es.js"
,
"select2_locale_et.js"
,
"select2_locale_eu.js"
,
"select2_locale_fa.js"
,
"select2_locale_fi.js"
,
"select2_locale_fr.js"
,
"select2_locale_gl.js"
,
"select2_locale_he.js"
,
"select2_locale_hr.js"
,
"select2_locale_hu.js"
,
"select2_locale_id.js"
,
"select2_locale_is.js"
,
"select2_locale_it.js"
,
"select2_locale_ja.js"
,
"select2_locale_ka.js"
,
"select2_locale_ko.js"
,
"select2_locale_lt.js"
,
"select2_locale_lv.js"
,
"select2_locale_mk.js"
,
"select2_locale_ms.js"
,
"select2_locale_nl.js"
,
"select2_locale_no.js"
,
"select2_locale_pl.js"
,
"select2_locale_pt-BR.js"
,
"select2_locale_pt-PT.js"
,
"select2_locale_ro.js"
,
"select2_locale_ru.js"
,
"select2_locale_sk.js"
,
"select2_locale_sv.js"
,
"select2_locale_th.js"
,
"select2_locale_tr.js"
,
"select2_locale_uk.js"
,
"select2_locale_vi.js"
,
"select2_locale_zh-CN.js"
,
"select2_locale_zh-TW.js"
],
"images"
:
[
"select2-spinner.gif"
,
"select2.png"
,
"select2x2.png"
],
"license"
:
"MIT"
}
htdocs/js/select2/composer.json
deleted
100644 → 0
View file @
d9b77ad8
{
"name"
:
"ivaynberg/select2"
,
"description"
:
"Select2 is a jQuery based replacement for select boxes."
,
"version"
:
"3.4.8"
,
"type"
:
"component"
,
"homepage"
:
"http://ivaynberg.github.io/select2/"
,
"license"
:
"Apache-2.0"
,
"require"
:
{
"robloach/component-installer"
:
"*"
,
"components/jquery"
:
">=1.7.1"
},
"extra"
:
{
"component"
:
{
"scripts"
:
[
"select2.js"
],
"files"
:
[
"select2.js"
,
"select2_locale_*.js"
,
"select2.css"
,
"select2-bootstrap.css"
,
"select2-spinner.gif"
,
"select2.png"
,
"select2x2.png"
]
}
}
}
htdocs/js/select2/package.json
deleted
100644 → 0
View file @
d9b77ad8
{
"name"
:
"Select2"
,
"description"
:
"Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results."
,
"homepage"
:
"http://ivaynberg.github.io/select2"
,
"author"
:
"Igor Vaynberg"
,
"repository"
:
{
"type"
:
"git"
,
"url"
:
"git://github.com/ivaynberg/select2.git"
},
"main"
:
"select2.js"
,
"version"
:
"3.4.8"
,
"jspm"
:
{
"main"
:
"select2"
,
"files"
:
[
"select2.js"
,
"select2.png"
,
"select2.css"
,
"select2-spinner.gif"
],
"shim"
:
{
"select2"
:
{
"imports"
:
[
"jquery"
,
"./select2.css!"
],
"exports"
:
"$"
}
},
"buildConfig"
:
{
"uglify"
:
true
}
}
}
htdocs/js/select2/select2-bootstrap.css
deleted
100644 → 0
View file @
d9b77ad8
.form-control
.select2-choice
{
border
:
0
;
border-radius
:
2px
;
}
.form-control
.select2-choice
.select2-arrow
{
border-radius
:
0
2px
2px
0
;
}
.form-control.select2-container
{
height
:
auto
!important
;
padding
:
0
;
}
.form-control.select2-container.select2-dropdown-open
{
border-color
:
#5897FB
;
border-radius
:
3px
3px
0
0
;
}
.form-control
.select2-container.select2-dropdown-open
.select2-choices
{
border-radius
:
3px
3px
0
0
;
}
.form-control.select2-container
.select2-choices
{
border
:
0
!important
;
border-radius
:
3px
;
}
.control-group.warning
.select2-container
.select2-choice
,
.control-group.warning
.select2-container
.select2-choices
,
.control-group.warning
.select2-container-active
.select2-choice
,
.control-group.warning
.select2-container-active
.select2-choices
,
.control-group.warning
.select2-dropdown-open.select2-drop-above
.select2-choice
,
.control-group.warning
.select2-dropdown-open.select2-drop-above
.select2-choices
,
.control-group.warning
.select2-container-multi.select2-container-active
.select2-choices
{
border
:
1px
solid
#C09853
!important
;
}
.control-group.warning
.select2-container
.select2-choice
div
{
border-left
:
1px
solid
#C09853
!important
;
background
:
#FCF8E3
!important
;
}
.control-group.error
.select2-container
.select2-choice
,
.control-group.error
.select2-container
.select2-choices
,
.control-group.error
.select2-container-active
.select2-choice
,
.control-group.error
.select2-container-active
.select2-choices
,
.control-group.error
.select2-dropdown-open.select2-drop-above
.select2-choice
,
.control-group.error
.select2-dropdown-open.select2-drop-above
.select2-choices
,
.control-group.error
.select2-container-multi.select2-container-active
.select2-choices
{
border
:
1px
solid
#B94A48
!important
;
}
.control-group.error
.select2-container
.select2-choice
div
{
border-left
:
1px
solid
#B94A48
!important
;
background
:
#F2DEDE
!important
;
}
.control-group.info
.select2-container
.select2-choice
,
.control-group.info
.select2-container
.select2-choices
,
.control-group.info
.select2-container-active
.select2-choice
,
.control-group.info
.select2-container-active
.select2-choices
,
.control-group.info
.select2-dropdown-open.select2-drop-above
.select2-choice
,
.control-group.info
.select2-dropdown-open.select2-drop-above
.select2-choices
,
.control-group.info
.select2-container-multi.select2-container-active
.select2-choices
{
border
:
1px
solid
#3A87AD
!important
;
}
.control-group.info
.select2-container
.select2-choice
div
{
border-left
:
1px
solid
#3A87AD
!important
;
background
:
#D9EDF7
!important
;
}
.control-group.success
.select2-container
.select2-choice
,
.control-group.success
.select2-container
.select2-choices
,
.control-group.success
.select2-container-active
.select2-choice
,
.control-group.success
.select2-container-active
.select2-choices
,
.control-group.success
.select2-dropdown-open.select2-drop-above
.select2-choice
,
.control-group.success
.select2-dropdown-open.select2-drop-above
.select2-choices
,
.control-group.success
.select2-container-multi.select2-container-active
.select2-choices
{
border
:
1px
solid
#468847
!important
;
}
.control-group.success
.select2-container
.select2-choice
div
{
border-left
:
1px
solid
#468847
!important
;
background
:
#DFF0D8
!important
;
}
htdocs/
j
s/select2/select2-spinner.gif
→
htdocs/
theme/raw/static/image
s/select2/select2-spinner.gif
View file @
cdb7d2a1
File moved
htdocs/
j
s/select2/select2.png
→
htdocs/
theme/raw/static/image
s/select2/select2.png
View file @
cdb7d2a1
File moved
htdocs/
j
s/select2/select2x2.png
→
htdocs/
theme/raw/static/image
s/select2/select2x2.png
View file @
cdb7d2a1
File moved
htdocs/
js/select2
/select2.css
→
htdocs/
theme/raw/static/style
/select2.css
View file @
cdb7d2a1
/*
Version: 3.4.8 Timestamp: Thu May 1 09:50:32 EDT 2014
NOTE: This file is part of the "Select2" external library (htdocs/js/select2).
Please try not to reformat it, or you'll make merging future updates more difficult!
*/
.select2-container
{
margin
:
0
;
...
...
@@ -96,7 +99,7 @@ Version: 3.4.8 Timestamp: Thu May 1 09:50:32 EDT 2014
text-decoration
:
none
;
border
:
0
;
background
:
url('select2.png')
right
top
no-repeat
;
background
:
url('
../images/select2/
select2.png')
right
top
no-repeat
;
cursor
:
pointer
;
outline
:
0
;
}
...
...
@@ -200,7 +203,7 @@ Version: 3.4.8 Timestamp: Thu May 1 09:50:32 EDT 2014
display
:
block
;
width
:
100%
;
height
:
100%
;
background
:
url('select2.png')
no-repeat
0
1px
;
background
:
url('
../images/select2/
select2.png')
no-repeat
0
1px
;
}
.select2-search
{
...
...
@@ -234,11 +237,11 @@ Version: 3.4.8 Timestamp: Thu May 1 09:50:32 EDT 2014
-webkit-box-shadow
:
none
;
box-shadow
:
none
;
background
:
#fff
url('select2.png')
no-repeat
100%
-22px
;
background
:
url('select2.png')
no-repeat
100%
-22px
,
-webkit-gradient
(
linear
,
left
bottom
,
left
top
,
color-stop
(
0.85
,
#fff
),
color-stop
(
0.99
,
#eee
));
background
:
url('select2.png')
no-repeat
100%
-22px
,
-webkit-linear-gradient
(
center
bottom
,
#fff
85%
,
#eee
99%
);
background
:
url('select2.png')
no-repeat
100%
-22px
,
-moz-linear-gradient
(
center
bottom
,
#fff
85%
,
#eee
99%
);
background
:
url('select2.png')
no-repeat
100%
-22px
,
linear-gradient
(
to
bottom
,
#fff
85%
,
#eee
99%
)
0
0
;
background
:
#fff
url('
../images/select2/
select2.png')
no-repeat
100%
-22px
;
background
:
url('
../images/select2/
select2.png')
no-repeat
100%
-22px
,
-webkit-gradient
(
linear
,
left
bottom
,
left
top
,
color-stop
(
0.85
,
#fff
),
color-stop
(
0.99
,
#eee
));
background
:
url('
../images/select2/
select2.png')
no-repeat
100%
-22px
,
-webkit-linear-gradient
(
center
bottom
,
#fff
85%
,
#eee
99%
);
background
:
url('
../images/select2/
select2.png')
no-repeat
100%
-22px
,
-moz-linear-gradient
(
center
bottom
,
#fff
85%
,
#eee
99%
);
background
:
url('
../images/select2/
select2.png')
no-repeat
100%
-22px
,
linear-gradient
(
to
bottom
,
#fff
85%
,
#eee
99%
)
0
0
;
}
.select2-drop.select2-drop-above
.select2-search
input
{
...
...
@@ -246,11 +249,11 @@ Version: 3.4.8 Timestamp: Thu May 1 09:50:32 EDT 2014
}
.select2-search
input
.select2-active
{
background
:
#fff
url('select2-spinner.gif')
no-repeat
100%
;
background
:
url('select2-spinner.gif')
no-repeat
100%
,
-webkit-gradient
(
linear
,
left
bottom
,
left
top
,
color-stop
(
0.85
,
#fff
),
color-stop
(
0.99
,
#eee
));
background
:
url('select2-spinner.gif')
no-repeat
100%
,
-webkit-linear-gradient
(
center
bottom
,
#fff
85%
,
#eee
99%
);
background
:
url('select2-spinner.gif')
no-repeat
100%
,
-moz-linear-gradient
(
center
bottom
,
#fff
85%
,
#eee
99%
);
background
:
url('select2-spinner.gif')
no-repeat
100%
,
linear-gradient
(
to
bottom
,
#fff
85%
,
#eee
99%
)
0
0
;
background
:
#fff
url('
../images/select2/
select2-spinner.gif')
no-repeat
100%
;
background
:
url('
../images/select2/
select2-spinner.gif')
no-repeat
100%
,
-webkit-gradient
(
linear
,
left
bottom
,
left
top
,
color-stop
(
0.85
,
#fff
),
color-stop
(
0.99
,
#eee
));
background
:
url('
../images/select2/
select2-spinner.gif')
no-repeat
100%
,
-webkit-linear-gradient
(
center
bottom
,
#fff
85%
,
#eee
99%
);
background
:
url('
../images/select2/
select2-spinner.gif')
no-repeat
100%
,
-moz-linear-gradient
(
center
bottom
,
#fff
85%
,
#eee
99%
);
background
:
url('
../images/select2/
select2-spinner.gif')
no-repeat
100%
,
linear-gradient
(
to
bottom
,
#fff
85%
,
#eee
99%
)
0
0
;
}
.select2-container-active
.select2-choice
,
...
...
@@ -340,6 +343,7 @@ Version: 3.4.8 Timestamp: Thu May 1 09:50:32 EDT 2014
padding
:
3px
7px
4px
;
margin
:
0
;
cursor
:
pointer
;
font-size
:
0.8em
;
min-height
:
1em
;
...
...
@@ -406,7 +410,7 @@ disabled look for disabled choices in the results dropdown
}
.select2-more-results.select2-active
{
background
:
#f4f4f4
url('select2-spinner.gif')
no-repeat
100%
;
background
:
#f4f4f4
url('
../images/select2/
select2-spinner.gif')
no-repeat
100%
;
}
.select2-more-results
{
...
...
@@ -498,7 +502,7 @@ html[dir="rtl"] .select2-container-multi .select2-choices li
}
.select2-container-multi
.select2-choices
.select2-search-field
input
.select2-active
{
background
:
#fff
url('select2-spinner.gif')
no-repeat
100%
!important
;
background
:
#fff
url('
../images/select2/
select2-spinner.gif')
no-repeat
100%
!important
;
}
.select2-default
{
...
...
@@ -557,7 +561,7 @@ html[dir="rtl"] .select2-container-multi .select2-choices .select2-search-choice
font-size
:
1px
;
outline
:
none
;
background
:
url('select2.png')
right
top
no-repeat
;
background
:
url('
../images/select2/
select2.png')
right
top
no-repeat
;
}
html
[
dir
=
"rtl"
]
.select2-search-choice-close
{
right
:
auto
;
...
...
@@ -635,7 +639,7 @@ html[dir="rtl"] .select2-search-choice-close {
.select2-search-choice-close
,
.select2-container
.select2-choice
abbr
,
.select2-container
.select2-choice
.select2-arrow
b
{
background-image
:
url('select2x2.png')
!important
;
background-image
:
url('
../images/select2/
select2x2.png')
!important
;
background-repeat
:
no-repeat
!important
;
background-size
:
60px
40px
!important
;
}
...
...
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