compass-inuit 4.5.5.1 → 5.0.1

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.
Files changed (62) hide show
  1. checksums.yaml +15 -0
  2. data/README.md +2 -4
  3. data/stylesheets/_compass-inuit.scss +1 -0
  4. data/stylesheets/compass-inuit/_base.scss +0 -1
  5. data/stylesheets/compass-inuit/_defaults.scss +225 -0
  6. data/stylesheets/compass-inuit/_objects.scss +1 -2
  7. data/stylesheets/compass-inuit/base/_code.scss +4 -4
  8. data/stylesheets/compass-inuit/base/_forms.scss +19 -19
  9. data/stylesheets/compass-inuit/base/_headings.scss +4 -4
  10. data/stylesheets/compass-inuit/base/_images.scss +7 -1
  11. data/stylesheets/compass-inuit/base/_lists.scss +0 -0
  12. data/stylesheets/compass-inuit/base/_main.scss +1 -1
  13. data/stylesheets/compass-inuit/base/_paragraphs.scss +0 -0
  14. data/stylesheets/compass-inuit/base/_quotes.scss +15 -15
  15. data/stylesheets/compass-inuit/base/_smallprint.scss +0 -0
  16. data/stylesheets/compass-inuit/base/_tables.scss +2 -2
  17. data/stylesheets/compass-inuit/generic/_brand.scss +0 -0
  18. data/stylesheets/compass-inuit/generic/_clearfix.scss +3 -9
  19. data/stylesheets/compass-inuit/generic/_debug.scss +3 -3
  20. data/stylesheets/compass-inuit/generic/_helper.scss +99 -27
  21. data/stylesheets/compass-inuit/generic/_mixins.scss +106 -77
  22. data/stylesheets/compass-inuit/generic/_pull.scss +39 -15
  23. data/stylesheets/compass-inuit/generic/_push.scss +39 -15
  24. data/stylesheets/compass-inuit/generic/_reset.scss +3 -3
  25. data/stylesheets/compass-inuit/generic/_shared.scss +1 -1
  26. data/stylesheets/compass-inuit/generic/_widths.scss +6 -2
  27. data/stylesheets/compass-inuit/objects/_arrows.scss +14 -10
  28. data/stylesheets/compass-inuit/objects/_beautons.scss +226 -0
  29. data/stylesheets/compass-inuit/objects/_block-list.scss +10 -6
  30. data/stylesheets/compass-inuit/objects/_breadcrumb.scss +14 -10
  31. data/stylesheets/compass-inuit/objects/_columns.scss +7 -3
  32. data/stylesheets/compass-inuit/objects/_flexbox.scss +15 -11
  33. data/stylesheets/compass-inuit/objects/_flyout.scss +12 -8
  34. data/stylesheets/compass-inuit/objects/_greybox.scss +11 -7
  35. data/stylesheets/compass-inuit/objects/_grids.scss +31 -61
  36. data/stylesheets/compass-inuit/objects/_icon-text.scss +8 -4
  37. data/stylesheets/compass-inuit/objects/_island.scss +8 -4
  38. data/stylesheets/compass-inuit/objects/_link-complex.scss +8 -4
  39. data/stylesheets/compass-inuit/objects/_lozenges.scss +11 -7
  40. data/stylesheets/compass-inuit/objects/_marginalia.scss +5 -1
  41. data/stylesheets/compass-inuit/objects/_matrix.scss +16 -25
  42. data/stylesheets/compass-inuit/objects/_media.scss +12 -8
  43. data/stylesheets/compass-inuit/objects/_nav.scss +26 -22
  44. data/stylesheets/compass-inuit/objects/_options.scss +8 -4
  45. data/stylesheets/compass-inuit/objects/_pagination.scss +11 -7
  46. data/stylesheets/compass-inuit/objects/_rules.scss +11 -7
  47. data/stylesheets/compass-inuit/objects/_split.scss +16 -12
  48. data/stylesheets/compass-inuit/objects/_sprite.scss +36 -30
  49. data/stylesheets/compass-inuit/objects/_stats.scss +7 -3
  50. data/stylesheets/compass-inuit/objects/_this-or-this.scss +8 -4
  51. data/templates/project/_vars.scss +47 -100
  52. data/templates/project/style.scss +3 -4
  53. metadata +7 -18
  54. data/stylesheets/compass-inuit/base/_links.scss +0 -37
  55. data/stylesheets/compass-inuit/objects/_batch.scss +0 -15
  56. data/stylesheets/compass-inuit/objects/_buttons.scss +0 -44
  57. data/templates/batch/assets/batch/batch.eot +0 -0
  58. data/templates/batch/assets/batch/batch.svg +0 -360
  59. data/templates/batch/assets/batch/batch.ttf +0 -0
  60. data/templates/batch/assets/batch/batch.woff +0 -0
  61. data/templates/batch/assets/batch/batch_webfont_reference.pdf +0 -0
  62. data/templates/batch/manifest.rb +0 -21
