| /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. |
| */ |
| |
| .hidden { |
| display: none; |
| } |
| |
| body { |
| color: #333; |
| font: 13px/22px 'Open Sans',arial,sans-serif; |
| font-weight: 400; |
| background-color: white; |
| margin: auto; |
| padding: 0; |
| } |
| |
| p { |
| margin: 1em 0 0 0; |
| color: #767676; |
| font-size: 14px; |
| } |
| |
| p.note, |
| p.caution, |
| p.warning { |
| margin: 1em 0 0 0; |
| padding: .2em .5em .2em .9em; |
| background-color: #F5F5F5; |
| border-top: 1px solid; |
| border-bottom: 1px solid; |
| overflow: hidden; |
| } |
| |
| p.note { |
| border-color: #36C; |
| } |
| p.caution { |
| border-color: #FC3; |
| } |
| p.warning { |
| border-color: #A03; |
| } |
| |
| p.warning em, |
| p.warning strong { |
| color: #A03; |
| } |
| |
| a, a:link { |
| text-decoration: none; |
| color: #39F; |
| font-weight: 600; |
| } |
| |
| a:visited { |
| color: #236bb2; |
| } |
| |
| a:active, |
| a:hover { |
| color: #3bf; |
| } |
| |
| #toc a { |
| color: black; |
| } |
| |
| ol, ul { |
| color: #767676; |
| } |
| |
| #header { |
| margin: auto; |
| max-width: 1160px; |
| padding: 0 50px; |
| position: relative; |
| height: 60px; |
| } |
| |
| #logo { |
| position: relative; |
| padding-top: 10px; |
| z-index: 2; |
| } |
| |
| #logo img { |
| padding: 10px 0; |
| } |
| |
| #cse { |
| width: 400px; |
| padding-top: 5px; |
| z-index: 1; |
| position: absolute; |
| right: 50px; |
| } |
| |
| /* |
| * Without a border, the results from the custom search are hard to tell apart |
| * from the rest of the content |
| */ |
| .gsc-resultsbox-visible { |
| border-left: 1px solid #E9E9E9; |
| border-right: 1px solid #E9E9E9; |
| border-bottom: 1px solid #E9E9E9; |
| } |
| |
| li { |
| margin: .3em 0 0 1.5em; |
| padding: 0; |
| } |
| |
| ol li { |
| margin-top: 1em; |
| } |
| |
| img { |
| border: none; |
| padding: 10px 0; |
| } |
| |
| code, |
| pre { |
| font-family: monospace; |
| color: #080; |
| } |
| |
| code { |
| font-size: 10pt; |
| } |
| |
| pre { |
| font-size: 10pt; |
| background-color: #F5F5F5; |
| margin: 1em 0 0 0; |
| padding: .99em; |
| overflow: auto; |
| word-wrap: break-word; |
| } |
| |
| pre a { |
| text-decoration: underline!important; |
| } |
| |
| pre b { |
| background: yellow; |
| } |
| |
| dt { |
| font-weight: bold; |
| margin: .75em 0 0 0; |
| } |
| |
| dl { |
| margin: 0; |
| } |
| |
| dd { |
| margin: .4em 0 0 2em; |
| padding: 0; |
| font-weight: normal; |
| } |
| |
| .displayModeWarning { |
| background-color: #FF7735; |
| color: white; |
| font-weight: bold; |
| padding: 6px 8px; |
| } |
| |
| span.displayModeWarning { |
| margin-right: 2px; |
| } |
| |
| #gc-container { |
| margin: auto; |
| max-width: 1160px; |
| padding: 0 50px; |
| position: relative; |
| height: auto; |
| } |
| |
| #gc-topnav { |
| font-size: 1em; |
| margin: auto; |
| max-width: 1160px; |
| padding: 0; |
| white-space: nowrap; |
| background-color: white; |
| border-top: 1px solid #E5E5E5; |
| border-bottom: 1px solid #E5E5E5; |
| } |
| |
| #gc-topnav h1 { |
| font-size: 1.5em; |
| line-height: 1.3em; |
| font-weight: bold; |
| background-color: transparent; |
| border: 0; |
| margin: 0; |
| padding: 0 0 0 14px; |
| float: left; |
| border-top: 10px solid white; |
| } |
| |
| #gc-topnav li { |
| font-weight: 600; |
| height: 45px; |
| text-transform: uppercase; |
| white-space: nowrap; |
| display: inline-block; |
| margin: 0; |
| padding: 0; |
| } |
| |
| #gc-topnav ul { |
| font-size: 12px; |
| height: 45px; |
| text-align: right; |
| list-style: none; |
| margin: 0; |
| } |
| |
| #gc-topnav li a { |
| color: #333; |
| } |
| #gc-topnav li a:hover { |
| color: #39f; |
| } |
| |
| #gc-topnav div { |
| border-top: 10px solid white; |
| margin: 0 30px; |
| position: relative; |
| height: 29px; |
| } |
| |
| .pageData { |
| display: none; |
| } |
| |
| #gc-pagecontent { |
| margin: 30px 0 100px 250px; |
| } |
| |
| #gc-pagecontent h2 { |
| border-top: 1px solid #CCC; |
| font-size: 170%; |
| font-weight: normal; |
| margin: 2em 0 0 0; |
| padding: 40px 0; |
| } |
| |
| #gc-pagecontent h3 { |
| font-size: 130%; |
| font-weight: bold; |
| margin: 1.5em 0 0 0; |
| top: 0em; |
| } |
| |
| #gc-pagecontent h4 { |
| font-size: 110%; |
| margin: .7em 0 0 0; |
| position: relative; |
| top: .4em; |
| } |
| |
| #gc-pagecontent h1.page_title, |
| #gc-pagecontent h2.page_title { |
| line-height: 130%; |
| font-size: 320%; |
| margin: 0; |
| padding: .8em 0 0; |
| border: none; |
| background: none; |
| font-weight: normal; |
| } |
| |
| #gc-footer { |
| clear: both; |
| margin: auto; |
| color: #666; |
| max-width: 1160px; |
| padding: 0 50px; |
| } |
| |
| #gc-footer .text { |
| text-align: center; |
| padding: 30px 0; |
| margin: 0 0 0 0; |
| } |
| |
| #gc-sidebar { |
| margin: 0; |
| margin-top: 2.5em; |
| width: 180px; |
| float: left; |
| } |
| |
| /* Sidebar link/button styling. */ |
| #gc-sidebar span, |
| #gc-sidebar a { |
| color: #767676; |
| display: block; |
| position: relative; |
| font-weight: normal; |
| } |
| #gc-sidebar a:visited { |
| color: #767676; |
| } |
| #gc-sidebar a:hover, |
| #gc-sidebar a.selected { |
| color: #39F; |
| } |
| #gc-sidebar a.button { |
| color: #767676; |
| } |
| #gc-sidebar span.level2, |
| #gc-sidebar a.level2 { |
| font-weight: bold; |
| } |
| |
| #gc-sidebar .toggleIndicator { |
| position: absolute; |
| right: 0; |
| top: 3px; |
| background: url(../images/toggle_sprite.png) no-repeat 0 0; |
| height: 8px; |
| width: 8px; |
| } |
| #gc-sidebar .toggleIndicator.toggled { |
| background-position: 0 -9px; |
| } |
| |
| /* Sidebar list styling. */ |
| #gc-sidebar ul { |
| list-style: none; |
| padding: 0; |
| } |
| #gc-sidebar ul.level2 { |
| margin-left: 10px; |
| padding-top: 10px; |
| } |
| #gc-sidebar ul.level3 { |
| margin-left: 20px; |
| padding-top: 10px; |
| list-style: url(../images/sidearrow.png); |
| } |
| |
| /* Sidebar list element styling. */ |
| #gc-sidebar li { |
| margin: 0; |
| padding: 8px 0; |
| line-height: 120%; |
| } |
| #gc-sidebar li.level2 { |
| border-top: 1px solid #E5E5E5; |
| } |
| |
| #gc-toc div.line { |
| border-top: thin solid #FAFAFA; |
| height: 1px; |
| margin: 1.3em 1em 0 0; |
| padding: 0; |
| } |
| |
| #toc { |
| background-color: #F5F5F5; |
| float: right; |
| margin: 5px 0px 0px 0px; |
| padding: 5px; |
| width: 250px; |
| word-break: break-word; |
| /* We want this element to have a visual left-margin of 20px, but margins on |
| floated elements don't affect the borders and background of the elements |
| they float over. So we add this border to force the issue. */ |
| border-left: 20px solid white; |
| border-bottom: 20px solid white; |
| z-index: 3; |
| position: relative; |
| } |
| |
| #toc * { |
| padding: 0; |
| list-style: none; |
| font-weight: 600; |
| } |
| |
| #toc h2 { |
| font-weight: bold; |
| font-size: 100%; |
| margin: 0; |
| border: none; |
| padding: 0; |
| } |
| |
| #toc ol { |
| margin: 1em 0 0 0; |
| } |
| |
| #toc ol li { |
| margin: .5em 0 .5em 1em; |
| line-height: 1.2em; |
| } |
| |
| #toc ol li ol { |
| margin: 0; |
| } |
| |
| #toc ol li ol li { |
| margin: .5em 0 .5em 1em; |
| } |
| |
| .filtered_item { |
| line-height: 6px; |
| } |
| |
| #filtered_apis { |
| margin-top: 5px; |
| } |
| |
| #skipto { |
| display: none; |
| } |
| |
| input.gsc-search-button.gsc-search-button-v2 { |
| padding: 8px 30px; |
| margin-top: 5px; |
| } |
| |
| div.gsc-control-cse { |
| margin: 0; |
| padding: 0; |
| position: relative; |
| z-index: 2; |
| } |
| |
| td.gsc-input { |
| padding: 0 0; |
| } |
| |
| div.gsc-input-box { |
| height: 30px; |
| width: 250px; |
| float: right; |
| } |