archetype 0.0.1.pre.3.f9dde24 → 0.0.1.pre.3.90263a7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/bin/archetype +3 -0
  3. data/lib/archetype/actions/help.rb +16 -0
  4. data/lib/archetype/actions/theme.rb +73 -0
  5. data/lib/archetype/executor.rb +27 -0
  6. data/lib/archetype/functions/helpers.rb +49 -9
  7. data/lib/archetype/functions/styleguide_memoizer.rb +9 -1
  8. data/lib/archetype/sass_extensions.rb +1 -0
  9. data/lib/archetype/sass_extensions/functions/styleguide.rb +104 -27
  10. data/lib/archetype/sass_extensions/monkey_patches.rb +3 -0
  11. data/lib/archetype/sass_extensions/monkey_patches/handle_include_loop.rb +41 -0
  12. data/stylesheets/archetype/_base.scss +3 -0
  13. data/stylesheets/archetype/_config.scss +5 -1
  14. data/stylesheets/archetype/_hacks.scss +24 -4
  15. data/stylesheets/archetype/_ui.scss +23 -2
  16. data/stylesheets/archetype/base/_h5bp.scss +12 -12
  17. data/stylesheets/archetype/base/_normalize.scss +178 -139
  18. data/stylesheets/archetype/styleguide/_helpers.scss +1 -4
  19. data/stylesheets/archetype/styleguide/components/_alerts.scss +1 -1
  20. data/stylesheets/archetype/styleguide/components/_buttons.scss +6 -6
  21. data/stylesheets/archetype/styleguide/components/_closes.scss +2 -2
  22. data/stylesheets/archetype/util/_styles.scss +18 -3
  23. data/stylesheets/archetype/util/_targeting.scss +2 -0
  24. data/templates/_theme/_components.scss +3 -0
  25. data/templates/_theme/_config.scss +1 -0
  26. data/templates/_theme/_core.scss +13 -0
  27. data/templates/_theme/_helpers.scss +1 -0
  28. data/templates/_theme/_primitives.scss +3 -0
  29. data/templates/_theme/components/README +1 -0
  30. data/templates/_theme/primitives/README +1 -0
  31. data/test/fixtures/stylesheets/archetype/expected/styleguide/alerts.css +675 -0
  32. data/test/fixtures/stylesheets/archetype/expected/styleguide/buttons.css +18 -18
  33. data/test/fixtures/stylesheets/archetype/expected/styleguide/drop.css +63 -0
  34. data/test/fixtures/stylesheets/archetype/expected/styleguide/invalid_structures.css +21 -0
  35. data/test/fixtures/stylesheets/archetype/expected/styleguide/multi_value.css +13 -0
  36. data/test/fixtures/stylesheets/archetype/expected/ui/glyph_icon.css +52 -9
  37. data/test/fixtures/stylesheets/archetype/expected/utilities/targeting/target-browser.css +5 -0
  38. data/test/fixtures/stylesheets/archetype/source/styleguide/alerts.scss +21 -0
  39. data/test/fixtures/stylesheets/archetype/source/styleguide/buttons.scss +1 -1
  40. data/test/fixtures/stylesheets/archetype/source/styleguide/drop.scss +101 -0
  41. data/test/fixtures/stylesheets/archetype/source/styleguide/fallback_styles.scss +1 -1
  42. data/test/fixtures/stylesheets/archetype/source/styleguide/invalid_structures.scss +85 -0
  43. data/test/fixtures/stylesheets/archetype/source/styleguide/multi_value.scss +18 -0
  44. data/test/fixtures/stylesheets/archetype/source/styleguide/nested_styleguides.scss +1 -1
  45. data/test/fixtures/stylesheets/archetype/source/styleguide/selective_state.scss +1 -1
  46. data/test/fixtures/stylesheets/archetype/source/ui/glyph_icon.scss +10 -0
  47. data/test/fixtures/stylesheets/archetype/source/utilities/targeting/target-browser.scss +8 -1
  48. metadata +33 -5
  49. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders-s7889ccc8c1.png +0 -0
@@ -77,10 +77,7 @@
77
77
  // @param $type {List} the glpyh data
78
78
  // @return {List} the parameters needed for glyph-icon()
79
79
  @function _styleguideGetAlertGlyph($type: $CONFIG_GLYPH_ALERT_NOTIFY) {
80
- $offset: _styleguideGetAlertGlyphOffset($type);
81
- $top: nth($offset, 1);
82
- $left: nth($offset, 2);
83
- @return (nth($type, 1), nth($type, 2), nth($type, 3), before, 'position:absolute;line-height:1;top:#{$top};left:#{$left};')
80
+ @return (nth($type, 1), nth($type, 2), nth($type, 3), before, '')
84
81
  }
85
82
 
86
83
 
