Sha256: b728082a04f70e8ca91aed28e62d6b9ce61a1ad9edb69521001344685cae4452

Contents?: true

Size: 935 Bytes

Versions: 23

Compression:

Stored size: 935 Bytes

Contents

@block_quote_fill_color = @color_circle_background
@block_quote_frame_color = @color_circle_color
@block_quote_frame_width = 4

@block_quote_open_quote_image = @color_circle_open_quote_image
@block_quote_close_quote_image = @color_circle_close_quote_image

@block_quote_image_frame = true

include_theme("default-block-quote")

block_quote = [Slide, Body, BlockQuote]

item_list_item = [ItemList, ItemListItem]

match(*(block_quote + (item_list_item * 1))) do |items|
  compute_mark_space = Proc.new do |mark_width|
    mark_width * 0.3
  end
  compute_indent_width = Proc.new do |mark_width, mark_space|
    mark_width + mark_space
  end
  setup_default_item_mark(items, "block-quote-item1", 4, 4, (3 / 4.0),
                          @color_circle_color,
                          "mark_space" => compute_mark_space,
                          "indent_width" => compute_indent_width,
                          "type" => "circle")
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
rabbit-3.0.3 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-3.0.2 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-3.0.1 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-3.0.0 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-2.2.1 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-2.2.0 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-2.1.9 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-2.1.8 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-2.1.7 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-2.1.6 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-2.1.5 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-2.1.4 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-2.1.3 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-2.1.2 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-2.1.1 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-2.1.0 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-2.0.9 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-2.0.8 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-2.0.7 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb
rabbit-2.0.6 lib/rabbit/theme/color-circle-block-quote/color-circle-block-quote.rb