archetype 0.0.1.pre.3.6ed259b → 0.0.1.pre.3.55c4182

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/CHANGELOG.md +0 -15
  2. data/LICENSE +1 -1
  3. data/README.md +1 -1
  4. data/VERSION.yml +1 -1
  5. data/lib/archetype.rb +0 -4
  6. data/lib/archetype/functions/hash.rb +12 -28
  7. data/lib/archetype/functions/helpers.rb +2 -3
  8. data/lib/archetype/sass_extensions/functions/lists.rb +33 -27
  9. data/lib/archetype/sass_extensions/functions/locale.rb +16 -32
  10. data/lib/archetype/sass_extensions/functions/styleguide.rb +11 -12
  11. data/lib/archetype/sass_extensions/functions/ui.rb +1 -2
  12. data/lib/archetype/sass_extensions/functions/version.rb +2 -2
  13. data/lib/archetype/version.rb +2 -2
  14. data/stylesheets/archetype/_config.scss +5 -18
  15. data/stylesheets/archetype/_hacks.scss +18 -39
  16. data/stylesheets/archetype/_ui.scss +8 -23
  17. data/stylesheets/archetype/styleguide/components/_buttons.scss +0 -1
  18. data/stylesheets/archetype/util/_styles.scss +2 -25
  19. data/test/fixtures/stylesheets/archetype/config.rb +0 -2
  20. data/test/fixtures/stylesheets/archetype/expected/hacks/ie_pseudo.css +3 -3
  21. data/test/fixtures/stylesheets/archetype/expected/styleguide/buttons.css +0 -28
  22. data/test/fixtures/stylesheets/archetype/expected/styleguide/selective_state.css +0 -3
  23. data/test/fixtures/stylesheets/archetype/expected/ui/glyph_icon.css +5 -52
  24. data/test/fixtures/stylesheets/archetype/expected/utilities/targeting/target-browser.css +0 -5
  25. data/test/fixtures/stylesheets/archetype/source/ui/glyph_icon.scss +0 -12
  26. data/test/fixtures/stylesheets/archetype/source/utilities/targeting/target-browser.scss +1 -8
  27. data/test/helpers/test_case.rb +2 -2
  28. data/test/integrations/archetype_test.rb +1 -3
  29. data/test/units/sass_extensions_test.rb +25 -18
  30. metadata +21 -60
  31. checksums.yaml +0 -7
  32. data/bin/archetype +0 -3
  33. data/lib/archetype/actions/help.rb +0 -16
  34. data/lib/archetype/actions/theme.rb +0 -73
  35. data/lib/archetype/executor.rb +0 -27
  36. data/templates/_theme/_components.scss +0 -3
  37. data/templates/_theme/_config.scss +0 -1
  38. data/templates/_theme/_core.scss +0 -13
  39. data/templates/_theme/_helpers.scss +0 -1
  40. data/templates/_theme/_primitives.scss +0 -3
  41. data/templates/_theme/components/README +0 -1
  42. data/templates/_theme/primitives/README +0 -1
  43. data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders-s7889ccc8c1.png +0 -0
  44. data/test/fixtures/stylesheets/archetype/expected/base.css +0 -349
  45. data/test/fixtures/stylesheets/archetype/expected/hacks/transparent_focusable.css +0 -4
  46. data/test/fixtures/stylesheets/archetype/expected/locale.css +0 -23
  47. data/test/fixtures/stylesheets/archetype/expected/styleguide/extend.css +0 -7
  48. data/test/fixtures/stylesheets/archetype/expected/utilities/custom_output_styler.css +0 -8
  49. data/test/fixtures/stylesheets/archetype/source/base.scss +0 -3
  50. data/test/fixtures/stylesheets/archetype/source/hacks/transparent_focusable.scss +0 -5
  51. data/test/fixtures/stylesheets/archetype/source/locale.scss +0 -43
  52. data/test/fixtures/stylesheets/archetype/source/styleguide/extend.scss +0 -23
  53. data/test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss +0 -21
@@ -40,14 +40,13 @@ $CONTENT_PLACEHOLDER: '\0020' !default;
40
40
  $CONFIG_DISABLED_CSS: () !default; // a list of CSS3 features to always disable when using output-style()
