Commit 1e8a0c36 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Better styles for headings inside class docs.

parent 692891a8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -64,7 +64,9 @@ Ext.define('Docs.view.cls.Overview', {
        this.classTpl = this.classTpl || new Ext.XTemplate(
            '<div>',
                '{hierarchy}',
                 '<div class="doc-contents">',
                    '{doc}',
                '</div>',
                '<div class="members">',
                    '{members}',
                '</div>',
+27 −15
Original line number Diff line number Diff line
@@ -518,18 +518,7 @@ a {
  h4 {
    font-weight: bold; } }

#guide {
  padding-right: 10px;
  font-size: 14px;
  h1 {
    background: url(../images/doc-m.png) no-repeat -5px -5px;
    padding: 10px 0 10px 55px;
    font-family: $docs-heading-font;
    letter-spacing: -1px;
    margin-bottom: 16px;
    font-size: 2.3em;
    color: #66ab16; }
  h2 {
@mixin guides-h2-heading {
  font-family: $docs-font;
  letter-spacing: -1px;
  line-height: 20px;
@@ -539,16 +528,39 @@ a {
  color: #314e64;
  margin: 30px 0 15px;
  padding-bottom: 5px; }
  h3 {

@mixin guides-h3-heading {
  font-weight: bold;
  color: #314e64;
  margin-top: 1em;
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 4px; }

#guide {
  padding-right: 10px;
  font-size: 14px;
  h1 {
    background: url(../images/doc-m.png) no-repeat -5px -5px;
    padding: 10px 0 10px 55px;
    font-family: $docs-heading-font;
    letter-spacing: -1px;
    margin-bottom: 16px;
    font-size: 2.3em;
    color: #66ab16; }
  h2 {
    @include guides-h2-heading; }
  h3 {
    @include guides-h3-heading; }
  hr {
    display: none; } }

// Nice styles for headings inside documentation
#center-container .doc-contents {
  h1, h2 {
    @include guides-h2-heading; }
  h3 {
    @include guides-h3-heading; } }

.class-overview {
  .deprecated-signature, .protected-signature, .static-signature, .constructor-signature {