jquery-week-calendar 0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,278 @@
1
+
2
+
3
+ .wc-container {
4
+ font-size: 14px;
5
+ font-family: arial, helvetica;
6
+ }
7
+
8
+ .wc-toolbar {
9
+ padding: 1em;
10
+ font-size:0.8em;
11
+ }
12
+
13
+ .wc-toolbar .wc-nav
14
+ {
15
+ float:left;
16
+ }
17
+
18
+ .wc-toolbar .wc-display{
19
+ float: right;
20
+ }
21
+
22
+ .wc-toolbar button {
23
+ margin-top: 0;
24
+ margin-bottom: 0;
25
+ }
26
+
27
+ .wc-toolbar .wc-title{
28
+ text-align:center;
29
+ padding:0;
30
+ margin:0;
31
+ }
32
+
33
+ .wc-container table {
34
+ border-collapse: collapse;
35
+ border-spacing: 0;
36
+ }
37
+ .wc-container table td {
38
+ margin: 0;
39
+ padding: 0;
40
+ }
41
+
42
+ .wc-header{
43
+ background: #eee;
44
+ border-width:1px 0;
45
+ border-style:solid;
46
+ }
47
+ .wc-header table{
48
+ width: 100%;
49
+ table-layout:fixed;
50
+ }
51
+
52
+ .wc-grid-timeslot-header,
53
+ .wc-header .wc-time-column-header {
54
+ width: 45px;
55
+ }
56
+
57
+ .wc-header .wc-scrollbar-shim {
58
+ width: 16px;
59
+ }
60
+
61
+ .wc-header .wc-day-column-header {
62
+ text-align: center;
63
+ padding: 0.4em;
64
+ }
65
+
66
+ .wc-header .wc-user-header{
67
+ text-align: center;
68
+ padding: 0.4em 0;
69
+ overflow:hidden;
70
+ }
71
+ .wc-grid-timeslot-header {
72
+ background: #eee;
73
+ }
74
+
75
+
76
+
77
+ .wc-scrollable-grid {
78
+ overflow: auto;
79
+ overflow-x: hidden !important;
80
+ overflow-y: auto !important;
81
+ position: relative;
82
+ background-color: #fff;
83
+ width: 100%;
84
+ }
85
+
86
+
87
+ table.wc-time-slots {
88
+ width: 100%;
89
+ table-layout: fixed;
90
+ cursor: default;
91
+ overflow:hidden;
92
+ }
93
+
94
+ .wc-day-column {
95
+ width: 13.5%;
96
+ overflow: visible;
97
+ vertical-align: top;
98
+ }
99
+ .wc-day-column-header{border-width: 0 0 1px 3px; border-style: solid;border-color:transparent;}
100
+ .wc-scrollable-grid .wc-day-column-last,
101
+ .wc-scrollable-grid .wc-day-column-middle{border-width: 0 0 0 1px; border-style: dashed;}
102
+ .wc-scrollable-grid .wc-day-column-first{border-width: 0 0 0 3px; border-style: double;}
103
+
104
+ .wc-day-column-inner {
105
+ width: 100%;
106
+ position:relative;
107
+ }
108
+
109
+ .wc-no-height-wrapper{
110
+ position:relative;
111
+ overflow: visible;
112
+ height: 0px;
113
+ }
114
+
115
+ .wc-time-slot-wrapper {
116
+ /* top: 3px;*/
117
+ }
118
+ .wc-oddeven-wrapper .wc-full-height-column{
119
+ /* top: 2px; */
120
+ /* Modern Browsers */ opacity: 0.4;
121
+ /* IE 8 */ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
122
+ /* IE 5-7 */ filter: alpha(opacity=40);
123
+ /* Netscape */ -moz-opacity: 0.4;
124
+ /* Safari 1 */ -khtml-opacity: 0.4;
125
+ }
126
+ .wc-freebusy-wrapper .wc-freebusy{
127
+ /* top: 1px;*/
128
+ /* Modern Browsers */ opacity: 0.4;
129
+ /* IE 8 */ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
130
+ /* IE 5-7 */ filter: alpha(opacity=40);
131
+ /* Netscape */ -moz-opacity: 0.4;
132
+ /* Safari 1 */ -khtml-opacity: 0.4;
133
+ }
134
+
135
+ .wc-time-slots {
136
+ position: absolute;
137
+ width: 100%;
138
+ }
139
+
140
+ .wc-column-odd,
141
+ .wc-column-even.ui-state-hover{background-image:none;border:none;}
142
+
143
+ .wc-header .wc-today.ui-state-active{background-image:none;}
144
+ .wc-header .wc-today.wc-day-column-header{border-width:0 3px; border-style: solid;}
145
+ .wc-header .wc-user-header{border-width:0;}
146
+
147
+ .wc-time-slots .wc-day-column.ui-state-default{background:transparent;}
148
+ .wc-time-slots .wc-today.ui-state-active{background-image:none;}
149
+ .wc-header .wc-today.ui-state-active.wc-day-column-middle{border-width:0;}
150
+ .wc-header .wc-today.ui-state-active.wc-day-column-first{border-left-width:3px;}
151
+ .wc-header .wc-today.ui-state-active.wc-day-column-last{border-right-width:3px;}
152
+
153
+ .wc-full-height-column{
154
+ display:block;
155
+ /* width:100%;*/
156
+ }
157
+
158
+
159
+ .wc-time-header-cell {
160
+ padding: 5px;
161
+ height: 80px; /* reference height */
162
+ }
163
+
164
+
165
+ .wc-time-slot {
166
+ border-bottom: 1px dotted #ddd;
167
+ }
168
+
169
+ .wc-hour-header {
170
+ text-align: right;
171
+ }
172
+ .wc-hour-header.ui-state-active,
173
+ .wc-hour-header.ui-state-default{
174
+ border-width:0 0 1px 0;
175
+ }
176
+
177
+ .wc-hour-end, .wc-hour-header {
178
+ border-bottom: 1px solid #ccc;
179
+ color: #555;
180
+ }
181
+
182
+ .wc-business-hours {
183
+ background-color: #E6EEF1;
184
+ border-bottom: 1px solid #ccc;
185
+ color: #333;
186
+ font-size: 1.4em;
187
+ }
188
+
189
+ .wc-business-hours .wc-am-pm {
190
+ font-size: 0.6em;
191
+ }
192
+
193
+ .wc-day-header-cell {
194
+ text-align: center;
195
+ vertical-align: middle;
196
+ padding: 5px;
197
+ }
198
+
199
+
200
+
201
+ .wc-time-slot-header .wc-header-cell {
202
+ text-align: right;
203
+ padding-right: 10px;
204
+ }
205
+
206
+ .wc-cal-event {
207
+ background-color: #68a1e5;
208
+ /* Modern Browsers */ opacity: 0.8;
209
+ /* IE 8 */ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
210
+ /* IE 5-7 */ filter: alpha(opacity=80);
211
+ /* Netscape */ -moz-opacity: 0.8;
212
+ /* Safari 1 */ -khtml-opacity: 0.8;
213
+ position: absolute;
214
+ text-align: center;
215
+ overflow: hidden;
216
+ cursor: pointer;
217
+ color: #fff;
218
+ width: 100%;
219
+ display: none;
220
+ }
221
+
222
+
223
+ .wc-cal-event-delete {
224
+ float: right;
225
+ cursor: pointer;
226
+ width: 16px;
227
+ height: 16px;
228
+ }
229
+
230
+ .wc-cal-event.ui-resizable-resizing {
231
+ cursor: s-resize;
232
+ }
233
+
234
+ .wc-cal-event .wc-time {
235
+ background-color: #2b72d0;
236
+ border: 1px solid #1b62c0;
237
+ color: #fff;
238
+ padding: 0;
239
+ font-weight: bold;
240
+ }
241
+
242
+ .wc-container .ui-draggable .wc-time {
243
+ cursor: move;
244
+ }
245
+
246
+ .wc-cal-event .wc-title {
247
+ position: relative;
248
+ }
249
+
250
+ .wc-container .ui-resizable-s {
251
+ height: 10px;
252
+ line-height: 10px;
253
+ bottom: -2px;
254
+ font-size: .75em;
255
+ }
256
+
257
+
258
+ .wc-container .ui-draggable-dragging {
259
+ z-index: 1000;
260
+ }
261
+
262
+ .free-busy-free{}
263
+ .free-busy-busy{
264
+ background:url("./libs/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png") repeat scroll 50% 50% #666666;
265
+ }
266
+
267
+ /* IE6 hacks */
268
+ * html .wc-no-height-wrapper{position:absolute;}
269
+ * html .wc-time-slot-wrapper{top:3px;}
270
+ * html .wc-grid-row-oddeven{top:2px;}
271
+ * html .wc-grid-row-freebusy{top:1px;}
272
+
273
+ /* IE7 hacks */
274
+ *:first-child+html .wc-no-height-wrapper{position:relative;}
275
+ *:first-child+html .wc-time-slot-wrapper{top:3px;}
276
+ *:first-child+html .wc-grid-row-oddeven{top:2px;}
277
+ *:first-child+html .wc-grid-row-freebusy{top:1px;}
278
+ *:first-child+html .wc-time-slots .wc-today{/* due to rendering issues, no background */background:none;}
metadata ADDED
@@ -0,0 +1,89 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jquery-week-calendar
3
+ version: !ruby/object:Gem::Version
4
+ hash: 9
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 1
9
+ version: "0.1"
10
+ platform: ruby
11
+ authors:
12
+ - Adam Fortuna
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2012-04-29 00:00:00 Z
18
+ dependencies:
19
+ - !ruby/object:Gem::Dependency
20
+ name: rails
21
+ prerelease: false
22
+ requirement: &id001 !ruby/object:Gem::Requirement
23
+ none: false
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ hash: 7
28
+ segments:
29
+ - 3
30
+ - 0
31
+ - 0
32
+ version: 3.0.0
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ description: Wrapper for https://github.com/themouette/jquery-week-calendar
36
+ email:
37
+ - adam@envylabs.com
38
+ executables: []
39
+
40
+ extensions: []
41
+
42
+ extra_rdoc_files: []
43
+
44
+ files:
45
+ - lib/jquery-week-calendar/engine.rb
46
+ - lib/jquery-week-calendar/generators.rb
47
+ - lib/jquery-week-calendar/railtie.rb
48
+ - lib/jquery-week-calendar.rb
49
+ - vendor/assets/javascripts/jquery-week-calendar.js
50
+ - vendor/assets/stylesheets/jquery-week-calendar.css
51
+ - LICENSE
52
+ - README.md
53
+ homepage: https://github.com/adamfortuna/jquery-week-calendar-rails
54
+ licenses: []
55
+
56
+ post_install_message:
57
+ rdoc_options: []
58
+
59
+ require_paths:
60
+ - lib
61
+ required_ruby_version: !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ hash: 3
67
+ segments:
68
+ - 0
69
+ version: "0"
70
+ required_rubygems_version: !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ hash: 23
76
+ segments:
77
+ - 1
78
+ - 3
79
+ - 6
80
+ version: 1.3.6
81
+ requirements: []
82
+
83
+ rubyforge_project:
84
+ rubygems_version: 1.8.5
85
+ signing_key:
86
+ specification_version: 3
87
+ summary: Wrapper for the jQuery Week Calendar plugin
88
+ test_files: []
89
+