motion-prime/styles/base.rb in motion-prime-0.9.9 vs motion-prime/styles/base.rb in motion-prime-0.9.9.1

- old
+ new

@@ -1,27 +1,33 @@ -motion_require '../views/styles.rb' +motion_require '../views/styles' MotionPrime::Styles.define :base do # basic screen styles style :screen, background_color: :white # basic table styles # ---------- style :table, top: 0, left: 0, - width: 320, + right: 0, bottom: 0, separator_inset: 0 + style :collection, + top: 0, + left: 0, + right: 0, + bottom: 0 + style :table_cell, background_color: :clear # basic form styles # ---------- style :form, - width: 320, + right: 0, left: 0, top: 0, right: 0, bottom: 0, background_color: :clear, @@ -39,17 +45,25 @@ right: 20, top: 10, height: 44 style :segmented_control, - height: 40, width: 320, top: 0 + height: 40, + left: 0, + right: 0, + top: 0 style :google_map, - top: 0, left: 0, right: 0, bottom: 0 + top: 0, + left: 0, + right: 0, + bottom: 0 style :spinner, annular: true, - center: proc { screen.view.center }, width: 37, height: 37, + center: proc { screen.view.center }, + width: 37, + height: 37, progress_tint_color: :app_base.uicolor, background_tint_color: :black.uicolor(0.05), progress: 0.25 style :spinner_message, mixins: [:multiline],