cassandra 0.2.3 → 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.
data/test/dan.cssy DELETED
@@ -1,160 +0,0 @@
1
- # # within a class
2
- #
3
- # class Widget
4
- #
5
- # # need this to get stylesheet methods
6
- # include Cassandra
7
- #
8
- # # add in Grid Layout support
9
- # include Cassandra::Grid
10
- #
11
- # # changes default units to 10 x 10 pixel blocks
12
- # grid :columns => { :width => 10, :height => 10 }, :units => 'px'
13
- #
14
- # # define some reusable stuff
15
- # def block ; display :block ; margin 0 ; padding 0 ; end
16
- # def wrap ; clear :both ; end
17
- # def left ; float :left ; end
18
- # def dark ; color :gray ; end
19
- # def style light ; color :silver ; end
20
- # def large ; font :size => '13px' ; end
21
- # def small ; font :size => '11px' ; end
22
- #
23
- # # generate a "CSS reset" and include some other stylesheets
24
- # reset ; include Main ; include Products
25
- #
26
- # intro_text! / a.back do
27
- # padding :top => 0, :left => 0, :bottom => 2, :right => 2
28
- # font :weight => :bold ; background :url => '/images/icons-back.gif', :repeat => false
29
- # end
30
- #
31
- # img.title { padding :bottom => 1 }
32
- #
33
- # div.wizard do
34
- #
35
- # left ; margin :right => 1
36
- #
37
- # ul.steps do
38
- #
39
- # block
40
- #
41
- # li.step do
42
- # block ; display false;
43
- # width 40 ; height 33.5
44
- # margin :left => '2px' ; padding 1.5
45
- # border '1px solid silver'
46
- #
47
- # add '.selected' { display :block }
48
- #
49
- # end
50
- #
51
- # end
52
- #
53
- # div.tab-selector span do
54
- # dark ; small ; centered ; block ; left
55
- # height 2.5 ; width 13 ; padding '12px 8px 0 8px' ; cursor :pointer
56
- # background :url => '/images/tab/unselected.gif', :repeat => :x
57
- # self & selected do
58
- # font :weight => :bold ; color :black
59
- # background :url => '/images/tab/selected.gif', :repeat => :x
60
- # end
61
- # end
62
- #
63
- # form do
64
- #
65
- # ul.properties do
66
- #
67
- # block
68
- #
69
- # li.property do
70
- #
71
- # block ; padding :bottom => 4
72
- #
73
- # label do
74
- # block ; left ; dark ; large
75
- # width 8 ; text_align :right
76
- # padding :right => 2 ; font :weight => :bold
77
- # end
78
- #
79
- # div.value { left ; dark }
80
- #
81
- # div.radio.value | div.checkbox.value do
82
- # div.option do
83
- # large ; padding :left => 2 ; height 2 ; cursor :pointer
84
- # background :url => '/images/bt_radio_off.gif', :repeat => false
85
- # end
86
- # end
87
- #
88
- # div.text.value do
89
- #
90
- # small ; dark ; margin :top => '-4px'
91
- #
92
- # input do
93
- # height 2 ; width 22 ; border false; background :url => '/images/textfield_bg.gif', :repeat => false
94
- # padding 0.5 ; font :weight => :bold
95
- # end
96
- #
97
- # textarea { width 28 ; height 18 }
98
- #
99
- # end
100
- #
101
- # end
102
- #
103
- # li.size.property do
104
- #
105
- # div.option do
106
- # background :url => '/images/bt_radio_off.gif', :repeat => false
107
- # padding :left => 2 ; height 2 ; large
108
- #
109
- # self & selected do
110
- # background :url => '/images/bt_radio_on.gif', :repeat => false
111
- # padding :left => 2 ; height 2 ; large
112
- # end
113
- #
114
- # end
115
- #
116
- # end
117
- #
118
- # li.style.property do
119
- #
120
- # div.option do
121
- # left ; border '1px solid silver' ; padding '1px' ; margin-left 0.5 ; opacity 0.5
122
- # end
123
- #
124
- # div.option.hover | div.option.selected { border '1px solid gray' }
125
- #
126
- # div.option.selected { opacity 1.0 }
127
- #
128
- # end
129
- #
130
- # li.tos.property / div.option
131
- # background :url => '/images/checkbox.gif', :repeat => false ; padding :left => 2
132
- # end
133
- #
134
- # li.code.property { display false }
135
- #
136
- # end
137
- #
138
- # end
139
- #
140
- # end
141
- #
142
- # div.preview do
143
- #
144
- # left ; height 40
145
- #
146
- # iframe do
147
- # block ; height 34 ; width 49 ; position :relative
148
- # margin 0.5 ; padding :top => 3, :left => 0
149
- # border '1px solid silver'
150
- # end
151
- #
152
- # div.ac_results do
153
- # padding 0.5 ; margin :top => 1
154
- # border '1px solid silver' ; text_align :left ; dark
155
- # background :color => :white ;
156
- # end
157
- #
158
- # end
159
- #
160
- # end
data/test/fiddle.css DELETED
@@ -1,22 +0,0 @@
1
- div {
2
- background: red;
3
- width: 9934px;
4
- }
5
- div ul li {
6
- color: green;
7
- }
8
- div p.ugly.truly {
9
- color: aqua;
10
- }
11
- div .smurf.house {
12
- height: 256px;
13
- }
14
- div #menu {
15
- padding: 10px;
16
- }
17
- .gargamel {
18
- margin: 0px;
19
- }
20
- .outer.middle.inner {
21
- top: 34px;
22
- }
data/test/fiddle.cssy DELETED
@@ -1,34 +0,0 @@
1
-
2
- div do
3
-
4
- # this is a property on div
5
- background :red
6
-
7
- selector('ul li') do
8
- color('green')
9
- end
10
-
11
- p.ugly.truly do
12
- color('aqua')
13
- end
14
-
15
- selector('.smurf').house do
16
- height('256px')
17
- end
18
-
19
- menu! do
20
- padding("10px")
21
- end
22
-
23
- # this is a property on div, again
24
- width('9934px')
25
-
26
- end
27
-
28
- gargamel do
29
- margin("0px")
30
- end
31
-
32
- selector('.outer.middle.inner') do
33
- top("34px")
34
- end
data/test/helper.rb DELETED
@@ -1,8 +0,0 @@
1
- %w{ rubygems bacon facon }.each { |dep| require dep }
2
-
3
- Bacon.extend Bacon::TestUnitOutput
4
- Bacon.summary_on_exit
5
-
6
- $:.unshift "#{File.dirname(__FILE__)}/../lib"
7
- require 'cassandra'
8
-