2010-11-29 19:13:08 +00:00
|
|
|
/* Common Style */
|
|
|
|
|
|
2010-11-15 20:15:27 +00:00
|
|
|
body {
|
|
|
|
|
font-family: Arial, sans-serif;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2010-11-29 19:13:08 +00:00
|
|
|
a {
|
|
|
|
|
color: blue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Main Layout */
|
|
|
|
|
|
2010-11-29 21:19:18 +00:00
|
|
|
#header {
|
|
|
|
|
height: 3.5em;
|
|
|
|
|
}
|
|
|
|
|
|
2010-11-15 20:15:27 +00:00
|
|
|
#sidebar,
|
2010-11-29 21:25:34 +00:00
|
|
|
#main {
|
2010-11-29 21:19:18 +00:00
|
|
|
position: absolute;
|
|
|
|
|
top: 3.5em;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
margin-top: 1px;
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#sidebar {
|
2010-11-30 00:43:35 +00:00
|
|
|
width: 13.8em;
|
|
|
|
|
padding: 0.8em 0em 1.5em 0.8em;
|
2010-11-15 20:15:27 +00:00
|
|
|
}
|
|
|
|
|
|
2010-11-29 21:25:34 +00:00
|
|
|
#main {
|
2010-11-29 21:19:18 +00:00
|
|
|
left: 14.6em;
|
|
|
|
|
right: 0;
|
2010-11-30 00:43:35 +00:00
|
|
|
padding: 1em;
|
|
|
|
|
overflow-y: scroll;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#api-list {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 3em;
|
2010-12-11 01:04:56 +00:00
|
|
|
bottom: 1em;
|
2010-11-30 00:43:35 +00:00
|
|
|
overflow-y: scroll;
|
|
|
|
|
padding-right: 0.8em;
|
2010-11-15 20:15:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2010-11-29 19:13:08 +00:00
|
|
|
/* App Header */
|
2010-11-15 20:15:27 +00:00
|
|
|
|
|
|
|
|
#header {
|
|
|
|
|
background-color: #F2C200;
|
|
|
|
|
border-bottom: 1px solid #957800;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#header h1 {
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
font-size: 30px;
|
|
|
|
|
line-height: 30px;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 10px 10px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#header .angular {
|
2010-11-29 21:19:18 +00:00
|
|
|
font-family: "Courier New", monospace;
|
2010-11-15 20:15:27 +00:00
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#header h1 a {
|
|
|
|
|
color: black;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#header h1 a:hover {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
2010-11-29 19:13:08 +00:00
|
|
|
|
2010-11-29 21:25:34 +00:00
|
|
|
/* Main main Style */
|
2010-11-29 19:13:08 +00:00
|
|
|
|
2010-11-29 21:25:34 +00:00
|
|
|
#main h1 {
|
2010-11-15 20:15:27 +00:00
|
|
|
font-family: monospace;
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
padding-bottom: 5px;
|
|
|
|
|
border-bottom: 1px solid #CCC;
|
|
|
|
|
}
|
|
|
|
|
|
2010-11-29 21:25:34 +00:00
|
|
|
#main h2 {
|
2010-11-17 21:24:33 +00:00
|
|
|
margin-top: 1.8em;
|
|
|
|
|
}
|
|
|
|
|
|
2010-11-29 21:25:34 +00:00
|
|
|
#main h1 + h2 {
|
2010-11-17 21:24:33 +00:00
|
|
|
margin-top: 1.3em;
|
|
|
|
|
}
|
|
|
|
|
|
2010-11-29 21:25:34 +00:00
|
|
|
#main h3 {
|
2010-11-17 21:24:33 +00:00
|
|
|
margin-top: 1.5em;
|
|
|
|
|
}
|
|
|
|
|
|
2011-01-19 20:15:25 +00:00
|
|
|
#main ul.methods,
|
|
|
|
|
#main ul.properties {
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding-left: 1em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#main ul.methods > li,
|
|
|
|
|
#main ul.properties > li {
|
|
|
|
|
list-style: none;
|
|
|
|
|
padding: 0 10px 10px 10px;
|
2010-12-22 23:44:27 +00:00
|
|
|
margin-top: 1.5em;
|
2011-01-19 20:15:25 +00:00
|
|
|
border: 1px solid #000;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#main ul.methods > li > h3,
|
|
|
|
|
#main ul.properties > li > h3 {
|
2010-12-22 23:44:27 +00:00
|
|
|
font-family: "Courier New", monospace;
|
2011-01-19 20:15:25 +00:00
|
|
|
background-color: #E0E0E0;
|
|
|
|
|
margin: 0 -10px 5px -10px;
|
|
|
|
|
padding: .5em .5em .25em .5em;
|
|
|
|
|
border-bottom: 1px solid #888;
|
|
|
|
|
}
|
|
|
|
|
|
2011-01-19 20:16:21 +00:00
|
|
|
#main li > p,
|
|
|
|
|
#main div.returns > p {
|
2011-01-19 20:15:25 +00:00
|
|
|
display: inline; /* the top most paragraph should not cause new lines inside lists. */
|
2010-12-22 23:44:27 +00:00
|
|
|
}
|
|
|
|
|
|
2010-11-29 21:25:34 +00:00
|
|
|
.main-title {
|
2010-11-29 19:13:08 +00:00
|
|
|
float: right;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2010-11-30 00:43:35 +00:00
|
|
|
/* Searchbox & Sidebar Style */
|
|
|
|
|
|
|
|
|
|
#search-box, #sidebar {
|
|
|
|
|
border-right: 1px solid #DDD;
|
|
|
|
|
}
|
2010-11-29 19:13:08 +00:00
|
|
|
|
2010-11-15 20:15:27 +00:00
|
|
|
#sidebar {
|
|
|
|
|
background-color: #EEE;
|
2010-11-30 00:43:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#search-box {
|
|
|
|
|
width: 16em;
|
|
|
|
|
margin-bottom: 1em;
|
2010-11-15 20:15:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#sidebar a {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#sidebar a:hover {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#sidebar ul {
|
|
|
|
|
list-style-type: none;
|
|
|
|
|
/*TODO(esprehn): Can we just reset globally and not break examples?*/
|
|
|
|
|
margin: 0;
|
2010-11-30 00:43:35 +00:00
|
|
|
padding: 0 0.8em 0 0;
|
|
|
|
|
width: 13em;
|
2010-11-15 20:15:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#sidebar ul li {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#sidebar ul li a {
|
|
|
|
|
display: block;
|
|
|
|
|
padding: 2px 2px 2px 4px;
|
2011-01-19 20:15:25 +00:00
|
|
|
}
|
2010-11-15 20:15:27 +00:00
|
|
|
|
|
|
|
|
#sidebar ul li.selected a {
|
|
|
|
|
background-color: #DDD;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
-moz-border-radius: 5px;
|
|
|
|
|
border: 1px solid #CCC;
|
|
|
|
|
padding: 1px 1px 1px 3px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#sidebar ul li.level-0 {
|
2011-01-26 05:55:11 +00:00
|
|
|
margin-top: 0.5em;
|
2010-11-15 20:15:27 +00:00
|
|
|
margin-left: 0em;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
font-size: 1.2em;
|
|
|
|
|
}
|
|
|
|
|
|
2011-01-26 05:55:11 +00:00
|
|
|
#sidebar ul li.level-0:first-child {
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2010-11-17 19:33:30 +00:00
|
|
|
#sidebar ul li.level-1.level-angular {
|
|
|
|
|
font-family: monospace;
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
font-size: 1em;
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2010-11-15 20:15:27 +00:00
|
|
|
#sidebar ul li.level-1 {
|
|
|
|
|
margin-left: 1em;
|
|
|
|
|
margin-top: 5px;
|
|
|
|
|
font-size: 1.1em;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#sidebar ul li.level-2 {
|
|
|
|
|
margin-left: 2em;
|
|
|
|
|
font-family: monospace;
|
|
|
|
|
}
|
2010-11-15 01:10:16 +00:00
|
|
|
|
|
|
|
|
#sidebar ul li.level-3 {
|
|
|
|
|
margin-left: 3em;
|
|
|
|
|
font-family: monospace;
|
|
|
|
|
}
|
2010-11-16 06:51:16 +00:00
|
|
|
|
2011-01-26 05:55:11 +00:00
|
|
|
#sidebar ul li.level-4 {
|
|
|
|
|
margin-left: 4em;
|
|
|
|
|
font-family: monospace;
|
|
|
|
|
}
|
|
|
|
|
|
2010-11-29 19:13:08 +00:00
|
|
|
|
|
|
|
|
/* Warning and Info Banners */
|
|
|
|
|
|
2010-11-16 06:51:16 +00:00
|
|
|
.deprecated {
|
|
|
|
|
border: 2px solid red;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.deprecated legend {
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: red;
|
|
|
|
|
}
|
2010-11-19 00:28:42 +00:00
|
|
|
|
|
|
|
|
.workInProgress {
|
|
|
|
|
border: 2px solid orange;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.workInProgress legend {
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: orange;
|
|
|
|
|
}
|
2010-11-19 00:53:11 +00:00
|
|
|
|
2010-11-29 19:13:08 +00:00
|
|
|
|
|
|
|
|
/* Feedback Link */
|
|
|
|
|
|
2010-11-19 00:53:11 +00:00
|
|
|
#feedback {
|
|
|
|
|
float: right;
|
|
|
|
|
width: 10em;
|
|
|
|
|
text-align: right;
|
2010-11-23 23:44:14 +00:00
|
|
|
}
|
|
|
|
|
|
2010-11-29 19:13:08 +00:00
|
|
|
|
|
|
|
|
/* Live Example Style */
|
|
|
|
|
|
|
|
|
|
.doc-example-live table td {
|
2010-11-23 23:44:14 +00:00
|
|
|
padding: 0 1.5em;
|
|
|
|
|
}
|
2010-11-29 21:19:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Scrollbars */
|
|
|
|
|
|
|
|
|
|
::-webkit-scrollbar{
|
|
|
|
|
width:0.8em;
|
2010-12-11 01:04:56 +00:00
|
|
|
margin: 0.2em 0em;
|
2010-11-29 21:19:18 +00:00
|
|
|
}
|
2010-12-11 01:04:56 +00:00
|
|
|
|
2010-11-29 21:19:18 +00:00
|
|
|
::-webkit-scrollbar:hover{
|
|
|
|
|
background-color:#eee;
|
|
|
|
|
}
|
2010-12-11 01:04:56 +00:00
|
|
|
|
2010-11-29 21:19:18 +00:00
|
|
|
::-webkit-scrollbar-thumb{
|
|
|
|
|
min-height:0.8em;
|
|
|
|
|
min-width:0.8em;
|
2010-12-11 01:04:56 +00:00
|
|
|
-webkit-border-radius:0.5em;
|
2010-11-29 21:19:18 +00:00
|
|
|
background-color: #ddd;
|
|
|
|
|
}
|
2010-12-11 01:04:56 +00:00
|
|
|
|
2010-11-29 21:19:18 +00:00
|
|
|
::-webkit-scrollbar-thumb:hover{
|
|
|
|
|
background-color: #bbb;
|
|
|
|
|
}
|
2010-12-11 01:04:56 +00:00
|
|
|
|
2010-11-29 21:19:18 +00:00
|
|
|
::-webkit-scrollbar-thumb:active{
|
|
|
|
|
background-color:#888;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#sidebar::-webkit-scrollbar {
|
|
|
|
|
background-color:#eee;
|
|
|
|
|
}
|
|
|
|
|
|
2010-11-29 21:25:34 +00:00
|
|
|
#main::-webkit-scrollbar {
|
2010-11-29 21:19:18 +00:00
|
|
|
background-color:#fff;
|
|
|
|
|
}
|
2011-01-26 05:55:11 +00:00
|
|
|
|
|
|
|
|
/* Content */
|
|
|
|
|
img.right {
|
|
|
|
|
float: right;
|
|
|
|
|
}
|
|
|
|
|
h1, h2, h3, h4, h5 {
|
|
|
|
|
clear: both;
|
|
|
|
|
}
|