41
41
  $CONFIG_GENERATED_TAG_PREFIX: x-archetype !default; // the prefix for the tag name to create when using ie-pseudo method
42
42
  $CONFIG_GENERATED_TAG_CSS: false !default; // styles to apply to the generated tag when using ie-pseudo method (use this as a way to reset styles on these tags)
43
- $CONFIG_GENERATED_TAG_INLINE: true !default; // if `true` insert the styles inline on the generated tag, otherwise insert the styles in a unique css rule
44
43
 
45
44
  // z-layers
46
45
  $CONFIG_Z_INDEX_BASE: 0 !default; // the default starting layer for z-index calculations
47
46
  $CONFIG_Z_LAYERS_OFFSET: 100 !default; // the offset between z-layers
48
47
  $CONFIG_Z_LAYERS: (default dialog navigation) !default; // the orders for the z-layers
49
48
 
50
- // compass
49
+ // compass
51
50
  $COMPASS_RTL_SUPPORT: false !default; // does your Compass version support RTL? set to true if Compass mixins support RTL
52
51
 
53
52
  // sprites
@@ -305,12 +304,12 @@ $CONFIG_BROWSER_WARN_ON_HACK: false !default;
305
304
  $CONFIG_BROWSER_VENDORS_HACK: (
306
305
  (webkit-all, safari webkit chrome),
307
306
  (gecko-all, firefox gecko mozilla),
308
- (opera-all, opera) // NOTE: this may stop working once Opera switches over to using WebKit/Blink
307
+ (opera-all, opera)
309
308
  ) !default;
310
309
 
311
310
  // os targeting
