angular.js/docs/src/templates/docs.css

423 lines
6.3 KiB
CSS
Raw Normal View History

2011-05-11 00:01:01 +00:00
@charset "UTF-8";
2010-11-29 19:13:08 +00:00
body {
2011-06-02 15:40:26 +00:00
background: #000 url("img/texture_1.png");
}
2011-05-11 00:01:01 +00:00
/*----- Layout Generic Styles -----*/
body,td,th {
2011-06-06 15:52:02 +00:00
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000;
2011-06-27 22:05:24 +00:00
margin: 0;
2010-11-29 19:13:08 +00:00
}
2011-06-02 15:40:26 +00:00
a:link, a:visited, a:hover {
2011-06-06 15:52:02 +00:00
color: #5d6db6;
text-decoration: none;
2011-05-11 00:01:01 +00:00
}
2011-06-02 15:40:26 +00:00
2011-05-11 00:01:01 +00:00
a:active {
2011-06-06 15:52:02 +00:00
text-decoration: none;
2011-05-11 00:01:01 +00:00
}
2010-11-29 19:13:08 +00:00
2011-05-11 00:01:01 +00:00
p {
2011-06-06 15:52:02 +00:00
font-size: 14px;
padding: 0.1em 1em;
line-height: 1.4em;
}
li > p {
padding-left: 0;
}
2011-06-06 15:52:02 +00:00
h2 {
margin: 1.5em 0 1em 0;
2011-05-11 00:01:01 +00:00
}
2010-11-29 19:13:08 +00:00
2011-06-06 15:52:02 +00:00
h3 {
margin: 1.8em 0 1em 0;
}
2011-06-06 15:52:02 +00:00
h4 {
margin: 2em 0 1em 0;
}
2011-05-11 00:01:01 +00:00
2011-06-07 05:02:30 +00:00
li {
margin: 0.3em 0 0.3em 0;
}
2011-05-11 00:01:01 +00:00
2011-06-02 15:40:26 +00:00
/*----- Upgrade IE Prompt -----*/
2011-05-11 00:01:01 +00:00
#oldIePrompt {
margin: 0 auto;
background-color: red;
color: black;
text-align: center;
padding: 5px 0;
}
2011-06-06 15:52:02 +00:00
2011-05-11 00:01:01 +00:00
#oldIePrompt a,
#oldIePrompt a:visited {
color: yellow;
}
2011-05-11 00:01:01 +00:00
2011-06-02 15:40:26 +00:00
/*----- Global Layout -----*/
2011-05-11 00:01:01 +00:00
2011-06-02 15:40:26 +00:00
#container {
width: 1150px;
margin: 0 auto;
background: #F8AC09 url(img/yellow_bkgnd.jpg) no-repeat top left;
2010-11-29 19:13:08 +00:00
}
2011-06-02 15:40:26 +00:00
#footer {
2011-05-11 00:01:01 +00:00
clear: both;
2011-06-02 15:40:26 +00:00
padding: 2em 4em 1em;
font-size: 12px;
}
2011-07-21 02:29:54 +00:00
#offline{
text-decoration:underline;
cursor:pointer;
color:blue;
}
#copyright {
float:right;
text-align: right;
}
#version {
margin-top: -1.2em;
margin-left: -2em;
margin-right: 0.5em;
color: #251BE0;
}
2011-06-02 15:40:26 +00:00
/*----- navigation styles -----*/
2011-05-11 00:01:01 +00:00
2011-06-02 15:40:26 +00:00
#navbar {
margin: 0;
padding: 0;
list-style-type: none;
background: #7989D6;
height: 3.5em;
border-bottom: 4px solid #808080;
2011-05-11 00:01:01 +00:00
}
2011-06-06 15:52:02 +00:00
2011-06-02 15:40:26 +00:00
#navbar li {
display: inline;
2011-05-11 00:01:01 +00:00
}
2011-06-06 15:52:02 +00:00
2011-06-02 15:40:26 +00:00
#navbar a:link, #navbar a:visited {
font-size: 1.2em;
color: #FFF;
2011-07-29 20:43:51 +00:00
font-weight: bold;
2011-06-02 15:40:26 +00:00
text-decoration: none;
text-align: center;
display: inline-block;
width: 11em;
margin-top: 0.4em;
padding: 0.5em 0;
}
2011-06-06 15:52:02 +00:00
2011-06-02 15:40:26 +00:00
#navbar a:hover {
color: #000;
2011-05-11 00:01:01 +00:00
}
2011-06-06 15:52:02 +00:00
2011-06-02 15:40:26 +00:00
#navbar a.current {
background-color: #333;
2011-06-06 15:52:02 +00:00
2011-06-02 15:40:26 +00:00
-webkit-border-radius:10px;
-moz-border-radius: 10px;
2011-06-27 22:05:24 +00:00
border-radius: 10px;
2011-06-06 15:52:02 +00:00
2011-06-02 15:40:26 +00:00
-webkit-box-shadow: 4px 4px 6px #48577D;
-moz-box-shadow: 4px 4px 6px #48577D;
2011-06-27 22:05:24 +00:00
box-shadow: 4px 4px 6px #48577D;
2011-05-11 00:01:01 +00:00
}
2011-06-06 15:52:02 +00:00
2011-06-02 15:40:26 +00:00
#navbar a.current:hover {
color: #fff;
2011-05-11 00:01:01 +00:00
}
2011-06-02 15:40:26 +00:00
/*------ sidebar styles ------*/
2011-05-11 00:01:01 +00:00
2011-06-02 15:40:26 +00:00
#sidebar {
margin-top: 4em;
width: 15.5em;
2011-06-06 18:29:47 +00:00
padding: 0.8em 0.7em 0.7em 0.7em;
2011-06-02 15:40:26 +00:00
background: #7989D6;
overflow: hidden;
float: left;
2011-06-02 15:40:26 +00:00
-moz-box-shadow: 4px 4px 6px #48577D;
-webkit-box-shadow: 4px 4px 6px #48577D;
box-shadow: 4px 4px 6px #48577D;
2011-06-02 15:40:26 +00:00
-moz-border-radius-topright: 15px;
-webkit-border-top-right-radius: 15px;
border-top-right-radius: 15px;
2011-06-02 15:40:26 +00:00
-moz-border-radius-bottomright: 15px;
-webkit-border-bottom-right-radius: 15px;
border-bottom-right-radius: 15px;
}
2011-06-02 15:40:26 +00:00
#sidebar input {
2011-06-06 18:29:47 +00:00
width: 207px;
}
2011-05-11 00:01:01 +00:00
#sidebar #content-list.tutorial {
list-style: none;
text-indent: -1.2em;
}
#sidebar #content-list.tutorial .level-0 {
text-indent: 0;
}
2011-06-02 15:40:26 +00:00
#content-list {
background: #fff;
2011-06-06 15:52:02 +00:00
padding: 1em 0.4em 1em 2em;
margin: 0.95em -0.95em -1em -0.6em;
2011-06-02 15:40:26 +00:00
line-height: 1.5em;
}
2011-06-02 15:40:26 +00:00
#content-list .level-0 {
2011-06-06 15:52:02 +00:00
font-size: 1.3em;
2011-06-02 15:40:26 +00:00
list-style: none;
2011-06-06 15:52:02 +00:00
margin-left: -1.2em;
padding-bottom: 0.2em;
2011-05-11 00:01:01 +00:00
}
2010-11-29 19:13:08 +00:00
2011-06-02 15:40:26 +00:00
#content-list .level-1 {
font-size: 1.1em;
font-weight: bold;
2011-05-11 00:01:01 +00:00
}
2010-11-29 19:13:08 +00:00
#content-list .level-2,
#content-list .level-3 {
2011-06-02 15:40:26 +00:00
margin-left: 1em;
}
#content-list .level-4 {
margin-left: 2em;
}
#content-list .level-5 {
margin-left: 3em;
}
2011-06-02 15:40:26 +00:00
#content-list a.current {
font-weight: bold;
color: #000;
text-decoration: none;
}
2010-11-19 00:53:11 +00:00
2011-06-02 15:40:26 +00:00
/*----- content styles -----*/
2011-06-06 15:52:02 +00:00
2011-06-02 15:40:26 +00:00
#content-panel {
float: left;
margin-top: 4em;
margin-left: 3em;
width: 57em;
padding: 0.5em 1em 1em 1em;
background: #7989D6;
overflow: hidden;
2010-11-29 19:13:08 +00:00
2011-06-02 15:40:26 +00:00
-moz-box-shadow: 4px 4px 6px #48577D;
-webkit-box-shadow: 4px 4px 6px #48577D;
box-shadow: 4px 4px 6px #48577D;
2010-11-29 19:13:08 +00:00
2011-06-02 15:40:26 +00:00
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border-radius: 15px;
2010-11-23 23:44:14 +00:00
}
2011-06-02 15:40:26 +00:00
#content-panel > h2 {
font-size: 2em;
font-weight: normal;
color: #fff;
2011-06-06 15:52:02 +00:00
margin: 0 4em 0 0;
2011-06-02 15:40:26 +00:00
height: 1em;
2010-11-23 23:44:14 +00:00
}
2011-06-02 15:40:26 +00:00
#content {
background-color: #fff;
display: block;
margin: 0.7em -1em -1em;
padding: 0.5em 1.5em;
}
2010-12-11 01:04:56 +00:00
2011-06-06 15:52:02 +00:00
#feedback {
float: right;
margin-top: -2.3em;
margin-right: 0.5em;
width: 8em;
font-size: 0.8em;
color: #fff;
}
2011-06-02 15:40:26 +00:00
#content > h1 {
display: none;
}
2010-12-11 01:04:56 +00:00
#content img:not(.ng-directive) {
/* the negation rule above is to avoid applying this rule to images in buzz and other examples */
2011-06-02 15:40:26 +00:00
display: block;
margin: 2em auto;
padding: 1em;
border: 1px solid black;
2011-05-11 00:01:01 +00:00
2011-06-02 15:40:26 +00:00
-moz-box-shadow: 4px 4px 6px #48577D;
-webkit-box-shadow: 4px 4px 6px #48577D;
box-shadow: 4px 4px 6px #48577D;
2011-05-11 00:01:01 +00:00
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
2011-06-02 15:40:26 +00:00
border-radius: 15px;
}
2011-06-06 15:52:02 +00:00
#content pre {
2011-06-06 15:52:02 +00:00
padding-left: 1.5em;
}
#content .syntaxhighlighter {
2011-06-27 22:05:24 +00:00
margin: 1.5em 0 1.5em 0 !important;
}
2011-06-07 14:44:59 +00:00
#content .parameters p:nth-child(2) {
display: inline;
padding-left: 0;
}
#content .returns p:nth-child(2) {
display: inline;
padding-left: 0;
}
2011-07-21 02:29:54 +00:00
/* subpages */
#fader {
position: fixed;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background-color: black;
opacity: 0.8;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
filter: alpha(opacity=80);
z-index: 3;
}
#subpage > div {
position: fixed;
top: 50%;
left: 50%;
width: 729px;
margin-top: -140px;
margin-left: -365px;
z-index: 3;
background-color: #7989D6;
border-radius: 15px;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
box-shadow: 4px 4px 6px #48577D;
-webkit-box-shadow: 4px 4px 6px #48577D;
-moz-box-shadow: 4px 4px 6px #48577D;
}
#subpage h2 {
height: 1.8em;
-moz-border-radius-topright: 15px;
-moz-border-radius-topleft: 15px;
border-radius-topright: 15px;
border-radius-topleft: 15px;
-webkit-border-top-right-radius: 15px;
-webkit-border-top-left-radius: 15px;
border-top-right-radius: 15px;
border-top-left-radius: 15px;
padding: 0.6em 0 0 1em;
margin: 0;
color: white;
}
#subpage > div > a {
color: black;
float: right;
margin: -40px 10px;
font-size: 1em;
}
#subpage > div > a:hover {
text-decoration: none;
color: white;
}
#subpage > div > p {
background-color: white;
padding: 0.5em 1em 0.5em 1em;
margin-bottom: 0.5em;
}
#cacheButton {
margin: 0em 2em 1em 0em;
float:right;
}
.table {
border-collapse: collapse;
}
.table th:first-child {
text-align: right;
}
.table th,
.table td {
border: 1px solid black;
padding: .5em 1em;
}
.table th {
white-space: nowrap;
}
.table th.section {
text-align: left;
background-color: lightgray;
}
2011-08-20 07:24:24 +00:00
[ng\:cloak], .ng-cloak {
display: none;
}