twitter-bootstrap-calendar 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2902d8adb14dec29b4e30249b028cc5ea0170e09
|
4
|
+
data.tar.gz: 5d6606d45cd763bd3f5677c054b976a323422ffd
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3a6f36380e0f31166fe3c140306a056e79ea5af87cf28927bcb1c0dd5ccdc26070ed0d6d6db1f75d6678517d9811225f3747737fa318c4c2c6ac57f1b8c6a2a4
|
7
|
+
data.tar.gz: c1da8f5346e9a87650a59c7cc960b4d5b6c0f2cde812ff257748d41b31fb4c8f31554fbd6d368251436a98d2ecdd1347abfb621fda4f969e4afd965e5f8e56f4
|
@@ -49,12 +49,12 @@ module Twitter
|
|
49
49
|
content_tag 'div', class: 'month_header row-fluid' do
|
50
50
|
standard = day_names.map { |day|
|
51
51
|
content_tag :div, class: 'span1 visible-desktop' do
|
52
|
-
day
|
52
|
+
I18n.t(day.downcase)
|
53
53
|
end
|
54
54
|
}.join.html_safe
|
55
55
|
mobile = mobile_day_names.map { |day|
|
56
56
|
content_tag :div, class: 'span1 hidden-desktop', style: 'width: 14.1%' do
|
57
|
-
day
|
57
|
+
I18n.t(day.downcase)
|
58
58
|
end
|
59
59
|
}.join.html_safe
|
60
60
|
|
@@ -13,8 +13,8 @@
|
|
13
13
|
background-color: darken(#ededed, 5%);
|
14
14
|
}
|
15
15
|
.notmonth, .notmonth a { color: white; }
|
16
|
-
.month.today {
|
17
|
-
background-color: #D7F2FF;
|
16
|
+
.month.today {
|
17
|
+
background-color: #D7F2FF;
|
18
18
|
}
|
19
19
|
.month {
|
20
20
|
background-color: #ededed;
|
@@ -248,4 +248,35 @@
|
|
248
248
|
float: right;
|
249
249
|
}
|
250
250
|
|
251
|
-
|
251
|
+
// For desktops
|
252
|
+
.visible-phone { display: none !important; }
|
253
|
+
.visible-tablet { display: none !important; }
|
254
|
+
.hidden-phone { }
|
255
|
+
.hidden-tablet { }
|
256
|
+
.hidden-desktop { display: none !important; }
|
257
|
+
.visible-desktop { display: inherit !important; }
|
258
|
+
|
259
|
+
// Tablets & small desktops only
|
260
|
+
@media (min-width: 768px) and (max-width: 979px) {
|
261
|
+
// Hide everything else
|
262
|
+
.hidden-desktop { display: inherit !important; }
|
263
|
+
.visible-desktop { display: none !important ; }
|
264
|
+
// Show
|
265
|
+
.visible-tablet { display: inherit !important; }
|
266
|
+
// Hide
|
267
|
+
.hidden-tablet { display: none !important; }
|
268
|
+
}
|
269
|
+
|
270
|
+
// Phones only
|
271
|
+
@media (max-width: 767px) {
|
272
|
+
// Hide everything else
|
273
|
+
.hidden-desktop { display: inherit !important; }
|
274
|
+
.visible-desktop { display: none !important; }
|
275
|
+
// Show
|
276
|
+
.visible-phone { display: inherit !important; } // Use inherit to restore previous behavior
|
277
|
+
// Hide
|
278
|
+
.hidden-phone { display: none !important; }
|
279
|
+
}
|
280
|
+
|
281
|
+
|
282
|
+
}
|
metadata
CHANGED
@@ -1,78 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter-bootstrap-calendar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- David Christiansen
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-04-20 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: sass
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: railties
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '3.1'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '3.1'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: actionpack
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '3.1'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '3.1'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rails
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - ">="
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '3.1'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - ">="
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '3.1'
|
78
69
|
description: Adds a helper and 7-column grid for creating calendar views
|
@@ -82,42 +73,42 @@ executables: []
|
|
82
73
|
extensions: []
|
83
74
|
extra_rdoc_files: []
|
84
75
|
files:
|
76
|
+
- README.md
|
77
|
+
- Rakefile
|
78
|
+
- app/helpers/bootstrap_calendar_helper.rb
|
79
|
+
- lib/twitter-bootstrap-calendar.rb
|
85
80
|
- lib/twitter/bootstrap/calendar/bootstrap.rb
|
86
81
|
- lib/twitter/bootstrap/calendar/bootstrap_calendar.rb
|
87
82
|
- lib/twitter/bootstrap/calendar/engine.rb
|
88
83
|
- lib/twitter/bootstrap/calendar/version.rb
|
89
|
-
- lib/twitter-bootstrap-calendar.rb
|
90
|
-
- vendor/assets/javascripts/twitter-bootstrap-calendar/index.js
|
91
|
-
- vendor/assets/stylesheets/twitter-bootstrap-calendar/index.css.scss
|
92
|
-
- app/helpers/bootstrap_calendar_helper.rb
|
93
|
-
- Rakefile
|
94
|
-
- README.md
|
95
84
|
- test/bootstrap_calendar_helper_test.rb
|
96
85
|
- test/test_helper.rb
|
86
|
+
- vendor/assets/javascripts/twitter-bootstrap-calendar/index.js
|
87
|
+
- vendor/assets/stylesheets/twitter-bootstrap-calendar/index.css.scss
|
97
88
|
homepage: https://github.com/davidray/twitter-bootstrap-calendar
|
98
89
|
licenses: []
|
90
|
+
metadata: {}
|
99
91
|
post_install_message:
|
100
92
|
rdoc_options: []
|
101
93
|
require_paths:
|
102
94
|
- lib
|
103
95
|
required_ruby_version: !ruby/object:Gem::Requirement
|
104
|
-
none: false
|
105
96
|
requirements:
|
106
|
-
- -
|
97
|
+
- - ">="
|
107
98
|
- !ruby/object:Gem::Version
|
108
99
|
version: '0'
|
109
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
|
-
none: false
|
111
101
|
requirements:
|
112
|
-
- -
|
102
|
+
- - ">="
|
113
103
|
- !ruby/object:Gem::Version
|
114
104
|
version: '0'
|
115
105
|
requirements: []
|
116
106
|
rubyforge_project:
|
117
|
-
rubygems_version:
|
107
|
+
rubygems_version: 2.2.2
|
118
108
|
signing_key:
|
119
|
-
specification_version:
|
109
|
+
specification_version: 4
|
120
110
|
summary: Bootstrap based responsive calendar
|
121
111
|
test_files:
|
122
112
|
- test/bootstrap_calendar_helper_test.rb
|
123
113
|
- test/test_helper.rb
|
114
|
+
has_rdoc:
|