Sha256: 3cd4b8a312c03008c0b734d8e9a89c5aef67f456ae99c3317a647b41fb141450
Contents?: true
Size: 864 Bytes
Versions: 3
Compression:
Stored size: 864 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')}" } p { "Part of #{a('TodoMVC', href: 'http://todomvc.com')}" } 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
3 entries across 3 versions & 1 rubygems