semantic-ui-sass 2.2.2.2 → 2.2.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/app/assets/javascripts/semantic-ui/dropdown.js +35 -11
  4. data/app/assets/javascripts/semantic-ui/form.js +8 -2
  5. data/app/assets/javascripts/semantic-ui/modal.js +9 -3
  6. data/app/assets/javascripts/semantic-ui/popup.js +3 -1
  7. data/app/assets/javascripts/semantic-ui/search.js +3 -3
  8. data/app/assets/javascripts/semantic-ui/transition.js +0 -1
  9. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +1 -1
  10. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +12 -4
  11. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +8 -8
  12. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +7 -13
  13. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +2 -2
  14. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +1 -1
  15. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +24 -29
  16. data/app/assets/stylesheets/semantic-ui/elements/_container.scss +2 -2
  17. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +1 -1
  18. data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +1 -1
  19. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +2 -2
  20. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +7 -8
  21. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +1 -1
  22. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +2 -2
  23. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +2 -2
  24. data/app/assets/stylesheets/semantic-ui/elements/_list.scss +2 -2
  25. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +1 -1
  26. data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +1 -1
  27. data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +1 -1
  28. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +2 -2
  29. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +2 -2
  30. data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +1 -1
  31. data/app/assets/stylesheets/semantic-ui/globals/_site.scss +3 -3
  32. data/app/assets/stylesheets/semantic-ui/globals/_variables.scss +3 -1
  33. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +2 -2
  34. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +1 -1
  35. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +1 -1
  36. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +2 -2
  37. data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +1 -1
  38. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +2 -2
  39. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +1 -1
  40. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +2 -2
  41. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +1 -1
  42. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +1 -1
  43. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +4 -4
  44. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +1 -1
  45. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +1 -1
  46. data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +1 -1
  47. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +1 -1
  48. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1 -1
  49. data/app/assets/stylesheets/semantic-ui/views/_ad.scss +1 -1
  50. data/app/assets/stylesheets/semantic-ui/views/_card.scss +2 -2
  51. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +16 -4
  52. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +1 -1
  53. data/app/assets/stylesheets/semantic-ui/views/_item.scss +2 -2
  54. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +3 -3
  55. data/lib/semantic/ui/sass/engine.rb +1 -1
  56. data/lib/semantic/ui/sass/version.rb +2 -2
  57. data/tasks/converter.rb +5 -0
  58. metadata +2 -2
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.2.2 - Modal
2
+ * # Semantic UI 2.2.3 - Modal
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -76,7 +76,7 @@
76
76
 
77
77
  .ui.modal > .header {
78
78
  display: block;
79
- font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
79
+ font-family: $font-family;
80
80
  background: #FFFFFF;
81
81
  margin: 0em;
82
82
  padding: 1.25rem 1.5rem;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.2.2 - Nag
2
+ * # Semantic UI 2.2.3 - Nag
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.2.2 - Popup
2
+ * # Semantic UI 2.2.3 - Popup
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -37,7 +37,7 @@
37
37
  }
38
38
  .ui.popup > .header {
39
39
  padding: 0em;
40
- font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
40
+ font-family: $font-family;
41
41
  font-size: 1.14285714em;
42
42
  line-height: 1.2;
43
43
  font-weight: bold;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.2.2 - Progress Bar
2
+ * # Semantic UI 2.2.3 - Progress Bar
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.2.2 - Rating
2
+ * # Semantic UI 2.2.3 - Rating
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.2.2 - Search
2
+ * # Semantic UI 2.2.3 - Search
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -116,7 +116,7 @@
116
116
  }
117
117
  .ui.search > .results .result .title {
118
118
  margin: -0.14285em 0em 0em;
119
- font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
119
+ font-family: $font-family;
120
120
  font-weight: bold;
121
121
  font-size: 1em;
122
122
  color: rgba(0, 0, 0, 0.85);
@@ -139,7 +139,7 @@
139
139
  padding: 1em 1em;
140
140
  }
