rbrindley: branch rbrindley/vmenus_revamp r4400 - in /team/rbrindley/vmenus_r...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Thu Jan 8 11:25:50 CST 2009


Author: rbrindley
Date: Thu Jan  8 11:25:50 2009
New Revision: 4400

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4400
Log:

- added stylesheets/ui-tabs-side.css to handle the styling for tab'd divs with the nav menu on the side (as opposed to ui-tabs which is on top)
- removed ui-tabs.css link and replaced with ui-tabs-side.css in menus2.html
- customized the tabs() call to recognize the ui-tabs-side css


Added:
    team/rbrindley/vmenus_revamp/config/stylesheets/ui-tabs-side.css
Modified:
    team/rbrindley/vmenus_revamp/config/menus2.html

Modified: team/rbrindley/vmenus_revamp/config/menus2.html
URL: http://svn.digium.com/view/asterisk-gui/team/rbrindley/vmenus_revamp/config/menus2.html?view=diff&rev=4400&r1=4399&r2=4400
==============================================================================
--- team/rbrindley/vmenus_revamp/config/menus2.html (original)
+++ team/rbrindley/vmenus_revamp/config/menus2.html Thu Jan  8 11:25:50 2009
@@ -21,7 +21,7 @@
 <head>
 <!-- load CSS -->
 <link href="stylesheets/schwing.css" media="all" rel="Stylesheet" type="text/css" />
-<link href="stylesheets/ui-tabs.css" media="all" rel="Stylesheet" type="text/css" />
+<link href="stylesheets/ui-tabs-side.css" media="all" rel="Stylesheet" type="text/css" />
 <style type="text/css">
 
 body {
@@ -91,7 +91,15 @@
 <script type="text/javascript" src="js/menus2.js"></script>
 <script type="text/javascript">
 	$(document).ready( function() {
-		$("#vmenus_edit_tabs").tabs();
+		$("#vmenus_edit_tabs").tabs({
+			navClass: 'ui-tabs-nav-side',
+			selectedClass: 'ui-tabs-selected-side',
+			deselectableClass: 'ui-tabs-deselectable-side',
+			disabledClass: 'ui-tabs-disabled-side',
+			panelClass: 'ui-tabs-panel-side',
+			hideClass: 'ui-tabs-hide-side',
+			loadingClass: 'ui-tabs-loading-side'
+		});
 	});
 </script>
 <!-- end load Javascript -->

Added: team/rbrindley/vmenus_revamp/config/stylesheets/ui-tabs-side.css
URL: http://svn.digium.com/view/asterisk-gui/team/rbrindley/vmenus_revamp/config/stylesheets/ui-tabs-side.css?view=auto&rev=4400
==============================================================================
--- team/rbrindley/vmenus_revamp/config/stylesheets/ui-tabs-side.css (added)
+++ team/rbrindley/vmenus_revamp/config/stylesheets/ui-tabs-side.css Thu Jan  8 11:25:50 2009
@@ -1,0 +1,43 @@
+ui-tabs-nav {
+}
+
+.ui-tabs-nav li {
+}
+
+ul.ui-tabs-nav li.ui-tabs-selected {
+}
+
+ul.ui-tabs-nav li.ui-tabs-disabled {
+}
+
+ul.ui-tabs-nav li a {
+}
+
+ul.ui-tabs-nav li a:hover {
+}
+
+ul.ui-tabs-nav li a, .ui-tabs-nav li a span {
+}
+
+.ui-tabs-nav li a span {
+	-moz-border-radius: 3px;
+	-webkit-border-radius: 3px;
+	background-color: #6b79a5;
+	border: 1px solid #bdc7e7;
+}
+
+ul.ui-tabs-nav li.ui-tabs-selected a span {
+}
+
+ul.ui-tabs-nav li a, ul.ui-tabs-nav li a:visited {
+}
+
+ul.ui-tabs-nav li.ui-tabs-selected a, ul.ui-tabs-nav li.ui-tabs-selected a:visited {
+}
+
+div.ui-tabs-panel {
+}
+
+div.ui-tabs-hide {
+	display: none;
+}




More information about the asterisk-gui-commits mailing list