office-ui-fabric-rails 2.5.0.0 → 2.6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/bower.json +2 -2
- data/lib/office-ui-fabric-rails/version.rb +2 -2
- data/vendor/assets/css/fabric.components.css +1 -1
- data/vendor/assets/css/fabric.components.min.css +1 -1
- data/vendor/assets/css/fabric.components.rtl.css +1 -1
- data/vendor/assets/css/fabric.components.rtl.min.css +1 -1
- data/vendor/assets/css/fabric.css +55 -19
- data/vendor/assets/css/fabric.min.css +2 -2
- data/vendor/assets/css/fabric.rtl.css +55 -19
- data/vendor/assets/css/fabric.rtl.min.css +2 -2
- data/vendor/assets/js/jquery.fabric.js +118 -118
- data/vendor/assets/js/jquery.fabric.min.js +2 -2
- data/vendor/assets/scss/Fabric.Color.Mixins.Output.scss +45 -60
- data/vendor/assets/scss/Fabric.Typography.Output.scss +61 -51
- data/vendor/assets/scss/Fabric.Utilities.Output.scss +23 -0
- data/vendor/assets/scss/_Fabric.Color.Mixins.scss +8 -4
- data/vendor/assets/scss/_Fabric.Color.Variables.scss +7 -3
- data/vendor/assets/scss/_Fabric.Typography.scss +11 -3
- data/vendor/assets/scss/_Fabric.Utilities.scss +41 -0
- metadata +2 -2
@@ -218,7 +218,7 @@
|
|
218
218
|
color: $ms-color-neutralSecondary;
|
219
219
|
}
|
220
220
|
|
221
|
-
@mixin ms-fontColor-neutralSecondaryAlt {
|
221
|
+
@mixin ms-fontColor-neutralSecondaryAlt {
|
222
222
|
color: $ms-color-neutralSecondaryAlt;
|
223
223
|
}
|
224
224
|
|
@@ -226,7 +226,7 @@
|
|
226
226
|
color: $ms-color-neutralTertiary;
|
227
227
|
}
|
228
228
|
|
229
|
-
@mixin ms-fontColor-neutralTertiaryAlt {
|
229
|
+
@mixin ms-fontColor-neutralTertiaryAlt {
|
230
230
|
color: $ms-color-neutralTertiaryAlt;
|
231
231
|
}
|
232
232
|
|
@@ -348,10 +348,18 @@
|
|
348
348
|
color: $ms-color-success;
|
349
349
|
}
|
350
350
|
|
351
|
-
@mixin ms-fontColor-alert {
|
351
|
+
@mixin ms-fontColor-alert { // Deprecated: Use ms-fontColor-severeWarning
|
352
352
|
color: $ms-color-alert;
|
353
353
|
}
|
354
354
|
|
355
|
+
@mixin ms-fontColor-warning {
|
356
|
+
color: $ms-color-warning;
|
357
|
+
}
|
358
|
+
|
359
|
+
@mixin ms-fontColor-severeWarning {
|
360
|
+
color: $ms-color-severeWarning;
|
361
|
+
}
|
362
|
+
|
355
363
|
@mixin ms-fontColor-error {
|
356
364
|
color: $ms-color-error;
|
357
365
|
}
|
@@ -12,6 +12,11 @@
|
|
12
12
|
box-sizing: border-box;
|
13
13
|
}
|
14
14
|
|
15
|
+
// For setting the border base width
|
16
|
+
@mixin ms-u-borderBase {
|
17
|
+
border: 1px solid;
|
18
|
+
}
|
19
|
+
|
15
20
|
// Ensures the block expands to the full height to enclose its floated childen.
|
16
21
|
|
17
22
|
@mixin ms-u-clearfix {
|
@@ -34,3 +39,39 @@
|
|
34
39
|
@include resetPadding;
|
35
40
|
@include resetBoxShadow;
|
36
41
|
}
|
42
|
+
|
43
|
+
// To set various text alignment styles
|
44
|
+
// @param [variable list] $alignments
|
45
|
+
@mixin ms-u-textAlign($alignments...) {
|
46
|
+
@each $align in $alignments {
|
47
|
+
$alignStr: inspect($align);
|
48
|
+
.ms-u-textAlign#{to-upper-case(str-slice($alignStr, 1, 1)) + str-slice($alignStr, 2)} {
|
49
|
+
text-align: $align;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
// To hide content while still making it readable by screen readers (Accessibility)
|
55
|
+
@mixin ms-u-screenReaderOnly {
|
56
|
+
position: absolute;
|
57
|
+
width: 1px;
|
58
|
+
height: 1px;
|
59
|
+
padding: 0;
|
60
|
+
margin: -1px;
|
61
|
+
overflow: hidden;
|
62
|
+
clip: rect(0,0,0,0);
|
63
|
+
border: 0;
|
64
|
+
}
|
65
|
+
|
66
|
+
// To add truncation with ellipsis
|
67
|
+
@mixin ms-u-textTruncate {
|
68
|
+
overflow: hidden;
|
69
|
+
text-overflow: ellipsis;
|
70
|
+
white-space: nowrap;
|
71
|
+
word-wrap: normal; // Fix for IE 8/9 in case 'word-wrap: break-word' is set on parent nodes
|
72
|
+
}
|
73
|
+
|
74
|
+
// To disable text wrapping
|
75
|
+
@mixin ms-u-noWrap {
|
76
|
+
white-space: nowrap;
|
77
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: office-ui-fabric-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.6.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Craig Plummer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|