polar-express 0.1.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/LICENSE.txt +2 -2
  4. data/lib/generators/inuitcss/install/USAGE +1 -1
  5. data/lib/generators/inuitcss/install/install_generator.rb +2 -2
  6. data/lib/generators/inuitcss/install/templates/inuit.scss +56 -0
  7. data/lib/polar-express/version.rb +2 -2
  8. data/vendor/assets/inuit.css/inuit-bare-list/.bower.json +29 -0
  9. data/vendor/assets/inuit.css/inuit-bare-list/.gitignore +3 -0
  10. data/vendor/assets/inuit.css/inuit-bare-list/README.md +7 -0
  11. data/vendor/assets/inuit.css/inuit-bare-list/_objects.bare-list.scss +17 -0
  12. data/vendor/assets/inuit.css/inuit-block-list/.bower.json +30 -0
  13. data/vendor/assets/inuit.css/inuit-block-list/.gitignore +4 -0
  14. data/vendor/assets/inuit.css/inuit-block-list/README.md +7 -0
  15. data/vendor/assets/inuit.css/inuit-block-list/_objects.block-list.scss +78 -0
  16. data/vendor/assets/inuit.css/inuit-box-sizing/.bower.json +25 -0
  17. data/vendor/assets/inuit.css/inuit-box-sizing/README.md +4 -0
  18. data/vendor/assets/inuit.css/inuit-box-sizing/_generic.box-sizing.scss +35 -0
  19. data/vendor/assets/inuit.css/inuit-box/.bower.json +31 -0
  20. data/vendor/assets/inuit.css/inuit-box/.gitignore +3 -0
  21. data/vendor/assets/inuit.css/inuit-box/README.md +7 -0
  22. data/vendor/assets/inuit.css/inuit-box/_objects.box.scss +80 -0
  23. data/vendor/assets/inuit.css/inuit-buttons/.bower.json +30 -0
  24. data/vendor/assets/inuit.css/inuit-buttons/.gitignore +4 -0
  25. data/vendor/assets/inuit.css/inuit-buttons/README.md +8 -0
  26. data/vendor/assets/inuit.css/inuit-buttons/_objects.buttons.scss +165 -0
  27. data/vendor/assets/inuit.css/inuit-clearfix/.bower.json +14 -0
  28. data/vendor/assets/inuit.css/inuit-clearfix/README.md +3 -0
  29. data/vendor/assets/inuit.css/inuit-clearfix/_generic.clearfix.scss +19 -0
  30. data/vendor/assets/inuit.css/inuit-defaults/.bower.json +25 -0
  31. data/vendor/assets/inuit.css/inuit-defaults/README.md +8 -0
  32. data/vendor/assets/inuit.css/inuit-defaults/_settings.defaults.scss +42 -0
  33. data/vendor/assets/inuit.css/inuit-flag/.bower.json +30 -0
  34. data/vendor/assets/inuit.css/inuit-flag/.gitignore +4 -0
  35. data/vendor/assets/inuit.css/inuit-flag/README.md +9 -0
  36. data/vendor/assets/inuit.css/inuit-flag/_objects.flag.scss +366 -0
  37. data/vendor/assets/inuit.css/inuit-functions/.bower.json +25 -0
  38. data/vendor/assets/inuit.css/inuit-functions/README.md +4 -0
  39. data/vendor/assets/inuit.css/inuit-functions/_tools.functions.scss +34 -0
  40. data/vendor/assets/inuit.css/inuit-headings/.bower.json +30 -0
  41. data/vendor/assets/inuit.css/inuit-headings/.gitignore +3 -0
  42. data/vendor/assets/inuit.css/inuit-headings/README.md +8 -0
  43. data/vendor/assets/inuit.css/inuit-headings/_base.headings.scss +52 -0
  44. data/vendor/assets/inuit.css/inuit-images/.bower.json +26 -0
  45. data/vendor/assets/inuit.css/inuit-images/README.md +7 -0
  46. data/vendor/assets/inuit.css/inuit-images/_base.images.scss +29 -0
  47. data/vendor/assets/inuit.css/inuit-layout/.bower.json +30 -0
  48. data/vendor/assets/inuit.css/inuit-layout/.gitignore +3 -0
  49. data/vendor/assets/inuit.css/inuit-layout/README.md +9 -0
  50. data/vendor/assets/inuit.css/inuit-layout/_objects.layout.scss +267 -0
  51. data/vendor/assets/inuit.css/inuit-lists/.bower.json +15 -0
  52. data/vendor/assets/inuit.css/inuit-lists/README.md +4 -0
  53. data/vendor/assets/inuit.css/inuit-lists/_base.lists.scss +15 -0
  54. data/vendor/assets/inuit.css/inuit-media/.bower.json +31 -0
  55. data/vendor/assets/inuit.css/inuit-media/.gitignore +4 -0
  56. data/vendor/assets/inuit.css/inuit-media/README.md +12 -0
  57. data/vendor/assets/inuit.css/inuit-media/_objects.media.scss +267 -0
  58. data/vendor/assets/inuit.css/inuit-mixins/.bower.json +25 -0
  59. data/vendor/assets/inuit.css/inuit-mixins/README.md +4 -0
  60. data/vendor/assets/inuit.css/inuit-mixins/_tools.mixins.scss +27 -0
  61. data/vendor/assets/inuit.css/inuit-normalize/.bower.json +27 -0
  62. data/vendor/assets/inuit.css/inuit-normalize/README.md +13 -0
  63. data/vendor/assets/inuit.css/inuit-normalize/_generic.normalize.scss +425 -0
  64. data/vendor/assets/inuit.css/inuit-page/.bower.json +28 -0
  65. data/vendor/assets/inuit.css/inuit-page/.gitignore +3 -0
  66. data/vendor/assets/inuit.css/inuit-page/README.md +9 -0
  67. data/vendor/assets/inuit.css/inuit-page/_base.page.scss +30 -0
  68. data/vendor/assets/inuit.css/inuit-paragraphs/.bower.json +30 -0
  69. data/vendor/assets/inuit.css/inuit-paragraphs/.gitignore +3 -0
  70. data/vendor/assets/inuit.css/inuit-paragraphs/README.md +8 -0
  71. data/vendor/assets/inuit.css/inuit-paragraphs/_base.paragraphs.scss +12 -0
  72. data/vendor/assets/inuit.css/inuit-reset/.bower.json +26 -0
  73. data/vendor/assets/inuit.css/inuit-reset/README.md +5 -0
  74. data/vendor/assets/inuit.css/inuit-reset/_generic.reset.scss +54 -0
  75. data/vendor/assets/inuit.css/inuit-responsive-settings/.bower.json +25 -0
  76. data/vendor/assets/inuit.css/inuit-responsive-settings/README.md +3 -0
  77. data/vendor/assets/inuit.css/inuit-responsive-settings/_settings.responsive.scss +25 -0
  78. data/vendor/assets/inuit.css/inuit-responsive-tools/.bower.json +29 -0
  79. data/vendor/assets/inuit.css/inuit-responsive-tools/.gitignore +4 -0
  80. data/vendor/assets/inuit.css/inuit-responsive-tools/README.md +3 -0
  81. data/vendor/assets/inuit.css/inuit-responsive-tools/_tools.responsive.scss +64 -0
  82. data/vendor/assets/inuit.css/inuit-shared/.bower.json +29 -0
  83. data/vendor/assets/inuit.css/inuit-shared/.gitignore +3 -0
  84. data/vendor/assets/inuit.css/inuit-shared/README.md +9 -0
  85. data/vendor/assets/inuit.css/inuit-shared/_generic.shared.scss +33 -0
  86. data/vendor/assets/inuit.css/inuit-spacing/.bower.json +30 -0
  87. data/vendor/assets/inuit.css/inuit-spacing/.gitignore +4 -0
  88. data/vendor/assets/inuit.css/inuit-spacing/README.md +8 -0
  89. data/vendor/assets/inuit.css/inuit-spacing/_trumps.spacing.scss +337 -0
  90. data/vendor/assets/inuit.css/inuit-starter-kit/.bower.json +33 -0
  91. data/vendor/assets/inuit.css/inuit-starter-kit/.gitignore +3 -0
  92. data/vendor/assets/inuit.css/inuit-starter-kit/README.md +20 -0
  93. data/vendor/assets/inuit.css/inuit-tables/.bower.json +31 -0
  94. data/vendor/assets/inuit.css/inuit-tables/.gitignore +2 -0
  95. data/vendor/assets/inuit.css/inuit-tables/README.md +7 -0
  96. data/vendor/assets/inuit.css/inuit-tables/_objects.tables.scss +194 -0
  97. data/vendor/assets/inuit.css/inuit-tabs/.bower.json +28 -0
  98. data/vendor/assets/inuit.css/inuit-tabs/.gitignore +3 -0
  99. data/vendor/assets/inuit.css/inuit-tabs/README.md +8 -0
  100. data/vendor/assets/inuit.css/inuit-tabs/_objects.tabs.scss +38 -0
  101. data/vendor/assets/inuit.css/inuit-ui-list/.bower.json +30 -0
  102. data/vendor/assets/inuit.css/inuit-ui-list/.gitignore +4 -0
  103. data/vendor/assets/inuit.css/inuit-ui-list/README.md +7 -0
  104. data/vendor/assets/inuit.css/inuit-ui-list/_objects.ui-list.scss +92 -0
  105. data/vendor/assets/inuit.css/inuit-widths/.bower.json +29 -0
  106. data/vendor/assets/inuit.css/inuit-widths/.gitignore +3 -0
  107. data/vendor/assets/inuit.css/inuit-widths/README.md +8 -0
  108. data/vendor/assets/inuit.css/inuit-widths/_trumps.widths.scss +203 -0
  109. metadata +110 -62
  110. data/lib/generators/inuitcss/install/templates/inuit.css.scss +0 -99
  111. data/vendor/assets/stylesheets/CHANGELOG.md +0 -26
  112. data/vendor/assets/stylesheets/CONTRIBUTING.md +0 -42
  113. data/vendor/assets/stylesheets/LICENSE +0 -13
  114. data/vendor/assets/stylesheets/README.md +0 -367
  115. data/vendor/assets/stylesheets/_defaults.scss +0 -225
  116. data/vendor/assets/stylesheets/_inuit.scss +0 -213
  117. data/vendor/assets/stylesheets/base/_code.scss +0 -63
  118. data/vendor/assets/stylesheets/base/_forms.scss +0 -174
  119. data/vendor/assets/stylesheets/base/_headings.scss +0 -60
  120. data/vendor/assets/stylesheets/base/_images.scss +0 -73
  121. data/vendor/assets/stylesheets/base/_lists.scss +0 -19
  122. data/vendor/assets/stylesheets/base/_main.scss +0 -8
  123. data/vendor/assets/stylesheets/base/_paragraphs.scss +0 -11
  124. data/vendor/assets/stylesheets/base/_quotes.scss +0 -96
  125. data/vendor/assets/stylesheets/base/_smallprint.scss +0 -13
  126. data/vendor/assets/stylesheets/base/_tables.scss +0 -163
  127. data/vendor/assets/stylesheets/component.json +0 -5
  128. data/vendor/assets/stylesheets/generic/_brand.scss +0 -18
  129. data/vendor/assets/stylesheets/generic/_clearfix.scss +0 -15
  130. data/vendor/assets/stylesheets/generic/_debug.scss +0 -168
  131. data/vendor/assets/stylesheets/generic/_helper.scss +0 -184
  132. data/vendor/assets/stylesheets/generic/_mixins.scss +0 -328
  133. data/vendor/assets/stylesheets/generic/_normalize.scss +0 -396
  134. data/vendor/assets/stylesheets/generic/_pull.scss +0 -147
  135. data/vendor/assets/stylesheets/generic/_push.scss +0 -147
  136. data/vendor/assets/stylesheets/generic/_reset.scss +0 -80
  137. data/vendor/assets/stylesheets/generic/_shared.scss +0 -61
  138. data/vendor/assets/stylesheets/generic/_widths.scss +0 -158
  139. data/vendor/assets/stylesheets/objects/_arrows.scss +0 -147
  140. data/vendor/assets/stylesheets/objects/_beautons.scss +0 -226
  141. data/vendor/assets/stylesheets/objects/_block-list.scss +0 -44
  142. data/vendor/assets/stylesheets/objects/_breadcrumb.scss +0 -63
  143. data/vendor/assets/stylesheets/objects/_columns.scss +0 -22
  144. data/vendor/assets/stylesheets/objects/_flexbox.scss +0 -55
  145. data/vendor/assets/stylesheets/objects/_flyout.scss +0 -63
  146. data/vendor/assets/stylesheets/objects/_greybox.scss +0 -58
  147. data/vendor/assets/stylesheets/objects/_grids.scss +0 -69
  148. data/vendor/assets/stylesheets/objects/_icon-text.scss +0 -40
  149. data/vendor/assets/stylesheets/objects/_island.scss +0 -38
  150. data/vendor/assets/stylesheets/objects/_link-complex.scss +0 -32
  151. data/vendor/assets/stylesheets/objects/_lozenges.scss +0 -46
  152. data/vendor/assets/stylesheets/objects/_marginalia.scss +0 -52
  153. data/vendor/assets/stylesheets/objects/_matrix.scss +0 -89
  154. data/vendor/assets/stylesheets/objects/_media.scss +0 -60
  155. data/vendor/assets/stylesheets/objects/_nav.scss +0 -155
  156. data/vendor/assets/stylesheets/objects/_options.scss +0 -45
  157. data/vendor/assets/stylesheets/objects/_pagination.scss +0 -50
  158. data/vendor/assets/stylesheets/objects/_rules.scss +0 -65
  159. data/vendor/assets/stylesheets/objects/_split.scss +0 -39
  160. data/vendor/assets/stylesheets/objects/_sprite.scss +0 -98
  161. data/vendor/assets/stylesheets/objects/_stats.scss +0 -52
  162. data/vendor/assets/stylesheets/objects/_this-or-this.scss +0 -38
  163. data/vendor/assets/stylesheets/style.scss +0 -26
