Class: Cloudrider::Apiv1::HeroSplashSass::Context
- Inherits:
-
Object
- Object
- Cloudrider::Apiv1::HeroSplashSass::Context
- Defined in:
- lib/cloudrider/apiv1/hero_splash_sass.rb
Instance Method Summary collapse
- #background_image_url ⇒ Object
- #background_min_height ⇒ Object
- #hero_style ⇒ Object
- #splash_cta_bgcolor ⇒ Object
- #tag_text_align ⇒ Object
- #tag_text_color ⇒ Object
Instance Method Details
#background_image_url ⇒ Object
6 7 8 |
# File 'lib/cloudrider/apiv1/hero_splash_sass.rb', line 6 def background_image_url "url(hero-splash/albatross.jpg)" end |
#background_min_height ⇒ Object
9 10 11 |
# File 'lib/cloudrider/apiv1/hero_splash_sass.rb', line 9 def background_min_height "45rem" end |
#hero_style ⇒ Object
3 4 5 |
# File 'lib/cloudrider/apiv1/hero_splash_sass.rb', line 3 def hero_style :static end |
#splash_cta_bgcolor ⇒ Object
12 13 14 |
# File 'lib/cloudrider/apiv1/hero_splash_sass.rb', line 12 def splash_cta_bgcolor "white" end |
#tag_text_align ⇒ Object
15 16 17 |
# File 'lib/cloudrider/apiv1/hero_splash_sass.rb', line 15 def tag_text_align "left" end |
#tag_text_color ⇒ Object
18 19 20 |
# File 'lib/cloudrider/apiv1/hero_splash_sass.rb', line 18 def tag_text_color "#444" # should contrast cta_bgcolor end |