Sha256: b8b6474d48889ee78e46c344a3d1bce9a361255b7d90c62dcc4010889f336acf

Contents?: true

Size: 1.05 KB

Versions: 13

Compression:

Stored size: 1.05 KB

Contents

motion_require '../views/styles.rb'
MotionPrime::Styles.define :base do
  # basic screen styles
  style :screen,
    background_color: :white

  # basic table styles
  # ----------
  style :table,
    top: 0,
    left: 0,
    width: 320,
    bottom: 0,
    separatorInset: 0

  style :table_cell,
    background_color: :clear

  # basic form styles
  # ----------
  style :form,
    width: 260,
    left: 30,
    top: 0,
    right: 30,
    bottom: 0,
    background_color: :clear,
    separator_color: :clear,
    scroll_enabled: true

  # available options for submit button:
  # @button_type: :rounded, :custom
  # @background_color: COLOR
  # @background_image: PATH_TO_FILE
  style :submit_button, :form_submit_field_button,
    background_color: :gray,
    title_color: :white,
    left: 0,
    right: 0,
    top: 10,
    height: 44

  style :segmented_control,
    height: 40, width: 320, top: 0

  style :google_map,
    top: 0, left: 0, right: 0, bottom: 0

  style :date_picker, :form_field_date_picker,
    width: 300,
    height: 150,
    top: 30, left: 0
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
motion-prime-0.5.2 motion-prime/styles/base.rb
motion-prime-0.5.1 motion-prime/styles/base.rb
motion-prime-0.5.0 motion-prime/styles/base.rb
motion-prime-0.4.5 motion-prime/styles/base.rb
motion-prime-0.4.4 motion-prime/styles/base.rb
motion-prime-0.4.3 motion-prime/styles/base.rb
motion-prime-0.4.2 motion-prime/styles/base.rb
motion-prime-0.4.1 motion-prime/styles/base.rb
motion-prime-0.4.0 motion-prime/styles/base.rb
motion-prime-0.3.3 motion-prime/styles/base.rb
motion-prime-0.3.2 motion-prime/styles/base.rb
motion-prime-0.3.1 motion-prime/styles/base.rb
motion-prime-0.3.0 motion-prime/styles/base.rb