Class: TodoMvcFooter

Inherits:
Object
  • Object
show all
Includes:
Glimmer::Web::Component
Defined in:
lib/glimmer-dsl-web/samples/regular/todo_mvc/views/todo_mvc_footer.rb

Instance Attribute Summary

Attributes included from Glimmer::Web::Component

#args, #markup_root, #options, #parent

Instance Method Summary collapse

Methods included from Glimmer::Web::Component

add_component_namespaces_for, #add_observer, #attribute_setter, #can_add_observer?, #can_handle_observation_request?, component_namespaces, #content, for, #get_attribute, #handle_observation_request, #has_attribute?, #has_instance_method?, included, #initialize, interpretation_stack, #local_respond_to?, #method_missing, namespaces_for_class, #observer_registrations, #post_add_content, #post_initialize_child, #render, reset_component_namespaces, #respond_to_missing?, #set_attribute

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Glimmer::Web::Component

Instance Method Details

#todo_mvc_stylesObject



22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/glimmer-dsl-web/samples/regular/todo_mvc/views/todo_mvc_footer.rb', line 22

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