Sha256: 786d65fa1879044851f9a06ec1316eb63a3ca049d33d07417367c7a5618250d8

Contents?: true

Size: 822 Bytes

Versions: 7

Compression:

Stored size: 822 Bytes

Contents

MotionPrime::Styles.define :sidebar do
  # navigation layout
  # ----------
  style :screen,
    background_color: APP_CONFIG[:css_color_base],
    opaque: true

  style :table,
    top: 0,
    left: 0,
    width: 320,
    bottom: 0,
    background_color: APP_CONFIG[:css_color_base],
    separator_color: APP_CONFIG[:css_color_dark],
    opaque: true

  style :table_cell,
    selection_style: UITableViewCellSelectionStyleNone,
    opaque: true

  style :action_title,
    background_color: APP_CONFIG[:css_color_base],
    text_color: :white,
    top: 10,
    width: 320,
    opaque: true,
    font: proc { :system.uifont(20) },
    size_to_fit: true,
    left: 20,
    text_color: :white

  style :action_arrow,
    width: 9,
    height: 14,
    right: 50,
    top: 14,
    image: "images/sidebar/icons/arrow.png"
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
motion-prime-0.1.7 files/app/styles/sidebar.rb
motion-prime-0.1.6 files/app/styles/sidebar.rb
motion-prime-0.1.5 files/app/styles/sidebar.rb
motion-prime-0.1.4 files/app/styles/sidebar.rb
motion-prime-0.1.3 files/app/styles/sidebar.rb
motion-prime-0.1.2 files/app/styles/sidebar.rb
motion-prime-0.1.1 files/app/styles/sidebar.rb