Class: Ambling::Stock::Settings::PeriodSelector::Button

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#bg_colorObject

#ABABAB

(hex code) #



1382
1383
1384
# File 'lib/ambling/stock.rb', line 1382

def bg_color
  @bg_color
end

#bg_color_hoverObject

#ABABAB

(hex code) #



1386
1387
1388
# File 'lib/ambling/stock.rb', line 1386

def bg_color_hover
  @bg_color_hover
end

#bg_color_selectedObject

period_selector.text_size

(Number) #



1390
1391
1392
# File 'lib/ambling/stock.rb', line 1390

def bg_color_selected
  @bg_color_selected
end

#border_colorObject

#ABABAB

(hex code) #



1410
1411
1412
# File 'lib/ambling/stock.rb', line 1410

def border_color
  @border_color
end

#border_color_hoverObject

#ABABAB

(hex code) #



1414
1415
1416
# File 'lib/ambling/stock.rb', line 1414

def border_color_hover
  @border_color_hover
end

#border_color_selectedObject

0

(Number) #



1418
1419
1420
# File 'lib/ambling/stock.rb', line 1418

def border_color_selected
  @border_color_selected
end

#border_widthObject

3

(Number) #



1422
1423
1424
# File 'lib/ambling/stock.rb', line 1422

def border_width
  @border_width
end

#corner_radiusObject

Returns the value of attribute corner_radius.



1426
1427
1428
# File 'lib/ambling/stock.rb', line 1426

def corner_radius
  @corner_radius
end

#text_colorObject

period_selector.text_color

(hex code) #



1398
1399
1400
# File 'lib/ambling/stock.rb', line 1398

def text_color
  @text_color
end

#text_color_hoverObject

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_selectedObject

#ABABAB

(hex code) #



1406
1407
1408
# File 'lib/ambling/stock.rb', line 1406

def text_color_selected
  @text_color_selected
end

#text_sizeObject

period_selector.text_color

(hex code) #



1394
1395
1396
# File 'lib/ambling/stock.rb', line 1394

def text_size
  @text_size
end