semantic-ui-rails 0.8.4 → 0.8.4.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.
@@ -1,98 +1,98 @@
1
- /*
2
- * # Semantic - Video
3
- * http://github.com/jlukic/semantic-ui/
4
- *
5
- *
6
- * Copyright 2013 Contributors
7
- * Released under the MIT license
8
- * http://opensource.org/licenses/MIT
9
- *
10
- */
11
-
12
-
13
- /*******************************
14
- Video
15
- *******************************/
16
-
17
- .ui.video {
18
- position: relative;
19
- max-width: 100%;
20
- }
21
-
22
- /*--------------
23
- Content
24
- ---------------*/
25
-
26
- /* Placeholder Image */
27
- .ui.video .placeholder {
28
- background-color: #333333;
29
- }
30
-
31
- /* Play Icon Overlay */
32
- .ui.video .play {
33
- cursor: pointer;
34
- position: absolute;
35
- top: 0px;
36
- left: 0px;
37
- z-index: 10;
38
-
39
- width: 100%;
40
- height: 100%;
41
-
42
- -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
43
- filter: alpha(opacity=60);
44
- opacity: 0.6;
45
-
46
- -webkit-transition: opacity 0.3s;
47
- -moz-transition: opacity 0.3s;
48
- -o-transition: opacity 0.3s;
49
- -ms-transition: opacity 0.3s;
50
- transition: opacity 0.3s;
51
- }
52
- .ui.video .play.icon:before {
53
- position: absolute;
54
- top: 50%;
55
- left: 50%;
56
- z-index: 11;
57
-
58
- font-size: 6rem;
59
- margin: -3rem 0em 0em -3rem;
60
- color: #FFFFFF;
61
- text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.4);
62
- }
63
-
64
- .ui.video .placeholder {
65
- display: block;
66
- width: 100%;
67
- height: 100%;
68
- }
69
-
70
- /* IFrame Embed */
71
- .ui.video .embed {
72
- display: none;
73
- }
74
-
75
- /*******************************
76
- States
77
- *******************************/
78
-
79
- /*--------------
80
- Hover
81
- ---------------*/
82
-
83
- .ui.video .play:hover {
84
- opacity: 1;
85
- }
86
-
87
-
88
- /*--------------
89
- Active
90
- ---------------*/
91
-
92
- .ui.video.active .play,
93
- .ui.video.active .placeholder {
94
- display: none;
95
- }
96
- .ui.video.active .embed {
97
- display: block;
98
- }
1
+ /*
2
+ * # Semantic - Video
3
+ * http://github.com/jlukic/semantic-ui/
4
+ *
5
+ *
6
+ * Copyright 2013 Contributors
7
+ * Released under the MIT license
8
+ * http://opensource.org/licenses/MIT
9
+ *
10
+ */
11
+
12
+
13
+ /*******************************
14
+ Video
15
+ *******************************/
16
+
17
+ .ui.video {
18
+ position: relative;
19
+ max-width: 100%;
20
+ }
21
+
22
+ /*--------------
23
+ Content
24
+ ---------------*/
25
+
26
+ /* Placeholder Image */
27
+ .ui.video .placeholder {
28
+ background-color: #333333;
29
+ }
30
+
31
+ /* Play Icon Overlay */
32
+ .ui.video .play {
33
+ cursor: pointer;
34
+ position: absolute;
35
+ top: 0px;
36
+ left: 0px;
37
+ z-index: 10;
38
+
39
+ width: 100%;
40
+ height: 100%;
41
+
42
+ -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
43
+ filter: alpha(opacity=60);
44
+ opacity: 0.6;
45
+
46
+ -webkit-transition: opacity 0.3s;
47
+ -moz-transition: opacity 0.3s;
48
+ -o-transition: opacity 0.3s;
49
+ -ms-transition: opacity 0.3s;
50
+ transition: opacity 0.3s;
51
+ }
52
+ .ui.video .play.icon:before {
53
+ position: absolute;
54
+ top: 50%;
55
+ left: 50%;
56
+ z-index: 11;
57
+
58
+ font-size: 6rem;
59
+ margin: -3rem 0em 0em -3rem;
60
+ color: #FFFFFF;
61
+ text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.4);
62
+ }
63
+
64
+ .ui.video .placeholder {
65
+ display: block;
66
+ width: 100%;
67
+ height: 100%;
68
+ }
69
+
70
+ /* IFrame Embed */
71
+ .ui.video .embed {
72
+ display: none;
73
+ }
74
+
75
+ /*******************************
76
+ States
77
+ *******************************/
78
+
79
+ /*--------------
80
+ Hover
81
+ ---------------*/
82
+
83
+ .ui.video .play:hover {
84
+ opacity: 1;
85
+ }
86
+
87
+
88
+ /*--------------
89
+ Active
90
+ ---------------*/
91
+
92
+ .ui.video.active .play,
93
+ .ui.video.active .placeholder {
94
+ display: none;
95
+ }
96
+ .ui.video.active .embed {
97
+ display: block;
98
+ }
@@ -9,28 +9,11 @@ module Semantic
9
9
  def add_assets
10
10
  # copy js manifest
11
11
  js_manifest = 'app/assets/javascripts/semantic-ui.js'
12
-
13
- if File.exist?(js_manifest)
14
- puts <<-EOM
15
- Notice:
16
- #{js_manifest} exist; skipping
17
- EOM
18
- else
19
- copy_file "semantic-ui.js", "app/assets/javascripts/semantic-ui.js"
20
- end
12
+ copy_file "semantic-ui.js", "app/assets/javascripts/semantic-ui.js"
21
13
 
22
14
  # copy less manifests
23
15
  css_manifests = 'app/assets/stylesheets/semantic-ui.css.less'
24
-
25
- if File.exist?(css_manifests)
26
- puts <<-EOM
27
- Notice:
28
- #{css_manifests} exist; skipping
29
- EOM
30
- else
31
- copy_file "semantic-ui.css.less", "app/assets/stylesheets/semantic-ui.css.less"
32
- end
33
-
16
+ copy_file "semantic-ui.css.less", "app/assets/stylesheets/semantic-ui.css.less"
34
17
  end
35
18
  end
36
19
  end
@@ -1,7 +1,7 @@
1
1
  module Semantic
2
2
  module Ui
3
3
  module Rails
4
- VERSION = "0.8.4"
4
+ VERSION = "0.8.4.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantic-ui-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - nd0ut