bootstrap-timepicker-rails 0.1.0 → 0.1.1
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/Rakefile
CHANGED
@@ -5,8 +5,8 @@ desc "Update assets"
|
|
5
5
|
task 'update' do
|
6
6
|
system("rm -rf bootstrap-timepicker-src")
|
7
7
|
system("git clone git://github.com/jdewit/bootstrap-timepicker.git bootstrap-timepicker-src")
|
8
|
-
system("cp bootstrap-timepicker-src/
|
9
|
-
system("cp bootstrap-timepicker-src/js/bootstrap-timepicker.js vendor/assets/javascripts/bootstrap-timepicker
|
8
|
+
system("cp bootstrap-timepicker-src/less/timepicker.less vendor/assets/stylesheets/bootstrap-timepicker.less")
|
9
|
+
system("cp bootstrap-timepicker-src/js/bootstrap-timepicker.js vendor/assets/javascripts/bootstrap-timepicker.js")
|
10
10
|
system("git status")
|
11
11
|
end
|
12
12
|
|
File without changes
|
@@ -0,0 +1,88 @@
|
|
1
|
+
/*!
|
2
|
+
* Timepicker for Bootstrap
|
3
|
+
*
|
4
|
+
* Copyright 2012 Joris de Wit, Stefan Petre, Andrew Rowls
|
5
|
+
* Licensed under the Apache License v2.0
|
6
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7
|
+
*
|
8
|
+
*/
|
9
|
+
.bootstrap-timepicker {
|
10
|
+
&.dropdown-menu {
|
11
|
+
top: 0;
|
12
|
+
left: 0;
|
13
|
+
padding: 4px;
|
14
|
+
margin-top: 1px;
|
15
|
+
-webkit-border-radius: 4px;
|
16
|
+
-moz-border-radius: 4px;
|
17
|
+
border-radius: 4px;
|
18
|
+
display: none;
|
19
|
+
|
20
|
+
&.open {
|
21
|
+
display: inline-block;
|
22
|
+
}
|
23
|
+
|
24
|
+
&:before {
|
25
|
+
content: '';
|
26
|
+
border-left: 7px solid transparent;
|
27
|
+
border-right: 7px solid transparent;
|
28
|
+
border-bottom: 7px solid #ccc;
|
29
|
+
border-bottom-color: rgba(0, 0, 0, 0.2);
|
30
|
+
position: absolute;
|
31
|
+
top: -7px;
|
32
|
+
left: 6px;
|
33
|
+
}
|
34
|
+
|
35
|
+
&:after {
|
36
|
+
content: '';
|
37
|
+
border-left: 6px solid transparent;
|
38
|
+
border-right: 6px solid transparent;
|
39
|
+
border-bottom: 6px solid #ffffff;
|
40
|
+
position: absolute;
|
41
|
+
top: -6px;
|
42
|
+
left: 7px;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
&.modal {
|
47
|
+
top: 30%;
|
48
|
+
margin-top: 0;
|
49
|
+
width: 200px;
|
50
|
+
margin-left: -100px;
|
51
|
+
|
52
|
+
.modal-content {
|
53
|
+
padding: 0;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
table {
|
58
|
+
width: 100%;
|
59
|
+
margin: 0;
|
60
|
+
}
|
61
|
+
|
62
|
+
td, th {
|
63
|
+
text-align: center;
|
64
|
+
height: 20px;
|
65
|
+
-webkit-border-radius: 4px;
|
66
|
+
-moz-border-radius: 4px;
|
67
|
+
border-radius: 4px;
|
68
|
+
}
|
69
|
+
|
70
|
+
td.separator {
|
71
|
+
width: 1px;
|
72
|
+
}
|
73
|
+
|
74
|
+
td a {
|
75
|
+
border: 1px transparent solid;
|
76
|
+
display: block;
|
77
|
+
margin: 4px;
|
78
|
+
padding: 4px 0;
|
79
|
+
|
80
|
+
&:hover {
|
81
|
+
background-color: #eee;
|
82
|
+
-webkit-border-radius: 4px;
|
83
|
+
-moz-border-radius: 4px;
|
84
|
+
border-radius: 4px;
|
85
|
+
border-color: #ddd;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap-timepicker-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
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: 2012-05-
|
12
|
+
date: 2012-05-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
@@ -75,7 +75,8 @@ files:
|
|
75
75
|
- lib/bootstrap-timepicker-rails/engine.rb
|
76
76
|
- lib/bootstrap-timepicker-rails/railtie.rb
|
77
77
|
- lib/bootstrap-timepicker-rails/version.rb
|
78
|
-
- vendor/assets/javascripts/bootstrap-timepicker
|
78
|
+
- vendor/assets/javascripts/bootstrap-timepicker.js
|
79
|
+
- vendor/assets/stylesheets/bootstrap-timepicker.less
|
79
80
|
- vendor/assets/stylesheets/timepicker.less
|
80
81
|
homepage: https://github.com/jdewit/bootstrap-timepicker
|
81
82
|
licenses: []
|