312
311
  $CONFIG_OS_VENDORS_CLASS: (
313
- (os-win, windows win winxp win7 win8),
312
+ (os-win, windows win winxp win7),
314
313
  (os-mac, apple mac osx),
315
314
  (os-linux, linux),
316
315
  (os-other, other misc unknown)
@@ -322,30 +321,21 @@ $CORE_SAFE_FONTS: (
322
321
  (sans-serif, (
323
322
  (default, (
324
323
  (default (sans-serif)),
325
- (ko_KR ('Malgun Gothic', default)),
326
- (zh_TW (SimSun, default)),
327
- (zh_CN (SimSun, default))
324
+ (ko_KR ('Malgun Gothic', default))
328
325
  )),
329
326
  (win, (
330
327
  (default (Arial, sans-serif)),
331
328
  (ja_JP (メイリオ, Meiryo, 'MS Pゴシック', 'MS PGothic', default)),
332
- (zh_TW (default, '微軟正黑體', 'Microsoft JhengHei', PMingLiu, '宋体', SimSun)),
333
- (zh_CN (default, '华文细黑', 'STHeiti Light', '微软雅黑体', 'Microsoft Yahei', '新宋体', NSimSun, '宋体', SimSun)),
334
329
  (ko_KR nil)
335
330
  )),
336
331
  (mac, (
337
332
  (default (Helvetica, Arial, sans-serif)),
338
- (zh_TW (default, '黑體-繁', 'Heiti TC', '儷黑Pro', 'LiHei Pro', PMingLiu, '宋体', SimSun)),
339
- (zh_CN (default, '黑体-简', 'Heiti SC', '华文细黑', 'STHeiti Light', '华文黑体', STHeiti)),
340
333
  (ja_JP ('Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'MS Pゴシック', 'MS PGothic', default)),
341
334
  (ko_KR nil)
342
335
  )),
343
336
  (linux, (
344
337
  (default (Helvetica, FreeSans, 'Liberation Sans', Helmet, Arial, sans-serif)),
345
- (zh_TW (default, PMingLiu, '宋体', SimSun)),
346
- (zh_CN (default, '新宋体', NSimSun, '宋体', SimSun)),
347
- (ja_JP nil),
348
- (ko_KR nil)
338
+ (CJK nil)
349
339
  ))
350
340
  )),
351
341
  (serif, (
@@ -365,6 +355,3 @@ $CORE_SAFE_FONTS: (
365
355
  ); // note that this declaration isn't a `default`, but rather is enforced everytime. this can be modified (via extending $CONFIG_SAFE_FONTS)
366
356
  $CONFIG_SAFE_FONTS: () !default;
367
357
  $CONFIG_SAFE_FONTS: associative-merge($CORE_SAFE_FONTS, $CONFIG_SAFE_FONTS);
368
-
369
- $archetype-glyph-selector: false !default;
370
- $archetype-pseudo-selector: false !default;
@@ -34,19 +34,19 @@
34
34
  }
35
35
 
36
36
  // proxy for ie-pseudo
37
- // @mixin ie-pseudo-before
38
- // @param $styles {String} the styles to apply to the pseudo-element
39
- // @param $content {String} the content to insert into the element (similar to css `content` attribute)
40
- // @param $name {String} the name of the element
37
+ // @mixin ie-pseudo-before
38
+ // @param $styles {String} the styles to apply to the pseudo-element
39
+ // @param $content {String} the content to insert into the element (similar to css `content` attribute)
40
+ // @param $name {String} the name of the element
41
41
  @mixin ie-pseudo-before($styles: false, $content: false, $name: '') {
42
42
  @include ie-pseudo($styles, $content, before, $name);
43
43
  }
44
44
 
45
45
  // proxy for ie-pseudo
46
- // @mixin ie-pseudo-after
47
- // @param $styles {String} the styles to apply to the pseudo-element
48
- // @param $content {String} the content to insert into the element (similar to css `content` attribute)
49
- // @param $name {String} the name of the element
46
+ // @mixin ie-pseudo-after
47
+ // @param $styles {String} the styles to apply to the pseudo-element
48
+ // @param $content {String} the content to insert into the element (similar to css `content` attribute)
49
+ // @param $name {String} the name of the element
50
50
  @mixin ie-pseudo-after($styles: false, $content: false, $name: '') {
51
51
  @include ie-pseudo($styles, $content, after, $name);
52
52
  }
@@ -54,43 +54,22 @@
54
54
  // this creates a one-type executing expression that inserts an element relative to `this` element.
55
55
  // this allows some level of support for :before/:after in IE6/7
56
56
  // inspired by http://nicolasgallagher.com/better-float-containment-in-ie/
57
- // @mixin ie-pseudo
58
- // @param $styles {String} the styles to apply to the pseudo-element
59
- // @param $content {String} the content to insert into the element (similar to css `content` attribute)
60
- // @param $placement {String} [before|after] simulate :before or :after behavior
61
- // @param $name {String} the name of the element
62
- // @param $uid {String} a custom, unique identifier for the generate element
63
- @mixin ie-pseudo($styles: false, $content: false, $placement: before, $name: '', $uid: false) {
64
- $archetype-pseudo-selector: false;
57
+ // @mixin ie-pseudo
58
+ // @param $styles {String} the styles to apply to the pseudo-element
59
+ // @param $content {String} the content to insert into the element (similar to css `content` attribute)
60
+ // @param $placement {String} [before|after] simulate :before or :after behavior
61
+ // @param $name {String} the name of the element
62
+ @mixin ie-pseudo($styles: false, $content: false, $placement: before, $name: '') {
65
63
  @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
66
- $uid: if($uid, $uid, unique('ie-pseudo-'));
67
- $archetype-pseudo-selector: '& ##{$uid}';
68
64
  $method: if($placement == before, insertBefore, appendChild);
69
65
  $content: if($content and $content != nil, 'this.el.innerHTML="#{-ie-pseudo-content($content)}",', '');
70
66
  @if $CONFIG_GENERATED_TAG_CSS {
71
67
  $styles: if($styles and $styles != nil, #{$CONFIG_GENERATED_TAG_CSS}#{$styles}, $CONFIG_GENERATED_TAG_CSS);
72
68
  }
73
- // if we're using inline styles...
74
- $inline: if($styles and $styles != nil and $CONFIG_GENERATED_TAG_INLINE, 'this.el.style.cssText="#{$styles}",', '');
75
- *zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("#{prefixed-tag($name)}"),this.el.id="#{$uid}",#{$content}#{$inline}this.#{$method}(this.el));
76
- // if we're NOT using inline styles...
77
- @if not $CONFIG_GENERATED_TAG_INLINE {
78
- // output it on the generated selector
79
- #{$archetype-pseudo-selector} {
80
- @include to-styles(-style-string-to-list($styles));
81
- }
69
+ $styles: if($styles and $styles != nil, 'this.el.style.cssText="#{$styles}",', '');
70
+ @if $name != '' {
71
+ $name: '-#{$name}';
82
72
  }
83
- }
84
- }
85
-
86
- // a hack that allows elements with transparent backgrounds to be focusable in IE
87
- // @mixin transparent-focusable
88
- // @param $url {String} an optional URL to point to an image (not required)
89
- // @param $data {String} an optional data URI for a transparent image (not required)
90
- @mixin transparent-focusable($url: url(https://), $data: 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7') {
91
- $bg: (transparent);
92
- background: append($bg, $data);
93
- @if $url {
94
- @include target-browser(ie lte 7, background, append($bg, $url));
73
+ *zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("#{$CONFIG_GENERATED_TAG_PREFIX}#{$name}"),#{$content}#{$styles}this.#{$method}(this.el));
95
74
  }
96
75
  }
@@ -124,7 +124,7 @@
124
124
  // @param $direction {String} top=vertical left=horizontal
125
125
  @mixin fade-box($width: 100%, $height: 100%, $direction: top) {
126
126
  $direction: rtl($direction);
127
- // TODO - update this when Compass supports IE alpha channels
127
+ // TODO - update this when Compass supports IE alpha channels
128
128
  @if $direction == left {
129
129
  @include ie-filter(gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=1));
130
130
  }
@@ -153,10 +153,8 @@
153
153
  // @param $size {Number} the size of the icon
154
154
  // @param $color {Color} the color of the font
155
155
  // @param $placement {String} where to place the icon [before|after|inline]
156
- // @param $ie-styles {String} styles to apply to IE6/7 (this is needed because the faux :before isn't extendable)
157
- // @param $ie-uid {String} a custom, unique identifier for the generate IE6/7 element
158
- @mixin glyph-icon($icon, $size: default, $color: inherit, $placement: before, $ie-styles: false, $ie-uid: false) {
159
- $archetype-glyph-selector: false;
156
+ // @param $ie-styles {String} styles to apply to IE6/7 (this is needed because the faux :before isn't extensible)
157
+ @mixin glyph-icon($icon, $size: default, $color: inherit, $placement: before, $ie-styles: false) {
160
158
  $char-mapping: nil;
161
159
  $char-code: nil;
162
160
  @if $icon {
@@ -169,18 +167,18 @@
169
167
  @else {
170
168
  @if $size == default {
171
169
  $default-size: nil;
172
- @if $icon {
170
+ @if icon {
173
171
  $default-size: nth-cyclic($char-mapping, 2);
174
172
  }
175
173
  $size: if(type-of($default-size) == number, $default-size, 100%);
176
174
  }
177
175
  // if the size is under a given threshold, use a halfling, if available
178
- @if $icon {
176
+ @if icon {
179
177
  $char-code: nth-cyclic(-compass-list($char-code), if(comparable($CONFIG_GLYPHS_THRESHOLD, $size) and $size <= $CONFIG_GLYPHS_THRESHOLD, 2, 1));
180
178
  }
181
179
  $selector: if(index(before after, $placement), '&:#{$placement}', '&');
182
180
  #{$selector} {
183
- font-family: '#{$CONFIG_GLYPHS_NAME}';
181
+ font-family: $CONFIG_GLYPHS_NAME;
184
182
  font-weight: $CONFIG_GLYPHS_WEIGHT;
185
183
  font-style: $CONFIG_GLYPHS_STYLE;
186
184
  text-decoration: inherit;
@@ -191,8 +189,7 @@
191
189
  content: $char-code;
192
190
  }
193
191
  }
194
- $archetype-glyph-selector: $selector;
195
- @if($selector != '&' and $ie-styles != nil) {
192
+ @if($selector != '&') {
196
193
  // support for IE6/7
197
194
  $styles: "font-family:'#{$CONFIG_GLYPHS_NAME}';font-weight:#{$CONFIG_GLYPHS_WEIGHT};font-style:#{$CONFIG_GLYPHS_STYLE};text-decoration:inherit;";
198
195
  @if($size != nil) {
@@ -204,10 +201,7 @@
204
201
  @if($ie-styles) {
205
202
  $styles: $styles + $ie-styles;
206
203
  }
207
- @include ie-pseudo($styles: $styles, $content: $char-code, $placement: $placement, $name: glyph, $uid: $ie-uid);
208
- @if $archetype-pseudo-selector {
209
- $archetype-glyph-selector: '#{$selector}, #{$archetype-pseudo-selector}';
210
- }
204
+ @include ie-pseudo($styles: $styles, $content: $char-code, $placement: $placement, $name: glyph);
211
205
  }
212
206
  }
213
207
  }
@@ -320,13 +314,4 @@
320
314
  height: $height;
321
315
  margin-left: $width / -2;
322
316
  margin-top: $height / -2;
323
- }
324
-
325
- // a method for removing default styling from a button
326
- // @mixin unstyled-button
327
- @mixin unstyled-button() {
328
- background: none;
329
- border: none;
330
- padding: 0;
331
- @include appearance(none);
332
317
  }
@@ -15,7 +15,6 @@ $a-blackhole: styleguide-add-component($STYLEGUIDE_BUTTONS_ID, $STYLEGUIDE_BUTT
15
15
  margin 0,
16
16
  overflow visible,
17
17
  text-decoration (none !important),
18
- text-align center,
19
18
  width auto,
20
19
  text-shadow $CONFIG_SHADOW_BUTTON_TEXT,
21
20
  // sizing
@@ -32,12 +32,8 @@
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
- }
39
35
  // border-radius
40
- @else if($property == border-radius) { @include border-radius(rtl($value, border-radius)); }
36
+ @if($property == border-radius) { @include border-radius(rtl($value, border-radius)); }
41
37
  // box-sizing
42
38
  @else if($property == box-sizing) { @include box-sizing($value); }
43
39
  // box-shadow
@@ -55,7 +51,7 @@
55
51
  // background-size
56
52
  @else if($property == background-size) { @include background-size($value); }
57
53
  // background-origin
58
- @else if($property == background-origin) { @include background-origin($value); }
54
+ @else if($property == background-origin) { @include background-origin($value); }
59
55
  // IE filters
60
56
  @else if($property == ie-filter) { @include ie-filter($value); }
61
57
  // hide-text
@@ -74,8 +70,6 @@
74
70
  @else if($property == max-height) { @include max-height($value); }
75
71
  // stretch
76
72
  @else if($property == stretch) { @include stretch(); }
77
- // appearance
78
- @else if($property == appearance) { @include appearance($value); }
79
73
  // bunch of RTL support
80
74
  @else if($property == margin) { @include margin($value); }
81
75
  @else if($property == margin-left) { @include margin-left($value); }
@@ -99,7 +93,6 @@
99
93
  @else if($property == left) { @include left($value); }
100
94
  @else if($property == right) { @include right($value); }
101
95
  @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}; }
103
96
  // animations
104
97
  @else if($property == animation) {
105
98
  @if archetype-version('compass >= 0.13') {
@@ -161,10 +154,6 @@
161
154
  @include ie-pseudo-after(nth($value, 1), $content, $tag);
162
155
  }
163
156
  }
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
- }
168
157
  // otherwise just use a key-value pair
169
158
  @else { #{$property}: $value; }
170
159
  }
@@ -463,15 +452,3 @@
463
452
  }
464
453
  z-index: ($value + $layer);
465
454
  }
466
-
467
- // generate a tag name with a prefix
468
- // @function prefixed-tag
469
- // @param $tag {String} the tag to prefix
470
- // @param $prefix {String} the prefix to prepend to the tag
471
- // @return {String} the prefix joined with the tag
472
- @function prefixed-tag($tag: '', $prefix: $CONFIG_GENERATED_TAG_PREFIX) {
473
- @if $tag != '' {
474
- $tag: '-#{$tag}';
475
- }
476
- @return '#{$prefix}#{$tag}';
477
- }
@@ -11,11 +11,9 @@ http_images_path = "/assets/images"
11
11
  http_fonts_path = "/assets/fonts"
12
12
  line_comments = false
13
13
  environment = :production
14
- testing = true
15
14
 
16
15
  asset_cache_buster do |path, file|
17
16
  "busted=true"
18
17
  end
19
18
 
20
19
  disable_warnings = true
21
-
@@ -1,11 +1,11 @@
1
1
  .before {
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));
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));
3
3
  }
4
4
 
5
5
  .after-content {
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="&#x27BD;",this.appendChild(this.el));
6
+ *zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype"),this.el.innerHTML="&#x27BD;",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.id="ie-pseudo-archetype-uid-RANDOM_UID",this.el.innerHTML="testing &#x27BD;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.innerHTML="testing &#x27BD;if this works",this.el.style.cssText="color: red; background: green;",this.insertBefore(this.el));
11
11
  }
