chronopicker 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,212 @@
|
|
1
|
+
/*!
|
2
|
+
* Datepicker for Bootstrap
|
3
|
+
*
|
4
|
+
* Copyright 2012 Stefan Petre
|
5
|
+
* Licensed under the Apache License v2.0
|
6
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7
|
+
*
|
8
|
+
|
9
|
+
.clearfix
|
10
|
+
*zoom: 1
|
11
|
+
&:before
|
12
|
+
display: table
|
13
|
+
content: ""
|
14
|
+
line-height: 0
|
15
|
+
&:after
|
16
|
+
display: table
|
17
|
+
content: ""
|
18
|
+
line-height: 0
|
19
|
+
clear: both
|
20
|
+
|
21
|
+
.hide-text
|
22
|
+
font: 0 / 0 a
|
23
|
+
color: transparent
|
24
|
+
text-shadow: none
|
25
|
+
background-color: transparent
|
26
|
+
border: 0
|
27
|
+
|
28
|
+
.input-block-level
|
29
|
+
display: block
|
30
|
+
width: 100%
|
31
|
+
min-height: 30px
|
32
|
+
-webkit-box-sizing: border-box
|
33
|
+
-moz-box-sizing: border-box
|
34
|
+
box-sizing: border-box
|
35
|
+
|
36
|
+
.bootstrap-datetimepicker-widget
|
37
|
+
top: 0
|
38
|
+
left: 0
|
39
|
+
width: 250px
|
40
|
+
padding: 4px
|
41
|
+
margin-top: 1px
|
42
|
+
z-index: 3000
|
43
|
+
-webkit-border-radius: 4px
|
44
|
+
-moz-border-radius: 4px
|
45
|
+
border-radius: 4px
|
46
|
+
&:before
|
47
|
+
content: ''
|
48
|
+
display: inline-block
|
49
|
+
border-left: 7px solid transparent
|
50
|
+
border-right: 7px solid transparent
|
51
|
+
border-bottom: 7px solid #cccccc
|
52
|
+
border-bottom-color: rgba(0, 0, 0, 0.2)
|
53
|
+
position: absolute
|
54
|
+
top: -7px
|
55
|
+
left: 6px
|
56
|
+
&:after
|
57
|
+
content: ''
|
58
|
+
display: inline-block
|
59
|
+
border-left: 6px solid transparent
|
60
|
+
border-right: 6px solid transparent
|
61
|
+
border-bottom: 6px solid white
|
62
|
+
position: absolute
|
63
|
+
top: -6px
|
64
|
+
left: 7px
|
65
|
+
> ul
|
66
|
+
list-style-type: none
|
67
|
+
margin: 0
|
68
|
+
.timepicker-hour, .timepicker-minute, .timepicker-second
|
69
|
+
width: 100%
|
70
|
+
font-weight: bold
|
71
|
+
font-size: 1.2em
|
72
|
+
table[data-hour-format="12"] .separator
|
73
|
+
width: 4px
|
74
|
+
padding: 0
|
75
|
+
margin: 0
|
76
|
+
.datepicker > div
|
77
|
+
display: none
|
78
|
+
.picker-switch
|
79
|
+
text-align: center
|
80
|
+
table
|
81
|
+
width: 100%
|
82
|
+
margin: 0
|
83
|
+
td, th
|
84
|
+
text-align: center
|
85
|
+
width: 20px
|
86
|
+
height: 20px
|
87
|
+
-webkit-border-radius: 4px
|
88
|
+
-moz-border-radius: 4px
|
89
|
+
border-radius: 4px
|
90
|
+
td
|
91
|
+
&.day:hover, &.hour:hover, &.minute:hover, &.second:hover
|
92
|
+
background: #eee
|
93
|
+
cursor: pointer
|
94
|
+
&.old, &.new
|
95
|
+
color: #999
|
96
|
+
&.active
|
97
|
+
color: #fff
|
98
|
+
background-color: #006dcc
|
99
|
+
background-image: -moz-linear-gradient(top, #0088cc, #0044cc)
|
100
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc))
|
101
|
+
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc)
|
102
|
+
background-image: -o-linear-gradient(top, #0088cc, #0044cc)
|
103
|
+
background-image: linear-gradient(to bottom, #0088cc, #0044cc)
|
104
|
+
background-repeat: repeat-x
|
105
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0)
|
106
|
+
border-color: #0044cc #0044cc #002a80
|
107
|
+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25)
|
108
|
+
*background-color: #04c
|
109
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false)
|
110
|
+
color: #fff
|
111
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)
|
112
|
+
&:hover
|
113
|
+
color: #fff
|
114
|
+
background-color: #006dcc
|
115
|
+
background-image: -moz-linear-gradient(top, #0088cc, #0044cc)
|
116
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc))
|
117
|
+
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc)
|
118
|
+
background-image: -o-linear-gradient(top, #0088cc, #0044cc)
|
119
|
+
background-image: linear-gradient(to bottom, #0088cc, #0044cc)
|
120
|
+
background-repeat: repeat-x
|
121
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0)
|
122
|
+
border-color: #0044cc #0044cc #002a80
|
123
|
+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25)
|
124
|
+
*background-color: #04c
|
125
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false)
|
126
|
+
color: #fff
|
127
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)
|
128
|
+
color: #fff
|
129
|
+
background-color: #04c
|
130
|
+
*background-color: #003bb3
|
131
|
+
&:active, &:hover:active, &.active, &:hover.active, &.disabled, &:hover.disabled, &[disabled], &:hover[disabled]
|
132
|
+
color: #fff
|
133
|
+
background-color: #04c
|
134
|
+
*background-color: #003bb3
|
135
|
+
&:active, &:hover:active, &.active, &:hover.active
|
136
|
+
background-color: #003399 \9
|
137
|
+
&.disabled
|
138
|
+
background: 0
|
139
|
+
color: #999
|
140
|
+
cursor: not-allowed
|
141
|
+
&:hover
|
142
|
+
background: 0
|
143
|
+
color: #999
|
144
|
+
cursor: not-allowed
|
145
|
+
span
|
146
|
+
display: block
|
147
|
+
width: 47px
|
148
|
+
height: 54px
|
149
|
+
line-height: 54px
|
150
|
+
float: left
|
151
|
+
margin: 2px
|
152
|
+
cursor: pointer
|
153
|
+
-webkit-border-radius: 4px
|
154
|
+
-moz-border-radius: 4px
|
155
|
+
border-radius: 4px
|
156
|
+
&:hover
|
157
|
+
background: #eee
|
158
|
+
&.active
|
159
|
+
color: #fff
|
160
|
+
background-color: #006dcc
|
161
|
+
background-image: -moz-linear-gradient(top, #0088cc, #0044cc)
|
162
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc))
|
163
|
+
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc)
|
164
|
+
background-image: -o-linear-gradient(top, #0088cc, #0044cc)
|
165
|
+
background-image: linear-gradient(to bottom, #0088cc, #0044cc)
|
166
|
+
background-repeat: repeat-x
|
167
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0)
|
168
|
+
border-color: #0044cc #0044cc #002a80
|
169
|
+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25)
|
170
|
+
*background-color: #04c
|
171
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false)
|
172
|
+
color: #fff
|
173
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)
|
174
|
+
&:hover, &:active, &.active, &.disabled, &[disabled]
|
175
|
+
color: #fff
|
176
|
+
background-color: #04c
|
177
|
+
*background-color: #003bb3
|
178
|
+
&:active, &.active
|
179
|
+
background-color: #003399 \9
|
180
|
+
&.old
|
181
|
+
color: #999
|
182
|
+
&.disabled
|
183
|
+
background: 0
|
184
|
+
color: #999
|
185
|
+
cursor: not-allowed
|
186
|
+
&:hover
|
187
|
+
background: 0
|
188
|
+
color: #999
|
189
|
+
cursor: not-allowed
|
190
|
+
th
|
191
|
+
&.switch
|
192
|
+
width: 145px
|
193
|
+
&.next, &.prev
|
194
|
+
font-size: 21px
|
195
|
+
&.disabled
|
196
|
+
background: 0
|
197
|
+
color: #999
|
198
|
+
cursor: not-allowed
|
199
|
+
&:hover
|
200
|
+
background: 0
|
201
|
+
color: #999
|
202
|
+
cursor: not-allowed
|
203
|
+
thead tr:first-child th
|
204
|
+
cursor: pointer
|
205
|
+
&:hover
|
206
|
+
background: #eee
|
207
|
+
|
208
|
+
.input-append.date .add-on i, .input-prepend.date .add-on i
|
209
|
+
display: block
|
210
|
+
cursor: pointer
|
211
|
+
width: 16px
|
212
|
+
height: 16px
|
data/lib/chronopicker/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -62,3 +62,10 @@ Started GET "/assets/chronopicker.js" for 127.0.0.1 at 2013-03-08 11:15:25 -0800
|
|
62
62
|
Served asset /chronopicker.js - 200 OK (2ms)
|
63
63
|
Started GET "/assets/glyphicons-halflings.png" for 127.0.0.1 at 2013-03-08 11:15:25 -0800
|
64
64
|
Served asset /glyphicons-halflings.png - 200 OK (1ms)
|
65
|
+
Started GET "/assets/glyphicons-halflings.png" for 127.0.0.1 at 2013-03-11 14:51:34 -0700
|
66
|
+
Connecting to database specified by database.yml
|
67
|
+
Served asset /glyphicons-halflings.png - 200 OK (3ms)
|
68
|
+
Started GET "/assets/chronopicker.css" for 127.0.0.1 at 2013-03-11 14:51:35 -0700
|
69
|
+
Served asset /chronopicker.css - 200 OK (4ms)
|
70
|
+
Started GET "/assets/chronopicker.js" for 127.0.0.1 at 2013-03-11 14:51:35 -0700
|
71
|
+
Served asset /chronopicker.js - 200 OK (5ms)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chronopicker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -114,6 +114,9 @@ executables: []
|
|
114
114
|
extensions: []
|
115
115
|
extra_rdoc_files: []
|
116
116
|
files:
|
117
|
+
- app/assets/images/glyphicons-halflings.png
|
118
|
+
- app/assets/javascripts/chronopicker.js
|
119
|
+
- app/assets/stylesheets/chronopicker.sass
|
117
120
|
- lib/chronopicker/engine.rb
|
118
121
|
- lib/chronopicker/version.rb
|
119
122
|
- lib/chronopicker.rb
|
@@ -179,7 +182,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
179
182
|
version: '0'
|
180
183
|
segments:
|
181
184
|
- 0
|
182
|
-
hash:
|
185
|
+
hash: -4168666934368197916
|
183
186
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
184
187
|
none: false
|
185
188
|
requirements:
|
@@ -188,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
191
|
version: '0'
|
189
192
|
segments:
|
190
193
|
- 0
|
191
|
-
hash:
|
194
|
+
hash: -4168666934368197916
|
192
195
|
requirements: []
|
193
196
|
rubyforge_project:
|
194
197
|
rubygems_version: 1.8.24
|