diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-10-04 20:43:40 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-10-04 20:43:40 +0200 |
| commit | d06361146b4f77c9b759272f9103c36732db8cc5 (patch) | |
| tree | 2eb7fc84d929159ffbbc4cf2b9de0dea226c2c71 /chimere_example_project/chimere_example_static/chimere | |
| parent | 22f9a272242bb7fa18f92b3f7b1ed556e1a8f20e (diff) | |
| download | Chimère-d06361146b4f77c9b759272f9103c36732db8cc5.tar.bz2 Chimère-d06361146b4f77c9b759272f9103c36732db8cc5.zip | |
Simplify project layout
Diffstat (limited to 'chimere_example_project/chimere_example_static/chimere')
| -rw-r--r-- | chimere_example_project/chimere_example_static/chimere/css/form-compat.css | 69 | ||||
| -rw-r--r-- | chimere_example_project/chimere_example_static/chimere/img/layer-switcher-maximize.png | bin | 1433 -> 0 bytes | |||
| -rw-r--r-- | chimere_example_project/chimere_example_static/chimere/img/logo.jpg | bin | 25981 -> 0 bytes | |||
| -rwxr-xr-x | chimere_example_project/chimere_example_static/chimere/img/minus.png | bin | 236 -> 0 bytes | |||
| -rwxr-xr-x | chimere_example_project/chimere_example_static/chimere/img/plus.png | bin | 528 -> 0 bytes | |||
| -rw-r--r-- | chimere_example_project/chimere_example_static/chimere/js/interface.js | 73 |
6 files changed, 0 insertions, 142 deletions
diff --git a/chimere_example_project/chimere_example_static/chimere/css/form-compat.css b/chimere_example_project/chimere_example_static/chimere/css/form-compat.css deleted file mode 100644 index f83672f..0000000 --- a/chimere_example_project/chimere_example_static/chimere/css/form-compat.css +++ /dev/null @@ -1,69 +0,0 @@ -input:-moz-placeholder { - color: #999999; -} - -input::-moz-placeholder { - color: #999999; -} - -input:-ms-input-placeholder { - color: #999999; -} - -input::-webkit-input-placeholder { - color: #999999; -} - -textarea, -input { - display: block; - font-size: 14px; - line-height: 1.428571429; - color: #555555; - vertical-align: middle; - background-color: #ffffff; - border: 1px solid #cccccc; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; - transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; -} - -input{ - padding: 6px 12px; -} - -textarea:focus, -input:focus { - border-color: #81cf57; - outline: 0; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); -} - -input[disabled], -input[readonly], -fieldset[disabled] input { - cursor: not-allowed; - background-color: #eeeeee; -} - -input[type="checkbox"], -input[type="radio"] { - display: inline; -} - -.alert-error { - color: #b94a48; - background-color: #f2dede; - border-color: #eed3d7; -} - -.alert-error hr { - border-top-color: #e6c1c7; -} - -.alert-error .alert-link { - color: #953b39; -} diff --git a/chimere_example_project/chimere_example_static/chimere/img/layer-switcher-maximize.png b/chimere_example_project/chimere_example_static/chimere/img/layer-switcher-maximize.png Binary files differdeleted file mode 100644 index 326f243..0000000 --- a/chimere_example_project/chimere_example_static/chimere/img/layer-switcher-maximize.png +++ /dev/null diff --git a/chimere_example_project/chimere_example_static/chimere/img/logo.jpg b/chimere_example_project/chimere_example_static/chimere/img/logo.jpg Binary files differdeleted file mode 100644 index cc2ff36..0000000 --- a/chimere_example_project/chimere_example_static/chimere/img/logo.jpg +++ /dev/null diff --git a/chimere_example_project/chimere_example_static/chimere/img/minus.png b/chimere_example_project/chimere_example_static/chimere/img/minus.png Binary files differdeleted file mode 100755 index e8ebf51..0000000 --- a/chimere_example_project/chimere_example_static/chimere/img/minus.png +++ /dev/null diff --git a/chimere_example_project/chimere_example_static/chimere/img/plus.png b/chimere_example_project/chimere_example_static/chimere/img/plus.png Binary files differdeleted file mode 100755 index b26a6f9..0000000 --- a/chimere_example_project/chimere_example_static/chimere/img/plus.png +++ /dev/null diff --git a/chimere_example_project/chimere_example_static/chimere/js/interface.js b/chimere_example_project/chimere_example_static/chimere/js/interface.js deleted file mode 100644 index c0c00bf..0000000 --- a/chimere_example_project/chimere_example_static/chimere/js/interface.js +++ /dev/null @@ -1,73 +0,0 @@ -$(function(){ - - if (has_search){ - $('a[href=#categories]').click(function(){ - show_panel(display_categories); - }); - $('a[href=#search-box]').click(function(){ - show_panel(display_search); - }); - $('a[href=#search-box]').click(); - } else { - $("#categories").fadeIn(); - } - highlight_selected_categories(); - $('.subcategory label').click(highlight_selected_categories); - $('#categories-lnk, #search-lnk').click(function(){ - if($('.navbar-toggle').css('display') !='none'){ - $(".navbar-toggle").click(); - } - }); - $('#hide-panel').click(hide_panel); - $('#show-panel').click(show_panel); - $('#close-detail').click(function(){ - $('#detail').fadeOut(); - }); -}); - -function display_categories(){ - $('a[href=#categories]').parent().parent().children().removeClass('active'); - $('a[href=#categories]').parent().addClass('active'); - $("#search-box").fadeOut(400, - function(){ $("#categories").fadeIn(); }); -} - -function display_search(){ - $('a[href=#search-box]').parent().parent().children().removeClass('active'); - $('a[href=#search-box]').parent().addClass('active'); - $("#categories").fadeOut(400, - function(){ $("#search-box").fadeIn(); $('#id_q').focus(); }); -} - -function show_panel(fct){ - if(!fct) fct = function(){}; - if($('#panel').css('display') == 'none'){ - $('#show-panel').fadeOut(200, function(){ - $('#hide-panel').fadeIn(500); - $("#panel").fadeIn(500); - $("#panel").fadeIn(500, fct); - }); - } else { - fct(); - } -} - -function hide_panel(){ - if($('#panel').css('display') != 'none'){ - $('#hide-panel').fadeOut(500); - $("#panel").fadeOut(500, function(){ - $('#show-panel').fadeIn(); - }); - } -} - -function highlight_selected_categories(){ - $('.subcategory input').each(function(){ - var lbl = $(this).parent(); - if($(this).is(':checked')){ - lbl.addClass('selected'); - }else{ - lbl.removeClass('selected'); - } - }); -} |
