summaryrefslogtreecommitdiffstats
path: root/afm-client/bower_components/tether/examples/facebook
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2016-01-28 16:30:12 +0100
committerFulup Ar Foll <fulup@iot.bzh>2016-01-28 16:30:12 +0100
commitbe83a8f382cf2fea98161bfd6d51719aacbf9aa9 (patch)
tree3fb02337f8d7d308ef7ca7818ecc3d3a6ee05d88 /afm-client/bower_components/tether/examples/facebook
parent1a4ed39bf86b2115eb0f1387d1e988462b492776 (diff)
Update JSON API
Diffstat (limited to 'afm-client/bower_components/tether/examples/facebook')
-rw-r--r--afm-client/bower_components/tether/examples/facebook/facebook.css86
-rw-r--r--afm-client/bower_components/tether/examples/facebook/index.html209
2 files changed, 295 insertions, 0 deletions
diff --git a/afm-client/bower_components/tether/examples/facebook/facebook.css b/afm-client/bower_components/tether/examples/facebook/facebook.css
new file mode 100644
index 0000000..eae1508
--- /dev/null
+++ b/afm-client/bower_components/tether/examples/facebook/facebook.css
@@ -0,0 +1,86 @@
+.drop-target.drop-open {
+ outline: 2px solid;
+}
+
+.body {
+ position: relative;
+ margin-right: 300px;
+}
+
+.page {
+ max-width: 100%;
+ width: 1080px;
+ padding: 0 10px;
+ box-sizing: border-box;
+ margin: 0 auto;
+}
+
+.navigation {
+ background: blue;
+ color: #fff;
+ margin-right: 300px;
+ margin-bottom: 30px;
+}
+
+.navigation .item a {
+ padding: 30px 20px;
+ display: inline-block;
+}
+
+.navigation .item a {
+ color: inherit;
+}
+
+.navigation .drop-target.drop-open {
+ background: #fff;
+ color: blue;
+ outline: none;
+}
+
+.right-sidebar {
+ position: fixed;
+ height: 50%;
+ width: 300px;
+ background: #eee;
+ overflow: auto;
+ right: 0;
+}
+
+.right-sidebar .drop-target.drop-open {
+ background: blue;
+ color: #fff;
+ outline: none;
+}
+
+.right-sidebar .item a {
+ display: block;
+ padding: 20px;
+ margin-bottom: 10px;
+ background: rgba(0, 0, 0, .1);
+}
+
+.right-sidebar-top {
+ top: 0;
+}
+
+.right-sidebar-bottom {
+ top: 50%;
+ background: #ccc;
+}
+
+.scroll-container {
+ position: relative;
+ overflow: auto;
+ background: #eee;
+ padding: 20px;
+ margin-bottom: 20px;
+ margin-right: 20px;
+ height: 200px;
+ width: 200px;
+}
+
+.absolute-container {
+ position: absolute;
+ top: 20px;
+ right: 300px;
+}
diff --git a/afm-client/bower_components/tether/examples/facebook/index.html b/afm-client/bower_components/tether/examples/facebook/index.html
new file mode 100644
index 0000000..d4bcf8e
--- /dev/null
+++ b/afm-client/bower_components/tether/examples/facebook/index.html
@@ -0,0 +1,209 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="chrome=1">
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
+ <link rel="stylesheet" href="../../css/drop.css" />
+ <link rel="stylesheet" href="../../css/drop-theme-default.css" />
+ <link rel="stylesheet" href="../../css/drop-theme-arrows.css" />
+ <link rel="stylesheet" href="../resources/css/base.css" />
+ <link rel="stylesheet" href="facebook.css" />
+ </head>
+ <body>
+ <div class="navigation">
+ <div class="page">
+ <span class="item">DROPBOOK</span>
+ <span class="item">
+ <a class="drop-target" data-constrain="false" data-attach="bottom left">DROP</a>
+ </span>
+ <span class="item">
+ <a class="drop-target" data-constrain="false" data-attach="bottom left">DROP</a>
+ </span>
+ <span class="item">
+ <a class="drop-target" data-constrain="false" data-attach="bottom left">DROP</a>
+ </span>
+ </div>
+ </div>
+ <div class="right-sidebar right-sidebar-top">
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="true" data-class="drop-theme-arrows" data-attach="left top">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a>
+ </div>
+ </div>
+ <div class="right-sidebar right-sidebar-bottom">
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="true" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a>
+ </div>
+ <div class="item">
+ <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a>
+ </div>
+ </div>
+ <div class="body">
+ <div class="page">
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor<br/>
+ incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud<br/>
+ exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/><br/>
+
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor<br/>
+ incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud<br/>
+ exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/><br/>
+
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor<br/>
+ incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud<br/>
+ exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/><br/>
+
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor<br/>
+ incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud<br/>
+ exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/><br/>
+
+ <a class="drop-target" data-constrain="true" data-attach="bottom left">DROP</a><br/><br/>
+ <div class="scroll-container">
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit,
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit,
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit,
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit,
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit,
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit,
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit,
+ <br/><br/><a class="drop-target" data-constrain="true" data-attach="bottom left">DROP</a><br/><br/> sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br/>
+ </div>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br/><br/>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br/><br/>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br/><br/>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br/><br/>
+ <div class="scroll-container">
+ <br/>
+ <a class="drop-target" data-constrain="true" data-attach="bottom left">DROP</a><br/>
+ <br/>
+ <div style="width: 150%; background: #ccc; height: 1px"></div>
+ </div>
+ <div class="scroll-container">
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/>
+ <br/><br/>
+ <div style="width: 150%; background: #ccc; height: 1px">
+ <div style="margin-left: 100%">
+ <a class="drop-target" data-constrain="true" data-attach="bottom left">DROP</a>
+ </div>
+ </div>
+ <br/><br/>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br/>
+ </div>
+ <div class="scroll-container absolute-container">
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, <br/><br/><a class="drop-target" data-constrain="false" data-attach="left top">DROP</a><br/><br/> sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br/>
+ </div>
+ </div>
+ </div>
+
+ <script src="../resources/js/log.js"></script>
+ <script src="../resources/js/jquery.js"></script>
+ <script src="../../utils.js"></script>
+ <script src="../../tether.js"></script>
+ <script src="../../drop.js"></script>
+ <script src="../../constraint.js"></script>
+ <style>
+ .drop .drop-content {
+ min-height: 100px;
+ min-width: 100px;
+ }
+ </style>
+ <script>
+ $('.drop-target').each(function(){
+ new Drop({
+ target: this,
+ className: $(this).data().class || 'drop-theme-default',
+ attach: $(this).data().attach,
+ constrainToScrollParent: $(this).data().constrain,
+ openOn: 'click'
+ });
+ });
+ </script>
+ </body>
+</html>