Sha256: 34cc48f8dc0bfd2c298d6b4d9ee5f8299077cfc259ad04e12dd23b5cfd9783ca

Contents?: true

Size: 803 Bytes

Versions: 1

Compression:

Stored size: 803 Bytes

Contents

Teacup::Stylesheet.new :index_item do
  style :index_item,
        backgroundColor: :clear.uicolor

  style :label,
        size: ["100%", 20],
        center_x: "50%",
        top: "100% - 24",
        textColor: :white.uicolor,
        textAlignment: NSTextAlignmentCenter,
        backgroundColor: :clear.uicolor,
        font: "Helvetica".uifont(18)

  style :underline,
        size: ["30%", 1],
        center_x: "50%",
        top: "100% - 1",
        backgroundColor: :white.uicolor,
        hidden: true

  style :selected,
        label: {
            textColor: :white.uicolor,
        },
        underline: {
            hidden: false
        }

  style :unselected,
        underline: {
            hidden: true
        },
        label: {
            textColor: :gray.uicolor
        }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
motion-wizard-0.1 samples/wizard-2/app/views/styles/index_item.rb