diff options
author | yaohuang <yaohuang@microsoft.com> | 2012-10-08 21:54:30 +0400 |
---|---|---|
committer | yaohuang <yaohuang@microsoft.com> | 2012-10-08 22:07:00 +0400 |
commit | c1b5a3ef6b14685713da1e35b806f2c77a684dce (patch) | |
tree | a069752abf3fffe8cbf7701ade878121919a08bc | |
parent | 504b0aa28c37ee1d7940e789d28e3020297be42a (diff) |
Reverting the help page tab style.
-rw-r--r-- | src/WebApiHelpPage/Areas/HelpPage/HelpPage.css | 48 | ||||
-rw-r--r-- | src/WebApiHelpPage/Areas/HelpPage/Views/Help/Api.cshtml | 1 |
2 files changed, 1 insertions, 48 deletions
diff --git a/src/WebApiHelpPage/Areas/HelpPage/HelpPage.css b/src/WebApiHelpPage/Areas/HelpPage/HelpPage.css index bfada965..a0e91d19 100644 --- a/src/WebApiHelpPage/Areas/HelpPage/HelpPage.css +++ b/src/WebApiHelpPage/Areas/HelpPage/HelpPage.css @@ -62,51 +62,3 @@ a:hover .parameter-name { width: 20%; } .parameter-documentation { width: 50%; } .parameter-source { width: 30%; } - - /* jQuery UI Tabs 1.8.16 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Tabs#theming - */ -.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ -.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } -.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } -.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } -.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } -.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } -.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ -.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } -.ui-tabs .ui-tabs-hide { display: none !important; } - -/* Layout helpers -----------------------------------*/ -.ui-helper-hidden { display: none; } -.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } -.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } -.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } -.ui-helper-clearfix { display: inline-block; } -/* required comment for clearfix to work in Opera */ -* html .ui-helper-clearfix { height:1%; } -.ui-helper-clearfix { display:block; } -/* end clearfix */ -.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } - -/* Tabs */ -.ui-tabs { padding:0; border:none; } -.ui-tabs-nav { padding:0px 0px 0px 0px !important; border:none; border-bottom:2px solid; background:none; } -.ui-tabs-nav .ui-state-default { border:none; padding:0px !important; margin-right:2px !important; background:none !important; } -.ui-tabs-nav .ui-state-default a { border:2px solid; position:relative; top:1px;font-weight:bold; } -.ui-tabs-nav .ui-tabs-selected a { border:2px solid; height:1.8em; border-bottom:none !important; } -.ui-tabs .ui-widget-content { border:2px solid !important; border-top:none !important; } -.ui-tabs-nav .ui-state-hover { border:none; } - -/* Tabs states */ -.ui-tabs-nav > .ui-state-default a { border-color:#76B8DB; background:#76B8DB; color:#FFFFFF; } -.ui-tabs-nav > .ui-tabs-selected a { border-color:#D4D4D4 !important; background:#FFFFFF !important; color:#525252 !important; } -.ui-tabs-nav > .ui-state-hover a { background:#80C4E8; border-color:#80C4E8; color:#FFFFFF; } -.ui-tabs-nav > .ui-state-focus a { background:#80C4E8; border-color:#80C4E8; color:#FFFFFF; } -.ui-tabs .ui-widget-content { border-color:#D4D4D4 !important; background-color:#FFFFFF; } -.ui-tabs-nav { border-color:#D4D4D4; }
\ No newline at end of file diff --git a/src/WebApiHelpPage/Areas/HelpPage/Views/Help/Api.cshtml b/src/WebApiHelpPage/Areas/HelpPage/Views/Help/Api.cshtml index d3a810f5..e605e380 100644 --- a/src/WebApiHelpPage/Areas/HelpPage/Views/Help/Api.cshtml +++ b/src/WebApiHelpPage/Areas/HelpPage/Views/Help/Api.cshtml @@ -23,6 +23,7 @@ @section Scripts { <link type="text/css" href="~/Areas/HelpPage/HelpPage.css" rel="stylesheet" /> <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.10/jquery-ui.min.js"></script> + <link type="text/css" href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.10/themes/smoothness/jquery-ui.css" rel="stylesheet" /> <script> $(function () { $('.mediaTypeTabs').tabs(); |