@@ -6,7 +6,6 @@
6
6
  margin: 0;
7
7
  overflow: visible;
8
8
  text-decoration: none !important;
9
- text-align: center;
10
9
  width: auto;
11
10
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
12
11
  -webkit-border-radius: 3px;
@@ -82,7 +81,6 @@
82
81
  margin: 0;
83
82
  overflow: visible;
84
83
  text-decoration: none !important;
85
- text-align: center;
86
84
  width: auto;
87
85
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
88
86
  -webkit-border-radius: 3px;
@@ -158,7 +156,6 @@
158
156
  margin: 0;
159
157
  overflow: visible;
160
158
  text-decoration: none !important;
161
- text-align: center;
162
159
  width: auto;
163
160
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
164
161
  -webkit-border-radius: 3px;
@@ -234,7 +231,6 @@
234
231
  margin: 0;
235
232
  overflow: visible;
236
233
  text-decoration: none !important;
237
- text-align: center;
238
234
  width: auto;
239
235
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
240
236
  -webkit-border-radius: 3px;
@@ -310,7 +306,6 @@
310
306
  margin: 0;
311
307
  overflow: visible;
312
308
  text-decoration: none !important;
313
- text-align: center;
314
309
  width: auto;
315
310
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
316
311
  -webkit-border-radius: 3px;