@@ -3,7 +3,7 @@
3
3
  \*------------------------------------*/
4
4
  /**
5
5
  * As per: csswizardry.com/2012/02/pragmatic-practical-font-sizing-in-css
6
- *
6
+ *
7
7
  * When we define a heading we also define a corresponding class to go with it.
8
8
  * This allows us to apply, say, `class=alpha` to a `h3`; a double-stranded
9
9
  * heading hierarchy.
@@ -31,12 +31,12 @@ h6,.zeta{
31
31
  /**
32
32
  * Heading groups and generic any-heading class.
33
33
  * To target any heading of any level simply apply a class of `.hN`, e.g.:
34
- *
34
+ *
35
35
  <hgroup>
36
36
  <h1 class=hN>inuit.css</h1>
37
37
  <h2 class=hN>Best. Framework. Ever!</h2>
38
38
  </hgroup>
39
- *
39
+ *
40
40
  */
41
41
  .hN{
42
42
  }
@@ -57,4 +57,4 @@ hgroup .hN{
57
57
  }
58
58
  .kilo{
59
59
  @include font-size($kilo-size);
60
- }
60
+ }
@@ -21,6 +21,12 @@ img[height]{
21
21
  }
22
22
 
23
23
 
24
+ /**
25
+ * Rounded images.
26
+ */
27
+ .img--round { border-radius:$brand-round; }
28
+
29
+
24
30
  /**
25
31
  * Image placement variations.
26
32
  */
