Home | History | Annotate | Download | only in front_end
      1 /*
      2  * Copyright 2014 The Chromium Authors. All rights reserved.
      3  * Use of this source code is governed by a BSD-style license that can be
      4  * found in the LICENSE file.
      5  */
      6 
      7 .documentation-code {
      8     padding: 15px;
      9     margin: 2em 0;
     10     word-wrap: break-word;
     11     position: relative;
     12     background-color: #f7f7f7;
     13     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 3px rgba(0, 0, 0, 0.15);
     14     overflow-x: auto;
     15     font-size: 0.95em;
     16     line-height: 1.8em;
     17 }
     18 
     19 .documentation-parameter-header {
     20     margin-top: 10px;
     21 }
     22 
     23 .documentation-link {
     24     margin-left: 5px;
     25 }
     26 
     27 .documentation-highlighted-text {
     28     font-weight: bold;
     29 }
     30 
     31 .documentation-view .documentation-method-signature.monospace {
     32     font-size: 14px !important;
     33     margin-bottom: 20px;
     34 }
     35 
     36 .documentation-parameter-data-type-value {
     37     color: rgb(102, 0, 102);
     38     margin: 0 0.5em;
     39 }
     40 
     41 .documentation-section {
     42     margin-bottom: 15px;
     43 }
     44 
     45 .documentation-table {
     46     font-size: 13px;
     47     width: 100%;
     48     border-collapse: collapse;
     49     margin: 2em 0;
     50     line-height: 1.5em;
     51 }
     52 
     53 .documentation-table-header {
     54     padding: 1em 1.5em;
     55     text-align: left;
     56     vertical-align: top;
     57     border: 1px solid #eee;
     58     background: #fafafa;
     59 }
     60 
     61 .documentation-table-cell {
     62     padding: 1em 1.5em;
     63     text-align: left;
     64     vertical-align: top;
     65     border: 1px solid #eee;
     66 }
     67 
     68 .documentation-table-cell .documentation-paragraph:last-child {
     69     margin-bottom: 0;
     70 }
     71 
     72 .documentation-table-row {
     73     border-bottom: 1px solid #dbdbdb;
     74 }
     75 
     76 .documentation-description {
     77     margin-left: 20px;
     78 }
     79 
     80 .documentation-code-tag {
     81     font-weight: bold;
     82 }
     83 
     84 .documentation-page-title {
     85     font-size: 16px;
     86     font-weight: bold;
     87     margin-bottom: 0.53333em;
     88 }
     89 
     90 .documentation-title {
     91     font-size: 16px;
     92     font-weight: bold;
     93     margin-bottom: 0.53333em;
     94     margin-top: 1em;
     95 }
     96 
     97 .documentation-paragraph {
     98     margin-bottom: 0.7em;
     99 }
    100 
    101 .documentation-view {
    102     -webkit-user-select: text;
    103     padding: 10px;
    104 }
    105 
    106 .documentation-example-description-section {
    107     margin-bottom: 20px;
    108 }
    109 
    110 .documentation-text {
    111     line-height: 1.5;
    112 }
    113 
    114 .documentation-not-found {
    115     display: flex;
    116     justify-content: center;
    117     align-items: flex-end;
    118     font-size: 24px;
    119     font-weight: bold;
    120     color: rgb(191, 191, 191);
    121     flex-shrink: 0;
    122     flex-grow: 2;
    123 }
    124 
    125 .documentation-empty-page {
    126     display: flex;
    127     flex-direction: column !important;
    128 }
    129 
    130 .documentation-empty-page-align {
    131     flex-grow: 3;
    132 }
    133