Sha256: b55b246a29f155ab2b47f3f0d1bf0c37265c1a9dc245e67299b6ef51bcc43807

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

Teacup::Stylesheet.new :wizard_view_controller do
  style :wizard_view_controller,
        backgroundColor: :white.uicolor

  style :index_item,
        height: 10,
        center_y: "100%",
        backgroundColor: [103,189,71].uicolor,
        label_wrapper:{
            backgroundColor: [103,189,71].uicolor,
            size: [50, 50],
            center: ["50%", "50%"],
            layer: {
                cornerRadius: 25
            }
        },
        label: {
            backgroundColor: :clear.uicolor,
            textColor: :white.uicolor,
            size: ["100%", 20],
            center: ["50%", "50%"]
        }

  style :index_item_unseleted,
        extends: :index_item,
        layer: {
            borderWidth: 0
        }

  style :index_item_selected,
        label_wrapper:{
            backgroundColor: :white.uicolor,
            layer: {
                borderWidth: 2,
                borderColor: [103,189,71].uicolor.CGColor
            }
        },
        label: {
            textColor: [103,189,71].uicolor
        }

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
motion-wizard-0.1 samples/wizard-1/app/views/styles/wizard_1_view_controller.rb