semantic-ui-sass 0.12.1.0 → 0.12.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a3c534d74773621ef3dd07ed54debb9e8187c90
4
- data.tar.gz: 4efc5e9569e00e480cf763423d24149c7dc2ae16
3
+ metadata.gz: c828613d9fe303cd91d7f6b5f47e9da5c00360d1
4
+ data.tar.gz: 2d0306a77772247a6430ee7791878a09971a9f82
5
5
  SHA512:
6
- metadata.gz: 824f2fc59c4e2333b8685b3354f75876df264e3d917b21a1a1ba18713988a056f9bb0800ec0553c065267c350f57ce98680f6fb1ee7b6ba11b94e6674cbea40f
7
- data.tar.gz: a5f0a22def897f4c9a0df8202e27293c77e534af045678ba89dd370c09d1ce71b5b31de19c6b043a91f770d6cedc0ed2baf24cd0105039037bcd26b552202e2c
6
+ metadata.gz: 4892a53b4e33d7181b356e2ab820d6c1f137a8c424034a4711354a96041656222e0c3e465b469459086a8a696e465723332dc876a8f9c19718b725730b5f80fb
7
+ data.tar.gz: 3a2e46ef00db92cc1c0c586afee7341e1078ba5ece5628d4ecccd798a17a7fa164407757f692fb3a256bd60255e5679dcb3183f230c2829dbb71992840eb0398
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.12.2.0
2
+
3
+ * Update Semantic UI to 0.12.2
4
+
1
5
  ## 0.12.1.0
2
6
 
3
7
  * Update Semantic UI to 0.12.1
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ## Installation and Usage
6
6
 
7
7
  ```ruby
8
- gem 'semantic-ui-sass', '~> 0.12.1.0'
8
+ gem 'semantic-ui-sass', '~> 0.12.2.0'
9
9
  ```
10
10
  or
11
11
 
@@ -224,14 +224,18 @@ $.fn.form = function(fields, parameters) {
224
224
  },
225
225
 
226
226
  add: {
227
- prompt: function(field, errors) {
227
+ prompt: function(identifier, errors) {
228
228
  var
229
- $field = module.get.field(field.identifier),
229
+ $field = module.get.field(identifier),
230
230
  $fieldGroup = $field.closest($group),
231
231
  $prompt = $fieldGroup.find(selector.prompt),
232
232
  promptExists = ($prompt.size() !== 0)
233
233
  ;
234
- module.verbose('Adding inline error', field);
234
+ errors = (typeof errors == 'string')
235
+ ? [errors]
236
+ : errors
237
+ ;
238
+ module.verbose('Adding field error state', identifier);
235
239
  $fieldGroup
236
240
  .addClass(className.error)
237
241
  ;
@@ -257,6 +261,9 @@ $.fn.form = function(fields, parameters) {
257
261
  ;
258
262
  }
259
263
  }
264
+ else {
265
+ module.verbose('Inline errors are disabled, no inline error added', identifier);
266
+ }
260
267
  }
261
268
  },
262
269
  errors: function(errors) {
@@ -348,7 +355,7 @@ $.fn.form = function(fields, parameters) {
348
355
  }
349
356
  else {
350
357
  formErrors = formErrors.concat(fieldErrors);
351
- module.add.prompt(field, fieldErrors);
358
+ module.add.prompt(field.identifier, fieldErrors);
352
359
  $.proxy(settings.onInvalid, $field)(fieldErrors);
353
360
  return false;
354
361
  }
@@ -21,7 +21,6 @@
21
21
  padding: 0%;
22
22
  -webkit-box-sizing: border-box;
23
23
  -moz-box-sizing: border-box;
24
- -ms-box-sizing: border-box;
25
24
  box-sizing: border-box;
26
25
  }
27
26
 
@@ -55,7 +54,6 @@ body > .ui.grid {
55
54
  padding-right: 1.5%;
56
55
  -webkit-box-sizing: border-box;
57
56
  -moz-box-sizing: border-box;
58
- -ms-box-sizing: border-box;
59
57
  box-sizing: border-box;
60
58
  vertical-align: top;
61
59
  }
@@ -111,13 +109,13 @@ body > .ui.grid {
111
109
  margin-right: 0%;
112
110
  }
113
111
 
114
- @media only screen and (max-width : 998px) {
112
+ @media only screen and (max-width : 991px) {
115
113
  .ui.page.grid {
116
114
  padding: 0% 4%;
117
115
  }
118
116
  }
119
117
 
120
- @media only screen and (min-width : 998px) {
118
+ @media only screen and (min-width : 992px) {
121
119
  .ui.page.grid {
122
120
  padding: 0% 8%;
123
121
  }
@@ -575,7 +573,7 @@ body > .ui.grid {
575
573
 
576
574
  /* Mobile Only */
577
575
 
578
- @media only screen and (max-width : 768px) {
576
+ @media only screen and (max-width : 767px) {
579
577
  .ui.mobile.only.grid,
580
578
  .ui.grid > .mobile.only.row {
581
579
  display: block !important;
@@ -617,7 +615,7 @@ body > .ui.grid {
617
615
 
618
616
  /* Tablet Only */
619
617
 
620
- @media only screen and (min-width : 768px) and (max-width : 998px) {
618
+ @media only screen and (min-width : 768px) and (max-width : 991px) {
621
619
  .ui.tablet.only.grid,
622
620
  .ui.grid > .tablet.only.row {
623
621
  display: block !important;
@@ -648,7 +646,7 @@ body > .ui.grid {
648
646
  }
649
647
  }
650
648
 
651
- @media only screen and (max-width : 768px), (min-width: 998px) {
649
+ @media only screen and (max-width : 767px), (min-width: 992px) {
652
650
  .ui.tablet.only.grid,
653
651
  .ui.grid > .tablet.only.row,
654
652
  .ui.grid > .tablet.only.column,
@@ -659,7 +657,7 @@ body > .ui.grid {
659
657
 
660
658
  /* Computer Only */
661
659
 
662
- @media only screen and (min-width : 998px) {
660
+ @media only screen and (min-width : 992px) {
663
661
  .ui.computer.only.grid,
664
662
  .ui.grid > .computer.only.row {
665
663
  display: block !important;
@@ -690,7 +688,7 @@ body > .ui.grid {
690
688
  }
691
689
  }
692
690
 
693
- @media only screen and (max-width : 998px) {
691
+ @media only screen and (max-width : 991px) {
694
692
  .ui.computer.only.grid,
695
693
  .ui.grid > .computer.only.row,
696
694
  .ui.grid > .computer.only.column,
@@ -705,7 +703,7 @@ body > .ui.grid {
705
703
 
706
704
  /* Mobily Only */
707
705
 
708
- @media only screen and (max-width : 768px) {
706
+ @media only screen and (max-width : 767px) {
709
707
  .ui.two.column.doubling.grid > .row > .column,
710
708
  .ui.two.column.doubling.grid > .column,
711
709
  .ui.grid > .two.column.doubling.row > .column {
@@ -781,7 +779,7 @@ body > .ui.grid {
781
779
 
782
780
  /* Tablet Only */
783
781
 
784
- @media only screen and (min-width : 768px) and (max-width : 998px) {
782
+ @media only screen and (min-width : 768px) and (max-width : 991px) {
785
783
  .ui.two.column.doubling.grid > .row > .column,
786
784
  .ui.two.column.doubling.grid > .column,
787
785
  .ui.grid > .two.column.doubling.row > .column {
@@ -856,10 +854,10 @@ body > .ui.grid {
856
854
  }
857
855
 
858
856
  /*-------------------
859
- Stackable
857
+ Stackable
860
858
  --------------------*/
861
859
 
862
- @media only screen and (max-width : 768px) {
860
+ @media only screen and (max-width : 767px) {
863
861
  .ui.stackable.grid {
864
862
  display: block !important;
865
863
  padding: 0em;
@@ -514,7 +514,7 @@
514
514
  rgba(0, 0, 0, 0.03) 0%,
515
515
  rgba(0, 0, 0, 0.1) 1.5em,
516
516
  rgba(0, 0, 0, 0.03) 100%);
517
- background-image: linear-gradient(left,
517
+ background-image: linear-gradient(to right,
518
518
  rgba(0, 0, 0, 0.03) 0%,
519
519
  rgba(0, 0, 0, 0.1) 1.5em,
520
520
  rgba(0, 0, 0, 0.03) 100%);
@@ -1301,7 +1301,7 @@
1301
1301
  rgba(255, 255, 255, 0.03) 0%,
1302
1302
  rgba(255, 255, 255, 0.1) 50%,
1303
1303
  rgba(255, 255, 255, 0.03) 100%);
1304
- background-image: linear-gradient(left,
1304
+ background-image: linear-gradient(to right,
1305
1305
  rgba(255, 255, 255, 0.03) 0%,
1306
1306
  rgba(255, 255, 255, 0.1) 50%,
1307
1307
  rgba(255, 255, 255, 0.03) 100%);
@@ -33,7 +33,7 @@
33
33
  font-style: normal;
34
34
  text-align: center;
35
35
  text-decoration: none;
36
- background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.05)));
36
+ background-image: -webkit-gradient(linear, top left, bottom left, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.05)));
37
37
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
38
38
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
39
39
  border-radius: 0.25em;
@@ -82,7 +82,7 @@
82
82
  ---------------*/
83
83
 
84
84
  .ui.button:hover {
85
- background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.08)));
85
+ background-image: -webkit-gradient(linear, top left, bottom left, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.08)));
86
86
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
87
87
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
88
88
  color: rgba(0, 0, 0, 0.7);
@@ -1186,6 +1186,14 @@ i.icon.smile:before {
1186
1186
  content: "\f118";
1187
1187
  }
1188
1188
 
1189
+ i.icon.sort.ascending:before {
1190
+ content: "\f0de";
1191
+ }
1192
+
1193
+ i.icon.sort.descending:before {
1194
+ content: "\f0dd";
1195
+ }
1196
+
1189
1197
  i.icon.sort.alphabet.descending:before {
1190
1198
  content: "\f15e";
1191
1199
  }
@@ -1194,10 +1202,6 @@ i.icon.sort.alphabet:before {
1194
1202
  content: "\f15d";
1195
1203
  }
1196
1204
 
1197
- i.icon.sort.ascending:before {
1198
- content: "\f0de";
1199
- }
1200
-
1201
1205
  i.icon.sort.attributes.descending:before {
1202
1206
  content: "\f161";
1203
1207
  }
@@ -1206,10 +1210,6 @@ i.icon.sort.attributes:before {
1206
1210
  content: "\f160";
1207
1211
  }
1208
1212
 
1209
- i.icon.sort.descending:before {
1210
- content: "\f0dd";
1211
- }
1212
-
1213
1213
  i.icon.sort.order.descending:before {
1214
1214
  content: "\f163";
1215
1215
  }
@@ -404,7 +404,7 @@
404
404
  background-color: #555555;
405
405
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255, 255, 255, 0.3)), to(rgba(255, 255, 255, 0.3)));
406
406
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
407
- background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.3)), to(rgba(255, 255, 255, 0.3)));
407
+ background-image: -webkit-gradient(linear, top left, bottom left, from(rgba(255, 255, 255, 0.3)), to(rgba(255, 255, 255, 0.3)));
408
408
  background-image: linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
409
409
  color: #FAFAFA;
410
410
  }
@@ -413,7 +413,7 @@
413
413
  background-color: #555555;
414
414
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0.6)));
415
415
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.6) 100%);
416
- background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0.6)));
416
+ background-image: -webkit-gradient(linear, top left, bottom left, from(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0.6)));
417
417
  background-image: linear-gradient(rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.6) 100%);
418
418
  color: #EEEEEE;
419
419
  }
@@ -428,7 +428,7 @@
428
428
 
429
429
  .ui.pointing.dropdown .menu .active.item:first-child {
430
430
  background: transparent -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.03));
431
- background: transparent-webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.03)));
431
+ background: transparent-webkit-gradient(linear, top left, bottom left, from(transparent), to(rgba(0, 0, 0, 0.03)));
432
432
  background: transparent linear-gradient(transparent, rgba(0, 0, 0, 0.03));
433
433
  }
434
434
 
@@ -1,8 +1,8 @@
1
1
  module Semantic
2
2
  module Ui
3
3
  module Sass
4
- VERSION = "0.12.1.0"
5
- SEMANTIC_UI_SHA = '1b2ec2512da03a6a63d9a2a70b1c273a793e1143'
4
+ VERSION = "0.12.2.0"
5
+ SEMANTIC_UI_SHA = '92df43c1c3632594f1278d36e88c510b8a5d70f0'
6
6
  end
7
7
  end
8
8
  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: 0.12.1.0
4
+ version: 0.12.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - doabit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-16 00:00:00.000000000 Z
11
+ date: 2014-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler