Commit 556480a2 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Fix titles sections like "Configs", "Methods", etc.

The change from class 'container' to id 'card-panel' screwed up
something with CSS selectors specificity, so making the ID into
a class and moving h3 styles back below .card-panel.
parent 1e8a0c36
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -153,6 +153,7 @@ Ext.define('Docs.view.Viewport', {
                padding: '20 20 5 0',
                items: {
                    id: 'card-panel',
                    cls: 'card-panel',
                    xtype: 'container',
                    layout: 'card',
                    padding: '20',
+6 −6
Original line number Diff line number Diff line
@@ -291,11 +291,15 @@ a {
      margin-left: -12px;
      padding: 0.1em 0 0.4em 2em; } } }

#card-panel {
.card-panel {
  background: #fff;
  @include border-radius(5px);
  @include box-shadow(0, 0, 4px, rgba(0, 0, 0, 0.4));
  line-height: 1.4em; }
  line-height: 1.4em;
  h3 {
    font-size: 1.2em;
    padding: 1em 0 0.4em 0;
    font-weight: normal; } }

// Styles for index page
#center-container .class-list {
@@ -378,10 +382,6 @@ a {
    &.classes {
      clear: both;
      padding: 20px 10px 20px 20px;
      h3 {
        font-size: 1.2em;
        padding: 1em 0 0.4em 0;
        font-weight: normal; }
      .lft {
        float: left;
        width: 250px;