@@ -386,7 +381,6 @@
386
381
  margin: 0;
387
382
  overflow: visible;
388
383
  text-decoration: none !important;
389
- text-align: center;
390
384
  width: auto;
391
385
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
392
386
  -webkit-border-radius: 3px;
@@ -462,7 +456,6 @@
462
456
  margin: 0;
463
457
  overflow: visible;
464
458
  text-decoration: none !important;
465
- text-align: center;
466
459
  width: auto;
467
460
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
468
461
  -webkit-border-radius: 3px;
@@ -538,7 +531,6 @@
538
531
  margin: 0;
539
532
  overflow: visible;
540
533
  text-decoration: none !important;
541
- text-align: center;
542
534
  width: auto;
543
535
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
544
536
  -webkit-border-radius: 3px;
@@ -614,7 +606,6 @@
614
606
  margin: 0;
615
607
  overflow: visible;
616
608
  text-decoration: none !important;
617
- text-align: center;
618
609
  width: auto;
619
610
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
620
611
  -webkit-border-radius: 3px;
@@ -691,7 +682,6 @@
691
682
  margin: 0;
692
683
  overflow: visible;
693
684
  text-decoration: none !important;
694
- text-align: center;
695
685
  width: auto;
696
686
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
697
687
  -webkit-border-radius: 3px;
