Sha256: 5c21139d35a8e2c524989666555258339895cb45328b9a379c6e0a7d55568153

Contents?: true

Size: 1.15 KB

Versions: 6

Compression:

Stored size: 1.15 KB

Contents

@layer components {
  [data-component="params-editor"] {
    table:not(.linear) {
      thead {
        tr {
          @apply border-b border-gray-300;
        }

        th {
          @apply font-bold py-4 px-4 align-middle text-left;
        }

        th.param-label {
          width: 18%;
        }

        th.param-input {
          width: 45%;
        }
      }

      tbody {
        tr + tr td {
          @apply border-t border-gray-200;
        }

        td {
          @apply py-4 px-4 align-middle;
        }

        td.param-label {
          @apply font-bold;
        }

        .param-input-wrapper {
          min-height: 38px;
        }
      }
    }
  }

  [data-component="params-editor"] {
    table.linear {
      table,
      tr,
      td {
        display: block;
      }

      thead,
      th {
        display: none;
      }

      tr:not(:last-child) {
        @apply border-b border-gray-200;
      }

      tr {
        @apply space-y-3 py-4;
      }

      td {
        @apply px-4 align-middle;
      }

      td.param-label {
        @apply font-bold;
      }

      td.param-description-empty {
        @apply hidden;
      }
    }
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lookbook-1.3.1 app/components/lookbook/params/field/component.css
lookbook-1.3.0 app/components/lookbook/params/field/component.css
lookbook-1.2.1 app/components/lookbook/params/field/component.css
lookbook-1.2.0 app/components/lookbook/params/field/component.css
lookbook-1.1.1 app/components/lookbook/params/field/component.css
lookbook-1.1.0 app/components/lookbook/params/field/component.css