summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorLudovic Pouzenc <lpouzenc@gmail.com>2013-10-29 18:42:08 +0100
committerLudovic Pouzenc <lpouzenc@gmail.com>2013-10-29 18:42:08 +0100
commitc98515883097467896a3f46b755c8cb892fe8961 (patch)
treebe2e4f5450e9bc9cf692e8dfac7c9780eaa7019b /libs
downloadeditablesite-c98515883097467896a3f46b755c8cb892fe8961.tar.gz
editablesite-c98515883097467896a3f46b755c8cb892fe8961.tar.bz2
editablesite-c98515883097467896a3f46b755c8cb892fe8961.zip
Import initial avec une arbrescence éclatée
Diffstat (limited to 'libs')
-rw-r--r--libs/microajax/microajax.minified.js1
-rw-r--r--libs/treeview/treeview.css121
-rw-r--r--libs/treeview/treeview_icons.pngbin0 -> 762 bytes
3 files changed, 122 insertions, 0 deletions
diff --git a/libs/microajax/microajax.minified.js b/libs/microajax/microajax.minified.js
new file mode 100644
index 0000000..5ccdc8f
--- /dev/null
+++ b/libs/microajax/microajax.minified.js
@@ -0,0 +1 @@
+function microAjax(B,A){this.bindFunction=function(E,D){return function(){return E.apply(D,[D])}};this.stateChange=function(D){if(this.request.readyState==4){this.callbackFunction(this.request.responseText)}};this.getRequest=function(){if(window.ActiveXObject){return new ActiveXObject("Microsoft.XMLHTTP")}else{if(window.XMLHttpRequest){return new XMLHttpRequest()}}return false};this.postBody=(arguments[2]||"");this.callbackFunction=A;this.url=B;this.request=this.getRequest();if(this.request){var C=this.request;C.onreadystatechange=this.bindFunction(this.stateChange,this);if(this.postBody!==""){C.open("POST",B,true);C.setRequestHeader("X-Requested-With","XMLHttpRequest");C.setRequestHeader("Content-type","application/x-www-form-urlencoded");C.setRequestHeader("Connection","close")}else{C.open("GET",B,true)}C.send(this.postBody)}}; \ No newline at end of file
diff --git a/libs/treeview/treeview.css b/libs/treeview/treeview.css
new file mode 100644
index 0000000..2c14f1a
--- /dev/null
+++ b/libs/treeview/treeview.css
@@ -0,0 +1,121 @@
+.css-treeview ul,
+.css-treeview li
+{
+ padding: 0;
+ margin: 0;
+ list-style: none;
+}
+
+.css-treeview input
+{
+ position: absolute;
+ opacity: 0;
+}
+
+.css-treeview
+{
+ font: normal 11px Arial, Sans-serif;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ user-select: none;
+}
+
+.css-treeview a
+{
+ color: #00f;
+ text-decoration: none;
+}
+
+.css-treeview a:hover
+{
+ text-decoration: underline;
+}
+
+.css-treeview input + label + ul
+{
+ margin: 0 0 0 22px;
+}
+
+.css-treeview input ~ ul
+{
+ display: none;
+}
+
+.css-treeview label,
+.css-treeview label::before
+{
+ cursor: pointer;
+}
+
+.css-treeview input:disabled + label
+{
+ cursor: default;
+ opacity: .6;
+}
+
+.css-treeview input:checked:not(:disabled) ~ ul
+{
+ display: block;
+}
+
+.css-treeview label,
+.css-treeview label::before
+{
+ background: url("treeview_icons.png") no-repeat;
+}
+
+.css-treeview label,
+.css-treeview a,
+.css-treeview label::before
+{
+ display: inline-block;
+ height: 16px;
+ line-height: 16px;,
+ vertical-align: middle;
+}
+
+.css-treeview label
+{
+ background-position: 18px 0;
+}
+
+.css-treeview label::before
+{
+ content: "";
+ width: 16px;
+ margin: 0 22px 0 0;
+ vertical-align: middle;
+ background-position: 0 -32px;
+}
+
+.css-treeview input:checked + label::before
+{
+ background-position: 0 -16px;
+}
+
+.css-treeview input.new + label::before
+{
+ background-position: 0 -48px;
+}
+
+/* webkit adjacent element selector bugfix */
+@media screen and (-webkit-min-device-pixel-ratio:0)
+{
+ .css-treeview
+ {
+ -webkit-animation: webkit-adjacent-element-selector-bugfix infinite 1s;
+ }
+
+ @-webkit-keyframes webkit-adjacent-element-selector-bugfix
+ {
+ from
+ {
+ padding: 0;
+ }
+ to
+ {
+ padding: 0;
+ }
+ }
+}
+
diff --git a/libs/treeview/treeview_icons.png b/libs/treeview/treeview_icons.png
new file mode 100644
index 0000000..924cd5b
--- /dev/null
+++ b/libs/treeview/treeview_icons.png
Binary files differ