mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
208 lines
4.9 KiB
CSS
208 lines
4.9 KiB
CSS
body {
|
|
font-size: 62.5%;
|
|
}
|
|
|
|
table {
|
|
font-size: 1em;
|
|
}
|
|
|
|
/* Site
|
|
-------------------------------- */
|
|
|
|
body {
|
|
font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif";
|
|
}
|
|
|
|
/* Layout
|
|
-------------------------------- */
|
|
|
|
.layout-grid {
|
|
width: 960px;
|
|
}
|
|
|
|
.layout-grid td {
|
|
vertical-align: top;
|
|
}
|
|
|
|
.layout-grid td.left-nav {
|
|
width: 140px;
|
|
}
|
|
|
|
.layout-grid td.normal {
|
|
border-left: 1px solid #eee;
|
|
padding: 20px 24px;
|
|
font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif";
|
|
}
|
|
|
|
.layout-grid td.demos {
|
|
background: url('/images/demos_bg.jpg') no-repeat;
|
|
height: 337px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Normal
|
|
-------------------------------- */
|
|
|
|
.normal h3,
|
|
.normal h4 {
|
|
margin: 0;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.normal h3 {
|
|
padding: 0 0 9px;
|
|
font-size: 1.8em;
|
|
}
|
|
|
|
.normal h4 {
|
|
padding-bottom: 21px;
|
|
border-bottom: 1px dashed #999;
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.normal p {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
/* Demos */
|
|
|
|
.demos-nav, .demos-nav dt, .demos-nav dd, .demos-nav ul, .demos-nav li {
|
|
margin: 0;
|
|
padding: 0
|
|
}
|
|
|
|
.demos-nav {
|
|
float: left;
|
|
width: 170px;
|
|
font-size: 1.3em;
|
|
}
|
|
|
|
.demos-nav dt,
|
|
.demos-nav h4 {
|
|
margin: 0;
|
|
padding: 0;
|
|
letter-spacing: 0.75pt;
|
|
font: normal 1.1em "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif";
|
|
color: #e87b10;
|
|
}
|
|
|
|
.demos-nav dt,
|
|
.demos-nav h4 {
|
|
margin-top: 1.5em;
|
|
margin-bottom: 0;
|
|
padding-left: 8px;
|
|
padding-bottom:5px;
|
|
line-height: 1.2em;
|
|
border-bottom: 1px solid #F4F4F4;
|
|
}
|
|
|
|
.demos-nav dd a,
|
|
.demos-nav li a {
|
|
border-bottom: 1px solid #F4F4F4;
|
|
display:block;
|
|
padding: 4px 3px 4px 8px;
|
|
font-size: 90%;
|
|
text-decoration: none;
|
|
color: #555 ;
|
|
margin:2px 0;
|
|
height:13px;
|
|
}
|
|
|
|
.demos-nav dd a:hover,
|
|
.demos-nav dd a:focus,
|
|
.demos-nav dd a:hover,
|
|
.demos-nav dd a:focus {
|
|
background: #f3f3f3;
|
|
color:#000;
|
|
-moz-border-radius: 5px; -webkit-border-radius: 5px;
|
|
}
|
|
.demos-nav dd a.selected {
|
|
background: #555;
|
|
color:#ffffff;
|
|
-moz-border-radius: 5px; -webkit-border-radius: 5px;
|
|
}
|
|
|
|
|
|
/* new styles for demo pages, added by Filament 12.29.08
|
|
eventually we should convert the font sizes to ems -- using px for now to minimize style conflicts
|
|
*/
|
|
|
|
.normal h3.demo-header { font-size:32px; padding:0 0 5px; border-bottom:1px solid #eee; text-transform: capitalize; }
|
|
.normal h4.demo-subheader { font-size:10px; text-transform: uppercase; color:#999; padding:8px 0 3px; border:0; margin:0; }
|
|
.normal a:link,
|
|
.normal a:visited { color:#1b75bb; text-decoration:none; }
|
|
.normal a:hover,
|
|
.normal a:active { color:#0b559b; }
|
|
|
|
#demo-config { padding:20px 0 0; }
|
|
|
|
#demo-frame { float:left; width:540px; height:380px; border:1px solid #ddd; overflow: auto; position: relative; }
|
|
#demo-frame h3, #demo-frame h4 { padding: 0; font-weight: bold; font-size: 1em; }
|
|
|
|
#demo-config-menu { float:right; width:180px; }
|
|
#demo-config-menu h4 { font-size:13px; color:#666; font-weight:normal; border:0; padding-left:18px; }
|
|
|
|
#demo-config-menu ul { list-style: none; padding: 0; margin: 0; }
|
|
|
|
#demo-config-menu li { font-size:12px; padding:0 0 0 10px; margin:3px 0; zoom: 1; }
|
|
|
|
#demo-config-menu li a:link,
|
|
#demo-config-menu li a:visited { display:block; padding:3px 8px 4px; border-bottom:1px dotted #b3b3b3; }
|
|
#demo-config-menu li a:hover,
|
|
#demo-config-menu li a:active { background-color:#f6f6f6; }
|
|
|
|
#demo-config-menu li.demo-config-on { background: url(images/demo-config-on-tile.gif) repeat-x left center; }
|
|
|
|
#demo-config-menu li.demo-config-on a:link,
|
|
#demo-config-menu li.demo-config-on a:visited,
|
|
#demo-config-menu li.demo-config-on a:hover,
|
|
#demo-config-menu li.demo-config-on a:active { background: url(images/demo-config-on.gif) no-repeat left; padding-left:18px; color:#fff; border:0; margin-left:-10px; }
|
|
|
|
#demo-source, #demo-notes {
|
|
clear: both;
|
|
padding: 20px 0 0;
|
|
font-size: 1.3em;
|
|
}
|
|
|
|
#demo-notes { width:520px; color:#333; font-size: 1em; }
|
|
code, pre { padding:8px 0 8px 20px ; font-size: 1.2em; line-height:130%; }
|
|
|
|
#demo-source a:link,
|
|
#demo-source a:visited,
|
|
#demo-source a:hover,
|
|
#demo-source a:active { font-size:12px; padding-left:13px; background-position: left center; background-repeat: no-repeat; }
|
|
|
|
#demo-source a.source-open:link,
|
|
#demo-source a.source-open:visited,
|
|
#demo-source a.source-open:hover,
|
|
#demo-source a.source-open:active { background-image: url(images/demo-spindown-open.gif); }
|
|
|
|
#demo-source a.source-closed:link,
|
|
#demo-source a.source-closed:visited,
|
|
#demo-source a.source-closed:hover,
|
|
#demo-source a.source-closed:active { background-image: url(images/demo-spindown-closed.gif); }
|
|
|
|
div.demo {
|
|
padding:12px;
|
|
font-family: "Trebuchet MS", "Arial", "Helvetica", "Verdana", "sans-serif";
|
|
}
|
|
|
|
div.demo-description {
|
|
padding:12px;
|
|
font-family: "Trebuchet MS", "Arial", "Helvetica", "Verdana", "sans-serif";
|
|
font-size: 1.3em;
|
|
line-height: 1.4em;
|
|
}
|
|
|
|
.ui-draggable, .ui-droppable {
|
|
background-position: top left;
|
|
}
|
|
|
|
.left-nav .demos-nav {
|
|
padding-right: 10px;
|
|
}
|
|
|
|
#demo-link { font-size:11px; margin:6px 0 20px 0; }
|
|
#demo-link a span.ui-icon { float:left; margin-right:3px; }
|