rabbit-theme-yart 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config.yaml +1 -1
- data/data/molumen_rgb_slides.png +0 -0
- data/data/molumen_rgb_slides.svg +119 -0
- data/pdf/theme-benchmark-en.pdf +0 -0
- data/pdf/theme-benchmark-ja.pdf +0 -0
- data/theme.rb +57 -6
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cb5395026c7573fceeb7fdbf64659910a65ce2e
|
4
|
+
data.tar.gz: a40e959d3da1e5a7fed209ac7731497a1ef38dfa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f28496f14d71f4ec679095e67e8e7b78663b93c74b5dd5edabc99dec74064f68b065af131d5ded61f8f28ef9d4a10e51bf3065632223ea10f4e8a1fa949bbe5
|
7
|
+
data.tar.gz: 2eef5ff818a02771c99614b3446dd26c87b0eaefb7ad8975f48c903421b577b316d6b4bc6e97a950a527d2ff7a9f18e7b74c1e62a0bddee909d97a0bb9a4f210
|
data/config.yaml
CHANGED
Binary file
|
@@ -0,0 +1,119 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:svg="http://www.w3.org/2000/svg" id="svg5961" viewBox="0 0 527.97 500" version="1.0">
|
3
|
+
<defs id="defs5963">
|
4
|
+
<filter id="filter5867">
|
5
|
+
<feGaussianBlur id="feGaussianBlur5869" stdDeviation="2.1962519"/>
|
6
|
+
</filter>
|
7
|
+
<filter id="filter5785">
|
8
|
+
<feGaussianBlur id="feGaussianBlur5787" stdDeviation="2.1962519"/>
|
9
|
+
</filter>
|
10
|
+
<linearGradient id="linearGradient4454">
|
11
|
+
<stop id="stop4456" stop-color="#d5d4d0" offset="0"/>
|
12
|
+
<stop id="stop4464" stop-color="#f1f1f1" offset=".24539"/>
|
13
|
+
<stop id="stop4462" stop-color="#fff" offset=".49077"/>
|
14
|
+
<stop id="stop4466" stop-color="#f0f0f0" offset=".74539"/>
|
15
|
+
<stop id="stop4458" stop-color="#d4d4d4" offset="1"/>
|
16
|
+
</linearGradient>
|
17
|
+
<linearGradient id="linearGradient4240">
|
18
|
+
<stop id="stop4242" stop-color="#eeeeed" offset="0"/>
|
19
|
+
<stop id="stop4244" stop-color="#a6a6a6" offset="1"/>
|
20
|
+
</linearGradient>
|
21
|
+
<filter id="filter5761">
|
22
|
+
<feGaussianBlur id="feGaussianBlur5763" stdDeviation="1.301514"/>
|
23
|
+
</filter>
|
24
|
+
<linearGradient id="linearGradient2681" x1="336.35" xlink:href="#linearGradient4240" gradientUnits="userSpaceOnUse" y1="336.5" gradientTransform="matrix(2.2009 1.4815 -1.4956 2.2042 446.98 -1111.4)" x2="321.65" y2="448.71"/>
|
25
|
+
<linearGradient id="linearGradient2683" x1="346.53" xlink:href="#linearGradient4454" gradientUnits="userSpaceOnUse" y1="351.67" gradientTransform="matrix(2.4469 1.0313 -1.0458 2.4474 187.96 -1049.5)" x2="328.65" y2="448.08"/>
|
26
|
+
<linearGradient id="linearGradient2685" x1="346.53" gradientUnits="userSpaceOnUse" y1="351.67" gradientTransform="matrix(2.2602 .95984 -.73922 1.7399 137.91 -762.31)" x2="332.69" y2="437.68">
|
27
|
+
<stop id="stop5665" stop-color="#9fd29d" offset="0"/>
|
28
|
+
<stop id="stop5667" stop-color="#75bc76" stop-opacity=".50588" offset=".24539"/>
|
29
|
+
<stop id="stop5669" stop-color="#6ab573" stop-opacity=".34902" offset=".49077"/>
|
30
|
+
<stop id="stop5671" stop-color="#73ad79" stop-opacity=".27843" offset=".74539"/>
|
31
|
+
<stop id="stop5673" stop-color="#7f9c81" stop-opacity=".070588" offset="1"/>
|
32
|
+
</linearGradient>
|
33
|
+
<linearGradient id="linearGradient2687" x1="336.35" xlink:href="#linearGradient4240" gradientUnits="userSpaceOnUse" y1="336.5" gradientTransform="matrix(2.5231 -.82022 .81413 2.5362 -937.53 -397.22)" x2="321.65" y2="448.71"/>
|
34
|
+
<linearGradient id="linearGradient2689" x1="346.53" xlink:href="#linearGradient4454" gradientUnits="userSpaceOnUse" y1="351.67" gradientTransform="matrix(2.3201 -1.2914 1.2829 2.3319 -1048.4 -155.11)" x2="328.65" y2="448.08"/>
|
35
|
+
<linearGradient id="linearGradient2691" x1="346.53" gradientUnits="userSpaceOnUse" y1="351.67" gradientTransform="matrix(2.1488 -1.1884 .91465 1.6544 -853.11 61.309)" x2="332.69" y2="437.68">
|
36
|
+
<stop id="stop5751" stop-color="#d29d9e" offset="0"/>
|
37
|
+
<stop id="stop5753" stop-color="#bc7675" stop-opacity=".50588" offset=".24539"/>
|
38
|
+
<stop id="stop5755" stop-color="#b56c6a" stop-opacity=".34902" offset=".49077"/>
|
39
|
+
<stop id="stop5757" stop-color="#ad7377" stop-opacity=".27843" offset=".74539"/>
|
40
|
+
<stop id="stop5759" stop-color="#9c7f80" stop-opacity=".070588" offset="1"/>
|
41
|
+
</linearGradient>
|
42
|
+
<linearGradient id="linearGradient2693" x1="336.35" xlink:href="#linearGradient4240" gradientUnits="userSpaceOnUse" y1="336.5" gradientTransform="matrix(2.6367 .29381 -.30478 2.6462 -477.58 -1122.8)" x2="321.65" y2="448.71"/>
|
43
|
+
<linearGradient id="linearGradient2695" x1="346.53" xlink:href="#linearGradient4454" gradientUnits="userSpaceOnUse" y1="351.67" gradientTransform="matrix(2.6463 -.21916 .20657 2.6534 -678.51 -948.01)" x2="328.65" y2="448.08"/>
|
44
|
+
<linearGradient id="linearGradient2697" x1="346.53" gradientUnits="userSpaceOnUse" y1="351.67" gradientTransform="matrix(2.4477 -.196 .15060 1.8844 -589.86 -670.28)" x2="332.69" y2="437.68">
|
45
|
+
<stop id="stop5419" stop-color="#9db8d2" offset="0"/>
|
46
|
+
<stop id="stop5421" stop-color="#7592bc" stop-opacity=".50588" offset=".24539"/>
|
47
|
+
<stop id="stop5423" stop-color="#6a87b5" stop-opacity=".34902" offset=".49077"/>
|
48
|
+
<stop id="stop5425" stop-color="#7389ad" stop-opacity=".27843" offset=".74539"/>
|
49
|
+
<stop id="stop5427" stop-color="#7f8e9c" stop-opacity=".070588" offset="1"/>
|
50
|
+
</linearGradient>
|
51
|
+
</defs>
|
52
|
+
<g id="layer1" transform="translate(-72.468 -73.441)">
|
53
|
+
<g id="g2664" transform="matrix(1.1395 0 0 1.1395 -39.332 -55.286)">
|
54
|
+
<g id="g2646" transform="translate(-200,60)">
|
55
|
+
<path id="path5577" d="m751.43 287.61l132.66-1.05c0.61-0.01 1.1 0.48 1.1 1.1l14.47 129.06c0 0.62-0.49 1.13-1.1 1.14l-145.97 2.25c-0.61 0.01-1.1-0.48-1.11-1.1l-1.14-130.27c0-0.62 0.48-1.13 1.09-1.13z" transform="matrix(1.4134 .61535 -.61535 1.4134 -326.83 -728.08)" filter="url(#filter5867)" stroke="#000" stroke-miterlimit="0" stroke-width="4.9811" fill="none"/>
|
56
|
+
<path id="path5579" d="m553.94 133.47l196.72 84.21c0.91 0.38 1.33 1.42 0.94 2.32l-60.17 197.75c-0.39 0.91-1.43 1.33-2.33 0.95l-217.18-91.04c-0.91-0.38-1.33-1.42-0.94-2.32l80.63-190.91c0.38-0.91 1.42-1.34 2.33-0.96z" stroke="url(#linearGradient2681)" stroke-miterlimit="0" stroke-width="2.1267" fill="#fff"/>
|
57
|
+
<path id="path5581" fill="url(#linearGradient2683)" d="m559.7 144.44l180.35 77.23c0.83 0.34 1.21 1.31 0.85 2.16l-55.44 182c-0.36 0.85-1.32 1.26-2.15 0.91l-199.12-83.46c-0.83-0.35-1.21-1.32-0.85-2.17l74.2-175.76c0.36-0.85 1.33-1.26 2.16-0.91z"/>
|
58
|
+
<path id="path5583" fill="url(#linearGradient2685)" d="m562.72 155.73l166.68 71.65c0.77 0.32 1.18 1.07 0.93 1.68l-39.85 129.06c-0.26 0.61-1.08 0.83-1.85 0.51l-179.12-75.69c-0.77-0.32-1.18-1.07-0.92-1.68l52.28-125.02c0.25-0.61 1.08-0.83 1.85-0.51z"/>
|
59
|
+
</g>
|
60
|
+
<g id="g2640" transform="translate(0,60)">
|
61
|
+
<path id="path5675" d="m534.57 462.23l132.66-1.04c0.61-0.01 1.1 0.48 1.11 1.1l14.46 129.06c0 0.62-0.48 1.12-1.09 1.13l-145.98 2.26c-0.61 0.01-1.1-0.48-1.11-1.1l-1.14-130.27c0-0.62 0.48-1.13 1.09-1.14z" transform="matrix(1.3557 -.73388 .73388 1.3557 -946.73 52.509)" filter="url(#filter5785)" stroke="#000" stroke-miterlimit="0" stroke-width="4.9811" fill="none"/>
|
62
|
+
<path id="path5677" d="m108.73 285.73l187.55-103.03c0.86-0.48 1.93-0.17 2.41 0.69l118.65 169.26c0.48 0.86 0.17 1.94-0.69 2.42l-205.54 114.92c-0.86 0.48-1.93 0.18-2.41-0.69l-100.66-181.15c-0.48-0.86-0.17-1.94 0.69-2.42z" stroke="url(#linearGradient2687)" stroke-miterlimit="0" stroke-width="2.1267" fill="#fff"/>
|
63
|
+
<path id="path5679" fill="url(#linearGradient2689)" d="m120.92 287.95l171.96-94.44c0.79-0.44 1.78-0.14 2.23 0.67l109.17 155.82c0.44 0.81 0.17 1.81-0.62 2.25l-188.44 105.38c-0.78 0.44-1.78 0.14-2.22-0.67l-92.7-166.75c-0.44-0.81-0.17-1.82 0.62-2.26z"/>
|
64
|
+
<path id="path5681" fill="url(#linearGradient2691)" d="m131.67 292.53l159.15-87.11c0.73-0.4 1.57-0.27 1.89 0.31l77.08 110.92c0.32 0.57-0.01 1.36-0.74 1.76l-169.99 94.42c-0.73 0.4-1.57 0.27-1.89-0.31l-66.24-118.22c-0.32-0.58 0.01-1.36 0.74-1.77z"/>
|
65
|
+
</g>
|
66
|
+
<g id="g2634" transform="translate(0,220)">
|
67
|
+
<path id="path4511" d="m314.11 305.63l78.62-8.79c0.36-0.04 0.68 0.21 0.73 0.58l16.97 74.64c0.05 0.36-0.21 0.69-0.57 0.73l-86.44 10.32c-0.36 0.05-0.69-0.21-0.73-0.57l-9.16-76.18c-0.04-0.36 0.22-0.69 0.58-0.73z" transform="matrix(2.582 .086099 -.10180 2.599 -578.85 -884.44)" filter="url(#filter5761)" stroke="#000" stroke-miterlimit="0" stroke-width="2.9518" fill="none"/>
|
68
|
+
<path id="path4513" d="m193.71-69.016l213.35-16.473c0.98-0.083 1.84 0.642 1.91 1.625l38.25 203.12c0.08 0.99-0.64 1.85-1.63 1.93l-234.64 19.89c-0.98 0.08-1.83-0.65-1.91-1.63l-16.95-206.54c-0.08-0.985 0.64-1.843 1.62-1.926z" stroke="url(#linearGradient2693)" stroke-miterlimit="0" stroke-width="2.1267" fill="#fff"/>
|
69
|
+
<path id="path4515" fill="url(#linearGradient2695)" d="m203.9-61.961l195.6-15.079c0.9-0.076 1.69 0.604 1.76 1.525l35.16 186.98c0.07 0.93-0.6 1.73-1.49 1.81l-215.13 18.24c-0.9 0.07-1.68-0.61-1.76-1.53l-15.63-190.14c-0.08-0.922 0.59-1.725 1.49-1.801z"/>
|
70
|
+
<path id="path5413" fill="url(#linearGradient2697)" d="m211.8-53.354l180.91-13.691c0.84-0.068 1.55 0.404 1.6 1.058l24.46 132.85c0.05 0.65-0.58 1.232-1.41 1.299l-193.8 15.869c-0.83 0.068-1.55-0.405-1.6-1.059l-11.56-135.02c-0.06-0.657 0.57-1.238 1.4-1.306z"/>
|
71
|
+
</g>
|
72
|
+
</g>
|
73
|
+
</g>
|
74
|
+
<metadata>
|
75
|
+
<rdf:RDF>
|
76
|
+
<cc:Work>
|
77
|
+
<dc:format>image/svg+xml</dc:format>
|
78
|
+
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
79
|
+
<cc:license rdf:resource="http://creativecommons.org/licenses/publicdomain/"/>
|
80
|
+
<dc:publisher>
|
81
|
+
<cc:Agent rdf:about="http://openclipart.org/">
|
82
|
+
<dc:title>Openclipart</dc:title>
|
83
|
+
</cc:Agent>
|
84
|
+
</dc:publisher>
|
85
|
+
<dc:title>rgb slides</dc:title>
|
86
|
+
<dc:date>2008-02-11T21:12:58</dc:date>
|
87
|
+
<dc:description>edited the one's uploaded by sarxos to remove copyrighted material.</dc:description>
|
88
|
+
<dc:source>http://openclipart.org/detail/13667/rgb-slides-by-molumen</dc:source>
|
89
|
+
<dc:creator>
|
90
|
+
<cc:Agent>
|
91
|
+
<dc:title>molumen</dc:title>
|
92
|
+
</cc:Agent>
|
93
|
+
</dc:creator>
|
94
|
+
<dc:subject>
|
95
|
+
<rdf:Bag>
|
96
|
+
<rdf:li>blue</rdf:li>
|
97
|
+
<rdf:li>clip art</rdf:li>
|
98
|
+
<rdf:li>clipart</rdf:li>
|
99
|
+
<rdf:li>green</rdf:li>
|
100
|
+
<rdf:li>media</rdf:li>
|
101
|
+
<rdf:li>photo</rdf:li>
|
102
|
+
<rdf:li>polaroid</rdf:li>
|
103
|
+
<rdf:li>presentation</rdf:li>
|
104
|
+
<rdf:li>red</rdf:li>
|
105
|
+
<rdf:li>remix</rdf:li>
|
106
|
+
<rdf:li>rgb</rdf:li>
|
107
|
+
<rdf:li>sheets</rdf:li>
|
108
|
+
<rdf:li>slide</rdf:li>
|
109
|
+
</rdf:Bag>
|
110
|
+
</dc:subject>
|
111
|
+
</cc:Work>
|
112
|
+
<cc:License rdf:about="http://creativecommons.org/licenses/publicdomain/">
|
113
|
+
<cc:permits rdf:resource="http://creativecommons.org/ns#Reproduction"/>
|
114
|
+
<cc:permits rdf:resource="http://creativecommons.org/ns#Distribution"/>
|
115
|
+
<cc:permits rdf:resource="http://creativecommons.org/ns#DerivativeWorks"/>
|
116
|
+
</cc:License>
|
117
|
+
</rdf:RDF>
|
118
|
+
</metadata>
|
119
|
+
</svg>
|
data/pdf/theme-benchmark-en.pdf
CHANGED
Binary file
|
data/pdf/theme-benchmark-ja.pdf
CHANGED
Binary file
|
data/theme.rb
CHANGED
@@ -1,8 +1,11 @@
|
|
1
1
|
# margin
|
2
|
-
@margin_bottom /=
|
2
|
+
@margin_bottom /= 3
|
3
|
+
@margin_top /= 2
|
4
|
+
@margin_left /=2
|
5
|
+
@margin_right /= 2
|
3
6
|
|
4
7
|
# Lightning Talk
|
5
|
-
# leave
|
8
|
+
# leave here (top) to show progress when 'only title' slide
|
6
9
|
@enable_yart_lightning_talk = true if (@enable_yart_lightning_talk.nil?)
|
7
10
|
if (@enable_yart_lightning_talk)
|
8
11
|
# use lightning_talk feature to manage 'only title' slide
|
@@ -39,8 +42,8 @@ end
|
|
39
42
|
|
40
43
|
# slide logo
|
41
44
|
#<a href="https://openclipart.org//detail/134815/rainbow-chalk-stroke-by-jhnri4"><img src="https://openclipart.org//people/jhnri4/Rainbow_chalk_stroke.svg" /></a>
|
42
|
-
|
43
|
-
include_theme("slide-logo")
|
45
|
+
#@slide_logo_image ||= "Rainbow_chalk_stroke.svg"
|
46
|
+
#include_theme("slide-logo")
|
44
47
|
|
45
48
|
# emphasis
|
46
49
|
emphasis_color = "#0055bb"
|
@@ -70,13 +73,52 @@ set_graffiti_line_width(15)
|
|
70
73
|
@default_description_item1_mark_color = emphasis_color
|
71
74
|
@default_description_item1_mark_type = "dash"
|
72
75
|
|
76
|
+
# Headline
|
77
|
+
@default_headline_line_color = emphasis_color
|
78
|
+
|
79
|
+
# table
|
80
|
+
@table_frame_color = emphasis_color
|
81
|
+
@table_fill_color = "white"
|
82
|
+
@table_head_frame_color = emphasis_color
|
83
|
+
@table_head_fill_color ="#{emphasis_color}24"
|
84
|
+
@table_body_frame_color = emphasis_color
|
85
|
+
@table_body_fill_color = "#{emphasis_color}15"
|
86
|
+
|
73
87
|
# base theme
|
74
88
|
include_theme("default")
|
75
89
|
|
90
|
+
# icon
|
91
|
+
# original: <a href="https://openclipart.org/detail/13667/rgb-slides-by-molumen"><img src="https://openclipart.org/people/molumen/molumen_rgb_slides.svg" /></a>
|
92
|
+
@icon_images = ["molumen_rgb_slides.png"]
|
93
|
+
include_theme("icon")
|
94
|
+
|
76
95
|
#powered by
|
77
|
-
|
96
|
+
#@powered_by_text = "\tPowered by Rabbit Presentation Tool #{Rabbit::VERSION}"
|
97
|
+
@powered_by_text = "\tPowered by Rabbit Presentation Tool"
|
98
|
+
@powered_by_text_color = emphasis_color
|
99
|
+
@powered_by_props = {
|
100
|
+
"size" => screen_size(1.5 * Pango::SCALE),
|
101
|
+
"font_family" => @font_family,
|
102
|
+
"style" => "italic"
|
103
|
+
}
|
78
104
|
include_theme("powered-by")
|
79
105
|
|
106
|
+
# slide footer line
|
107
|
+
line_gradation_rgb = [0xcc,0xcc,0xcc].collect {|x| x / 255.0}
|
108
|
+
@slide_footer_info_line_params ||= {
|
109
|
+
:pattern => {
|
110
|
+
:base => [0, 0, canvas.width, 0],
|
111
|
+
:type => :linear,
|
112
|
+
:color_stops => [
|
113
|
+
[0.0, 1, 1, 1],
|
114
|
+
[0.05, *line_gradation_rgb],
|
115
|
+
[0.95, *line_gradation_rgb],
|
116
|
+
[1.0, 1, 1, 1],
|
117
|
+
],
|
118
|
+
}
|
119
|
+
}
|
120
|
+
include_theme("slide-footer-info")
|
121
|
+
|
80
122
|
# slide content position
|
81
123
|
match(Slide, HeadLine) do |heads|
|
82
124
|
heads.horizontal_centering = true
|
@@ -88,7 +130,16 @@ end
|
|
88
130
|
# Title style
|
89
131
|
match(TitleSlide, Title) do |titles|
|
90
132
|
titles.prop_set("foreground", emphasis_color)
|
91
|
-
|
133
|
+
end
|
134
|
+
elements_to_change = [Author, Institution, Date, Place]
|
135
|
+
match(TitleSlide, "*") do |elements|
|
136
|
+
elements.each do |element|
|
137
|
+
if elements_to_change.find {|type| element.is_a?(type)}
|
138
|
+
element.horizontal_centering = false
|
139
|
+
element.align = :right
|
140
|
+
element.prop_set("size", @x_small_font_size)
|
141
|
+
end
|
142
|
+
end
|
92
143
|
end
|
93
144
|
|
94
145
|
#include_theme("per-slide-background-image")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rabbit-theme-yart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Enrico Rivarola
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rabbit
|
@@ -37,6 +37,8 @@ files:
|
|
37
37
|
- data/Rainbow_chalk_stroke.svg
|
38
38
|
- data/edit-icon.svg
|
39
39
|
- data/icon_mic.svg
|
40
|
+
- data/molumen_rgb_slides.png
|
41
|
+
- data/molumen_rgb_slides.svg
|
40
42
|
- data/movedonhere-original.svg
|
41
43
|
- data/movedonhere.svg
|
42
44
|
- data/stopwatch.svg
|