Sha256: 8455c77bf5041167bbfe3571591ad827a3123fcb2f07142ba3dca408ac1e4e08
Contents?: true
Size: 900 Bytes
Versions: 2
Compression:
Stored size: 900 Bytes
Contents
class TodoMvcFooter include Glimmer::Web::Component markup { footer(class: 'info') { p { "Double-click to edit a todo" } p { "Created by #{a('Andy Maleh', href: 'https://github.com/AndyObtiva', target: '_blank')}" } p { "Part of #{a('TodoMVC', href: 'http://todomvc.com', target: '_blank')}" } style { todo_mvc_styles } } } def todo_mvc_styles rule('footer.info') { margin '65px auto 0' color '#4d4d4d' font_size '11px' text_shadow '0 1px 0 rgba(255, 255, 255, 0.5)' text_align 'center' } rule('footer.info p') { line_height '1' } rule('footer.info a') { color 'inherit' text_decoration 'none' font_weight '400' } rule('footer.info a:hover') { text_decoration 'underline' } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
glimmer-dsl-web-0.3.2 | lib/glimmer-dsl-web/samples/regular/todo_mvc/views/todo_mvc_footer.rb |
glimmer-dsl-web-0.3.1 | lib/glimmer-dsl-web/samples/regular/todo_mvc/views/todo_mvc_footer.rb |