clndr-rails 1.2.5.2 → 1.2.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Created by ilabo on 12.12.14.
3
+ */
4
+ //=require ./clndr.min
@@ -0,0 +1,391 @@
1
+ @import url(http://fonts.googleapis.com/css?family=Asap:400,700);
2
+
3
+ @import url(http://fonts.googleapis.com/css?family=Inconsolata:400,700);
4
+ .full-clndr-template {
5
+ width: 100%;
6
+ background-color: #ebebeb;
7
+ font-weight: 700;
8
+ -moz-box-shadow: 0px 4px 0 #343434;
9
+ -webkit-box-shadow: 0px 4px 0 #343434;
10
+ box-shadow: 0px 4px 0 #343434;
11
+ }
12
+ .full-clndr-template .clndr-controls {
13
+ padding: 14px;
14
+ background-color: #414141;
15
+ color: white;
16
+ text-align: center;
17
+ }
18
+ .full-clndr-template .clndr-controls .clndr-previous-button {
19
+ float: left;
20
+ text-align: left;
21
+ }
22
+ .full-clndr-template .clndr-controls .clndr-next-button {
23
+ float: right;
24
+ text-align: right;
25
+ }
26
+ .full-clndr-template .clndr-controls .clndr-previous-button,
27
+ .full-clndr-template .clndr-controls .clndr-next-button {
28
+ width: 30px;
29
+ cursor: pointer;
30
+ -webkit-user-select: none;
31
+ /* Chrome/Safari */
32
+
33
+ -moz-user-select: none;
34
+ /* Firefox */
35
+
36
+ -ms-user-select: none;
37
+ /* IE10+ */
38
+
39
+ }
40
+ .full-clndr-template .clndr-controls .clndr-previous-button:hover,
41
+ .full-clndr-template .clndr-controls .clndr-next-button:hover {
42
+ opacity: 0.5;
43
+ }
44
+ .full-clndr-template .clndr-grid {
45
+ float: left;
46
+ width: 65%;
47
+ border-right: 2px solid white;
48
+ }
49
+ .full-clndr-template .clndr-grid .days-of-the-week {
50
+ width: 100%;
51
+ background-color: #3883a3;
52
+ }
53
+ .full-clndr-template .clndr-grid .days-of-the-week .header-day {
54
+ float: left;
55
+ width: 14.2857%;
56
+ padding: 14px;
57
+ text-align: center;
58
+ color: white;
59
+ }
60
+ .full-clndr-template .clndr-grid .days {
61
+ width: 100%;
62
+ }
63
+ .full-clndr-template .clndr-grid .days .day,
64
+ .full-clndr-template .clndr-grid .days .empty {
65
+ float: left;
66
+ width: 14.2857%;
67
+ height: 66px;
68
+ padding: 24px 0;
69
+ text-align: center;
70
+ color: #4f4f4f;
71
+ background-color: #ebebeb;
72
+ border-bottom: 2px solid white;
73
+
74
+ }
75
+ .full-clndr-template .clndr-grid .days .day.event .day-number,
76
+ .full-clndr-template .clndr-grid .days .empty.event .day-number {
77
+ padding-bottom: 4px;
78
+ border-bottom: 2px solid #3883a3;
79
+ }
80
+ .full-clndr-template .clndr-grid .days .day.adjacent-month .day-number,
81
+ .full-clndr-template .clndr-grid .days .empty.adjacent-month .day-number {
82
+ opacity: 0.3;
83
+ }
84
+ .full-clndr-template .clndr-grid .days .today {
85
+ background-color: white;
86
+ background-image: none;
87
+ }
88
+ .full-clndr-template .event-listing {
89
+ float: left;
90
+ width: 35%;
91
+ }
92
+ .full-clndr-template .event-listing .event-listing-title {
93
+ padding: 14px;
94
+ background-color: #71bbd2;
95
+ text-align: center;
96
+ color: white;
97
+ letter-spacing: 1px;
98
+ }
99
+ .full-clndr-template .event-listing .event-item {
100
+ padding: 14px;
101
+ color: #4f4f4f;
102
+ }
103
+ .full-clndr-template .event-listing .event-item-location {
104
+ font-weight: 400;
105
+ }
106
+ .noselect {
107
+ -webkit-user-select: none;
108
+ /* Chrome/Safari */
109
+
110
+ -moz-user-select: none;
111
+ /* Firefox */
112
+
113
+ -ms-user-select: none;
114
+ /* IE10+ */
115
+
116
+ }
117
+ .mini-clndr-template {
118
+ font-family: Asap, Helvetica, Arial;
119
+ margin: 0 auto;
120
+ width: 294px;
121
+ -moz-box-shadow: 4px 4px 0 #343434;
122
+ -webkit-box-shadow: 4px 4px 0 #343434;
123
+ box-shadow: 4px 4px 0 #343434;
124
+ }
125
+ .mini-clndr-template .clndr {
126
+ overflow: hidden;
127
+ border-bottom: 7px solid #69a776;
128
+ }
129
+ .mini-clndr-template .clndr .controls {
130
+ background-color: #69a776;
131
+ color: white;
132
+ }
133
+ .mini-clndr-template .clndr .controls .clndr-previous-button,
134
+ .mini-clndr-template .clndr .controls .clndr-next-button {
135
+ width: 15%;
136
+ padding-top: 5px;
137
+ padding-bottom: 5px;
138
+ display: inline-block;
139
+ text-align: center;
140
+ cursor: pointer;
141
+ -webkit-user-select: none;
142
+ /* Chrome/Safari */
143
+
144
+ -moz-user-select: none;
145
+ /* Firefox */
146
+
147
+ -ms-user-select: none;
148
+ /* IE10+ */
149
+
150
+ -webkit-transition: background-color 0.5s;
151
+ -moz-transition: background-color 0.5s;
152
+ -ms-transition: background-color 0.5s;
153
+ -o-transition: background-color 0.5s;
154
+ transition: background-color 0.5s;
155
+ }
156
+ .mini-clndr-template .clndr .controls .clndr-previous-button:hover,
157
+ .mini-clndr-template .clndr .controls .clndr-next-button:hover {
158
+ background-color: #528b5e;
159
+ }
160
+ .mini-clndr-template .clndr .controls .month {
161
+ width: 70%;
162
+ padding-top: 5px;
163
+ padding-bottom: 5px;
164
+ display: inline-block;
165
+ text-align: center;
166
+ text-transform: uppercase;
167
+ font-weight: 700;
168
+ letter-spacing: 1px;
169
+ }
170
+ .mini-clndr-template .clndr .days-container {
171
+ position: relative;
172
+ width: 294px;
173
+ height: 213px;
174
+ display: inline-block;
175
+ }
176
+ .mini-clndr-template .clndr .days-container .days {
177
+ position: absolute;
178
+ left: 0;
179
+ width: 294px;
180
+ height: 217px;
181
+ -webkit-transition: left 0.5s;
182
+ -moz-transition: left 0.5s;
183
+ -ms-transition: left 0.5s;
184
+ -o-transition: left 0.5s;
185
+ transition: left 0.5s;
186
+ background-color: #ebebeb;
187
+ }
188
+ .mini-clndr-template .clndr .days-container .days .day,
189
+ .mini-clndr-template .clndr .days-container .days .empty {
190
+ width: 42px;
191
+ display: inline-block;
192
+ padding-top: 8px;
193
+ padding-bottom: 8px;
194
+ font-size: 12px;
195
+ text-align: center;
196
+ color: #212121;
197
+ border-right: 1px solid rgba(255, 255, 255, 0.5);
198
+ border-bottom: 1px solid rgba(255, 255, 255, 0.5);
199
+ }
200
+ .mini-clndr-template .clndr .days-container .days .day.event,
201
+ .mini-clndr-template .clndr .days-container .days .empty.event {
202
+ background-color: #d2d2d2;
203
+ -webkit-transition: background-color 0.5s;
204
+ -moz-transition: background-color 0.5s;
205
+ -ms-transition: background-color 0.5s;
206
+ -o-transition: background-color 0.5s;
207
+ transition: background-color 0.5s;
208
+ cursor: pointer;
209
+ }
210
+ .mini-clndr-template .clndr .days-container .days .day.event:hover,
211
+ .mini-clndr-template .clndr .days-container .days .empty.event:hover {
212
+ background-color: #b8b8b8;
213
+ }
214
+ .mini-clndr-template .clndr .days-container .days .day.adjacent-month,
215
+ .mini-clndr-template .clndr .days-container .days .empty.adjacent-month {
216
+ color: rgba(0, 0, 0, 0.3);
217
+ }
218
+ .mini-clndr-template .clndr .days-container .days .empty {
219
+ height: 31px;
220
+ vertical-align: bottom;
221
+ }
222
+ .mini-clndr-template .clndr .days-container .days .headers {
223
+ background-color: #97ce7f;
224
+ padding-top: 5px;
225
+ padding-bottom: 5px;
226
+ }
227
+ .mini-clndr-template .clndr .days-container .days .headers .day-header {
228
+ width: 42px;
229
+ display: inline-block;
230
+ text-align: center;
231
+ color: white;
232
+ }
233
+ .mini-clndr-template .clndr .days-container .events {
234
+ position: absolute;
235
+ left: 294px;
236
+ width: 294px;
237
+ height: 217px;
238
+ -webkit-transition: left 0.5s;
239
+ -moz-transition: left 0.5s;
240
+ -ms-transition: left 0.5s;
241
+ -o-transition: left 0.5s;
242
+ transition: left 0.5s;
243
+ background-color: #ebebeb;
244
+ }
245
+ .mini-clndr-template .clndr .days-container .events .headers {
246
+ position: relative;
247
+ }
248
+ .mini-clndr-template .clndr .days-container .events .event-header {
249
+ width: 100%;
250
+ background-color: #97ce7f;
251
+ padding-top: 5px;
252
+ padding-bottom: 5px;
253
+ text-align: center;
254
+ color: white;
255
+ }
256
+ .mini-clndr-template .clndr .days-container .events .x-button {
257
+ position: absolute;
258
+ font-size: 80%;
259
+ top: 7px;
260
+ left: 20px;
261
+ cursor: pointer;
262
+ -webkit-transition: color 0.25s;
263
+ -moz-transition: color 0.25s;
264
+ -ms-transition: color 0.25s;
265
+ -o-transition: color 0.25s;
266
+ transition: color 0.25s;
267
+ }
268
+ .mini-clndr-template .clndr .days-container .events .x-button:hover {
269
+ color: white;
270
+ }
271
+ .mini-clndr-template .clndr .days-container .events .events-list {
272
+ overflow: scroll;
273
+ height: 185px;
274
+ }
275
+ .mini-clndr-template .clndr .days-container .events .events-list .event {
276
+ padding-top: 8px;
277
+ padding-bottom: 8px;
278
+ padding-left: 10px;
279
+ border-bottom: 1px solid rgba(255, 255, 255, 0.5);
280
+ -webkit-transition: background-color 0.25s;
281
+ -moz-transition: background-color 0.25s;
282
+ -ms-transition: background-color 0.25s;
283
+ -o-transition: background-color 0.25s;
284
+ transition: background-color 0.25s;
285
+ }
286
+ .mini-clndr-template .clndr .days-container .events .events-list .event:hover {
287
+ background-color: #f5f5f5;
288
+ }
289
+ .mini-clndr-template .clndr .days-container .events .events-list .event a {
290
+ position: relative;
291
+ font-size: 12px;
292
+ letter-spacing: 1px;
293
+ background-color: transparent;
294
+ color: #212121;
295
+ text-decoration: none;
296
+ -webkit-transition: color 0.25s;
297
+ -moz-transition: color 0.25s;
298
+ -ms-transition: color 0.25s;
299
+ -o-transition: color 0.25s;
300
+ transition: color 0.25s;
301
+ }
302
+ .mini-clndr-template .clndr .days-container .events .events-list .event a:hover {
303
+ background-color: transparent;
304
+ color: #69a776;
305
+ }
306
+ .mini-clndr-template .clndr .days-container.show-events .days {
307
+ left: -294px;
308
+ }
309
+ .mini-clndr-template .clndr .days-container.show-events .events {
310
+ left: 0;
311
+ }
312
+ .simple-clndr-template {
313
+ max-width: 400px;
314
+ margin: 0 auto;
315
+ background-color: #f4f4f4;
316
+ -moz-box-shadow: 4px 4px 0 #343434;
317
+ -webkit-box-shadow: 4px 4px 0 #343434;
318
+ box-shadow: 4px 4px 0 #343434;
319
+ padding-bottom: 12px;
320
+ }
321
+ .simple-clndr-template .month-bar {
322
+ text-align: center;
323
+ padding: 12px;
324
+ }
325
+ .simple-clndr-template .days-of-the-week {
326
+ width: 100%;
327
+ }
328
+ .simple-clndr-template .days-of-the-week .header-day {
329
+ display: inline-block;
330
+ float: left;
331
+ width: 14.2857%;
332
+ padding: 12px 0;
333
+ text-align: center;
334
+ }
335
+ .simple-clndr-template .days .day,
336
+ .simple-clndr-template .days .empty {
337
+ float: left;
338
+ width: 14.2857%;
339
+ padding: 12px 0;
340
+ text-align: center;
341
+ }
342
+ .simple-clndr-template .days .day.today,
343
+ .simple-clndr-template .days .empty.today {
344
+ background-color: #ebebeb;
345
+ -moz-box-shadow: inset 0 0 8px #d4d4d4;
346
+ -webkit-box-shadow: inset 0 0 8px #d4d4d4;
347
+ box-shadow: inset 0 0 8px #d4d4d4;
348
+ }
349
+ .simple-clndr-template .days .day.event,
350
+ .simple-clndr-template .days .empty.event {
351
+ color: #71bbd2;
352
+ }
353
+ .simple-clndr-template .days .day.adjacent-month .day-number,
354
+ .simple-clndr-template .days .empty.adjacent-month .day-number {
355
+ opacity: 0.3;
356
+ }
357
+ * {
358
+ margin: 0;
359
+ box-sizing: border-box;
360
+ -moz-box-sizing: border-box;
361
+ -webkit-box-sizing: border-box;
362
+ }
363
+
364
+ .clearfix:after {
365
+ content: ".";
366
+ display: block;
367
+ clear: both;
368
+ visibility: hidden;
369
+ line-height: 0;
370
+ height: 0;
371
+ }
372
+ .clearfix {
373
+ display: inline-block;
374
+ }
375
+ html[xmlns] .clearfix {
376
+ display: block;
377
+ }
378
+ * html .clearfix {
379
+ height: 1%;
380
+ }
381
+
382
+ @media all and (max-width: 768px) {
383
+ .full-clndr-template .clndr-grid {
384
+ width: 100%;
385
+ border: none;
386
+ }
387
+ .full-clndr-template .event-listing {
388
+ display: none;
389
+ }
390
+
391
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clndr-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5.2
4
+ version: 1.2.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Bondarenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-25 00:00:00.000000000 Z
11
+ date: 2014-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -253,7 +253,6 @@ files:
253
253
  - test/dummy/tmp/cache/assets/test/sprockets/de79a0cce913cf585100d02ad7b13bd2
254
254
  - test/dummy/tmp/cache/assets/test/sprockets/f1829681b5124c696fef4fd62c36f101
255
255
  - test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
256
- - test/dummy/tmp/pids/server.pid
257
256
  - test/spec/clnd-rails_spec.rb
258
257
  - test/spec/configuration_spec.rb
259
258
  - test/spec/events_spec.rb
@@ -261,6 +260,9 @@ files:
261
260
  - test/spec/rails_helper.rb
262
261
  - test/spec/spec_helper.rb
263
262
  - test/spec/templates_spec.rb
263
+ - vendor/assets/javascripts/clndr-rails/clndr.min.js
264
+ - vendor/assets/javascripts/clndr-rails/index.js
265
+ - vendor/assets/stylesheets/clndr-rails.css
264
266
  homepage: http://kylestetz.github.io/CLNDR/
265
267
  licenses:
266
268
  - MIT
@@ -429,7 +431,6 @@ test_files:
429
431
  - test/dummy/tmp/cache/assets/test/sprockets/de79a0cce913cf585100d02ad7b13bd2
430
432
  - test/dummy/tmp/cache/assets/test/sprockets/f1829681b5124c696fef4fd62c36f101
431
433
  - test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
432
- - test/dummy/tmp/pids/server.pid
433
434
  - test/spec/clnd-rails_spec.rb
434
435
  - test/spec/configuration_spec.rb
435
436
  - test/spec/events_spec.rb
@@ -1 +0,0 @@
1
- 11180