@@ -767,7 +757,6 @@
767
757
  margin: 0;
768
758
  overflow: visible;
769
759
  text-decoration: none !important;
770
- text-align: center;
771
760
  width: auto;
772
761
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
773
762
  -webkit-border-radius: 3px;
@@ -843,7 +832,6 @@
843
832
  margin: 0;
844
833
  overflow: visible;
845
834
  text-decoration: none !important;
846
- text-align: center;
847
835
  width: auto;
848
836
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
849
837
  -webkit-border-radius: 3px;
@@ -919,7 +907,6 @@
919
907
  margin: 0;
920
908
  overflow: visible;
921
909
  text-decoration: none !important;
922
- text-align: center;
923
910
  width: auto;
924
911
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
925
912
  -webkit-border-radius: 3px;
@@ -995,7 +982,6 @@
995
982
  margin: 0;
996
983
  overflow: visible;
997
984
  text-decoration: none !important;
998
- text-align: center;
999
985
  width: auto;
1000
986
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
1001
987
  -webkit-border-radius: 3px;
@@ -1071,7 +1057,6 @@
1071
1057
  margin: 0;
1072
1058
  overflow: visible;
1073
1059
  text-decoration: none !important;
1074
- text-align: center;
1075
1060
  width: auto;
1076
1061
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
1077
1062
  -webkit-border-radius: 3px;
