diff --git a/include/limesurvey/admin/scripts/tabpane/css/tab.css b/include/limesurvey/admin/scripts/tabpane/css/tab.css new file mode 100644 index 00000000..8c091a33 --- /dev/null +++ b/include/limesurvey/admin/scripts/tabpane/css/tab.css @@ -0,0 +1,61 @@ +.dynamic-tab-pane-control.tab-pane { + position: relative; + width: 100%; +} + +.dynamic-tab-pane-control .tab-row .tab { + font: Menu; + cursor: Default; + display: inline; + margin: 1px -1px 1px 2px; + float: left; + padding: 2px 5px 3px 5px; + background: ActiveBorder; + border: 0; /* 1px solid; */ + border-color: ThreeDHighlight ThreeDDarkShadow ThreeDDarkShadow + ThreeDHighlight; + border-bottom: 0; + z-index: 1; + white-space: nowrap; + position: relative; + top: 0; +} + +.dynamic-tab-pane-control .tab-row .tab.selected { + background: ThreeDHighlight !important; + border: 1px solid ThreeDDarkShadow; + border-bottom: 0; + z-index: 3; + padding: 2px 6px 4px 6px; + margin: 1px -3px -3px 0px; + top: -2px; +} + +.dynamic-tab-pane-control .tab-row .tab a { + font: Menu; + color: WindowText; + text-decoration: none; + cursor: default; +} + +.dynamic-tab-pane-control .tab-row .tab.hover { + background: Highlight; +} + +.dynamic-tab-pane-control .tab-page { + clear: both; + border: 1px solid ThreeDDarkShadow; + background: ThreeDHighlight; + z-index: 2; + position: relative; + top: -2px; + color: WindowText; + font: Message-Box; + padding: 10px; + height: 200px; +} + +.dynamic-tab-pane-control .tab-row { + z-index: 1; + white-space: nowrap; +} \ No newline at end of file diff --git a/include/limesurvey/admin/scripts/tabpane/css/tab.winclassic.css b/include/limesurvey/admin/scripts/tabpane/css/tab.winclassic.css new file mode 100644 index 00000000..16a23403 --- /dev/null +++ b/include/limesurvey/admin/scripts/tabpane/css/tab.winclassic.css @@ -0,0 +1,59 @@ +.dynamic-tab-pane-control.tab-pane { + position: relative; + width: 100%; +} + +.dynamic-tab-pane-control .tab-row .tab { + font: Menu; + cursor: Default; + display: inline; + margin: 1px -2px 1px 2px; + float: left; + padding: 2px 5px 3px 5px; + background: ThreeDFace; + border: 1px solid; + border-color: ThreeDHighlight ThreeDDarkShadow ThreeDDarkShadow + ThreeDHighlight; + border-bottom: 0; + z-index: 1; + position: relative; + top: 0; +} + +.dynamic-tab-pane-control .tab-row .tab.selected { + border-bottom: 0; + z-index: 3; + padding: 2px 6px 5px 7px; + margin: 1px -3px -2px 0px; + top: -2px; +} + +.dynamic-tab-pane-control .tab-row .tab a { + font: Menu; + color: WindowText; + text-decoration: none; + cursor: default; +} + +.dynamic-tab-pane-control .tab-row .hover a { + color: blue; +} + +.dynamic-tab-pane-control .tab-page { + clear: both; + border: 1px solid; + border-color: ThreeDHighlight ThreeDDarkShadow ThreeDDarkShadow + ThreeDHighlight; + background: ThreeDFace; + z-index: 2; + position: relative; + top: -2px; + color: WindowText; + font: Message-Box; + padding: 10px; +} + +.dynamic-tab-pane-control .tab-row { + z-index: 1; + white-space: nowrap; +} \ No newline at end of file diff --git a/include/limesurvey/admin/scripts/tabpane/demo.html b/include/limesurvey/admin/scripts/tabpane/demo.html new file mode 100644 index 00000000..90573347 --- /dev/null +++ b/include/limesurvey/admin/scripts/tabpane/demo.html @@ -0,0 +1,213 @@ + + + +
++ +
Another tab below
+ + + +This page reloads as soon as the page is loaded... look at the +memory consuption.
+ +| This is text of tab 1. This is text of tab 1. This is text of + tab 1. This is text of tab 1. This is text of tab 1. This is text of + tab 1. This is text of tab 1. This is text of tab 1. This is text of + tab 1. | +
| This is text of tab 2. This is text of tab 2. This is text of
+ tab 2. This is text of tab 2. This is text of tab 2. This is text of
+ tab 2. This is text of tab 2. This is text of tab 2. This is text of
+ tab 2. + + This is text of tab 2. This is text of tab 2. This is text of tab 2. + This is text of tab 2. This is text of tab 2. This is text of tab 2. + This is text of tab 2. This is text of tab 2. This is text of tab 2. |
+
| This is text of tab 3. This is text of tab 3. This is text of + tab 3. This is text of tab 3. This is text of tab 3. This is text of + tab 3. This is text of tab 3. This is text of tab 3. This is text of + tab 3. | +
| This is text of tab 4. This is text of tab 4. This is text of + tab 4. This is text of tab 4. This is text of tab 4. This is text of + tab 4. This is text of tab 4. This is text of tab 4. This is text of + tab 4. | +