simple_form_bootstrap3 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/lib/simple_form/default_form_builder.rb +3 -0
- data/lib/simple_form_bootstrap3/version.rb +1 -1
- data/vendor/assets/javascripts/bootstrap-datepicker.js +1671 -0
- data/vendor/assets/javascripts/bootstrap-datetimepicker.js +1697 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.ar.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.az.js +12 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.bg.js +14 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.ca.js +14 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.cs.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.cy.js +14 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.da.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.de.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.el.js +13 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.es.js +14 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.et.js +18 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.fa.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.fi.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.fr.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.gl.js +11 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.he.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.hr.js +13 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.hu.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.id.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.is.js +14 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.it.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.ja.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.ka.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.kk.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.kr.js +13 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.lt.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.lv.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.mk.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.ms.js +14 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.nb.js +14 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.nl-BE.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.nl.js +14 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.no.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.pl.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.pt-BR.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.pt.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.ro.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.rs-latin.js +14 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.rs.js +14 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.ru.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.sk.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.sl.js +14 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.sq.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.sv.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.sw.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.th.js +14 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.tr.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.ua.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.vi.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.zh-CN.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datepicker.zh-TW.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ar.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.bg.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ca.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.cs.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.da.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.de.js +18 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ee.js +18 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.el.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.es.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.fi.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.fr.js +18 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.he.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.hr.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.hu.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.id.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.is.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.it.js +18 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ja.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.kr.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.lt.js +18 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.lv.js +18 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ms.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.nb.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.nl.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.no.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.pl.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.pt-BR.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.pt.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ro.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.rs-latin.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.rs.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ru.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.sk.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.sl.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.sv.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.sw.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.th.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.tr.js +17 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ua.js +15 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.uk.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.zh-CN.js +16 -0
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.zh-TW.js +16 -0
- data/vendor/assets/stylesheets/bootstrap-datepicker.css +792 -0
- data/vendor/assets/stylesheets/bootstrap-datetimepicker.css +414 -0
- metadata +98 -1
@@ -0,0 +1,414 @@
|
|
1
|
+
/*!
|
2
|
+
* Datetimepicker for Bootstrap
|
3
|
+
*
|
4
|
+
* Copyright 2012 Stefan Petre
|
5
|
+
* Improvements by Andrew Rowls
|
6
|
+
* Licensed under the Apache License v2.0
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
*
|
9
|
+
*/
|
10
|
+
.datetimepicker {
|
11
|
+
padding: 4px;
|
12
|
+
margin-top: 1px;
|
13
|
+
-webkit-border-radius: 4px;
|
14
|
+
-moz-border-radius: 4px;
|
15
|
+
border-radius: 4px;
|
16
|
+
direction: ltr;
|
17
|
+
}
|
18
|
+
|
19
|
+
.datetimepicker-inline {
|
20
|
+
width: 220px;
|
21
|
+
}
|
22
|
+
|
23
|
+
.datetimepicker.datetimepicker-rtl {
|
24
|
+
direction: rtl;
|
25
|
+
}
|
26
|
+
|
27
|
+
.datetimepicker.datetimepicker-rtl table tr td span {
|
28
|
+
float: right;
|
29
|
+
}
|
30
|
+
|
31
|
+
.datetimepicker-dropdown, .datetimepicker-dropdown-left {
|
32
|
+
top: 0;
|
33
|
+
left: 0;
|
34
|
+
}
|
35
|
+
|
36
|
+
[class*=" datetimepicker-dropdown"]:before {
|
37
|
+
content: '';
|
38
|
+
display: inline-block;
|
39
|
+
border-left: 7px solid transparent;
|
40
|
+
border-right: 7px solid transparent;
|
41
|
+
border-bottom: 7px solid #cccccc;
|
42
|
+
border-bottom-color: rgba(0, 0, 0, 0.2);
|
43
|
+
position: absolute;
|
44
|
+
}
|
45
|
+
|
46
|
+
[class*=" datetimepicker-dropdown"]:after {
|
47
|
+
content: '';
|
48
|
+
display: inline-block;
|
49
|
+
border-left: 6px solid transparent;
|
50
|
+
border-right: 6px solid transparent;
|
51
|
+
border-bottom: 6px solid #ffffff;
|
52
|
+
position: absolute;
|
53
|
+
}
|
54
|
+
|
55
|
+
[class*=" datetimepicker-dropdown-top"]:before {
|
56
|
+
content: '';
|
57
|
+
display: inline-block;
|
58
|
+
border-left: 7px solid transparent;
|
59
|
+
border-right: 7px solid transparent;
|
60
|
+
border-top: 7px solid #cccccc;
|
61
|
+
border-top-color: rgba(0, 0, 0, 0.2);
|
62
|
+
border-bottom: 0;
|
63
|
+
}
|
64
|
+
|
65
|
+
[class*=" datetimepicker-dropdown-top"]:after {
|
66
|
+
content: '';
|
67
|
+
display: inline-block;
|
68
|
+
border-left: 6px solid transparent;
|
69
|
+
border-right: 6px solid transparent;
|
70
|
+
border-top: 6px solid #ffffff;
|
71
|
+
border-bottom: 0;
|
72
|
+
}
|
73
|
+
|
74
|
+
.datetimepicker-dropdown-bottom-left:before {
|
75
|
+
top: -7px;
|
76
|
+
right: 6px;
|
77
|
+
}
|
78
|
+
|
79
|
+
.datetimepicker-dropdown-bottom-left:after {
|
80
|
+
top: -6px;
|
81
|
+
right: 7px;
|
82
|
+
}
|
83
|
+
|
84
|
+
.datetimepicker-dropdown-bottom-right:before {
|
85
|
+
top: -7px;
|
86
|
+
left: 6px;
|
87
|
+
}
|
88
|
+
|
89
|
+
.datetimepicker-dropdown-bottom-right:after {
|
90
|
+
top: -6px;
|
91
|
+
left: 7px;
|
92
|
+
}
|
93
|
+
|
94
|
+
.datetimepicker-dropdown-top-left:before {
|
95
|
+
bottom: -7px;
|
96
|
+
right: 6px;
|
97
|
+
}
|
98
|
+
|
99
|
+
.datetimepicker-dropdown-top-left:after {
|
100
|
+
bottom: -6px;
|
101
|
+
right: 7px;
|
102
|
+
}
|
103
|
+
|
104
|
+
.datetimepicker-dropdown-top-right:before {
|
105
|
+
bottom: -7px;
|
106
|
+
left: 6px;
|
107
|
+
}
|
108
|
+
|
109
|
+
.datetimepicker-dropdown-top-right:after {
|
110
|
+
bottom: -6px;
|
111
|
+
left: 7px;
|
112
|
+
}
|
113
|
+
|
114
|
+
.datetimepicker > div {
|
115
|
+
display: none;
|
116
|
+
}
|
117
|
+
|
118
|
+
.datetimepicker.minutes div.datetimepicker-minutes {
|
119
|
+
display: block;
|
120
|
+
}
|
121
|
+
|
122
|
+
.datetimepicker.hours div.datetimepicker-hours {
|
123
|
+
display: block;
|
124
|
+
}
|
125
|
+
|
126
|
+
.datetimepicker.days div.datetimepicker-days {
|
127
|
+
display: block;
|
128
|
+
}
|
129
|
+
|
130
|
+
.datetimepicker.months div.datetimepicker-months {
|
131
|
+
display: block;
|
132
|
+
}
|
133
|
+
|
134
|
+
.datetimepicker.years div.datetimepicker-years {
|
135
|
+
display: block;
|
136
|
+
}
|
137
|
+
|
138
|
+
.datetimepicker table {
|
139
|
+
margin: 0;
|
140
|
+
}
|
141
|
+
|
142
|
+
.datetimepicker td,
|
143
|
+
.datetimepicker th {
|
144
|
+
text-align: center;
|
145
|
+
width: 20px;
|
146
|
+
height: 20px;
|
147
|
+
-webkit-border-radius: 4px;
|
148
|
+
-moz-border-radius: 4px;
|
149
|
+
border-radius: 4px;
|
150
|
+
border: none;
|
151
|
+
}
|
152
|
+
|
153
|
+
.table-striped .datetimepicker table tr td,
|
154
|
+
.table-striped .datetimepicker table tr th {
|
155
|
+
background-color: transparent;
|
156
|
+
}
|
157
|
+
|
158
|
+
.datetimepicker table tr td.minute:hover {
|
159
|
+
background: #eeeeee;
|
160
|
+
cursor: pointer;
|
161
|
+
}
|
162
|
+
|
163
|
+
.datetimepicker table tr td.hour:hover {
|
164
|
+
background: #eeeeee;
|
165
|
+
cursor: pointer;
|
166
|
+
}
|
167
|
+
|
168
|
+
.datetimepicker table tr td.day:hover {
|
169
|
+
background: #eeeeee;
|
170
|
+
cursor: pointer;
|
171
|
+
}
|
172
|
+
|
173
|
+
.datetimepicker table tr td.old,
|
174
|
+
.datetimepicker table tr td.new {
|
175
|
+
color: #999999;
|
176
|
+
}
|
177
|
+
|
178
|
+
.datetimepicker table tr td.disabled,
|
179
|
+
.datetimepicker table tr td.disabled:hover {
|
180
|
+
background: none;
|
181
|
+
color: #999999;
|
182
|
+
cursor: default;
|
183
|
+
}
|
184
|
+
|
185
|
+
.datetimepicker table tr td.today,
|
186
|
+
.datetimepicker table tr td.today:hover,
|
187
|
+
.datetimepicker table tr td.today.disabled,
|
188
|
+
.datetimepicker table tr td.today.disabled:hover {
|
189
|
+
background-color: #fde19a;
|
190
|
+
background-image: -moz-linear-gradient(top, #fdd49a, #fdf59a);
|
191
|
+
background-image: -ms-linear-gradient(top, #fdd49a, #fdf59a);
|
192
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a));
|
193
|
+
background-image: -webkit-linear-gradient(top, #fdd49a, #fdf59a);
|
194
|
+
background-image: -o-linear-gradient(top, #fdd49a, #fdf59a);
|
195
|
+
background-image: linear-gradient(top, #fdd49a, #fdf59a);
|
196
|
+
background-repeat: repeat-x;
|
197
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);
|
198
|
+
border-color: #fdf59a #fdf59a #fbed50;
|
199
|
+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
200
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
201
|
+
}
|
202
|
+
|
203
|
+
.datetimepicker table tr td.today:hover,
|
204
|
+
.datetimepicker table tr td.today:hover:hover,
|
205
|
+
.datetimepicker table tr td.today.disabled:hover,
|
206
|
+
.datetimepicker table tr td.today.disabled:hover:hover,
|
207
|
+
.datetimepicker table tr td.today:active,
|
208
|
+
.datetimepicker table tr td.today:hover:active,
|
209
|
+
.datetimepicker table tr td.today.disabled:active,
|
210
|
+
.datetimepicker table tr td.today.disabled:hover:active,
|
211
|
+
.datetimepicker table tr td.today.active,
|
212
|
+
.datetimepicker table tr td.today:hover.active,
|
213
|
+
.datetimepicker table tr td.today.disabled.active,
|
214
|
+
.datetimepicker table tr td.today.disabled:hover.active,
|
215
|
+
.datetimepicker table tr td.today.disabled,
|
216
|
+
.datetimepicker table tr td.today:hover.disabled,
|
217
|
+
.datetimepicker table tr td.today.disabled.disabled,
|
218
|
+
.datetimepicker table tr td.today.disabled:hover.disabled,
|
219
|
+
.datetimepicker table tr td.today[disabled],
|
220
|
+
.datetimepicker table tr td.today:hover[disabled],
|
221
|
+
.datetimepicker table tr td.today.disabled[disabled],
|
222
|
+
.datetimepicker table tr td.today.disabled:hover[disabled] {
|
223
|
+
background-color: #fdf59a;
|
224
|
+
}
|
225
|
+
|
226
|
+
.datetimepicker table tr td.today:active,
|
227
|
+
.datetimepicker table tr td.today:hover:active,
|
228
|
+
.datetimepicker table tr td.today.disabled:active,
|
229
|
+
.datetimepicker table tr td.today.disabled:hover:active,
|
230
|
+
.datetimepicker table tr td.today.active,
|
231
|
+
.datetimepicker table tr td.today:hover.active,
|
232
|
+
.datetimepicker table tr td.today.disabled.active,
|
233
|
+
.datetimepicker table tr td.today.disabled:hover.active {
|
234
|
+
background-color: #fbf069;
|
235
|
+
}
|
236
|
+
|
237
|
+
.datetimepicker table tr td.active,
|
238
|
+
.datetimepicker table tr td.active:hover,
|
239
|
+
.datetimepicker table tr td.active.disabled,
|
240
|
+
.datetimepicker table tr td.active.disabled:hover {
|
241
|
+
background-color: #006dcc;
|
242
|
+
background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
|
243
|
+
background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
|
244
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
|
245
|
+
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
|
246
|
+
background-image: -o-linear-gradient(top, #0088cc, #0044cc);
|
247
|
+
background-image: linear-gradient(top, #0088cc, #0044cc);
|
248
|
+
background-repeat: repeat-x;
|
249
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
|
250
|
+
border-color: #0044cc #0044cc #002a80;
|
251
|
+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
252
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
253
|
+
color: #ffffff;
|
254
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
255
|
+
}
|
256
|
+
|
257
|
+
.datetimepicker table tr td.active:hover,
|
258
|
+
.datetimepicker table tr td.active:hover:hover,
|
259
|
+
.datetimepicker table tr td.active.disabled:hover,
|
260
|
+
.datetimepicker table tr td.active.disabled:hover:hover,
|
261
|
+
.datetimepicker table tr td.active:active,
|
262
|
+
.datetimepicker table tr td.active:hover:active,
|
263
|
+
.datetimepicker table tr td.active.disabled:active,
|
264
|
+
.datetimepicker table tr td.active.disabled:hover:active,
|
265
|
+
.datetimepicker table tr td.active.active,
|
266
|
+
.datetimepicker table tr td.active:hover.active,
|
267
|
+
.datetimepicker table tr td.active.disabled.active,
|
268
|
+
.datetimepicker table tr td.active.disabled:hover.active,
|
269
|
+
.datetimepicker table tr td.active.disabled,
|
270
|
+
.datetimepicker table tr td.active:hover.disabled,
|
271
|
+
.datetimepicker table tr td.active.disabled.disabled,
|
272
|
+
.datetimepicker table tr td.active.disabled:hover.disabled,
|
273
|
+
.datetimepicker table tr td.active[disabled],
|
274
|
+
.datetimepicker table tr td.active:hover[disabled],
|
275
|
+
.datetimepicker table tr td.active.disabled[disabled],
|
276
|
+
.datetimepicker table tr td.active.disabled:hover[disabled] {
|
277
|
+
background-color: #0044cc;
|
278
|
+
}
|
279
|
+
|
280
|
+
.datetimepicker table tr td.active:active,
|
281
|
+
.datetimepicker table tr td.active:hover:active,
|
282
|
+
.datetimepicker table tr td.active.disabled:active,
|
283
|
+
.datetimepicker table tr td.active.disabled:hover:active,
|
284
|
+
.datetimepicker table tr td.active.active,
|
285
|
+
.datetimepicker table tr td.active:hover.active,
|
286
|
+
.datetimepicker table tr td.active.disabled.active,
|
287
|
+
.datetimepicker table tr td.active.disabled:hover.active {
|
288
|
+
background-color: #003399;
|
289
|
+
}
|
290
|
+
|
291
|
+
.datetimepicker table tr td span {
|
292
|
+
display: block;
|
293
|
+
width: 23%;
|
294
|
+
height: 54px;
|
295
|
+
line-height: 54px;
|
296
|
+
float: left;
|
297
|
+
margin: 1%;
|
298
|
+
cursor: pointer;
|
299
|
+
-webkit-border-radius: 4px;
|
300
|
+
-moz-border-radius: 4px;
|
301
|
+
border-radius: 4px;
|
302
|
+
}
|
303
|
+
|
304
|
+
.datetimepicker .datetimepicker-hours span {
|
305
|
+
height: 26px;
|
306
|
+
line-height: 26px;
|
307
|
+
}
|
308
|
+
|
309
|
+
.datetimepicker .datetimepicker-hours table tr td span.hour_am,
|
310
|
+
.datetimepicker .datetimepicker-hours table tr td span.hour_pm {
|
311
|
+
width: 14.6%;
|
312
|
+
}
|
313
|
+
|
314
|
+
.datetimepicker .datetimepicker-hours fieldset legend,
|
315
|
+
.datetimepicker .datetimepicker-minutes fieldset legend {
|
316
|
+
margin-bottom: inherit;
|
317
|
+
line-height: 30px;
|
318
|
+
}
|
319
|
+
|
320
|
+
.datetimepicker .datetimepicker-minutes span {
|
321
|
+
height: 26px;
|
322
|
+
line-height: 26px;
|
323
|
+
}
|
324
|
+
|
325
|
+
.datetimepicker table tr td span:hover {
|
326
|
+
background: #eeeeee;
|
327
|
+
}
|
328
|
+
|
329
|
+
.datetimepicker table tr td span.disabled,
|
330
|
+
.datetimepicker table tr td span.disabled:hover {
|
331
|
+
background: none;
|
332
|
+
color: #999999;
|
333
|
+
cursor: default;
|
334
|
+
}
|
335
|
+
|
336
|
+
.datetimepicker table tr td span.active,
|
337
|
+
.datetimepicker table tr td span.active:hover,
|
338
|
+
.datetimepicker table tr td span.active.disabled,
|
339
|
+
.datetimepicker table tr td span.active.disabled:hover {
|
340
|
+
background-color: #006dcc;
|
341
|
+
background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
|
342
|
+
background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
|
343
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
|
344
|
+
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
|
345
|
+
background-image: -o-linear-gradient(top, #0088cc, #0044cc);
|
346
|
+
background-image: linear-gradient(top, #0088cc, #0044cc);
|
347
|
+
background-repeat: repeat-x;
|
348
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
|
349
|
+
border-color: #0044cc #0044cc #002a80;
|
350
|
+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
351
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
352
|
+
color: #ffffff;
|
353
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
354
|
+
}
|
355
|
+
|
356
|
+
.datetimepicker table tr td span.active:hover,
|
357
|
+
.datetimepicker table tr td span.active:hover:hover,
|
358
|
+
.datetimepicker table tr td span.active.disabled:hover,
|
359
|
+
.datetimepicker table tr td span.active.disabled:hover:hover,
|
360
|
+
.datetimepicker table tr td span.active:active,
|
361
|
+
.datetimepicker table tr td span.active:hover:active,
|
362
|
+
.datetimepicker table tr td span.active.disabled:active,
|
363
|
+
.datetimepicker table tr td span.active.disabled:hover:active,
|
364
|
+
.datetimepicker table tr td span.active.active,
|
365
|
+
.datetimepicker table tr td span.active:hover.active,
|
366
|
+
.datetimepicker table tr td span.active.disabled.active,
|
367
|
+
.datetimepicker table tr td span.active.disabled:hover.active,
|
368
|
+
.datetimepicker table tr td span.active.disabled,
|
369
|
+
.datetimepicker table tr td span.active:hover.disabled,
|
370
|
+
.datetimepicker table tr td span.active.disabled.disabled,
|
371
|
+
.datetimepicker table tr td span.active.disabled:hover.disabled,
|
372
|
+
.datetimepicker table tr td span.active[disabled],
|
373
|
+
.datetimepicker table tr td span.active:hover[disabled],
|
374
|
+
.datetimepicker table tr td span.active.disabled[disabled],
|
375
|
+
.datetimepicker table tr td span.active.disabled:hover[disabled] {
|
376
|
+
background-color: #0044cc;
|
377
|
+
}
|
378
|
+
|
379
|
+
.datetimepicker table tr td span.active:active,
|
380
|
+
.datetimepicker table tr td span.active:hover:active,
|
381
|
+
.datetimepicker table tr td span.active.disabled:active,
|
382
|
+
.datetimepicker table tr td span.active.disabled:hover:active,
|
383
|
+
.datetimepicker table tr td span.active.active,
|
384
|
+
.datetimepicker table tr td span.active:hover.active,
|
385
|
+
.datetimepicker table tr td span.active.disabled.active,
|
386
|
+
.datetimepicker table tr td span.active.disabled:hover.active {
|
387
|
+
background-color: #003399;
|
388
|
+
}
|
389
|
+
|
390
|
+
.datetimepicker table tr td span.old {
|
391
|
+
color: #999999;
|
392
|
+
}
|
393
|
+
|
394
|
+
.datetimepicker th.switch {
|
395
|
+
width: 145px;
|
396
|
+
}
|
397
|
+
|
398
|
+
.datetimepicker thead tr:first-child th,
|
399
|
+
.datetimepicker tfoot tr:first-child th {
|
400
|
+
cursor: pointer;
|
401
|
+
}
|
402
|
+
|
403
|
+
.datetimepicker thead tr:first-child th:hover,
|
404
|
+
.datetimepicker tfoot tr:first-child th:hover {
|
405
|
+
background: #eeeeee;
|
406
|
+
}
|
407
|
+
|
408
|
+
.input-append.date .add-on i,
|
409
|
+
.input-prepend.date .add-on i,
|
410
|
+
.input-group.date .input-group-addon span {
|
411
|
+
cursor: pointer;
|
412
|
+
width: 14px;
|
413
|
+
height: 14px;
|
414
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_form_bootstrap3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuriy Kolodovskyy
|
@@ -57,6 +57,103 @@ files:
|
|
57
57
|
- lib/simple_form_bootstrap3/engine.rb
|
58
58
|
- lib/simple_form_bootstrap3/version.rb
|
59
59
|
- lib/simple_form_bootstrap3.rb
|
60
|
+
- vendor/assets/javascripts/bootstrap-datepicker.js
|
61
|
+
- vendor/assets/javascripts/bootstrap-datetimepicker.js
|
62
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.ar.js
|
63
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.az.js
|
64
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.bg.js
|
65
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.ca.js
|
66
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.cs.js
|
67
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.cy.js
|
68
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.da.js
|
69
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.de.js
|
70
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.el.js
|
71
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.es.js
|
72
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.et.js
|
73
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.fa.js
|
74
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.fi.js
|
75
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.fr.js
|
76
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.gl.js
|
77
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.he.js
|
78
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.hr.js
|
79
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.hu.js
|
80
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.id.js
|
81
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.is.js
|
82
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.it.js
|
83
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.ja.js
|
84
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.ka.js
|
85
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.kk.js
|
86
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.kr.js
|
87
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.lt.js
|
88
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.lv.js
|
89
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.mk.js
|
90
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.ms.js
|
91
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.nb.js
|
92
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.nl-BE.js
|
93
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.nl.js
|
94
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.no.js
|
95
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.pl.js
|
96
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.pt-BR.js
|
97
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.pt.js
|
98
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.ro.js
|
99
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.rs-latin.js
|
100
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.rs.js
|
101
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.ru.js
|
102
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.sk.js
|
103
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.sl.js
|
104
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.sq.js
|
105
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.sv.js
|
106
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.sw.js
|
107
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.th.js
|
108
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.tr.js
|
109
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.ua.js
|
110
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.vi.js
|
111
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.zh-CN.js
|
112
|
+
- vendor/assets/javascripts/locales/bootstrap-datepicker.zh-TW.js
|
113
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.ar.js
|
114
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.bg.js
|
115
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.ca.js
|
116
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.cs.js
|
117
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.da.js
|
118
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.de.js
|
119
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.ee.js
|
120
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.el.js
|
121
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.es.js
|
122
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.fi.js
|
123
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.fr.js
|
124
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.he.js
|
125
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.hr.js
|
126
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.hu.js
|
127
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.id.js
|
128
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.is.js
|
129
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.it.js
|
130
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.ja.js
|
131
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.kr.js
|
132
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.lt.js
|
133
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.lv.js
|
134
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.ms.js
|
135
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.nb.js
|
136
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.nl.js
|
137
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.no.js
|
138
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.pl.js
|
139
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.pt-BR.js
|
140
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.pt.js
|
141
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.ro.js
|
142
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.rs-latin.js
|
143
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.rs.js
|
144
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.ru.js
|
145
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.sk.js
|
146
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.sl.js
|
147
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.sv.js
|
148
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.sw.js
|
149
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.th.js
|
150
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.tr.js
|
151
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.ua.js
|
152
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.uk.js
|
153
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.zh-CN.js
|
154
|
+
- vendor/assets/javascripts/locales/bootstrap-datetimepicker.zh-TW.js
|
155
|
+
- vendor/assets/stylesheets/bootstrap-datepicker.css
|
156
|
+
- vendor/assets/stylesheets/bootstrap-datetimepicker.css
|
60
157
|
- LICENSE.txt
|
61
158
|
- Rakefile
|
62
159
|
- README.md
|