Class: Ambling::Stock::Settings::PeriodSelector::Button
- Inherits:
-
Object
- Object
- Ambling::Stock::Settings::PeriodSelector::Button
- Includes:
- Base
- Defined in:
- lib/ambling/stock.rb
Overview
- #FFFFFF
-
(hex code) #
Constant Summary collapse
- VALUES =
[:bg_color,:bg_color_hover,:bg_color_selected,:text_size,:text_color,:text_color_hover,:text_color_selected,:border_color,:border_color_hover,:border_color_selected,:border_width,:corner_radius]
Instance Attribute Summary collapse
-
#bg_color ⇒ Object
- #ABABAB
-
(hex code) #.
-
#bg_color_hover ⇒ Object
- #ABABAB
-
(hex code) #.
-
#bg_color_selected ⇒ Object
- period_selector.text_size
-
(Number) #.
-
#border_color ⇒ Object
- #ABABAB
-
(hex code) #.
-
#border_color_hover ⇒ Object
- #ABABAB
-
(hex code) #.
-
#border_color_selected ⇒ Object
- 0
-
(Number) #.
-
#border_width ⇒ Object
- 3
-
(Number) #.
-
#corner_radius ⇒ Object
Returns the value of attribute corner_radius.
-
#text_color ⇒ Object
- period_selector.text_color
-
(hex code) #.
-
#text_color_hover ⇒ Object
- period_selector.text_color
-
(hex code) #.
-
#text_color_selected ⇒ Object
- #ABABAB
-
(hex code) #.
-
#text_size ⇒ Object
- period_selector.text_color
-
(hex code) #.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#bg_color ⇒ Object
- #ABABAB
-
(hex code) #
1382 1383 1384 |
# File 'lib/ambling/stock.rb', line 1382 def bg_color @bg_color end |
#bg_color_hover ⇒ Object
- #ABABAB
-
(hex code) #
1386 1387 1388 |
# File 'lib/ambling/stock.rb', line 1386 def bg_color_hover @bg_color_hover end |
#bg_color_selected ⇒ Object
- period_selector.text_size
-
(Number) #
1390 1391 1392 |
# File 'lib/ambling/stock.rb', line 1390 def bg_color_selected @bg_color_selected end |
#border_color ⇒ Object
- #ABABAB
-
(hex code) #
1410 1411 1412 |
# File 'lib/ambling/stock.rb', line 1410 def border_color @border_color end |
#border_color_hover ⇒ Object
- #ABABAB
-
(hex code) #
1414 1415 1416 |
# File 'lib/ambling/stock.rb', line 1414 def border_color_hover @border_color_hover end |
#border_color_selected ⇒ Object
- 0
-
(Number) #
1418 1419 1420 |
# File 'lib/ambling/stock.rb', line 1418 def border_color_selected @border_color_selected end |
#border_width ⇒ Object
- 3
-
(Number) #
1422 1423 1424 |
# File 'lib/ambling/stock.rb', line 1422 def border_width @border_width end |
#corner_radius ⇒ Object
Returns the value of attribute corner_radius.
1426 1427 1428 |
# File 'lib/ambling/stock.rb', line 1426 def corner_radius @corner_radius end |
#text_color ⇒ Object
- period_selector.text_color
-
(hex code) #
1398 1399 1400 |
# File 'lib/ambling/stock.rb', line 1398 def text_color @text_color end |
#text_color_hover ⇒ Object
- period_selector.text_color
-
(hex code) #
1402 1403 1404 |
# File 'lib/ambling/stock.rb', line 1402 def text_color_hover @text_color_hover end |
#text_color_selected ⇒ Object
- #ABABAB
-
(hex code) #
1406 1407 1408 |
# File 'lib/ambling/stock.rb', line 1406 def text_color_selected @text_color_selected end |
#text_size ⇒ Object
- period_selector.text_color
-
(hex code) #
1394 1395 1396 |
# File 'lib/ambling/stock.rb', line 1394 def text_size @text_size end |