summaryrefslogtreecommitdiffstats
path: root/js/yui3/tabview-plugin
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-12-04 22:13:12 +0100
committerDave Lawrence <dlawrence@mozilla.com>2012-12-04 22:13:12 +0100
commit1ee605864f227d40cc83e798dc117ad8e01acb64 (patch)
tree42cc3ff5007202fad4932941b477ac96d5ea0643 /js/yui3/tabview-plugin
parentb061ce481380dfd01f85ea84ef700eb7589433e3 (diff)
downloadbugzilla-1ee605864f227d40cc83e798dc117ad8e01acb64.tar.gz
bugzilla-1ee605864f227d40cc83e798dc117ad8e01acb64.tar.xz
Bug 818091 - Install a full copy of YUI3 into the js directory for use with new extensions/projects
Diffstat (limited to 'js/yui3/tabview-plugin')
-rw-r--r--js/yui3/tabview-plugin/assets/tabview-core.css48
-rw-r--r--js/yui3/tabview-plugin/assets/tabview.css28
-rw-r--r--js/yui3/tabview-plugin/tabview-plugin-min.js7
3 files changed, 83 insertions, 0 deletions
diff --git a/js/yui3/tabview-plugin/assets/tabview-core.css b/js/yui3/tabview-plugin/assets/tabview-core.css
new file mode 100644
index 000000000..96d2628d1
--- /dev/null
+++ b/js/yui3/tabview-plugin/assets/tabview-core.css
@@ -0,0 +1,48 @@
+/*
+YUI 3.7.3 (build 5687)
+Copyright 2012 Yahoo! Inc. All rights reserved.
+Licensed under the BSD License.
+http://yuilibrary.com/license/
+*/
+.yui3-tab-panel {
+ display:none;
+}
+
+.yui3-tab-panel-selected {
+ display:block;
+}
+
+.yui3-tabview-list,
+.yui3-tab {
+ margin:0;
+ padding:0;
+ list-style:none;
+}
+
+.yui3-tabview {
+ position:relative; /* contain absolute positioned tabs (left/right) */
+}
+
+.yui3-tabview,
+.yui3-tabview-list,
+.yui3-tabview-panel,
+.yui3-tab,
+.yui3-tab-panel { /* IE: kill space between horizontal tabs */
+ zoom:1;
+}
+
+.yui3-tab {
+ display:inline-block;
+ *display:inline; /* IE */
+ vertical-align:bottom; /* safari: for overlap */
+ cursor:pointer;
+}
+
+.yui3-tab-label {
+ display:block;
+ display:inline-block;
+ padding: 6px 10px;
+ position:relative; /* IE: to allow overlap */
+ text-decoration: none;
+ vertical-align:bottom; /* safari: for overlap */
+}
diff --git a/js/yui3/tabview-plugin/assets/tabview.css b/js/yui3/tabview-plugin/assets/tabview.css
new file mode 100644
index 000000000..552623a06
--- /dev/null
+++ b/js/yui3/tabview-plugin/assets/tabview.css
@@ -0,0 +1,28 @@
+/*
+YUI 3.7.3 (build 5687)
+Copyright 2012 Yahoo! Inc. All rights reserved.
+Licensed under the BSD License.
+http://yuilibrary.com/license/
+*/
+.yui3-tab-panel {
+ display: none;
+}
+
+.yui3-tab-selected {
+ background: yellow;
+}
+
+.yui3-tab-selected {
+ background: yellow;
+}
+
+.yui3-tab-panel-selected {
+ background: yellow;
+ display: block;
+}
+
+.yui3-tab {
+ display: inline-block;
+ margin-right: 0.5em;
+ zoom: 1;
+};
diff --git a/js/yui3/tabview-plugin/tabview-plugin-min.js b/js/yui3/tabview-plugin/tabview-plugin-min.js
new file mode 100644
index 000000000..2c3789ce3
--- /dev/null
+++ b/js/yui3/tabview-plugin/tabview-plugin-min.js
@@ -0,0 +1,7 @@
+/*
+YUI 3.7.3 (build 5687)
+Copyright 2012 Yahoo! Inc. All rights reserved.
+Licensed under the BSD License.
+http://yuilibrary.com/license/
+*/
+YUI.add("tabview-plugin",function(e,t){function n(){n.superclass.constructor.apply(this,arguments)}n.NAME="tabviewPlugin",n.NS="tabs",e.extend(n,e.TabviewBase),e.namespace("Plugin"),e.Plugin.Tabview=n},"3.7.3",{requires:["tabview-base"]});