@@ -44,7 +50,7 @@ img[height]{
44
50
 
45
51
  /**
46
52
  * Keep your images on your baseline.
47
- *
53
+ *
48
54
  * Please note, these will not work too nicely with fluid images and will
49
55
  * distort when resized below a certain width. Use with caution.
50
56
  */
@@ -2,7 +2,7 @@
2
2
  $MAIN
3
3
  \*------------------------------------*/
4
4
  html{
5
- font:#{($base-font-size/16px)*1em}/#{$line-height-ratio} serif;
5
+ font:#{($base-font-size/16px)*1em}/#{$line-height-ratio} $base-font-family;
6
6
  overflow-y:scroll;
7
7
  min-height:100%;
8
8
  }
@@ -5,8 +5,8 @@
5
5
  * If English quotes are set in `_vars.scss`, define them here.
6
6
  */
7
7
  @if $english-quotes == true{
8
- $open-quote: “;
9
- $close-quote: ”;
8
+ $open-quote: \201C;
9
+ $close-quote: \201D;
10
10
  }
11
11
 
12
12
 
@@ -18,30 +18,30 @@
18
18
  * Inline quotes.
19
19
  */
20
20
  q{
21
- quotes:"" "" "#{$open-quote}" "#{$close-quote}";
21
+ quotes:"\2018" "\2019" "#{$open-quote}" "#{$close-quote}";
22
22
 
23
23
  &:before{
24
- content:"";
24
+ content:"\2018";
25
25
  content:open-quote;
26
26
  }
27
27
  &:after{
28
- content:"";
28
+ content:"\2019";
29
29
  content:close-quote;
30
30
  }
31
31
 
32
32
  q:before{
33
- content:"";
33
+ content:"\201C";
34
34
  content:open-quote;
35
35
  }
36
36
  q:after{
37
- content:"";
37
+ content:"\201D";
38
38
  content:close-quote;
39
39
  }
40
40
  }
41
41
 
42
42
  blockquote{
43
43
  quotes:"#{$open-quote}" "#{$close-quote}";
44
-
44
+
45
45
  p:before{
46
46
  content:"#{$open-quote}";
47
47
  content:open-quote;
@@ -56,31 +56,31 @@ blockquote{
56
56
  }
57
57
 
58
58
  q:before{
59
- content:"";
59
+ content:"\2018";
60
60
  content:open-quote;
61
61
  }
62
62
  q:after{
63
- content:"";
63
+ content:"\2019";
64
64
  content:close-quote;
65
65
  }
66
66
  }
67
67
 
68
68
 
69
69
  /**
70
- *
70
+ *
71
71
  <blockquote>
72
72
  <p>Insanity: doing the same thing over and over again and expecting
73
73
  different results.</p>
74
74
  <b class=source>Albert Einstein</b>
75
75
  </blockquote>
76
- *
76
+ *
77
77
  */
78
78
  blockquote{
79
79
  /**
80
80
  * .4em is roughly equal to the width of the opening “ that we wish to hang.
81
81
  */
82
82
  text-indent:-0.41em;
83
-
83
+
84
84
  p:last-of-type{
85
85
  margin-bottom:0;
86
86
  }
@@ -89,8 +89,8 @@ blockquote{
89
89
  .source{
90
90
  display:block;
91
91
  text-indent:0;
92
-
92
+
93
93
  &:before{
94
- content:"";
94
+ content:"\2014";
95
95
  }
96
96
  }
@@ -127,7 +127,7 @@ td{
127
127
 
128
128
  th,
129
129
  td{
130
- border:1px solid #ccc; /* Override this color in your theme stylesheet */
130
+ border:1px solid $base-ui-color;
131
131
 
132
132
  &:empty{
133
133
  border:none;
@@ -160,4 +160,4 @@ td{
160
160
  */
161
161
  .table--data{
162
162
  font:12px/1.5 sans-serif;
163
- }
163
+ }
@@ -2,20 +2,14 @@
2
2
  $CLEARFIX
3
3
  \*------------------------------------*/
4
4
  /**
5
- * Micro clearfix, as per: nicolasgallagher.com/micro-clearfix-hack
5
+ * Micro clearfix, as per: css-101.org/articles/clearfix/latest-new-clearfix-so-far.php
6
6
  * Extend the clearfix class with Sass to avoid the `.cf` class appearing over
7
7
  * and over in your markup.
8
8
  */
9
9
  .cf{
10
- zoom:1;
11
-
12
- &:before,
13
10
  &:after{
14
- content:" ";
11
+ content:"";
15
12
  display:table;
16
- }
17
-
18
- &:after{
19
13
  clear:both;
20
14
  }
21
- }
15
+ }
@@ -5,11 +5,11 @@
5
5
  /**
6
6
  * Enable this stylesheet to visually detect any improperly nested or
7
7
  * potentially invalid markup, or any potentially inaccessible code.
8
- *
8
+ *
9
9
  * Red == definite error
10
10
  * Yellow == double-check
11
11
  * None == should be fine
12
- *
12
+ *
13
13
  * Please note that this method of checking markup quality should not be relied
14
14
  * upon entirely. Validate your markup!
15
15
  */
@@ -165,4 +165,4 @@ input[type=submit][value]{
165
165
  outline:5px solid red;
166
166
  }
167
167
 
168
- }/* endif */
168
+ }/* endif */
@@ -10,13 +10,51 @@
10
10
  * A lot of these classes carry `!important` as you will always want them to win
11
11
  * out over other selectors.
12
12
  */
13
+
14
+
15
+ /**
16
+ * Add/remove floats
17
+ */
13
18
  .float--right { float:right!important; }
14
19
  .float--left { float:left !important; }
20
+ .float--none { float:none !important; }
15
21
 
22
+
23
+ /**
24
+ * Text alignment
25
+ */
16
26
  .text--left { text-align:left !important; }
17
27
  .text--center { text-align:center!important; }
18
28
  .text--right { text-align:right !important; }
19
29
 
30
+
31
+ /**
32
+ * Font weights
33
+ */
34
+ .weight--light { font-weight:300!important; }
35
+ .weight--normal { font-weight:400!important; }
36
+ .weight--semibold { font-weight:600!important; }
37
+
38
+
39
+ /**
40
+ * Add/remove margins
41
+ */
42
+ .push { margin: $base-spacing-unit!important; }
43
+ .push--top { margin-top: $base-spacing-unit!important; }
44
+ .push--right { margin-right: $base-spacing-unit!important; }
45
+ .push--bottom { margin-bottom:$base-spacing-unit!important; }
46
+ .push--left { margin-left: $base-spacing-unit!important; }
47
+ .push--ends { margin-top: $base-spacing-unit!important; margin-bottom:$base-spacing-unit!important; }
48
+ .push--sides { margin-right: $base-spacing-unit!important; margin-left: $base-spacing-unit!important; }
49
+
50
+ .push-half { margin: $half-spacing-unit!important; }
51
+ .push-half--top { margin-top: $half-spacing-unit!important; }
52
+ .push-half--right { margin-right: $half-spacing-unit!important; }
53
+ .push-half--bottom { margin-bottom:$half-spacing-unit!important; }
54
+ .push-half--left { margin-left: $half-spacing-unit!important; }
55
+ .push-half--ends { margin-top: $half-spacing-unit!important; margin-bottom:$half-spacing-unit!important; }
56
+ .push-half--sides { margin-right: $half-spacing-unit!important; margin-left: $half-spacing-unit!important; }
57
+
20
58
  .flush { margin: 0!important; }
21
59
  .flush--top { margin-top: 0!important; }
22
60
  .flush--right { margin-right: 0!important; }
@@ -26,13 +64,41 @@
26
64
  .flush--sides { margin-right: 0!important; margin-left: 0!important; }
27
65
 
28
66
 
67
+ /**
68
+ * Add/remove paddings
69
+ */
70
+ .soft { padding: $base-spacing-unit!important; }
71
+ .soft--top { padding-top: $base-spacing-unit!important; }
72
+ .soft--right { padding-right: $base-spacing-unit!important; }
73
+ .soft--bottom { padding-bottom:$base-spacing-unit!important; }
74
+ .soft--left { padding-left: $base-spacing-unit!important; }
75
+ .soft--ends { padding-top: $base-spacing-unit!important; padding-bottom:$base-spacing-unit!important; }
76
+ .soft--sides { padding-right: $base-spacing-unit!important; padding-left: $base-spacing-unit!important; }
77
+
78
+ .soft-half { padding: $half-spacing-unit!important; }
79
+ .soft-half--top { padding-top: $half-spacing-unit!important; }
80
+ .soft-half--right { padding-right: $half-spacing-unit!important; }
81
+ .soft-half--bottom { padding-bottom:$half-spacing-unit!important; }
82
+ .soft-half--left { padding-left: $half-spacing-unit!important; }
83
+ .soft-half--ends { padding-top: $half-spacing-unit!important; padding-bottom:$half-spacing-unit!important; }
84
+ .soft-half--sides { padding-right: $half-spacing-unit!important; padding-left: $half-spacing-unit!important; }
85
+
86
+ .hard { padding: 0!important; }
87
+ .hard--top { padding-top: 0!important; }
88
+ .hard--right { padding-right: 0!important; }
89
+ .hard--bottom { padding-bottom:0!important; }
90
+ .hard--left { padding-left: 0!important; }
91
+ .hard--ends { padding-top: 0!important; padding-bottom:0!important; }
92
+ .hard--sides { padding-right: 0!important; padding-left: 0!important; }
93
+
94
+
29
95
  /**
30
96
  * Pull items full width of `.island` parents.
31
97
  */
32
98
  .full-bleed{
33
99
  margin-right:-$base-spacing-unit!important;
34
100
  margin-left: -$base-spacing-unit!important;
35
-
101
+
36
102
  .islet &{
37
103
  margin-right:-($half-spacing-unit)!important;
38
104
  margin-left: -($half-spacing-unit)!important;
@@ -45,7 +111,7 @@
45
111
  * `:hover`.
46
112
  */
47
113
  .informative{
48
- cursor:help;
114
+ cursor:help!important;
49
115
  }
50
116
 
51
117
 
@@ -53,30 +119,30 @@
53
119
  * Mute an object by reducing its opacity.
54
120
  */
55
121
  .muted{
56
- opacity:0.5;
57
- filter:alpha(opacity = 50);
122
+ opacity:0.5!important;
123
+ filter:alpha(opacity = 50)!important;
58
124
  }
59
125
 
60
126
 
61
127
  /**
62
128
  * Align items to the right where they imply progression/movement forward, e.g.:
63
- *
129
+ *
64
130
  <p class=proceed><a href=#>Read more...</a></p>
65
- *
131
+ *
66
132
  */
67
133
  .proceed{
68
- text-align:right;
134
+ text-align:right!important;
69
135
  }
70
136
 
71
137
 
72
138
  /**
73
139
  * Add a right-angled quote to links that imply movement, e.g.:
74
- *
140
+ *
75
141
  <a href=# class=go>Read more</a>
76
- *
142
+ *
77
143
  */
78
144
  .go:after{
79
- content:" »";
145
+ content:"\00A0" "\00BB"!important;
80
146
  }
81
147
 
82
148
 
@@ -84,29 +150,35 @@
84
150
  * Apply capital case to an element (usually a `strong`).
85
151
  */
86
152
  .caps{
87
- text-transform:uppercase;
153
+ text-transform:uppercase!important;
88
154
  }
89
155
 
90
156
 
91
157
  /**
92
- * Hide content off-screen without resorting to `display:none;`
158
+ * Hide content off-screen without resorting to `display:none;`, also provide
159
+ * breakpoint specific hidden elements.
93
160
  */
94
- .accessibility { position:absolute; left:-99999px; }
95
- [dir=rtl] .accessibility { left:auto; right:-99999px; }
96
-
97
-
98
- /**
99
- * Hide content based on breakpoint
100
- */
101
- .hide{
102
- position:absolute;
103
- left:-9999px;
161
+ @mixin accessibility{
162
+ border:0!important;
163
+ clip:rect(0 0 0 0)!important;
164
+ height:1px!important;
165
+ margin:-1px!important;
166
+ overflow:hidden!important;
167
+ padding:0!important;
168
+ position: absolute!important;
169
+ width:1px!important;
170
+ }
171
+ .accessibility,
172
+ .visuallyhidden{
173
+ @include accessibility;
104
174
  }
105
- @each $state in palm, lap, portable, desk{
106
- @include media-query(#{$state}){
107
- .hide--#{$state}{
108
- position:absolute;
109
- left:-9999px;
175
+ @if $responsive{
176
+ @each $state in palm, lap, lap-and-up, portable, desk, desk-wide{
177
+ @include media-query(#{$state}){
178
+ .accessibility--#{$state},
179
+ .visuallyhidden--#{$state}{
180
+ @include accessibility;
181
+ }
110
182
  }
111
183
  }
112
184
  }
@@ -4,24 +4,53 @@
4
4
  /**
5
5
  * Create a fully formed type style (sizing and vertical rhythm) by passing in a
6
6
  * single value, e.g.:
7
- *
7
+ *
8
8
  `@include font-size(10px);`
9
- *
9
+ *
10
10
  * Thanks to @redclov3r for the `line-height` Sass:
11
11
  * twitter.com/redclov3r/status/250301539321798657
12
12
  */
13
- @mixin font-size($font-size){
13
+ @mixin font-size($font-size, $line-height:true){
14
14
  font-size:$font-size;
15
15
  font-size:($font-size / $base-font-size)*1rem;
16
- line-height:ceil($font-size / $base-line-height) * ($base-line-height / $font-size);
16
+ @if $line-height == true{
17
+ line-height:ceil($font-size / $base-line-height) * ($base-line-height / $font-size);
18
+ }
19
+ }
20
+
21
+
22
+ /**
23
+ * Style any number of headings in one fell swoop, e.g.:
24
+ *
25
+ .foo{
26
+ @include headings(1, 3){
27
+ color:#BADA55;
28
+ }
29
+ }
30
+ *
31
+ * With thanks to @lar_zzz, @paranoida and @rowanmanning and ultimately
32
+ * @thierrylemoulec for refining and improving my initial mixin.
33
+ */
34
+ @mixin headings($from: 1, $to: 6){
35
+ %base-heading {
36
+ @content
37
+ }
38
+
39
+ @if $from >= 1 and $to <= 6{
40
+ @for $i from $from through $to{
41
+ h#{$i}{
42
+ @extend %base-heading;
43
+ }
44
+ }
45
+ }
17
46
  }
18
47
 
19
48
 
20
49
  /**
21
50
  * Create vendor-prefixed CSS in one go, e.g.
22
- *
51
+ *
23
52
  `@include vendor(border-radius, 4px);`
24
- *
53
+ *
25
54
  */
26
55
  @mixin vendor($property, $value...){
27
56
  -webkit-#{$property}:$value;
@@ -34,36 +63,36 @@
34
63
 
35
64
  /**
36
65
  * Create CSS keyframe animations for all vendors in one go, e.g.:
37
- *
66
+ *
38
67
  .foo{
39
68
  @include vendor(animation, shrink 3s);
40
69
  }
41
-
70
+
42
71
  @include keyframe(shrink){
43
72
  from{
44
73
  font-size:5em;
45
74
  }
46
75
  }
47
- *
76
+ *
48
77
  * Courtesy of @integralist: twitter.com/integralist/status/260484115315437569
49
78
  */
50
79
  @mixin keyframe ($animation-name){
51
80
  @-webkit-keyframes $animation-name{
52
81
  @content;
53
82
  }
54
-
83
+
55
84
  @-moz-keyframes $animation-name{
56
85
  @content;
57
86
  }
58
-
87
+
59
88
  @-ms-keyframes $animation-name{
60
89
  @content;
61
90
  }
62
-
91
+
63
92
  @-o-keyframes $animation-name{
64
93
  @content;
65
94
  }
66
-
95
+
67
96
  @keyframes $animation-name{
68
97
  @content;
69
98
  }
@@ -72,9 +101,9 @@
72
101
 
73
102
  /**
74
103
  * Force overly long spans of text to truncate, e.g.:
75
- *
104
+ *
76
105
  `@include truncate(100%);`
77
- *
106
+ *
78
107
  * Where `$truncation-boundary` is a united measurement.
79
108
  */
80
109
  @mixin truncate($truncation-boundary){
@@ -87,10 +116,10 @@
87
116
 
88
117
  /**
89
118
  * CSS arrows!!! But... before you read on, you might want to grab a coffee...
90
- *
119
+ *
91
120
  * This mixin creates a CSS arrow on a given element. We can have the arrow
92
121
  * appear in one of 12 locations, thus:
93
- *
122
+ *
94
123
  * 01 02 03
95
124
  * +------------------+
96
125
  * 12 | | 04
@@ -100,132 +129,132 @@
100
129
  * 10 | | 06
101
130
  * +------------------+
102
131
  * 09 08 07
103
- *
132
+ *
104
133
  * You pass this position in along with a desired arrow color and optional
105
134
  * border color, for example:
106
- *
135
+ *
107
136
  * `@include arrow(top, left, red)`
108
- *
137
+ *
109
138
  * for just a single, red arrow, or:
110
- *
139
+ *
111
140
  * `@include arrow(bottom, center, red, black)`
112
- *
141
+ *
113
142
  * which will create a red triangle with a black border which sits at the bottom
114
- * center of the element. Call the mixin thus:
115
- *
143
+ * center of the element. Call the mixin thus:
144
+ *
116
145
  .foo{
117
146
  background-color:#BADA55;
118
147
  border:1px solid #ACE;
119
148
  @include arrow(top, left, #BADA55, #ACE);
120
149
  }
121
- *
150
+ *
122
151
  */
123
152
  @mixin arrow($arrow-edge, $arrow-location, $arrow-color, $border-color: $arrow-color){
124
-
153
+
125
154
  @if $arrow-edge == top{
126
-
155
+
127
156
  @extend %arrow--top;
128
-
157
+
129
158
  &:before{
130
159
  border-bottom-color:$border-color!important;
131
160
  }
132
-
161
+
133
162
  &:after{
134
163
  border-bottom-color:$arrow-color!important;
135
164
  }
136
-
165
+
137
166
  @if $arrow-location == left{
138
167
  @extend %arrow--left;
139
168
  }
140
-
169
+
141
170
  @if $arrow-location == center{
142
171
  @extend %arrow--center;
143
172
  }
144
-
173
+
145
174
  @if $arrow-location == right{
146
175
  @extend %arrow--right;
147
176
  }
148
-
177
+
149
178
  }
150
-
179
+
151
180
  @if $arrow-edge == right{
152
-
181
+
153
182
  @extend %arrow--far;
154
-
183
+
155
184
  &:before{
156
185
  border-left-color:$border-color!important;
157
186
  }
158
-
187
+
159
188
  &:after{
160
189
  border-left-color:$arrow-color!important;
161
190
  }
162
-
191
+
163
192
  @if $arrow-location == top{
164
193
  @extend %arrow--upper;
165
194
  }
166
-
195
+
167
196
  @if $arrow-location == center{
168
197
  @extend %arrow--middle;
169
198
  }
170
-
199
+
171
200
  @if $arrow-location == bottom{
172
201
  @extend %arrow--lower;
173
202
  }
174
-
203
+
175
204
  }
176
-
205
+
177
206
  @if $arrow-edge == bottom{
178
-
207
+
179
208
  @extend %arrow--bottom;
180
-
209
+
181
210
  &:before{
182
211
  border-top-color:$border-color!important;
183
212
  }
184
-
213
+
185
214
  &:after{
186
215
  border-top-color:$arrow-color!important;
187
216
  }
188
-
217
+
189
218
  @if $arrow-location == left{
190
219
  @extend %arrow--left;
191
220
  }
192
-
221
+
193
222
  @if $arrow-location == center{
194
223
  @extend %arrow--center;
195
224
  }
196
-
225
+
197
226
  @if $arrow-location == right{
198
227
  @extend %arrow--right;
199
228
  }
200
-
229
+
201
230
  }
202
-
231
+
203
232
  @if $arrow-edge == left{
204
-
233
+
205
234
  @extend %arrow--near;
206
-
235
+
207
236
  &:before{
208
237
  border-right-color:$border-color!important;
209
238
  }
210
-
239
+
211
240
  &:after{
212
241
  border-right-color:$arrow-color!important;
213
242
  }
214
-
243
+
215
244
  @if $arrow-location == top{
216
245
  @extend %arrow--upper;
217
246
  }
218
-
247
+
219
248
  @if $arrow-location == center{
220
249
  @extend %arrow--middle;
221
250
  }
222
-
251
+
223
252
  @if $arrow-location == bottom{
224
253
  @extend %arrow--lower;
225
254
  }
226
-
255
+
227
256
  }
228
-
257
+
229
258
  }
230
259
 
231
260
 
@@ -238,7 +267,7 @@
238
267
  * approach to design decisions, this is the closest we can get to baked-in
239
268
  * responsiveness. It’s flexible enough to allow you to set your own breakpoints
240
269
  * but solid enough to be frameworkified.
241
- *
270
+ *
242
271
  * We define some broad breakpoints in our vars file that are picked up here
243
272
  * for use in a simple media query mixin. Our options are:
244
273
  *
@@ -248,11 +277,11 @@
248
277
  * portable
249
278
  * desk
250
279
  * desk-wide
251
- *
280
+ *
252
281
  * Not using a media query will, naturally, serve styles to all devices.
253
- *
282
+ *
254
283
  * `@include media-query(palm){ [styles here] }`
255
- *
284
+ *
256
285
  * We work out your end points for you:
257
286
  */
258
287
  $palm-end: $lap-start - 1px;
@@ -261,33 +290,33 @@ $lap-end: $desk-start - 1px;
261
290
  @mixin media-query($media-query){
262
291
 
263
292
  @if $media-query == palm{
264
-
293
+
265
294
  @media only screen and (max-width:$palm-end) { @content; }
266
-
295
+
267
296
  }
268
-
297
+
269
298
  @if $media-query == lap{
270
-
299
+
271
300
  @media only screen and (min-width:$lap-start) and (max-width:$lap-end) { @content; }
272
-
301
+
273
302
  }
274
-
303
+
275
304
  @if $media-query == lap-and-up{
276
-
305
+
277
306
  @media only screen and (min-width:$lap-start) { @content; }
278
-
307
+
279
308
  }
280
-
309
+
281
310
  @if $media-query == portable{
282
-
311
+
283
312
  @media only screen and (max-width:$lap-end) { @content; }
284
-
313
+
285
314
  }
286
-
315
+
287
316
  @if $media-query == desk{
288
-
317
+
289
318
  @media only screen and (min-width:$desk-start) { @content; }
290
-
319
+
291
320
  }
292
321
 
293
322
  @if $media-query == desk-wide{
@@ -295,5 +324,5 @@ $lap-end: $desk-start - 1px;
295
324
  @media only screen and (min-width: $desk-wide-start) { @content; }
296
325
 
297
326
  }
298
-
327
+
299
328
  }