bootstrap-timepicker-rails 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.md +18 -3
- data/Rakefile +4 -3
- data/lib/bootstrap-timepicker-rails/version.rb +1 -1
- data/vendor/assets/javascripts/] +806 -0
- data/vendor/assets/javascripts/bootstrap-timepicker.js +853 -347
- data/vendor/assets/stylesheets/bootstrap-timepicker.css +7 -74
- metadata +10 -5
- data/vendor/assets/stylesheets/bootstrap-timepicker.less +0 -88
- data/vendor/assets/stylesheets/timepicker.less +0 -88
@@ -1,77 +1,10 @@
|
|
1
1
|
/*!
|
2
|
-
* Timepicker for Bootstrap
|
2
|
+
* Timepicker Component for Twitter Bootstrap
|
3
3
|
*
|
4
|
-
* Copyright
|
5
|
-
* Licensed under the Apache License v2.0
|
6
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
4
|
+
* Copyright 2013 Joris de Wit
|
7
5
|
*
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
margin-top: 1px;
|
14
|
-
-webkit-border-radius: 4px;
|
15
|
-
-moz-border-radius: 4px;
|
16
|
-
border-radius: 4px;
|
17
|
-
display: none;
|
18
|
-
}
|
19
|
-
.bootstrap-timepicker.dropdown-menu.open {
|
20
|
-
display: inline-block;
|
21
|
-
}
|
22
|
-
.bootstrap-timepicker.dropdown-menu:before {
|
23
|
-
content: '';
|
24
|
-
border-left: 7px solid transparent;
|
25
|
-
border-right: 7px solid transparent;
|
26
|
-
border-bottom: 7px solid #ccc;
|
27
|
-
border-bottom-color: rgba(0, 0, 0, 0.2);
|
28
|
-
position: absolute;
|
29
|
-
top: -7px;
|
30
|
-
left: 6px;
|
31
|
-
}
|
32
|
-
.bootstrap-timepicker.dropdown-menu:after {
|
33
|
-
content: '';
|
34
|
-
border-left: 6px solid transparent;
|
35
|
-
border-right: 6px solid transparent;
|
36
|
-
border-bottom: 6px solid #ffffff;
|
37
|
-
position: absolute;
|
38
|
-
top: -6px;
|
39
|
-
left: 7px;
|
40
|
-
}
|
41
|
-
.bootstrap-timepicker.modal {
|
42
|
-
top: 30%;
|
43
|
-
margin-top: 0;
|
44
|
-
width: 200px;
|
45
|
-
margin-left: -100px;
|
46
|
-
}
|
47
|
-
.bootstrap-timepicker.modal .modal-content {
|
48
|
-
padding: 0;
|
49
|
-
}
|
50
|
-
.bootstrap-timepicker table {
|
51
|
-
width: 100%;
|
52
|
-
margin: 0;
|
53
|
-
}
|
54
|
-
.bootstrap-timepicker td,
|
55
|
-
.bootstrap-timepicker th {
|
56
|
-
text-align: center;
|
57
|
-
height: 20px;
|
58
|
-
-webkit-border-radius: 4px;
|
59
|
-
-moz-border-radius: 4px;
|
60
|
-
border-radius: 4px;
|
61
|
-
}
|
62
|
-
.bootstrap-timepicker td.separator {
|
63
|
-
width: 1px;
|
64
|
-
}
|
65
|
-
.bootstrap-timepicker td a {
|
66
|
-
border: 1px transparent solid;
|
67
|
-
display: block;
|
68
|
-
margin: 4px;
|
69
|
-
padding: 4px 0;
|
70
|
-
}
|
71
|
-
.bootstrap-timepicker td a:hover {
|
72
|
-
background-color: #eee;
|
73
|
-
-webkit-border-radius: 4px;
|
74
|
-
-moz-border-radius: 4px;
|
75
|
-
border-radius: 4px;
|
76
|
-
border-color: #ddd;
|
77
|
-
}
|
6
|
+
* Contributors https://github.com/jdewit/bootstrap-timepicker/graphs/contributors
|
7
|
+
*
|
8
|
+
* For the full copyright and license information, please view the LICENSE
|
9
|
+
* file that was distributed with this source code.
|
10
|
+
*/.bootstrap-timepicker{position:relative}.bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu{left:auto;right:0}.bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu:before{left:auto;right:12px}.bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu:after{left:auto;right:13px}.bootstrap-timepicker .add-on{cursor:pointer}.bootstrap-timepicker .add-on i{display:inline-block;width:16px;height:16px}.bootstrap-timepicker-widget.dropdown-menu{padding:2px 3px 2px 2px}.bootstrap-timepicker-widget.dropdown-menu.open{display:inline-block}.bootstrap-timepicker-widget.dropdown-menu:before{border-bottom:7px solid rgba(0,0,0,0.2);border-left:7px solid transparent;border-right:7px solid transparent;content:"";display:inline-block;left:9px;position:absolute;top:-7px}.bootstrap-timepicker-widget.dropdown-menu:after{border-bottom:6px solid #fff;border-left:6px solid transparent;border-right:6px solid transparent;content:"";display:inline-block;left:10px;position:absolute;top:-6px}.bootstrap-timepicker-widget a.btn,.bootstrap-timepicker-widget input{border-radius:4px}.bootstrap-timepicker-widget table{width:100%;margin:0}.bootstrap-timepicker-widget table td{text-align:center;height:30px;margin:0;padding:2px}.bootstrap-timepicker-widget table td:not(.separator){min-width:30px}.bootstrap-timepicker-widget table td span{width:100%}.bootstrap-timepicker-widget table td a{border:1px transparent solid;width:100%;display:inline-block;margin:0;padding:8px 0;outline:0;color:#333}.bootstrap-timepicker-widget table td a:hover{text-decoration:none;background-color:#eee;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border-color:#ddd}.bootstrap-timepicker-widget table td a i{margin-top:2px}.bootstrap-timepicker-widget table td input{width:25px;margin:0;text-align:center}.bootstrap-timepicker-widget .modal-content{padding:4px}@media(min-width:767px){.bootstrap-timepicker-widget.modal{width:200px;margin-left:-100px}}@media(max-width:767px){.bootstrap-timepicker{width:100%}.bootstrap-timepicker .dropdown-menu{width:100%}}
|
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.3
|
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:
|
12
|
+
date: 2013-04-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
@@ -75,10 +75,9 @@ 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/]
|
78
79
|
- vendor/assets/javascripts/bootstrap-timepicker.js
|
79
80
|
- vendor/assets/stylesheets/bootstrap-timepicker.css
|
80
|
-
- vendor/assets/stylesheets/bootstrap-timepicker.less
|
81
|
-
- vendor/assets/stylesheets/timepicker.less
|
82
81
|
homepage: https://github.com/jdewit/bootstrap-timepicker
|
83
82
|
licenses: []
|
84
83
|
post_install_message:
|
@@ -91,15 +90,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
91
90
|
- - ! '>='
|
92
91
|
- !ruby/object:Gem::Version
|
93
92
|
version: '0'
|
93
|
+
segments:
|
94
|
+
- 0
|
95
|
+
hash: 3555437174732698013
|
94
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
97
|
none: false
|
96
98
|
requirements:
|
97
99
|
- - ! '>='
|
98
100
|
- !ruby/object:Gem::Version
|
99
101
|
version: '0'
|
102
|
+
segments:
|
103
|
+
- 0
|
104
|
+
hash: 3555437174732698013
|
100
105
|
requirements: []
|
101
106
|
rubyforge_project:
|
102
|
-
rubygems_version: 1.8.
|
107
|
+
rubygems_version: 1.8.25
|
103
108
|
signing_key:
|
104
109
|
specification_version: 3
|
105
110
|
summary: Gemified https://github.com/jdewit/bootstrap-timepicker
|
@@ -1,88 +0,0 @@
|
|
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
|
-
}
|
@@ -1,88 +0,0 @@
|
|
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
|
-
}
|