@@ -1147,7 +1132,6 @@
1147
1132
  margin: 0;
1148
1133
  overflow: visible;
1149
1134
  text-decoration: none !important;
1150
- text-align: center;
1151
1135
  width: auto;
1152
1136
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
1153
1137
  -webkit-border-radius: 3px;
@@ -1223,7 +1207,6 @@
1223
1207
  margin: 0;
1224
1208
  overflow: visible;
1225
1209
  text-decoration: none !important;
1226
- text-align: center;
1227
1210
  width: auto;
1228
1211
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
1229
1212
  -webkit-border-radius: 3px;
@@ -1299,7 +1282,6 @@
1299
1282
  margin: 0;
1300
1283
  overflow: visible;
1301
1284
  text-decoration: none !important;
1302
- text-align: center;
1303
1285
  width: auto;
1304
1286
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
1305
1287
  -webkit-border-radius: 3px;
@@ -1376,7 +1358,6 @@
1376
1358
  margin: 0;
1377
1359
  overflow: visible;
1378
1360
  text-decoration: none !important;
1379
- text-align: center;
1380
1361
  width: auto;
1381
1362
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
1382
1363
  -webkit-border-radius: 3px;
@@ -1452,7 +1433,6 @@
1452
1433
  margin: 0;
1453
1434
  overflow: visible;
1454
1435
  text-decoration: none !important;
1455
- text-align: center;
1456
1436
  width: auto;
1457
1437
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
1458
1438
  -webkit-border-radius: 3px;
@@ -1528,7 +1508,6 @@
1528
1508
  margin: 0;
1529
1509
  overflow: visible;
1530
1510
  text-decoration: none !important;
1531
- text-align: center;
1532
1511
  width: auto;
1533
1512
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
1534
1513
  -webkit-border-radius: 3px;
@@ -1604,7 +1583,6 @@
1604
1583
  margin: 0;
1605
1584
  overflow: visible;
1606
1585
  text-decoration: none !important;
1607
- text-align: center;
1608
1586
  width: auto;
1609
1587
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
1610
1588
  -webkit-border-radius: 3px;
@@ -1680,7 +1658,6 @@
1680
1658
  margin: 0;
1681
1659
  overflow: visible;
1682
1660
  text-decoration: none !important;
1683
- text-align: center;
1684
1661
  width: auto;
1685
1662
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
1686
1663
  -webkit-border-radius: 3px;
@@ -1756,7 +1733,6 @@
1756
1733
  margin: 0;
1757
1734
  overflow: visible;
1758
1735
  text-decoration: none !important;
1759
- text-align: center;
1760
1736
  width: auto;
1761
1737
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
1762
1738
  -webkit-border-radius: 3px;
@@ -1832,7 +1808,6 @@
1832
1808
  margin: 0;
1833
1809
  overflow: visible;
1834
1810
  text-decoration: none !important;
1835
- text-align: center;
1836
1811
  width: auto;
1837
1812
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
1838
1813
  -webkit-border-radius: 3px;
@@ -1908,7 +1883,6 @@
1908
1883
  margin: 0;
1909
1884
  overflow: visible;
1910
1885
  text-decoration: none !important;
1911
- text-align: center;
1912
1886
  width: auto;
1913
1887
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
1914
1888
  -webkit-border-radius: 3px;
@@ -1984,7 +1958,6 @@
1984
1958
  margin: 0;
1985
1959
  overflow: visible;
1986
1960
  text-decoration: none !important;
1987
- text-align: center;
1988
1961
  width: auto;
1989
1962
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
1990
1963
  -webkit-border-radius: 3px;
@@ -2060,7 +2033,6 @@
2060
2033
  margin: 0;
2061
2034
  overflow: visible;
2062
2035
  text-decoration: none !important;
2063
- text-align: center;
2064
2036
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
2065
2037
  -webkit-box-sizing: border-box;
2066
2038
  -moz-box-sizing: border-box;