141
141
  .ui.search > .results > .message .header {
142
- font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
142
+ font-family: $font-family;
143
143
  font-size: 1rem;
144
144
  font-weight: bold;
145
145
  color: rgba(0, 0, 0, 0.87);
@@ -334,7 +334,7 @@
334
334
  .ui.category.search > .results .category > .name {
335
335
  width: 100px;
336
336
  background: transparent;
337
- font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
337
+ font-family: $font-family;
338
338
  font-size: 1em;
339
339
  float: 1em;
340
340
  float: left;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.2.2 - Shape
2
+ * # Semantic UI 2.2.3 - Shape
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.2.2 - Sidebar
2
+ * # Semantic UI 2.2.3 - Sidebar
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.2.2 - Sticky
2
+ * # Semantic UI 2.2.3 - Sticky
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.2.2 - Tab
2
+ * # Semantic UI 2.2.3 - Tab
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.2.2 - Transition
2
+ * # Semantic UI 2.2.3 - Transition
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.2.2 - Ad
2
+ * # Semantic UI 2.2.3 - Ad
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.2.2 - Item
2
+ * # Semantic UI 2.2.3 - Item
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -174,7 +174,7 @@
174
174
  .ui.card > .content > .header {
175
175
  display: block;
176
176
  margin: '';
177
- font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
177
+ font-family: $font-family;
178
178
  color: rgba(0, 0, 0, 0.85);
179
179
  }
180
180
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.2.2 - Comment
2
+ * # Semantic UI 2.2.3 - Comment
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -228,10 +228,16 @@
228
228
  opacity: 1;
229
229
  }
230
230
 
231
- /*--------------------
232
- Sizes
233
- ---------------------*/
231
+ /*-------------------
232
+ Sizes
233
+ --------------------*/
234
234
 
235
+ .ui.mini.comments {
236
+ font-size: 0.78571429rem;
237
+ }
238
+ .ui.tiny.comments {
239
+ font-size: 0.85714286rem;
240
+ }
235
241
  .ui.small.comments {
236
242
  font-size: 0.9em;
237
243
  }
@@ -241,9 +247,15 @@
241
247
  .ui.large.comments {
242
248
  font-size: 1.1em;
243
249
  }
250
+ .ui.big.comments {
251
+ font-size: 1.28571429rem;
252
+ }
244
253
  .ui.huge.comments {
245
254
  font-size: 1.2em;
246
255
  }
256
+ .ui.massive.comments {
257
+ font-size: 1.71428571rem;
258
+ }
247
259
 
248
260
 
249
261
  /*******************************
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.2.2 - Feed
2
+ * # Semantic UI 2.2.3 - Feed
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.2.2 - Item
2
+ * # Semantic UI 2.2.3 - Item
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -141,7 +141,7 @@
141
141
  .ui.items > .item > .content > .header {
142
142
  display: inline-block;
143
143
  margin: -0.21425em 0em 0em;
144
- font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
144
+ font-family: $font-family;
145
145
  font-weight: bold;
146
146
  color: rgba(0, 0, 0, 0.85);
147
147
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.2.2 - Statistic
2
+ * # Semantic UI 2.2.3 - Statistic
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -111,7 +111,7 @@
111
111
 
112
112
  .ui.statistics .statistic > .value,
113
113
  .ui.statistic > .value {
114
- font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
114
+ font-family: $font-family;
115
115
  font-size: 4rem;
116
116
  font-weight: normal;
117
117
  line-height: 1em;
@@ -126,7 +126,7 @@
126
126
 
127
127
  .ui.statistics .statistic > .label,
128
128
  .ui.statistic > .label {
129
- font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
129
+ font-family: $font-family;
130
130
  font-size: 1em;
131
131
  font-weight: bold;
132
132
  color: rgba(0, 0, 0, 0.87);
@@ -5,7 +5,7 @@ module Semantic
5
5
  module Rails
6
6
  class Engine < ::Rails::Engine
7
7
  initializer "semantic-ui-sass.assets.precompile" do |app|
8
- if ::Rails.version >= '5'
8
+ if ::Rails.version >= '5' || ::Sprockets::VERSION.start_with?('4')
9
9
  ::Rails.application.config.assets.precompile += %w{ semantic-ui/*icons.* }
10
10
  else
11
11
  app.config.assets.precompile << %r(semantic-ui\/(basic\.)*icons\.(?:eot|svg|ttf|woff)$)
@@ -1,8 +1,8 @@
1
1
  module Semantic
2
2
  module Ui
3
3
  module Sass
4
- VERSION = "2.2.2.2"
5
- SEMANTIC_UI_SHA = 'b14cc6f4fe7eafc395b2a8544fedbcaf0cc02610'
4
+ VERSION = "2.2.3.0"
5
+ SEMANTIC_UI_SHA = '39f5bc44baf9ca2583403f1dcb75097779688b36'
6
6
  end
7
7
  end
8
8
  end
data/tasks/converter.rb CHANGED
@@ -108,6 +108,7 @@ private
108
108
 
109
109
  def convert(file)
110
110
  file = replace_fonts_url(file)
111
+ file = replace_font_family(file)
111
112
  file = replace_image_urls(file)
112
113
  file = replace_image_paths(file)
113
114
 
@@ -147,6 +148,10 @@ private
147
148
  less.gsub(/url\(\"\.\/\.\.\/themes\/default\/assets\/fonts\/?(.*?)\"\)/) {|s| "font-url(\"semantic-ui/#{$1}\")" }
148
149
  end
149
150
 
151
+ def replace_font_family(less)
152
+ less.gsub("font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif", 'font-family: $font-family')
153
+ end
154
+
150
155
  def replace_image_urls(less)
151
156
  less.gsub(/url\("?(.*?).png"?\)/) {|s| "image-url(\"#{$1}.png\")" }
152
157
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantic-ui-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2.2
4
+ version: 2.2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - doabit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-28 00:00:00.000000000 Z
11
+ date: 2016-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler