archetype 0.0.1.pre.3.00dfd9a → 0.0.1.pre.3.6ed259b
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +1 -1
- data/VERSION.yml +1 -1
- data/bin/archetype +3 -0
- data/lib/archetype.rb +4 -0
- data/lib/archetype/actions/help.rb +16 -0
- data/lib/archetype/actions/theme.rb +73 -0
- data/lib/archetype/executor.rb +27 -0
- data/lib/archetype/sass_extensions/functions/lists.rb +26 -32
- data/lib/archetype/sass_extensions/functions/styleguide.rb +1 -1
- data/lib/archetype/sass_extensions/functions/ui.rb +2 -1
- data/lib/archetype/sass_extensions/functions/version.rb +2 -2
- data/lib/archetype/version.rb +2 -2
- data/stylesheets/archetype/_config.scss +10 -6
- data/stylesheets/archetype/_hacks.scss +40 -16
- data/stylesheets/archetype/_ui.scss +10 -4
- data/stylesheets/archetype/styleguide/components/_buttons.scss +1 -0
- data/stylesheets/archetype/util/_styles.scss +14 -3
- data/templates/_theme/_components.scss +3 -0
- data/templates/_theme/_config.scss +1 -0
- data/templates/_theme/_core.scss +13 -0
- data/templates/_theme/_helpers.scss +1 -0
- data/templates/_theme/_primitives.scss +3 -0
- data/templates/_theme/components/README +1 -0
- data/templates/_theme/primitives/README +1 -0
- data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders-s7889ccc8c1.png +0 -0
- data/test/fixtures/stylesheets/archetype/config.rb +2 -0
- data/test/fixtures/stylesheets/archetype/expected/hacks/ie_pseudo.css +3 -3
- data/test/fixtures/stylesheets/archetype/expected/hacks/transparent_focusable.css +4 -0
- data/test/fixtures/stylesheets/archetype/expected/styleguide/buttons.css +28 -0
- data/test/fixtures/stylesheets/archetype/expected/styleguide/extend.css +7 -0
- data/test/fixtures/stylesheets/archetype/expected/styleguide/selective_state.css +3 -0
- data/test/fixtures/stylesheets/archetype/expected/ui/glyph_icon.css +52 -5
- data/test/fixtures/stylesheets/archetype/expected/utilities/custom_output_styler.css +8 -0
- data/test/fixtures/stylesheets/archetype/expected/utilities/targeting/target-browser.css +5 -0
- data/test/fixtures/stylesheets/archetype/source/hacks/transparent_focusable.scss +5 -0
- data/test/fixtures/stylesheets/archetype/source/styleguide/extend.scss +23 -0
- data/test/fixtures/stylesheets/archetype/source/ui/glyph_icon.scss +12 -0
- data/test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss +21 -0
- data/test/fixtures/stylesheets/archetype/source/utilities/targeting/target-browser.scss +8 -1
- data/test/helpers/test_case.rb +2 -2
- data/test/units/sass_extensions_test.rb +18 -25
- metadata +29 -3
@@ -32,8 +32,12 @@
|
|
32
32
|
@mixin output-style($property, $value: nil) {
|
33
33
|
@if($property != nil and nth(-compass-list($value), 1) != nil and not index($CONFIG_DISABLED_CSS, $property)) {
|
34
34
|
// for mixins, we need to do some custom work
|
35
|
+
// check to see if we have a custom output styler (pre)
|
36
|
+
@if has-custom-output-styler($property, $value, pre) == true {
|
37
|
+
@include custom-output-styler($property, $value, $method: pre);
|
38
|
+
}
|
35
39
|
// border-radius
|
36
|
-
@if($property == border-radius)
|
40
|
+
@else if($property == border-radius) { @include border-radius(rtl($value, border-radius)); }
|
37
41
|
// box-sizing
|
38
42
|
@else if($property == box-sizing) { @include box-sizing($value); }
|
39
43
|
// box-shadow
|
@@ -51,7 +55,7 @@
|
|
51
55
|
// background-size
|
52
56
|
@else if($property == background-size) { @include background-size($value); }
|
53
57
|
// background-origin
|
54
|
-
@else if($property == background-origin)
|
58
|
+
@else if($property == background-origin) { @include background-origin($value); }
|
55
59
|
// IE filters
|
56
60
|
@else if($property == ie-filter) { @include ie-filter($value); }
|
57
61
|
// hide-text
|
@@ -70,6 +74,8 @@
|
|
70
74
|
@else if($property == max-height) { @include max-height($value); }
|
71
75
|
// stretch
|
72
76
|
@else if($property == stretch) { @include stretch(); }
|
77
|
+
// appearance
|
78
|
+
@else if($property == appearance) { @include appearance($value); }
|
73
79
|
// bunch of RTL support
|
74
80
|
@else if($property == margin) { @include margin($value); }
|
75
81
|
@else if($property == margin-left) { @include margin-left($value); }
|
@@ -93,6 +99,7 @@
|
|
93
99
|
@else if($property == left) { @include left($value); }
|
94
100
|
@else if($property == right) { @include right($value); }
|
95
101
|
@else if($property == glyph-icon) { @include glyph-icon(nth($value, 1), nth($value, 2), nth($value, 3), nth($value, 4), nth($value, 5)); }
|
102
|
+
@else if($property == extend) { @extend #{$value}; }
|
96
103
|
// animations
|
97
104
|
@else if($property == animation) {
|
98
105
|
@if archetype-version('compass >= 0.13') {
|
@@ -154,6 +161,10 @@
|
|
154
161
|
@include ie-pseudo-after(nth($value, 1), $content, $tag);
|
155
162
|
}
|
156
163
|
}
|
164
|
+
// check to see if we have a custom output styler (post)
|
165
|
+
@else if has-custom-output-styler($property, $value, post) == true {
|
166
|
+
@include custom-output-styler($property, $value, $method: post);
|
167
|
+
}
|
157
168
|
// otherwise just use a key-value pair
|
158
169
|
@else { #{$property}: $value; }
|
159
170
|
}
|
@@ -463,4 +474,4 @@
|
|
463
474
|
$tag: '-#{$tag}';
|
464
475
|
}
|
465
476
|
@return '#{$prefix}#{$tag}';
|
466
|
-
}
|
477
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
$CONFIG_THEME: "__THEME_NAME__" !default;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
// setup theme configs and styles
|
2
|
+
@import "config";
|
3
|
+
@import "primitives";
|
4
|
+
|
5
|
+
// extend the __THEME_EXTENDS__ theme
|
6
|
+
@import "__THEME_EXTENDS__";
|
7
|
+
//@import "../__THEME_EXTENDS__/core";
|
8
|
+
|
9
|
+
// import helper functions
|
10
|
+
@import "helpers";
|
11
|
+
|
12
|
+
// finally initialize our custom components
|
13
|
+
@import "components";
|
@@ -0,0 +1 @@
|
|
1
|
+
// helper methods go here
|
@@ -0,0 +1 @@
|
|
1
|
+
// place your component partials in this directory
|
@@ -0,0 +1 @@
|
|
1
|
+
// place your primitive partials in this directory
|
Binary file
|
@@ -1,11 +1,11 @@
|
|
1
1
|
.before {
|
2
|
-
*zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype"),this.el.style.cssText="color: red; background: green;",this.insertBefore(this.el));
|
2
|
+
*zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype"),this.el.id="ie-pseudo-archetype-uid-RANDOM_UID",this.el.style.cssText="color: red; background: green;",this.insertBefore(this.el));
|
3
3
|
}
|
4
4
|
|
5
5
|
.after-content {
|
6
|
-
*zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype"),this.el.innerHTML="➽",this.appendChild(this.el));
|
6
|
+
*zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype"),this.el.id="ie-pseudo-archetype-uid-RANDOM_UID",this.el.innerHTML="➽",this.appendChild(this.el));
|
7
7
|
}
|
8
8
|
|
9
9
|
.before-style-content {
|
10
|
-
*zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype"),this.el.innerHTML="testing ➽if this works",this.el.style.cssText="color: red; background: green;",this.insertBefore(this.el));
|
10
|
+
*zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype"),this.el.id="ie-pseudo-archetype-uid-RANDOM_UID",this.el.innerHTML="testing ➽if this works",this.el.style.cssText="color: red; background: green;",this.insertBefore(this.el));
|
11
11
|
}
|
@@ -6,6 +6,7 @@
|
|
6
6
|
margin: 0;
|
7
7
|
overflow: visible;
|
8
8
|
text-decoration: none !important;
|
9
|
+
text-align: center;
|
9
10
|
width: auto;
|
10
11
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
11
12
|
-webkit-border-radius: 3px;
|
@@ -81,6 +82,7 @@
|
|
81
82
|
margin: 0;
|
82
83
|
overflow: visible;
|
83
84
|
text-decoration: none !important;
|
85
|
+
text-align: center;
|
84
86
|
width: auto;
|
85
87
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
86
88
|
-webkit-border-radius: 3px;
|
@@ -156,6 +158,7 @@
|
|
156
158
|
margin: 0;
|
157
159
|
overflow: visible;
|
158
160
|
text-decoration: none !important;
|
161
|
+
text-align: center;
|
159
162
|
width: auto;
|
160
163
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
161
164
|
-webkit-border-radius: 3px;
|
@@ -231,6 +234,7 @@
|
|
231
234
|
margin: 0;
|
232
235
|
overflow: visible;
|
233
236
|
text-decoration: none !important;
|
237
|
+
text-align: center;
|
234
238
|
width: auto;
|
235
239
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
236
240
|
-webkit-border-radius: 3px;
|
@@ -306,6 +310,7 @@
|
|
306
310
|
margin: 0;
|
307
311
|
overflow: visible;
|
308
312
|
text-decoration: none !important;
|
313
|
+
text-align: center;
|
309
314
|
width: auto;
|
310
315
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
311
316
|
-webkit-border-radius: 3px;
|
@@ -381,6 +386,7 @@
|
|
381
386
|
margin: 0;
|
382
387
|
overflow: visible;
|
383
388
|
text-decoration: none !important;
|
389
|
+
text-align: center;
|
384
390
|
width: auto;
|
385
391
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
386
392
|
-webkit-border-radius: 3px;
|
@@ -456,6 +462,7 @@
|
|
456
462
|
margin: 0;
|
457
463
|
overflow: visible;
|
458
464
|
text-decoration: none !important;
|
465
|
+
text-align: center;
|
459
466
|
width: auto;
|
460
467
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
461
468
|
-webkit-border-radius: 3px;
|
@@ -531,6 +538,7 @@
|
|
531
538
|
margin: 0;
|
532
539
|
overflow: visible;
|
533
540
|
text-decoration: none !important;
|
541
|
+
text-align: center;
|
534
542
|
width: auto;
|
535
543
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
536
544
|
-webkit-border-radius: 3px;
|
@@ -606,6 +614,7 @@
|
|
606
614
|
margin: 0;
|
607
615
|
overflow: visible;
|
608
616
|
text-decoration: none !important;
|
617
|
+
text-align: center;
|
609
618
|
width: auto;
|
610
619
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
611
620
|
-webkit-border-radius: 3px;
|
@@ -682,6 +691,7 @@
|
|
682
691
|
margin: 0;
|
683
692
|
overflow: visible;
|
684
693
|
text-decoration: none !important;
|
694
|
+
text-align: center;
|
685
695
|
width: auto;
|
686
696
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
687
697
|
-webkit-border-radius: 3px;
|
@@ -757,6 +767,7 @@
|
|
757
767
|
margin: 0;
|
758
768
|
overflow: visible;
|
759
769
|
text-decoration: none !important;
|
770
|
+
text-align: center;
|
760
771
|
width: auto;
|
761
772
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
762
773
|
-webkit-border-radius: 3px;
|
@@ -832,6 +843,7 @@
|
|
832
843
|
margin: 0;
|
833
844
|
overflow: visible;
|
834
845
|
text-decoration: none !important;
|
846
|
+
text-align: center;
|
835
847
|
width: auto;
|
836
848
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
837
849
|
-webkit-border-radius: 3px;
|
@@ -907,6 +919,7 @@
|
|
907
919
|
margin: 0;
|
908
920
|
overflow: visible;
|
909
921
|
text-decoration: none !important;
|
922
|
+
text-align: center;
|
910
923
|
width: auto;
|
911
924
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
912
925
|
-webkit-border-radius: 3px;
|
@@ -982,6 +995,7 @@
|
|
982
995
|
margin: 0;
|
983
996
|
overflow: visible;
|
984
997
|
text-decoration: none !important;
|
998
|
+
text-align: center;
|
985
999
|
width: auto;
|
986
1000
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
987
1001
|
-webkit-border-radius: 3px;
|
@@ -1057,6 +1071,7 @@
|
|
1057
1071
|
margin: 0;
|
1058
1072
|
overflow: visible;
|
1059
1073
|
text-decoration: none !important;
|
1074
|
+
text-align: center;
|
1060
1075
|
width: auto;
|
1061
1076
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
1062
1077
|
-webkit-border-radius: 3px;
|
@@ -1132,6 +1147,7 @@
|
|
1132
1147
|
margin: 0;
|
1133
1148
|
overflow: visible;
|
1134
1149
|
text-decoration: none !important;
|
1150
|
+
text-align: center;
|
1135
1151
|
width: auto;
|
1136
1152
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
1137
1153
|
-webkit-border-radius: 3px;
|
@@ -1207,6 +1223,7 @@
|
|
1207
1223
|
margin: 0;
|
1208
1224
|
overflow: visible;
|
1209
1225
|
text-decoration: none !important;
|
1226
|
+
text-align: center;
|
1210
1227
|
width: auto;
|
1211
1228
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
1212
1229
|
-webkit-border-radius: 3px;
|
@@ -1282,6 +1299,7 @@
|
|
1282
1299
|
margin: 0;
|
1283
1300
|
overflow: visible;
|
1284
1301
|
text-decoration: none !important;
|
1302
|
+
text-align: center;
|
1285
1303
|
width: auto;
|
1286
1304
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
1287
1305
|
-webkit-border-radius: 3px;
|
@@ -1358,6 +1376,7 @@
|
|
1358
1376
|
margin: 0;
|
1359
1377
|
overflow: visible;
|
1360
1378
|
text-decoration: none !important;
|
1379
|
+
text-align: center;
|
1361
1380
|
width: auto;
|
1362
1381
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
1363
1382
|
-webkit-border-radius: 3px;
|
@@ -1433,6 +1452,7 @@
|
|
1433
1452
|
margin: 0;
|
1434
1453
|
overflow: visible;
|
1435
1454
|
text-decoration: none !important;
|
1455
|
+
text-align: center;
|
1436
1456
|
width: auto;
|
1437
1457
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
1438
1458
|
-webkit-border-radius: 3px;
|
@@ -1508,6 +1528,7 @@
|
|
1508
1528
|
margin: 0;
|
1509
1529
|
overflow: visible;
|
1510
1530
|
text-decoration: none !important;
|
1531
|
+
text-align: center;
|
1511
1532
|
width: auto;
|
1512
1533
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
1513
1534
|
-webkit-border-radius: 3px;
|
@@ -1583,6 +1604,7 @@
|
|
1583
1604
|
margin: 0;
|
1584
1605
|
overflow: visible;
|
1585
1606
|
text-decoration: none !important;
|
1607
|
+
text-align: center;
|
1586
1608
|
width: auto;
|
1587
1609
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
1588
1610
|
-webkit-border-radius: 3px;
|
@@ -1658,6 +1680,7 @@
|
|
1658
1680
|
margin: 0;
|
1659
1681
|
overflow: visible;
|
1660
1682
|
text-decoration: none !important;
|
1683
|
+
text-align: center;
|
1661
1684
|
width: auto;
|
1662
1685
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
1663
1686
|
-webkit-border-radius: 3px;
|
@@ -1733,6 +1756,7 @@
|
|
1733
1756
|
margin: 0;
|
1734
1757
|
overflow: visible;
|
1735
1758
|
text-decoration: none !important;
|
1759
|
+
text-align: center;
|
1736
1760
|
width: auto;
|
1737
1761
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
1738
1762
|
-webkit-border-radius: 3px;
|
@@ -1808,6 +1832,7 @@
|
|
1808
1832
|
margin: 0;
|
1809
1833
|
overflow: visible;
|
1810
1834
|
text-decoration: none !important;
|
1835
|
+
text-align: center;
|
1811
1836
|
width: auto;
|
1812
1837
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
1813
1838
|
-webkit-border-radius: 3px;
|
@@ -1883,6 +1908,7 @@
|
|
1883
1908
|
margin: 0;
|
1884
1909
|
overflow: visible;
|
1885
1910
|
text-decoration: none !important;
|
1911
|
+
text-align: center;
|
1886
1912
|
width: auto;
|
1887
1913
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
1888
1914
|
-webkit-border-radius: 3px;
|
@@ -1958,6 +1984,7 @@
|
|
1958
1984
|
margin: 0;
|
1959
1985
|
overflow: visible;
|
1960
1986
|
text-decoration: none !important;
|
1987
|
+
text-align: center;
|
1961
1988
|
width: auto;
|
1962
1989
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
1963
1990
|
-webkit-border-radius: 3px;
|
@@ -2033,6 +2060,7 @@
|
|
2033
2060
|
margin: 0;
|
2034
2061
|
overflow: visible;
|
2035
2062
|
text-decoration: none !important;
|
2063
|
+
text-align: center;
|
2036
2064
|
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
2037
2065
|
-webkit-box-sizing: border-box;
|
2038
2066
|
-moz-box-sizing: border-box;
|
@@ -6,6 +6,7 @@
|
|
6
6
|
margin: 0;
|
7
7
|
overflow: visible;
|
8
8
|
text-decoration: none !important;
|
9
|
+
text-align: center;
|
9
10
|
width: auto;
|
10
11
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
11
12
|
-webkit-border-radius: 3px;
|
@@ -52,6 +53,7 @@
|
|
52
53
|
margin: 0;
|
53
54
|
overflow: visible;
|
54
55
|
text-decoration: none !important;
|
56
|
+
text-align: center;
|
55
57
|
width: auto;
|
56
58
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
57
59
|
-webkit-border-radius: 3px;
|
@@ -96,6 +98,7 @@
|
|
96
98
|
margin: 0;
|
97
99
|
overflow: visible;
|
98
100
|
text-decoration: none !important;
|
101
|
+
text-align: center;
|
99
102
|
width: auto;
|
100
103
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
101
104
|
-webkit-border-radius: 3px;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
.simple {
|
2
|
-
*zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype-glyph"),this.el.innerHTML="",this.el.style.cssText="font-family:'FontAwesome';font-weight:normal;font-style:normal;text-decoration:inherit;font-size:100%;color:inherit;",this.insertBefore(this.el));
|
2
|
+
*zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype-glyph"),this.el.id="ie-pseudo-archetype-uid-RANDOM_UID",this.el.innerHTML="",this.el.style.cssText="font-family:'FontAwesome';font-weight:normal;font-style:normal;text-decoration:inherit;font-size:100%;color:inherit;",this.insertBefore(this.el));
|
3
3
|
}
|
4
4
|
.simple:before {
|
5
|
-
font-family: FontAwesome;
|
5
|
+
font-family: "FontAwesome";
|
6
6
|
font-weight: normal;
|
7
7
|
font-style: normal;
|
8
8
|
text-decoration: inherit;
|
@@ -13,7 +13,7 @@
|
|
13
13
|
}
|
14
14
|
|
15
15
|
.false {
|
16
|
-
font-family: FontAwesome;
|
16
|
+
font-family: "FontAwesome";
|
17
17
|
font-weight: normal;
|
18
18
|
font-style: normal;
|
19
19
|
text-decoration: inherit;
|
@@ -23,10 +23,10 @@
|
|
23
23
|
}
|
24
24
|
|
25
25
|
.size {
|
26
|
-
*zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype-glyph"),this.el.innerHTML="",this.el.style.cssText="font-family:'FontAwesome';font-weight:normal;font-style:normal;text-decoration:inherit;font-size:20px;color:inherit;",this.insertBefore(this.el));
|
26
|
+
*zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype-glyph"),this.el.id="ie-pseudo-archetype-uid-RANDOM_UID",this.el.innerHTML="",this.el.style.cssText="font-family:'FontAwesome';font-weight:normal;font-style:normal;text-decoration:inherit;font-size:20px;color:inherit;",this.insertBefore(this.el));
|
27
27
|
}
|
28
28
|
.size:before {
|
29
|
-
font-family: FontAwesome;
|
29
|
+
font-family: "FontAwesome";
|
30
30
|
font-weight: normal;
|
31
31
|
font-style: normal;
|
32
32
|
text-decoration: inherit;
|
@@ -35,3 +35,50 @@
|
|
35
35
|
color: inherit;
|
36
36
|
content: "\f0d7";
|
37
37
|
}
|
38
|
+
|
39
|
+
.not-inline {
|
40
|
+
*zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype-glyph"),this.el.id="ie-pseudo-archetype-uid-RANDOM_UID",this.el.innerHTML="",this.insertBefore(this.el));
|
41
|
+
}
|
42
|
+
.not-inline:before {
|
43
|
+
font-family: "FontAwesome";
|
44
|
+
font-weight: normal;
|
45
|
+
font-style: normal;
|
46
|
+
text-decoration: inherit;
|
47
|
+
speak: none;
|
48
|
+
font-size: 100%;
|
49
|
+
color: inherit;
|
50
|
+
content: "\f0d7";
|
51
|
+
}
|
52
|
+
.not-inline #ie-pseudo-archetype-uid-RANDOM_UID {
|
53
|
+
"font-family: 'FontAwesome';
|
54
|
+
font-weight: normal;
|
55
|
+
font-style: normal;
|
56
|
+
text-decoration: inherit;
|
57
|
+
font-size: 100%;
|
58
|
+
color: inherit;
|
59
|
+
}
|
60
|
+
|
61
|
+
.ie-uid {
|
62
|
+
*zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype-glyph"),this.el.id="my-custom-id",this.el.innerHTML="",this.insertBefore(this.el));
|
63
|
+
}
|
64
|
+
.ie-uid:before {
|
65
|
+
font-family: "FontAwesome";
|
66
|
+
font-weight: normal;
|
67
|
+
font-style: normal;
|
68
|
+
text-decoration: inherit;
|
69
|
+
speak: none;
|
70
|
+
font-size: 100%;
|
71
|
+
color: inherit;
|
72
|
+
content: "\f0d7";
|
73
|
+
}
|
74
|
+
.ie-uid #my-custom-id {
|
75
|
+
"font-family: 'FontAwesome';
|
76
|
+
font-weight: normal;
|
77
|
+
font-style: normal;
|
78
|
+
text-decoration: inherit;
|
79
|
+
font-size: 100%;
|
80
|
+
color: inherit;
|
81
|
+
}
|
82
|
+
.ie-uid:before, .ie-uid #my-custom-id {
|
83
|
+
color: pink;
|
84
|
+
}
|