less-rails-semantic_ui 2.2.6.0 → 2.2.9.0

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.
Files changed (24) hide show
  1. checksums.yaml +4 -4
  2. data/assets/fonts/semantic_ui/themes/default/assets/fonts/icons.eot +0 -0
  3. data/assets/fonts/semantic_ui/themes/default/assets/fonts/icons.svg +2668 -682
  4. data/assets/fonts/semantic_ui/themes/default/assets/fonts/icons.ttf +0 -0
  5. data/assets/fonts/semantic_ui/themes/default/assets/fonts/icons.woff +0 -0
  6. data/assets/fonts/semantic_ui/themes/default/assets/fonts/icons.woff2 +0 -0
  7. data/assets/javascripts/semantic_ui/definitions/behaviors/form.js +64 -19
  8. data/assets/javascripts/semantic_ui/definitions/behaviors/visibility.js +7 -2
  9. data/assets/javascripts/semantic_ui/definitions/modules/dropdown.js +43 -17
  10. data/assets/javascripts/semantic_ui/definitions/modules/search.js +88 -53
  11. data/assets/javascripts/semantic_ui/definitions/modules/tab.js +12 -6
  12. data/assets/stylesheets/semantic_ui/definitions/elements/button.less +1 -1
  13. data/assets/stylesheets/semantic_ui/definitions/elements/header.less +2 -2
  14. data/assets/stylesheets/semantic_ui/definitions/elements/segment.less +7 -0
  15. data/assets/stylesheets/semantic_ui/definitions/modules/dropdown.less +26 -1
  16. data/assets/stylesheets/semantic_ui/definitions/modules/sidebar.less +0 -4
  17. data/assets/stylesheets/semantic_ui/definitions/views/item.less +17 -7
  18. data/assets/stylesheets/semantic_ui/themes/default/elements/flag.overrides +2 -2
  19. data/assets/stylesheets/semantic_ui/themes/default/elements/icon.overrides +54 -4
  20. data/assets/stylesheets/semantic_ui/themes/default/globals/site.variables +8 -8
  21. data/assets/stylesheets/semantic_ui/themes/default/views/comment.variables +0 -6
  22. data/assets/stylesheets/semantic_ui/themes/default/views/item.variables +5 -2
  23. data/lib/less/rails/semantic_ui/version.rb +1 -1
  24. metadata +7 -7
@@ -476,7 +476,10 @@ $.fn.tab = function(parameters) {
476
476
  settings.onFirstLoad.call($tab[0], tabPath, parameterArray, historyEvent);
477
477
  settings.onLoad.call($tab[0], tabPath, parameterArray, historyEvent);
478
478
 
479
- if(typeof settings.cacheType == 'string' && settings.cacheType.toLowerCase() == 'dom' && $tab.children().length > 0) {
479
+ if(settings.loadOnce) {
480
+ module.cache.add(fullTabPath, true);
481
+ }
482
+ else if(typeof settings.cacheType == 'string' && settings.cacheType.toLowerCase() == 'dom' && $tab.children().length > 0) {
480
483
  setTimeout(function() {
481
484
  var
482
485
  $clone = $tab.children().clone(true)
@@ -506,11 +509,13 @@ $.fn.tab = function(parameters) {
506
509
  if(settings.cache && cachedContent) {
507
510
  module.activate.tab(tabPath);
508
511
  module.debug('Adding cached content', fullTabPath);
509
- if(settings.evaluateScripts == 'once') {
510
- module.update.content(tabPath, cachedContent, false);
511
- }
512
- else {
513
- module.update.content(tabPath, cachedContent);
512
+ if(!settings.loadOnce) {
513
+ if(settings.evaluateScripts == 'once') {
514
+ module.update.content(tabPath, cachedContent, false);
515
+ }
516
+ else {
517
+ module.update.content(tabPath, cachedContent);
518
+ }
514
519
  }
515
520
  settings.onLoad.call($tab[0], tabPath, parameterArray, historyEvent);
516
521
  }
@@ -898,6 +903,7 @@ $.fn.tab.settings = {
898
903
 
899
904
  alwaysRefresh : false, // load tab content new every tab click
900
905
  cache : true, // cache the content requests to pull locally
906
+ loadOnce : false, // Whether tab data should only be loaded once when using remote content
901
907
  cacheType : 'response', // Whether to cache exact response, or to html cache contents after scripts execute
902
908
  ignoreFirstLoad : false, // don't load remote content on first load
903
909
 
@@ -703,7 +703,7 @@
703
703
  .ui.icon.buttons .button > .icon,
704
704
  .ui.icon.button > .icon {
705
705
  opacity: @iconButtonOpacity;
706
- margin: 0em;
706
+ margin: 0em !important;
707
707
  vertical-align: top;
708
708
  }
709
709
 
@@ -89,7 +89,7 @@
89
89
  Image
90
90
  --------------------*/
91
91
 
92
- .ui.header > .image,
92
+ .ui.header > .image:not(.icon),
93
93
  .ui.header > img {
94
94
  display: inline-block;
95
95
  margin-top: @imageOffset;
@@ -97,7 +97,7 @@
97
97
  height: @imageHeight;
98
98
  vertical-align: @imageAlignment;
99
99
  }
100
- .ui.header > .image:only-child,
100
+ .ui.header > .image:not(.icon):only-child,
101
101
  .ui.header > img:only-child {
102
102
  margin-right: @imageMargin;
103
103
  }
@@ -236,6 +236,13 @@
236
236
  padding: @veryPaddedSegmentPadding;
237
237
  }
238
238
 
239
+ /* Padded vertical */
240
+ .ui.padded.segment.vertical.segment,
241
+ .ui[class*="very padded"].vertical.segment {
242
+ padding-left: 0px;
243
+ padding-right: 0px;
244
+ }
245
+
239
246
  /*-------------------
240
247
  Compact
241
248
  --------------------*/
@@ -1075,7 +1075,6 @@ select.ui.dropdown {
1075
1075
  .ui.scrolling.dropdown .menu .item.item.item,
1076
1076
  .ui.dropdown .scrolling.menu > .item.item.item {
1077
1077
  border-top: @scrollingMenuItemBorder;
1078
- padding-right: @scrollingMenuRightItemPadding !important;
1079
1078
  }
1080
1079
  .ui.scrolling.dropdown .menu .item:first-child,
1081
1080
  .ui.dropdown .scrolling.menu .item:first-child {
@@ -1358,5 +1357,31 @@ select.ui.dropdown {
1358
1357
  margin: @pointingArrowOffset 0em 0em;
1359
1358
  }
1360
1359
 
1360
+ /* Right Pointing Upward */
1361
+ .ui.upward.right.pointing.dropdown:not(.top):not(.bottom) > .menu {
1362
+ top: auto;
1363
+ bottom: 0;
1364
+ margin: 0em @pointingArrowDistanceFromEdge 0em 0em;
1365
+ }
1366
+ .ui.upward.right.pointing.dropdown:not(.top):not(.bottom) > .menu:after {
1367
+ top: auto;
1368
+ bottom: 0;
1369
+ margin: 0em 0em @pointingArrowDistanceFromEdge 0em;
1370
+ box-shadow: @pointingArrowBoxShadow;
1371
+ }
1372
+
1373
+
1374
+ /* Left Pointing Upward */
1375
+ .ui.upward.left.pointing.dropdown:not(.top):not(.bottom) > .menu {
1376
+ top: auto;
1377
+ bottom: 0;
1378
+ margin: 0em 0em 0em @pointingArrowDistanceFromEdge;
1379
+ }
1380
+ .ui.upward.left.pointing.dropdown:not(.top):not(.bottom) > .menu:after {
1381
+ top: auto;
1382
+ bottom: 0;
1383
+ margin: 0em 0em @pointingArrowDistanceFromEdge 0em;
1384
+ box-shadow: @pointingArrowBoxShadow;
1385
+ }
1361
1386
 
1362
1387
  .loadUIOverrides();
@@ -258,10 +258,6 @@ html.ios {
258
258
  -webkit-overflow-scrolling: touch;
259
259
  }
260
260
 
261
- html.ios,
262
- html.ios body {
263
- height: initial !important;
264
- }
265
261
 
266
262
 
267
263
  /*******************************
@@ -363,26 +363,25 @@
363
363
 
364
364
  /* Mobile Only */
365
365
  @media only screen and (max-width: @largestMobileScreen) {
366
- .ui.items > .item {
366
+ .ui.items:not(.unstackable) > .item {
367
367
  flex-direction: column;
368
368
  margin: @mobileItemSpacing 0em;
369
369
  }
370
- .ui.items > .item > .image {
370
+ .ui.items:not(.unstackable) > .item > .image {
371
371
  display: block;
372
372
  margin-left: auto;
373
373
  margin-right: auto;
374
374
  }
375
- .ui.items > .item > .image,
376
- .ui.items > .item > .image > img {
375
+ .ui.items:not(.unstackable) > .item > .image,
376
+ .ui.items:not(.unstackable) > .item > .image > img {
377
377
  max-width: 100% !important;
378
378
  width: @mobileImageWidth !important;
379
379
  max-height: @mobileImageMaxHeight !important;
380
380
  }
381
- .ui.items > .item > .image + .content {
381
+ .ui.items:not(.unstackable) > .item > .image + .content {
382
382
  display: block;
383
383
  padding: @mobileContentImageDistance 0em 0em;
384
384
  }
385
-
386
385
  }
387
386
 
388
387
 
@@ -468,7 +467,18 @@
468
467
  ---------------*/
469
468
 
470
469
  .ui.items > .item {
471
- font-size: @medium;
470
+ font-size: @relativeMedium;
471
+ }
472
+
473
+ /*---------------
474
+ Unstackable
475
+ ----------------*/
476
+
477
+ @media only screen and (max-width: @largestMobileScreen) {
478
+ .ui.unstackable.items > .item > .image,
479
+ .ui.unstackable.items > .item > .image > img {
480
+ width: @unstackableMobileImageWidth !important;
481
+ }
472
482
  }
473
483
 
474
484
  .loadUIOverrides();
@@ -568,7 +568,7 @@ i.flag.mali:before {
568
568
  i.flag.mm:before,
569
569
  i.flag.myanmar:before,
570
570
  i.flag.burma:before {
571
- background-position: -36px -1717px;
571
+ background-position: -73px -1821px;
572
572
  }
573
573
  i.flag.mn:before,
574
574
  i.flag.mongolia:before {
@@ -983,4 +983,4 @@ i.flag.zambia:before {
983
983
  i.flag.zw:before,
984
984
  i.flag.zimbabwe:before {
985
985
  background-position: -108px -390px;
986
- }
986
+ }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome
2
+ * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
3
3
  * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4
4
  */
5
5
 
@@ -76,7 +76,6 @@ i.icon.history:before { content: "\f1da"; }
76
76
  i.icon.options:before { content: "\f1de"; }
77
77
  i.icon.text.telephone:before { content: "\f1e4"; }
78
78
  i.icon.find:before { content: "\f1e5"; }
79
- i.icon.wifi:before { content: "\f1eb"; }
80
79
  i.icon.alarm.mute:before { content: "\f1f6"; }
81
80
  i.icon.alarm.mute.outline:before { content: "\f1f7"; }
82
81
  i.icon.copyright:before { content: "\f1f9"; }
@@ -103,6 +102,22 @@ i.icon.shopping.bag:before { content: "\f290"; }
103
102
  i.icon.shopping.basket:before { content: "\f291"; }
104
103
  i.icon.hashtag:before { content: "\f292"; }
105
104
  i.icon.percent:before { content: "\f295"; }
105
+ i.icon.handshake:before { content: "\f2b5"; }
106
+ i.icon.open.envelope:before { content: "\f2b6"; }
107
+ i.icon.open.envelope.outline:before { content: "\f2b7"; }
108
+ i.icon.address.book:before { content: "\f2b9"; }
109
+ i.icon.address.book.outline:before { content: "\f2ba"; }
110
+ i.icon.address.card:before { content: "\f2bb"; }
111
+ i.icon.address.card.outline:before { content: "\f2bc"; }
112
+ i.icon.id.badge:before { content: "\f2c1"; }
113
+ i.icon.id.card:before { content: "\f2c2"; }
114
+ i.icon.id.card.outline:before { content: "\f2c3"; }
115
+ i.icon.podcast:before { content: "\f2ce"; }
116
+ i.icon.window.maximize:before { content: "\f2d0"; }
117
+ i.icon.window.minimize:before { content: "\f2d1"; }
118
+ i.icon.window.restore:before { content: "\f2d2"; }
119
+ i.icon.window.close:before { content: "\f2d3"; }
120
+ i.icon.window.close.outline:before { content: "\f2d4"; }
106
121
 
107
122
  /* User Actions */
108
123
  i.icon.wait:before { content: "\f017"; }
@@ -173,7 +188,7 @@ i.icon.announcement:before { content: "\f0a1"; }
173
188
  i.icon.help:before { content: "\f128"; }
174
189
  i.icon.info:before { content: "\f129"; }
175
190
  i.icon.warning:before { content: "\f12a"; }
176
- i.icon.birthday:before { content: "\f1fd"; }
191
+ i.icon.birthday:before { content: "\f1fd"; }
177
192
  i.icon.help.circle.outline:before { content: "\f29c"; }
178
193
 
179
194
  /* Users */
@@ -184,6 +199,9 @@ i.icon.handicap:before { content: "\f193"; }
184
199
  i.icon.student:before { content: "\f19d"; }
185
200
  i.icon.child:before { content: "\f1ae"; }
186
201
  i.icon.spy:before { content: "\f21b"; }
202
+ i.icon.user.circle:before { content: "\f2bd"; }
203
+ i.icon.user.circle.outline:before { content: "\f2be"; }
204
+ i.icon.user.outline:before { content: "\f2c0"; }
187
205
 
188
206
  /* Gender & Sexuality */
189
207
  i.icon.female:before { content: "\f182"; }
@@ -272,6 +290,14 @@ i.icon.hand.scissors:before { content: "\f257"; }
272
290
  i.icon.hand.lizard:before { content: "\f258"; }
273
291
  i.icon.hand.spock:before { content: "\f259"; }
274
292
  i.icon.tv:before { content: "\f26c"; }
293
+ i.icon.thermometer.full:before { content: "\f2c7"; }
294
+ i.icon.thermometer.three.quarters:before { content: "\f2c8"; }
295
+ i.icon.thermometer.half:before { content: "\f2c9"; }
296
+ i.icon.thermometer.quarter:before { content: "\f2ca"; }
297
+ i.icon.thermometer.empty:before { content: "\f2cb"; }
298
+ i.icon.shower:before { content: "\f2cc"; }
299
+ i.icon.bathtub:before { content: "\f2cd"; }
300
+ i.icon.snowflake:before { content: "\f2dc"; }
275
301
 
276
302
  /* Shapes */
277
303
  i.icon.crosshairs:before { content: "\f05b"; }
@@ -421,10 +447,12 @@ i.icon.css3:before { content: "\f13c"; }
421
447
  i.icon.rss.square:before { content: "\f143"; }
422
448
  i.icon.openid:before { content: "\f19b"; }
423
449
  i.icon.database:before { content: "\f1c0"; }
450
+ i.icon.wifi:before { content: "\f1eb"; }
424
451
  i.icon.server:before { content: "\f233"; }
425
452
  i.icon.usb:before { content: "\f287"; }
426
453
  i.icon.bluetooth:before { content: "\f293"; }
427
454
  i.icon.bluetooth.alternative:before { content: "\f294"; }
455
+ i.icon.microchip:before { content: "\f2db"; }
428
456
 
429
457
  /* Rating */
430
458
  i.icon.heart:before { content: "\f004"; }
@@ -715,6 +743,19 @@ i.icon.yoast:before { content: "\f2b1"; }
715
743
  i.icon.themeisle:before { content: "\f2b2"; }
716
744
  i.icon.google.plus.circle:before { content: "\f2b3"; }
717
745
  i.icon.font.awesome:before { content: "\f2b4"; }
746
+ i.icon.linode:before { content: "\f2b8"; }
747
+ i.icon.quora:before { content: "\f2c4"; }
748
+ i.icon.free.code.camp:before { content: "\f2c5"; }
749
+ i.icon.telegram:before { content: "\f2c6"; }
750
+ i.icon.bandcamp:before { content: "\f2d5"; }
751
+ i.icon.grav:before { content: "\f2d6"; }
752
+ i.icon.etsy:before { content: "\f2d7"; }
753
+ i.icon.imdb:before { content: "\f2d8"; }
754
+ i.icon.ravelry:before { content: "\f2d9"; }
755
+ i.icon.eercast:before { content: "\f2da"; }
756
+ i.icon.superpowers:before { content: "\f2dd"; }
757
+ i.icon.wpexplorer:before { content: "\f2de"; }
758
+ i.icon.meetup:before { content: "\f2e0"; }
718
759
 
719
760
  /*******************************
720
761
  Aliases
@@ -933,9 +974,18 @@ i.icon.ald:before { content: "\f2a2"; }
933
974
  i.icon.asl.interpreting:before { content: "\f2a3"; }
934
975
  i.icon.deaf:before { content: "\f2a4"; }
935
976
  i.icon.american.sign.language.interpreting:before { content: "\f2a3"; }
936
- i.icon.hard.of.hearing:before{ content: "\f2a4"; }
977
+ i.icon.hard.of.hearing:before { content: "\f2a4"; }
937
978
  i.icon.signing:before { content: "\f2a7"; }
938
979
  i.icon.new.pied.piper:before { content: "\f2ae"; }
939
980
  i.icon.theme.isle:before { content: "\f2b2"; }
940
981
  i.icon.google.plus.official:before { content: "\f2b3"; }
941
982
  i.icon.fa:before { content: "\f2b4"; }
983
+ i.icon.vcard:before { content: "\f2bb"; }
984
+ i.icon.vcard.outline:before { content: "\f2bc"; }
985
+ i.icon.drivers.license:before { content: "\f2c2"; }
986
+ i.icon.drivers.license.outline:before { content: "\f2c3"; }
987
+ i.icon.thermometer:before { content: "\f2c7"; }
988
+ i.icon.s15:before { content: "\f2cd"; }
989
+ i.icon.bath:before { content: "\f2cd"; }
990
+ i.icon.times.rectangle:before { content: "\f2d3"; }
991
+ i.icon.times.rectangle.outline:before { content: "\f2d4"; }
@@ -58,13 +58,13 @@
58
58
  ---------------*/
59
59
 
60
60
  @headerFontWeight : bold;
61
- @headerLineHeight : 1.2857em;
61
+ @headerLineHeight : unit((18 / 14), em);
62
62
 
63
- @h1 : 2rem;
64
- @h2 : 1.714rem;
65
- @h3 : 1.28rem;
66
- @h4 : 1.071rem;
67
- @h5 : 1rem;
63
+ @h1 : unit((28 / 14), rem);
64
+ @h2 : unit((24 / 14), rem);
65
+ @h3 : unit((18 / 14), rem);
66
+ @h4 : unit((15 / 14), rem);
67
+ @h5 : unit((14 / 14), rem);
68
68
 
69
69
  /*--------------
70
70
  Form Input
@@ -81,8 +81,8 @@
81
81
  @inputPlaceholderColor: lighten(@inputColor, 75);
82
82
  @inputPlaceholderFocusColor: lighten(@inputColor, 45);
83
83
 
84
- /* Line Height Default For Inputs in Browser */
85
- @inputLineHeight: 1.2142em;
84
+ /* Line Height Default For Inputs in Browser (Descendors are 17px at 14px base em) */
85
+ @inputLineHeight: unit((17 / 14), em);
86
86
 
87
87
  /*-------------------
88
88
  Focused Input
@@ -96,9 +96,3 @@
96
96
  @minimalEasing: @defaultEasing;
97
97
  @minimalDuration: 0.2s;
98
98
  @minimalTransition: opacity @minimalDuration @minimalEasing;
99
-
100
- /* Sizes */
101
- @small: 0.9em;
102
- @medium: 1em;
103
- @large: 1.1em;
104
- @huge: 1.2em;
@@ -35,6 +35,7 @@
35
35
  @mobileImageMaxHeight: 250px;
36
36
  @mobileContentImageDistance: 1.5em;
37
37
 
38
+
38
39
  /*-------------------
39
40
  Content
40
41
  --------------------*/
@@ -150,5 +151,7 @@
150
151
  @dividedFirstLastMargin: 0em;
151
152
  @dividedFirstLastPadding: 0em;
152
153
 
153
- /* Sizes */
154
- @medium: 1em;
154
+
155
+ /* Unstackable */
156
+ @unstackableMobileImageWidth: 125px;
157
+
@@ -1,7 +1,7 @@
1
1
  module Less
2
2
  module Rails
3
3
  module SemanticUI
4
- VERSION = '2.2.6.0'
4
+ VERSION = '2.2.9.0'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: less-rails-semantic_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.6.0
4
+ version: 2.2.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maxim Dobryakov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-01 00:00:00.000000000 Z
11
+ date: 2017-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: less-rails
@@ -62,16 +62,16 @@ dependencies:
62
62
  name: rack
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - ">="
65
+ - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: 2.0.0
67
+ version: '1'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - ">="
72
+ - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 2.0.0
74
+ version: '1'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minispec
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -2465,7 +2465,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2465
2465
  version: '0'
2466
2466
  requirements: []
2467
2467
  rubyforge_project:
2468
- rubygems_version: 2.4.5.1
2468
+ rubygems_version: 2.4.8
2469
2469
  signing_key:
2470
2470
  specification_version: 4
2471
2471
  summary: Semantic UI assets for Rails