@@ -1,22 +0,0 @@
1
- @if $use-columns == true{
2
-
3
- /*------------------------------------*\
4
- $COLUMNS
5
- \*------------------------------------*/
6
- /**
7
- * Here we can set elements in columns of text using CSS3, e.g.:
8
- *
9
- <p class=text-cols--2>
10
- *
11
- * Demo: jsfiddle.net/inuitcss/E26Yd
12
- *
13
- */
14
- %text-cols{
15
- @include vendor(column-gap, $base-spacing-unit);
16
- }
17
- .text-cols--2 { @extend %text-cols; @include vendor(column-count, 2); }
18
- .text-cols--3 { @extend %text-cols; @include vendor(column-count, 3); }
19
- .text-cols--4 { @extend %text-cols; @include vendor(column-count, 4); }
20
- .text-cols--5 { @extend %text-cols; @include vendor(column-count, 5); }
21
-
22
- }//endif
@@ -1,55 +0,0 @@
1
- @if $use-flexbox == true{
2
-
3
- /*------------------------------------*\
4
- $FLEXBOX
5
- \*------------------------------------*/
6
- /**
7
- * Until we can utilise flexbox natively we can kinda, sorta, attempt to emulate
8
- * it, in a way... e.g.:
9
- *
10
- <header class=flexbox>
11
-
12
- <div class=flexbox__item>
13
- <b>Welcome to</b>
14
- </div>
15
-
16
- <div class=flexbox__item>
17
- <img src="//csswizardry.com/inuitcss/img/logo.jpg" alt="inuit.css">
18
- </div>
19
-
20
- </header>
21
- *
22
- * We can also combine our grid system classes with `.flexbox__item` classes,
23
- * e.g.:
24
- *
25
- <div class=flexbox>
26
- <div class="flexbox__item one-quarter">
27
- </div>
28
- <div class="flexbox__item three-quarters">
29
- </div>
30
- </div>
31
- *
32
- * It’s pretty poorly named I’m afraid, but it works...
33
- *
34
- * Demo: jsfiddle.net/inuitcss/ufUh2
35
- *
36
- */
37
- .flexbox{
38
- display:table;
39
- width:100%;
40
- }
41
-
42
- /**
43
- * Nasty hack to circumvent Modernizr conflicts.
44
- */
45
- html.flexbox{
46
- display:block;
47
- width:auto;
48
- }
49
-
50
- .flexbox__item{
51
- display:table-cell;
52
- vertical-align:middle;
53
- }
54
-
55
- }//endif
@@ -1,63 +0,0 @@
1
- @if $use-flyout == true{
2
-
3
- /*------------------------------------*\
4
- $FLYOUT
5
- \*------------------------------------*/
6
- /**
7
- * Flyouts are pieces of content that fly out of a parent when said parent is
8
- * hovered. They typically appear bottom-left of the parent.
9
- *
10
- <div class=flyout>
11
- Foo
12
- <div class=flyout__content>
13
- <h1>Lorem</h1>
14
- <p>Ipsum</p>
15
- </div>
16
- </div>
17
- *
18
- * Extend these objects in your theme stylesheet.
19
- *
20
- * Demo: jsfiddle.net/inuitcss/B52HG
21
- *
22
- */
23
- .flyout,
24
- .flyout--alt{
25
- position:relative;
26
- overflow:hidden;
27
- }
28
- .flyout__content{
29
- /**
30
- * Position the flyouts off-screen. This is typically better than
31
- * `display:none;`.
32
- */
33
- position:absolute;
34
- top:100%;
35
- left:-99999px;
36
- }
37
-
38
- /**
39
- * Bring the flyouts into view when you hover their parents.
40
- * Two different types of flyout; ‘regular’ (`.flyout`) and ‘alternative’
41
- * (`.flyout--alt`).
42
- */
43
- .flyout:hover,
44
- .flyout--alt:hover{
45
- overflow:visible;
46
- }
47
-
48
- /**
49
- * Regular flyouts sit all the way from the top, flush left.
50
- */
51
- .flyout:hover > .flyout__content{
52
- left:0;
53
- }
54
-
55
- /**
56
- * Alternative flyouts sit all the way from the left, flush top.
57
- */
58
- .flyout--alt:hover > .flyout__content{
59
- top:0;
60
- left:100%;
61
- }
62
-
63
- }//endif
@@ -1,58 +0,0 @@
1
- @if $use-greybox == true{
2
-
3
- /*------------------------------------*\
4
- $GREYBOX
5
- \*------------------------------------*/
6
- /**
7
- * Quickly throw together greybox wireframes. Use in conjunction with other
8
- * inuit.css objects to create simple greybox prototypes, e.g.:
9
- *
10
- <div class="island greybox greybox--medium">Header</div>
11
-
12
- <ul class="nav nav--fit nav--block greybox">
13
- <li><a href=#>Home</a></li>
14
- <li><a href=#>About</a></li>
15
- <li><a href=#>Portfolio</a></li>
16
- <li><a href=#>Contact</a></li>
17
- </ul>
18
- *
19
- * The beauty of combining the greyboxing with inuit.css objects is that any
20
- * prototyping can quickly be converted into/used as production code.
21
- *
22
- * For a more complete prototyping framework, consider Adam Whitcroft’s Proto:
23
- * adamwhitcroft.com/proto
24
- *
25
- * Demo: jsfiddle.net/inuitcss/qCXfh/
26
- *
27
- */
28
- .greybox,
29
- .graybox{
30
- @include font-size(12px);
31
- font-family:sans-serif;
32
- text-align:center;
33
- background-color:rgba(0,0,0,0.2);
34
- color:#fff;
35
- }
36
- .greybox a,
37
- .graybox a{
38
- color:#fff;
39
- text-decoration:underline;
40
- }
41
-
42
-
43
- /**
44
- * All greyboxes will occupy 100% of their parent’s width, but to alter their
45
- * heights we apply incrementally larger line-heights:
46
- */
47
- .greybox--small,
48
- .graybox--small { line-height: 2 * $base-line-height; }
49
- .greybox--medium,
50
- .graybox--medium { line-height: 4 * $base-line-height; }
51
- .greybox--large,
52
- .graybox--large { line-height: 8 * $base-line-height; }
53
- .greybox--huge,
54
- .graybox--huge { line-height:16 * $base-line-height; }
55
- .greybox--gigantic,
56
- .graybox--gigantic { line-height:32 * $base-line-height; }
57
-
58
- }//endif
@@ -1,69 +0,0 @@
1
- @if $use-grids == true{
2
-
3
- /*------------------------------------*\
4
- $GRIDS
5
- \*------------------------------------*/
6
- /**
7
- * Fluid and nestable grid system, e.g.:
8
- *
9
- <div class="grid">
10
-
11
- <div class="grid__item one-third">
12
- <p>One third grid</p>
13
- </div><!--
14
-
15
- --><div class="grid__item two-thirds">
16
- <p>Two thirds grid</p>
17
- </div><!--
18
-
19
- --><div class="grid__item one-half">
20
- <p>One half grid</p>
21
- </div><!--
22
-
23
- --><div class="grid__item one-quarter">
24
- <p>One quarter grid</p>
25
- </div><!--
26
-
27
- --><div class="grid__item one-quarter">
28
- <p>One quarter grid</p>
29
- </div>
30
-
31
- </div>
32
- *
33
- * Demo: jsfiddle.net/inuitcss/CLYUC
34
- *
35
- */
36
-
37
-
38
- /**
39
- * Grid wrapper
40
- */
41
- .grid{
42
- margin-left:-$base-spacing-unit;
43
- list-style:none;
44
- margin-bottom:0;
45
- }
46
-
47
-
48
- /**
49
- * Very infrequently occuring grid wrappers as children of grid wrappers.
50
- */
51
- .grid > .grid{
52
- margin-left:0;
53
- }
54
-
55
-
56
- /**
57
- * Grid
58
- */
59
- .grid__item{
60
- display:inline-block;
61
- width:100%;
62
- padding-left:$base-spacing-unit;
63
- vertical-align:top;
64
- @if $global-border-box == false{
65
- @include vendor(box-sizing, border-box);
66
- }
67
- }
68
-
69
- }//endif
@@ -1,40 +0,0 @@
1
- @if $use-icon-text == true{
2
-
3
- /*------------------------------------*\
4
- $ICON-TEXT
5
- \*------------------------------------*/
6
- /**
7
- * For text-links etc that have an icon with them. Sometimes whitespace would
8
- * suffice in creating a gap between the icon and text, for example:
9
- *
10
- <a href=#>
11
- <i class="s s--help"></i> Help &amp; support
12
- </a>
13
- *
14
- * However we will sometimes want a larger, explicity set gap:
15
- <a href=# class=icon-text>
16
- <i class="icon-text__icon s s--help"></i>Help &amp; support
17
- </a>
18
- *
19
- * Demo: jsfiddle.net/inuitcss/Q6Lbf
20
- *
21
- */
22
- .icon-text > .icon-text__icon{
23
- margin-right:$half-spacing-unit / 2;
24
- }
25
-
26
-
27
- /**
28
- * We can also reverse the direction of the margin for icons that appear to the
29
- * right of the text content, thus:
30
- *
31
- <a href=# class=icon-text--rev>
32
- Help &amp; support<i class="icon-text__icon s s--help"></i>
33
- </a>
34
- *
35
- */
36
- .icon-text--rev > .icon-text__icon{
37
- margin-left:$half-spacing-unit / 2;
38
- }
39
-
40
- }//endif
@@ -1,38 +0,0 @@
1
- @if $use-island == true{
2
-
3
- /*------------------------------------*\
4
- $ISLAND
5
- \*------------------------------------*/
6
- /**
7
- * Simple, boxed off content, as per: csswizardry.com/2011/10/the-island-object
8
- * E.g.:
9
- *
10
- <div class=island>
11
- I am boxed off.
12
- </div>
13
- *
14
- * Demo: jsfiddle.net/inuitcss/u8pV3
15
- *
16
- */
17
- .island,
18
- .islet{
19
- display:block;
20
- @extend .cf;
21
- }
22
- .island{
23
- padding:$base-spacing-unit;
24
- }
25
- .island > :last-child,
26
- .islet > :last-child{
27
- margin-bottom:0;
28
- }
29
-
30
-
31
- /**
32
- * Just like `.island`, only smaller.
33
- */
34
- .islet{
35
- padding:$half-spacing-unit;
36
- }
37
-
38
- }//endif
@@ -1,32 +0,0 @@
1
- @if $use-link-complex == true{
2
-
3
- /*------------------------------------*\
4
- $LINK-COMPLEX
5
- \*------------------------------------*/
6
- /**
7
- * As inspired by @necolas:
8
- * github.com/necolas/suit-utils/blob/master/link.css#L18
9
- *
10
- * Add hover behaviour to only selected items within links, e.g.:
11
- *
12
- <a href=log-in class=link-complex>
13
- <i class="s s--user"></i>
14
- <span class=link-complex__target>Log in</span>
15
- </a>
16
- *
17
- * Demo: jsfiddle.net/inuitcss/rt9M3
18
- *
19
- */
20
- .link-complex,
21
- .link-complex:hover,
22
- .link-complex:active,
23
- .link-complex:focus{
24
- text-decoration:none;
25
- }
26
- .link-complex:hover .link-complex__target,
27
- .link-complex:active .link-complex__target,
28
- .link-complex:focus .link-complex__target{
29
- text-decoration:underline;
30
- }
31
-
32
- }//endif
@@ -1,46 +0,0 @@
1
- @if $use-lozenges == true{
2
-
3
- /*------------------------------------*\
4
- $LOZENGES
5
- \*------------------------------------*/
6
- /**
7
- * Create pill- and lozenge-like runs of text, e.g.:
8
- *
9
- <p>This <span class=pill>here</span> is a pill!</p>
10
- *
11
- <p>This <span class=loz>here</span> is also a lozenge!</p>
12
- *
13
- * Pills have fully rounded ends, lozenges have only their corners rounded.
14
- *
15
- * Demo: jsfiddle.net/inuitcss/N3pGm
16
- *
17
- */
18
- .pill{
19
- display:inline-block;
20
- /**
21
- * These numbers set in ems mean that, at its narrowest, a lozenge will be
22
- * the same width as the `line-height` set on the `html` element.
23
- * This allows us to use the `.loz` in almost any `font-size` we wish.
24
- */
25
- min-width: ($line-height-ratio * 0.666667) * 1em;
26
- padding-right:($line-height-ratio * 0.166667) * 1em;
27
- padding-left: ($line-height-ratio * 0.166667) * 1em;
28
- /* =1.50em */
29
- text-align:center;
30
- background-color:$base-ui-color;
31
- color:#fff; /* Override this color in your theme stylesheet */
32
-
33
- /**
34
- * Normally we’d use border-radius:100%; but instead here we just use an
35
- * overly large number; `border-radius:100%;` would create an oval on
36
- * non-square elements whereas we just want to round the ends of an element.
37
- */
38
- border-radius:100px;
39
- }
40
-
41
- .loz{
42
- @extend .pill;
43
- border-radius:$brand-round;
44
- }
45
-
46
- }//endif
@@ -1,52 +0,0 @@
1
- @if $use-marginalia == true{
2
-
3
- /*------------------------------------*\
4
- $MARGINALIA
5
- \*------------------------------------*/
6
- /**
7
- * Marginalia are, per definition, notes in the margin of a document. The
8
- * `marginalia__body` class can be applied to all kinds of content, like text or
9
- * images, and is joined by a width class:
10
- *
11
- <div class="marginalia">
12
- <div class="marginalia__body desk-one-fifth"></div>
13
- </div>
14
- *
15
- * Demo: jsfiddle.net/inuitcss/AemkH
16
- *
17
- */
18
- .marginalia{
19
- @include font-size($milli-size);
20
- }
21
-
22
- /**
23
- * Wait for a certain breakpoint to trigger ‘proper' marginalia. Up to this point,
24
- * marginalia are inline with the other text.
25
- */
26
- @media (min-width: $desk-start){
27
- .marginalia{
28
- position:relative;
29
- }
30
-
31
- .marginalia__body,
32
- .marginalia__body--right{
33
- position:absolute;
34
- }
35
-
36
- .marginalia__body{
37
- right:100%;
38
- padding-right:$base-spacing-unit;
39
- text-align:right;
40
- }
41
-
42
- /**
43
- * Align marginalia to the right of the text.
44
- */
45
- .marginalia__body--right{
46
- left:100%;
47
- padding-left:$base-spacing-unit;
48
- text-align:left;
49
- }
50
- }
51
-
52
- }//endif