@@ -23,7 +23,7 @@ $a-blackhole: styleguide-add-component($STYLEGUIDE_ALERTS_ID, $STYLEGUIDE_ALERTS
23
23
  padding $CONFIG_DIM_ALERTS_SPACING,
24
24
  glyph-icon _styleguideGetAlertGlyph($CONFIG_GLYPH_ALERT_NOTIFY),
25
25
  (selectors, (
26
- ('&:before', (
26
+ ($CORE_GLYPH_SELECTOR_VAR, (
27
27
  position absolute,
28
28
  top nth(_styleguideGetAlertGlyphOffset($CONFIG_GLYPH_ALERT_NOTIFY), 1),
29
29
  left nth(_styleguideGetAlertGlyphOffset($CONFIG_GLYPH_ALERT_NOTIFY), 2),
@@ -112,6 +112,7 @@ $a-blackhole: styleguide-add-component($STYLEGUIDE_BUTTONS_ID, $STYLEGUIDE_BUTT
112
112
  )),
113
113
  // IMPORTANCE in CONTEXTS
114
114
  ((primary in-dark), (
115
+ inherit (in-dark),
115
116
  (states, (
116
117
  (hover, (
117
118
  background-color $CONFIG_COLOR_BG_BUTTON_PRIMARY_DARK_HOVER,
@@ -119,10 +120,10 @@ $a-blackhole: styleguide-add-component($STYLEGUIDE_BUTTONS_ID, $STYLEGUIDE_BUTT
119
120
  background-image $CONFIG_GRADIENT_BUTTON_PRIMARY_DARK_HOVER
120
121
  )),
121
122
  nil
122
- )),
123
- nil
123
+ ))
124
124
  )),
125
125
  ((secondary in-dark), (
126
+ inherit (in-dark),
126
127
  (states, (
127
128
  (hover, (
128
129
  background-color $CONFIG_COLOR_BG_BUTTON_SECONDARY_DARK_HOVER,
@@ -130,10 +131,10 @@ $a-blackhole: styleguide-add-component($STYLEGUIDE_BUTTONS_ID, $STYLEGUIDE_BUTT
130
131
  background-image $CONFIG_GRADIENT_BUTTON_SECONDARY_DARK_HOVER
131
132
  )),
132
133
  nil
133
- )),
134
- nil
134
+ ))
135
135
  )),
136
136
  ((spotlight in-dark), (
137
+ inherit (in-dark),
137
138
  (states, (
138
139
  (hover, (
139
140
  background-color $CONFIG_COLOR_BG_BUTTON_SPOTLIGHT_DARK_HOVER,
@@ -141,8 +142,7 @@ $a-blackhole: styleguide-add-component($STYLEGUIDE_BUTTONS_ID, $STYLEGUIDE_BUTT
141
142
  background-image $CONFIG_GRADIENT_BUTTON_SPOTLIGHT_DARK_HOVER
142
143
  )),
143
144
  nil
144
- )),
145
- nil
145
+ ))
146
146
  )),
147
147
  // in the punchcut context (inherit from in-dark)
148
148
  (primary in-punchcut, (
@@ -21,9 +21,9 @@ $a-blackhole: styleguide-add-component($STYLEGUIDE_CLOSES_ID, $STYLEGUIDE_CLOSE
21
21
  width nth($CONFIG_GLYPH_CLOSE, 4),
22
22
  height nth($CONFIG_GLYPH_CLOSE, 4),
23
23
  text-indent (nth($CONFIG_GLYPH_CLOSE, 4) + 1px),
24
- glyph-icon (nth($CONFIG_GLYPH_CLOSE, 1), nth($CONFIG_GLYPH_CLOSE, 2), nth($CONFIG_GLYPH_CLOSE, 3), before, 'text-decoration:none;vertical-align:top;line-height:1;position:absolute;top:0;right:0;'),
24
+ glyph-icon (nth($CONFIG_GLYPH_CLOSE, 1), nth($CONFIG_GLYPH_CLOSE, 2), nth($CONFIG_GLYPH_CLOSE, 3), before, 'text-decoration:none;'),
25
25
  (selectors, (
26
- ('&:before', (
26
+ ($CORE_GLYPH_SELECTOR_VAR, (
27
27
  vertical-align top,
28
28
  line-height 1,
29
29
  position absolute,
@@ -76,6 +76,10 @@
76
76
  @else if($property == stretch) { @include stretch(); }
77
77
  // appearance
78
78
  @else if($property == appearance) { @include appearance($value); }
79
+ // unhide-element
80
+ @else if($property == unhide-element) { @include unhide-element(); }
81
+ // ellipsis
82
+ @else if($property == ellipsis) { @include ellipsis(); }
79
83
  // bunch of RTL support
80
84
  @else if($property == margin) { @include margin($value); }
81
85
  @else if($property == margin-left) { @include margin-left($value); }
@@ -203,7 +207,7 @@
203
207
  $state: first-value-of($state);
204
208
  @if(index(-compass-list($states), $state) or $states == true) {
205
209
  #{_getStateSelector($state)} {
206
- @include _toStyles2($value, true, true, $exclude);
210
+ @include to-styles($value, true, true, $exclude);
207
211
  }
208
212
  }
209
213
  }
@@ -212,8 +216,8 @@
212
216
  @if length($selectors-data) > 0 {
213
217
  @each $selector in $selectors-data {
214
218
  @if(index(-compass-list($selectors), $selector) or $selectors == true) {
215
- #{first-value-of($selector)} {
216
- @include _toStyles2(nth($selector, 2), true, true, $exclude);
219
+ #{_getSelectorSelector($selector)} {
220
+ @include to-styles(nth($selector, 2), true, true, $exclude);
217
221
  }
218
222
  }
219
223
  }
@@ -292,6 +296,17 @@
292
296
  @return $selector;
293
297
  }
294
298
 
299
+ @function _getSelectorSelector($selector) {
300
+ $selector: first-value-of(-compass-list($selector));
301
+ @if $selector == $CORE_GLYPH_SELECTOR_VAR {
302
+ $selector: $archetype-glyph-selector;
303
+ }
304
+ @elseif $selector == $CORE_GLYPH_SELECTOR_VAR {
305
+ $selector: $archetype-pseudo-selector;
306
+ }
307
+ @return $selector;
308
+ }
309
+
295
310
  // mixin for outputting filters in legacy IE
296
311
  // @mixin ie-filter
297
312
  // @param $value {String|List} a set of filters to output, sans `progid:DXImageTransform.Microsoft` prefix
@@ -86,6 +86,7 @@
86
86
  // @param $value {*} the CSS value
87
87
  // @param $merge {Bool} should the class name be merged e.g. `.ie8.example` vs `.ie8 .example`
88
88
  // @param $inline {Bool} if set to false, don't use inline hacks even if available
89
+ // @content
89
90
  // @usage:
90
91
  // =target-browser(ie 8, border, 10px);
91
92
  // =target-browser(ie lte 7, padding, 0);
@@ -178,6 +179,7 @@
178
179
  // @param $property {String} the CSS property
179
180
  // @param $value {*} the CSS value
180
181
  // @param $merge {Bool} should the class name be merged e.g. `.os-win.example` vs `.os-win .example`
182
+ // @content
181
183
  @mixin target-os($os: (), $property: nil, $value: nil, $merge: false) {
182
184
  $os: -compass-list($os);
183
185
  $using: if($merge, '&', ' &');
@@ -0,0 +1,3 @@
1
+ // import your components here!
2
+ // e.g.
3
+ // @import "components/my_component";
@@ -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,3 @@
1
+ // import your primitives here!
2
+ // e.g.
3
+ // @import "primitives/my_primitive";
@@ -0,0 +1 @@
1
+ // place your component partials in this directory
@@ -0,0 +1 @@
1
+ // place your primitive partials in this directory
@@ -0,0 +1,675 @@
1
+ .alert.error {
2
+ background-color: #da4f49;
3
+ background-repeat: no-repeat;
4
+ background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ee5f5b), color-stop(100%, #bd362f));
5
+ background: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
6
+ background: -moz-linear-gradient(top, #ee5f5b, #bd362f);
7
+ background: -o-linear-gradient(top, #ee5f5b, #bd362f);
8
+ background: linear-gradient(top, #ee5f5b, #bd362f);
9
+ -webkit-box-shadow: 0 0 0 1px #bd362f, 0 1px 2px rgba(0, 0, 0, 0.45);
10
+ -moz-box-shadow: 0 0 0 1px #bd362f, 0 1px 2px rgba(0, 0, 0, 0.45);
11
+ box-shadow: 0 0 0 1px #bd362f, 0 1px 2px rgba(0, 0, 0, 0.45);
12
+ overflow: hidden;
13
+ display: block;
14
+ color: white;
15
+ font-size: 15px;
16
+ line-height: 20px;
17
+ position: relative;
18
+ padding: 10px 20px 10px 50px;
19
+ *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-0.0.1', 'FontAwesome';font-weight:normal;font-style:normal;text-decoration:inherit;font-size:36px;color:inherit;",this.insertBefore(this.el));
20
+ }
21
+ .alert.error:before {
22
+ font-family: "FontAwesome-0.0.1", "FontAwesome";
23
+ font-weight: normal;
24
+ font-style: normal;
25
+ text-decoration: inherit;
26
+ speak: none;
27
+ font-size: 36px;
28
+ color: inherit;
29
+ content: "\f057";
30
+ }
31
+ .alert.error:before, .alert.error #ie-pseudo-archetype-uid-RANDOM_UID {
32
+ position: absolute;
33
+ top: 6px;
34
+ left: 11px;
35
+ line-height: 1;
36
+ }
37
+ .alert.error .dismiss {
38
+ color: white;
39
+ background: transparent none;
40
+ padding: 0 1px 0 0;
41
+ border: 0;
42
+ margin: 0;
43
+ cursor: pointer;
44
+ text-decoration: none;
45
+ position: absolute;
46
+ overflow: hidden;
47
+ top: 10px;
48
+ right: 10px;
49
+ width: 11px;
50
+ height: 11px;
51
+ text-indent: 12px;
52
+ *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-0.0.1', 'FontAwesome';font-weight:normal;font-style:normal;text-decoration:inherit;font-size:11px;color:inherit;text-decoration:none;",this.insertBefore(this.el));
53
+ }
54
+ .alert.error .dismiss:before {
55
+ font-family: "FontAwesome-0.0.1", "FontAwesome";
56
+ font-weight: normal;
57
+ font-style: normal;
58
+ text-decoration: inherit;
59
+ speak: none;
60
+ font-size: 11px;
61
+ color: inherit;
62
+ content: "\f00d";
63
+ }
64
+ .alert.error .dismiss.hover, .alert.error .dismiss:hover, .alert.error .dismiss.focus, .alert.error .dismiss:focus {
65
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
66
+ }
67
+ .alert.error .dismiss:before, .alert.error .dismiss #ie-pseudo-archetype-uid-RANDOM_UID {
68
+ vertical-align: top;
69
+ line-height: 1;
70
+ position: absolute;
71
+ top: 0;
72
+ right: 0;
73
+ text-decoration: none;
74
+ cursor: pointer;
75
+ }
76
+
77
+ .alert.success {
78
+ background-color: #5bb75b;
79
+ background-repeat: no-repeat;
80
+ background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #62c462), color-stop(100%, #51a351));
81
+ background: -webkit-linear-gradient(top, #62c462, #51a351);
82
+ background: -moz-linear-gradient(top, #62c462, #51a351);
83
+ background: -o-linear-gradient(top, #62c462, #51a351);
84
+ background: linear-gradient(top, #62c462, #51a351);
85
+ -webkit-box-shadow: 0 0 0 1px #51a351, 0 1px 2px rgba(0, 0, 0, 0.45);
86
+ -moz-box-shadow: 0 0 0 1px #51a351, 0 1px 2px rgba(0, 0, 0, 0.45);
87
+ box-shadow: 0 0 0 1px #51a351, 0 1px 2px rgba(0, 0, 0, 0.45);
88
+ overflow: hidden;
89
+ display: block;
90
+ color: white;
91
+ font-size: 15px;
92
+ line-height: 20px;
93
+ position: relative;
94
+ padding: 10px 20px 10px 50px;
95
+ *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-0.0.1', 'FontAwesome';font-weight:normal;font-style:normal;text-decoration:inherit;font-size:36px;color:inherit;",this.insertBefore(this.el));
96
+ }
97
+ .alert.success:before {
98
+ font-family: "FontAwesome-0.0.1", "FontAwesome";
99
+ font-weight: normal;
100
+ font-style: normal;
101
+ text-decoration: inherit;
102
+ speak: none;
103
+ font-size: 36px;
104
+ color: inherit;
105
+ content: "\f058";
106
+ }
107
+ .alert.success:before, .alert.success #ie-pseudo-archetype-uid-RANDOM_UID {
108
+ position: absolute;
109
+ top: 6px;
110
+ left: 11px;
111
+ line-height: 1;
112
+ }
113
+ .alert.success .dismiss {
114
+ color: white;
115
+ background: transparent none;
116
+ padding: 0 1px 0 0;
117
+ border: 0;
118
+ margin: 0;
119
+ cursor: pointer;
120
+ text-decoration: none;
121
+ position: absolute;
122
+ overflow: hidden;
123
+ top: 10px;
124
+ right: 10px;
125
+ width: 11px;
126
+ height: 11px;
127
+ text-indent: 12px;
128
+ *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-0.0.1', 'FontAwesome';font-weight:normal;font-style:normal;text-decoration:inherit;font-size:11px;color:inherit;text-decoration:none;",this.insertBefore(this.el));
129
+ }
130
+ .alert.success .dismiss:before {
131
+ font-family: "FontAwesome-0.0.1", "FontAwesome";
132
+ font-weight: normal;
133
+ font-style: normal;
134
+ text-decoration: inherit;
135
+ speak: none;
136
+ font-size: 11px;
137
+ color: inherit;
138
+ content: "\f00d";
139
+ }
140
+ .alert.success .dismiss.hover, .alert.success .dismiss:hover, .alert.success .dismiss.focus, .alert.success .dismiss:focus {
141
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
142
+ }
143
+ .alert.success .dismiss:before, .alert.success .dismiss #ie-pseudo-archetype-uid-RANDOM_UID {
144
+ vertical-align: top;
145
+ line-height: 1;
146
+ position: absolute;
147
+ top: 0;
148
+ right: 0;
149
+ text-decoration: none;
150
+ cursor: pointer;
151
+ }
152
+
153
+ .alert.notice {
154
+ background-color: #49afcd;
155
+ background-repeat: no-repeat;
156
+ background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #5bc0de), color-stop(100%, #2f96b4));
157
+ background: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
158
+ background: -moz-linear-gradient(top, #5bc0de, #2f96b4);
159
+ background: -o-linear-gradient(top, #5bc0de, #2f96b4);
160
+ background: linear-gradient(top, #5bc0de, #2f96b4);
161
+ -webkit-box-shadow: 0 0 0 1px #2f96b4, 0 1px 2px rgba(0, 0, 0, 0.45);
162
+ -moz-box-shadow: 0 0 0 1px #2f96b4, 0 1px 2px rgba(0, 0, 0, 0.45);
163
+ box-shadow: 0 0 0 1px #2f96b4, 0 1px 2px rgba(0, 0, 0, 0.45);
164
+ overflow: hidden;
165
+ display: block;
166
+ color: white;
167
+ font-size: 15px;
168
+ line-height: 20px;
169
+ position: relative;
170
+ padding: 10px 20px 10px 50px;
171
+ *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-0.0.1', 'FontAwesome';font-weight:normal;font-style:normal;text-decoration:inherit;font-size:36px;color:inherit;",this.insertBefore(this.el));
172
+ }
173
+ .alert.notice:before {
174
+ font-family: "FontAwesome-0.0.1", "FontAwesome";
175
+ font-weight: normal;
176
+ font-style: normal;
177
+ text-decoration: inherit;
178
+ speak: none;
179
+ font-size: 36px;
180
+ color: inherit;
181
+ content: "\f05a";
182
+ }
183
+ .alert.notice:before, .alert.notice #ie-pseudo-archetype-uid-RANDOM_UID {
184
+ position: absolute;
185
+ top: 6px;
186
+ left: 11px;
187
+ line-height: 1;
188
+ }
189
+ .alert.notice .dismiss {
190
+ color: white;
191
+ background: transparent none;
192
+ padding: 0 1px 0 0;
193
+ border: 0;
194
+ margin: 0;
195
+ cursor: pointer;
196
+ text-decoration: none;
197
+ position: absolute;
198
+ overflow: hidden;
199
+ top: 10px;
200
+ right: 10px;
201
+ width: 11px;
202
+ height: 11px;
203
+ text-indent: 12px;
204
+ *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-0.0.1', 'FontAwesome';font-weight:normal;font-style:normal;text-decoration:inherit;font-size:11px;color:inherit;text-decoration:none;",this.insertBefore(this.el));
205
+ }
206
+ .alert.notice .dismiss:before {
207
+ font-family: "FontAwesome-0.0.1", "FontAwesome";
208
+ font-weight: normal;
209
+ font-style: normal;
210
+ text-decoration: inherit;
211
+ speak: none;
212
+ font-size: 11px;
213
+ color: inherit;
214
+ content: "\f00d";
215
+ }
216
+ .alert.notice .dismiss.hover, .alert.notice .dismiss:hover, .alert.notice .dismiss.focus, .alert.notice .dismiss:focus {
217
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
218
+ }
219
+ .alert.notice .dismiss:before, .alert.notice .dismiss #ie-pseudo-archetype-uid-RANDOM_UID {
220
+ vertical-align: top;
221
+ line-height: 1;
222
+ position: absolute;
223
+ top: 0;
224
+ right: 0;
225
+ text-decoration: none;
226
+ cursor: pointer;
227
+ }
228
+
229
+ .alert.yield {
230
+ background-color: #faa732;
231
+ background-repeat: no-repeat;
232
+ background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fbb450), color-stop(100%, #f89406));
233
+ background: -webkit-linear-gradient(top, #fbb450, #f89406);
234
+ background: -moz-linear-gradient(top, #fbb450, #f89406);
235
+ background: -o-linear-gradient(top, #fbb450, #f89406);
236
+ background: linear-gradient(top, #fbb450, #f89406);
237
+ -webkit-box-shadow: 0 0 0 1px #f89406, 0 1px 2px rgba(0, 0, 0, 0.45);
238
+ -moz-box-shadow: 0 0 0 1px #f89406, 0 1px 2px rgba(0, 0, 0, 0.45);
239
+ box-shadow: 0 0 0 1px #f89406, 0 1px 2px rgba(0, 0, 0, 0.45);
240
+ overflow: hidden;
241
+ display: block;
242
+ color: white;
243
+ font-size: 15px;
244
+ line-height: 20px;
245
+ position: relative;
246
+ padding: 10px 20px 10px 50px;
247
+ *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-0.0.1', 'FontAwesome';font-weight:normal;font-style:normal;text-decoration:inherit;font-size:36px;color:inherit;",this.insertBefore(this.el));
248
+ }
249
+ .alert.yield:before {
250
+ font-family: "FontAwesome-0.0.1", "FontAwesome";
251
+ font-weight: normal;
252
+ font-style: normal;
253
+ text-decoration: inherit;
254
+ speak: none;
255
+ font-size: 36px;
256
+ color: inherit;
257
+ content: "\f071";
258
+ }
259
+ .alert.yield:before, .alert.yield #ie-pseudo-archetype-uid-RANDOM_UID {
260
+ position: absolute;
261
+ top: 6px;
262
+ left: 11px;
263
+ line-height: 1;
264
+ }
265
+ .alert.yield .dismiss {
266
+ color: white;
267
+ background: transparent none;
268
+ padding: 0 1px 0 0;
269
+ border: 0;
270
+ margin: 0;
271
+ cursor: pointer;
272
+ text-decoration: none;
273
+ position: absolute;
274
+ overflow: hidden;
275
+ top: 10px;
276
+ right: 10px;
277
+ width: 11px;
278
+ height: 11px;
279
+ text-indent: 12px;
280
+ *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-0.0.1', 'FontAwesome';font-weight:normal;font-style:normal;text-decoration:inherit;font-size:11px;color:inherit;text-decoration:none;",this.insertBefore(this.el));
281
+ }
282
+ .alert.yield .dismiss:before {
283
+ font-family: "FontAwesome-0.0.1", "FontAwesome";
284
+ font-weight: normal;
285
+ font-style: normal;
286
+ text-decoration: inherit;
287
+ speak: none;
288
+ font-size: 11px;
289
+ color: inherit;
290
+ content: "\f00d";
291
+ }
292
+ .alert.yield .dismiss.hover, .alert.yield .dismiss:hover, .alert.yield .dismiss.focus, .alert.yield .dismiss:focus {
293
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
294
+ }
295
+ .alert.yield .dismiss:before, .alert.yield .dismiss #ie-pseudo-archetype-uid-RANDOM_UID {
296
+ vertical-align: top;
297
+ line-height: 1;
298
+ position: absolute;
299
+ top: 0;
300
+ right: 0;
301
+ text-decoration: none;
302
+ cursor: pointer;
303
+ }
304
+
305
+ .alert.error {
306
+ background-color: #da4f49;
307
+ background-repeat: no-repeat;
308
+ background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ee5f5b), color-stop(100%, #bd362f));
309
+ background: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
310
+ background: -moz-linear-gradient(top, #ee5f5b, #bd362f);
311
+ background: -o-linear-gradient(top, #ee5f5b, #bd362f);
312
+ background: linear-gradient(top, #ee5f5b, #bd362f);
313
+ -webkit-box-shadow: 0 0 0 1px #bd362f, 0 1px 2px rgba(0, 0, 0, 0.45);
314
+ -moz-box-shadow: 0 0 0 1px #bd362f, 0 1px 2px rgba(0, 0, 0, 0.45);
315
+ box-shadow: 0 0 0 1px #bd362f, 0 1px 2px rgba(0, 0, 0, 0.45);
316
+ overflow: hidden;
317
+ display: block;
318
+ color: white;
319
+ font-size: 15px;
320
+ line-height: 20px;
321
+ position: relative;
322
+ padding: 10px 20px 10px 50px;
323
+ *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));
324
+ }
325
+ .alert.error:before {
326
+ font-family: "FontAwesome-0.0.1", "FontAwesome";
327
+ font-weight: normal;
328
+ font-style: normal;
329
+ text-decoration: inherit;
330
+ speak: none;
331
+ font-size: 36px;
332
+ color: inherit;
333
+ content: "\f057";
334
+ }
335
+ .alert.error #ie-pseudo-archetype-uid-RANDOM_UID {
336
+ font-family: 'FontAwesome-0.0.1', 'FontAwesome';
337
+ font-weight: normal;
338
+ font-style: normal;
339
+ text-decoration: inherit;
340
+ font-size: 36px;
341
+ color: inherit;
342
+ }
343
+ .alert.error:before, .alert.error #ie-pseudo-archetype-uid-RANDOM_UID {
344
+ position: absolute;
345
+ top: 6px;
346
+ left: 11px;
347
+ line-height: 1;
348
+ }
349
+ .alert.error .dismiss {
350
+ color: white;
351
+ background: transparent none;
352
+ padding: 0 1px 0 0;
353
+ border: 0;
354
+ margin: 0;
355
+ cursor: pointer;
356
+ text-decoration: none;
357
+ position: absolute;
358
+ overflow: hidden;
359
+ top: 10px;
360
+ right: 10px;
361
+ width: 11px;
362
+ height: 11px;
363
+ text-indent: 12px;
364
+ *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));
365
+ }
366
+ .alert.error .dismiss:before {
367
+ font-family: "FontAwesome-0.0.1", "FontAwesome";
368
+ font-weight: normal;
369
+ font-style: normal;
370
+ text-decoration: inherit;
371
+ speak: none;
372
+ font-size: 11px;
373
+ color: inherit;
374
+ content: "\f00d";
375
+ }
376
+ .alert.error .dismiss #ie-pseudo-archetype-uid-RANDOM_UID {
377
+ font-family: 'FontAwesome-0.0.1', 'FontAwesome';
378
+ font-weight: normal;
379
+ font-style: normal;
380
+ text-decoration: inherit;
381
+ font-size: 11px;
382
+ color: inherit;
383
+ text-decoration: none;
384
+ }
385
+ .alert.error .dismiss.hover, .alert.error .dismiss:hover, .alert.error .dismiss.focus, .alert.error .dismiss:focus {
386
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
387
+ }
388
+ .alert.error .dismiss:before, .alert.error .dismiss #ie-pseudo-archetype-uid-RANDOM_UID {
389
+ vertical-align: top;
390
+ line-height: 1;
391
+ position: absolute;
392
+ top: 0;
393
+ right: 0;
394
+ text-decoration: none;
395
+ cursor: pointer;
396
+ }
397
+
398
+ .alert.success {
399
+ background-color: #5bb75b;
400
+ background-repeat: no-repeat;
401
+ background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #62c462), color-stop(100%, #51a351));
402
+ background: -webkit-linear-gradient(top, #62c462, #51a351);
403
+ background: -moz-linear-gradient(top, #62c462, #51a351);
404
+ background: -o-linear-gradient(top, #62c462, #51a351);
405
+ background: linear-gradient(top, #62c462, #51a351);
406
+ -webkit-box-shadow: 0 0 0 1px #51a351, 0 1px 2px rgba(0, 0, 0, 0.45);
407
+ -moz-box-shadow: 0 0 0 1px #51a351, 0 1px 2px rgba(0, 0, 0, 0.45);
408
+ box-shadow: 0 0 0 1px #51a351, 0 1px 2px rgba(0, 0, 0, 0.45);
409
+ overflow: hidden;
410
+ display: block;
411
+ color: white;
412
+ font-size: 15px;
413
+ line-height: 20px;
414
+ position: relative;
415
+ padding: 10px 20px 10px 50px;
416
+ *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));
417
+ }
418
+ .alert.success:before {
419
+ font-family: "FontAwesome-0.0.1", "FontAwesome";
420
+ font-weight: normal;
421
+ font-style: normal;
422
+ text-decoration: inherit;
423
+ speak: none;
424
+ font-size: 36px;
425
+ color: inherit;
426
+ content: "\f058";
427
+ }
428
+ .alert.success #ie-pseudo-archetype-uid-RANDOM_UID {
429
+ font-family: 'FontAwesome-0.0.1', 'FontAwesome';
430
+ font-weight: normal;
431
+ font-style: normal;
432
+ text-decoration: inherit;
433
+ font-size: 36px;
434
+ color: inherit;
435
+ }
436
+ .alert.success:before, .alert.success #ie-pseudo-archetype-uid-RANDOM_UID {
437
+ position: absolute;
438
+ top: 6px;
439
+ left: 11px;
440
+ line-height: 1;
441
+ }
442
+ .alert.success .dismiss {
443
+ color: white;
444
+ background: transparent none;
445
+ padding: 0 1px 0 0;
446
+ border: 0;
447
+ margin: 0;
448
+ cursor: pointer;
449
+ text-decoration: none;
450
+ position: absolute;
451
+ overflow: hidden;
452
+ top: 10px;
453
+ right: 10px;
454
+ width: 11px;
455
+ height: 11px;
456
+ text-indent: 12px;
457
+ *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));
458
+ }
459
+ .alert.success .dismiss:before {
460
+ font-family: "FontAwesome-0.0.1", "FontAwesome";
461
+ font-weight: normal;
462
+ font-style: normal;
463
+ text-decoration: inherit;
464
+ speak: none;
465
+ font-size: 11px;
466
+ color: inherit;
467
+ content: "\f00d";
468
+ }
469
+ .alert.success .dismiss #ie-pseudo-archetype-uid-RANDOM_UID {
470
+ font-family: 'FontAwesome-0.0.1', 'FontAwesome';
471
+ font-weight: normal;
472
+ font-style: normal;
473
+ text-decoration: inherit;
474
+ font-size: 11px;
475
+ color: inherit;
476
+ text-decoration: none;
477
+ }
478
+ .alert.success .dismiss.hover, .alert.success .dismiss:hover, .alert.success .dismiss.focus, .alert.success .dismiss:focus {
479
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
480
+ }
481
+ .alert.success .dismiss:before, .alert.success .dismiss #ie-pseudo-archetype-uid-RANDOM_UID {
482
+ vertical-align: top;
483
+ line-height: 1;
484
+ position: absolute;
485
+ top: 0;
486
+ right: 0;
487
+ text-decoration: none;
488
+ cursor: pointer;
489
+ }
490
+
491
+ .alert.notice {
492
+ background-color: #49afcd;
493
+ background-repeat: no-repeat;
494
+ background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #5bc0de), color-stop(100%, #2f96b4));
495
+ background: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
496
+ background: -moz-linear-gradient(top, #5bc0de, #2f96b4);
497
+ background: -o-linear-gradient(top, #5bc0de, #2f96b4);
498
+ background: linear-gradient(top, #5bc0de, #2f96b4);
499
+ -webkit-box-shadow: 0 0 0 1px #2f96b4, 0 1px 2px rgba(0, 0, 0, 0.45);
500
+ -moz-box-shadow: 0 0 0 1px #2f96b4, 0 1px 2px rgba(0, 0, 0, 0.45);
501
+ box-shadow: 0 0 0 1px #2f96b4, 0 1px 2px rgba(0, 0, 0, 0.45);
502
+ overflow: hidden;
503
+ display: block;
504
+ color: white;
505
+ font-size: 15px;
506
+ line-height: 20px;
507
+ position: relative;
508
+ padding: 10px 20px 10px 50px;
509
+ *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));
510
+ }
511
+ .alert.notice:before {
512
+ font-family: "FontAwesome-0.0.1", "FontAwesome";
513
+ font-weight: normal;
514
+ font-style: normal;
515
+ text-decoration: inherit;
516
+ speak: none;
517
+ font-size: 36px;
518
+ color: inherit;
519
+ content: "\f05a";
520
+ }
521
+ .alert.notice #ie-pseudo-archetype-uid-RANDOM_UID {
522
+ font-family: 'FontAwesome-0.0.1', 'FontAwesome';
523
+ font-weight: normal;
524
+ font-style: normal;
525
+ text-decoration: inherit;
526
+ font-size: 36px;
527
+ color: inherit;
528
+ }
529
+ .alert.notice:before, .alert.notice #ie-pseudo-archetype-uid-RANDOM_UID {
530
+ position: absolute;
531
+ top: 6px;
532
+ left: 11px;
533
+ line-height: 1;
534
+ }
535
+ .alert.notice .dismiss {
536
+ color: white;
537
+ background: transparent none;
538
+ padding: 0 1px 0 0;
539
+ border: 0;
540
+ margin: 0;
541
+ cursor: pointer;
542
+ text-decoration: none;
543
+ position: absolute;
544
+ overflow: hidden;
545
+ top: 10px;
546
+ right: 10px;
547
+ width: 11px;
548
+ height: 11px;
549
+ text-indent: 12px;
550
+ *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));
551
+ }
552
+ .alert.notice .dismiss:before {
553
+ font-family: "FontAwesome-0.0.1", "FontAwesome";
554
+ font-weight: normal;
555
+ font-style: normal;
556
+ text-decoration: inherit;
557
+ speak: none;
558
+ font-size: 11px;
559
+ color: inherit;
560
+ content: "\f00d";
561
+ }
562
+ .alert.notice .dismiss #ie-pseudo-archetype-uid-RANDOM_UID {
563
+ font-family: 'FontAwesome-0.0.1', 'FontAwesome';
564
+ font-weight: normal;
565
+ font-style: normal;
566
+ text-decoration: inherit;
567
+ font-size: 11px;
568
+ color: inherit;
569
+ text-decoration: none;
570
+ }
571
+ .alert.notice .dismiss.hover, .alert.notice .dismiss:hover, .alert.notice .dismiss.focus, .alert.notice .dismiss:focus {
572
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
573
+ }
574
+ .alert.notice .dismiss:before, .alert.notice .dismiss #ie-pseudo-archetype-uid-RANDOM_UID {
575
+ vertical-align: top;
576
+ line-height: 1;
577
+ position: absolute;
578
+ top: 0;
579
+ right: 0;
580
+ text-decoration: none;
581
+ cursor: pointer;
582
+ }
583
+
584
+ .alert.yield {
585
+ background-color: #faa732;
586
+ background-repeat: no-repeat;
587
+ background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fbb450), color-stop(100%, #f89406));
588
+ background: -webkit-linear-gradient(top, #fbb450, #f89406);
589
+ background: -moz-linear-gradient(top, #fbb450, #f89406);
590
+ background: -o-linear-gradient(top, #fbb450, #f89406);
591
+ background: linear-gradient(top, #fbb450, #f89406);
592
+ -webkit-box-shadow: 0 0 0 1px #f89406, 0 1px 2px rgba(0, 0, 0, 0.45);
593
+ -moz-box-shadow: 0 0 0 1px #f89406, 0 1px 2px rgba(0, 0, 0, 0.45);
594
+ box-shadow: 0 0 0 1px #f89406, 0 1px 2px rgba(0, 0, 0, 0.45);
595
+ overflow: hidden;
596
+ display: block;
597
+ color: white;
598
+ font-size: 15px;
599
+ line-height: 20px;
600
+ position: relative;
601
+ padding: 10px 20px 10px 50px;
602
+ *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));
603
+ }
604
+ .alert.yield:before {
605
+ font-family: "FontAwesome-0.0.1", "FontAwesome";
606
+ font-weight: normal;
607
+ font-style: normal;
608
+ text-decoration: inherit;
609
+ speak: none;
610
+ font-size: 36px;
611
+ color: inherit;
612
+ content: "\f071";
613
+ }
614
+ .alert.yield #ie-pseudo-archetype-uid-RANDOM_UID {
615
+ font-family: 'FontAwesome-0.0.1', 'FontAwesome';
616
+ font-weight: normal;
617
+ font-style: normal;
618
+ text-decoration: inherit;
619
+ font-size: 36px;
620
+ color: inherit;
621
+ }
622
+ .alert.yield:before, .alert.yield #ie-pseudo-archetype-uid-RANDOM_UID {
623
+ position: absolute;
624
+ top: 6px;
625
+ left: 11px;
626
+ line-height: 1;
627
+ }
628
+ .alert.yield .dismiss {
629
+ color: white;
630
+ background: transparent none;
631
+ padding: 0 1px 0 0;
632
+ border: 0;
633
+ margin: 0;
634
+ cursor: pointer;
635
+ text-decoration: none;
636
+ position: absolute;
637
+ overflow: hidden;
638
+ top: 10px;
639
+ right: 10px;
640
+ width: 11px;
641
+ height: 11px;
642
+ text-indent: 12px;
643
+ *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));
644
+ }
645
+ .alert.yield .dismiss:before {
646
+ font-family: "FontAwesome-0.0.1", "FontAwesome";
647
+ font-weight: normal;
648
+ font-style: normal;
649
+ text-decoration: inherit;
650
+ speak: none;
651
+ font-size: 11px;
652
+ color: inherit;
653
+ content: "\f00d";
654
+ }
655
+ .alert.yield .dismiss #ie-pseudo-archetype-uid-RANDOM_UID {
656
+ font-family: 'FontAwesome-0.0.1', 'FontAwesome';
657
+ font-weight: normal;
658
+ font-style: normal;
659
+ text-decoration: inherit;
660
+ font-size: 11px;
661
+ color: inherit;
662
+ text-decoration: none;
663
+ }
664
+ .alert.yield .dismiss.hover, .alert.yield .dismiss:hover, .alert.yield .dismiss.focus, .alert.yield .dismiss:focus {
665
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
666
+ }
667
+ .alert.yield .dismiss:before, .alert.yield .dismiss #ie-pseudo-archetype-uid-RANDOM_UID {
668
+ vertical-align: top;
669
+ line-height: 1;
670
+ position: absolute;
671
+ top: 0;
672
+ right: 0;
673
+ text-decoration: none;
674
+ cursor: pointer;
675
+ }