persistentgrid 0.0.1.beta.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 (129) hide show
  1. data/README.md +5 -0
  2. data/lib/persistentgrid.rb +4 -0
  3. data/scss/pg/_helpers.scss +7 -0
  4. data/scss/pg/base/_all.scss +9 -0
  5. data/scss/pg/base/_behavior.scss +10 -0
  6. data/scss/pg/base/_helpers.scss +9 -0
  7. data/scss/pg/base/_settings.scss +10 -0
  8. data/scss/pg/base/baserules/_all.scss +8 -0
  9. data/scss/pg/base/baserules/_behavior.scss +125 -0
  10. data/scss/pg/base/baserules/_settings.scss +39 -0
  11. data/scss/pg/base/reset/_all.scss +9 -0
  12. data/scss/pg/base/reset/_behavior.scss +108 -0
  13. data/scss/pg/base/reset/_helpers.scss +7 -0
  14. data/scss/pg/base/reset/_settings.scss +27 -0
  15. data/scss/pg/base/reset/helpers/_all.scss +7 -0
  16. data/scss/pg/base/reset/helpers/_mixins.scss +395 -0
  17. data/scss/pg/base/typography/_all.scss +9 -0
  18. data/scss/pg/base/typography/_behavior.scss +31 -0
  19. data/scss/pg/base/typography/_helpers.scss +7 -0
  20. data/scss/pg/base/typography/_settings.scss +52 -0
  21. data/scss/pg/base/typography/helpers/_all.scss +8 -0
  22. data/scss/pg/base/typography/helpers/_functions.scss +160 -0
  23. data/scss/pg/base/typography/helpers/_mixins.scss +121 -0
  24. data/scss/pg/grid/_all.scss +9 -0
  25. data/scss/pg/grid/_behavior.scss +51 -0
  26. data/scss/pg/grid/_helpers.scss +8 -0
  27. data/scss/pg/grid/_settings.scss +48 -0
  28. data/scss/pg/grid/helpers/_functions.scss +140 -0
  29. data/scss/pg/grid/helpers/_mixins.scss +247 -0
  30. data/scss/pg/helpers/_all.scss +11 -0
  31. data/scss/pg/helpers/_colors.scss +163 -0
  32. data/scss/pg/helpers/_fonts.scss +21 -0
  33. data/scss/pg/helpers/_functions.scss +91 -0
  34. data/scss/pg/helpers/_mixins.scss +7 -0
  35. data/scss/pg/helpers/_settings.scss +11 -0
  36. data/scss/pg/helpers/fonts/_bree-serif.scss +27 -0
  37. data/scss/pg/helpers/fonts/_example.scss +47 -0
  38. data/scss/pg/helpers/fonts/_lato.scss +36 -0
  39. data/scss/pg/helpers/fonts/_monospace.scss +43 -0
  40. data/scss/pg/helpers/fonts/_raleway.scss +35 -0
  41. data/scss/pg/helpers/fonts/_righteous.scss +27 -0
  42. data/scss/pg/helpers/fonts/_roboto.scss +38 -0
  43. data/scss/pg/helpers/fonts/_sans-serif.scss +43 -0
  44. data/scss/pg/helpers/fonts/_serif.scss +43 -0
  45. data/scss/pg/helpers/fonts/_sofia-pro.scss +44 -0
  46. data/scss/pg/helpers/fonts/_varela-round.scss +28 -0
  47. data/scss/pg/helpers/fonts/icon-fonts/_fontawesome.scss +34 -0
  48. data/scss/pg/helpers/fonts/icon-fonts/_foundation-accessability.scss +76 -0
  49. data/scss/pg/helpers/fonts/icon-fonts/fontawesome/_bootstrap.scss +84 -0
  50. data/scss/pg/helpers/fonts/icon-fonts/fontawesome/_core.scss +129 -0
  51. data/scss/pg/helpers/fonts/icon-fonts/fontawesome/_extras.scss +93 -0
  52. data/scss/pg/helpers/fonts/icon-fonts/fontawesome/_icons.scss +381 -0
  53. data/scss/pg/helpers/fonts/icon-fonts/fontawesome/_mixins.scss +48 -0
  54. data/scss/pg/helpers/fonts/icon-fonts/fontawesome/_path.scss +14 -0
  55. data/scss/pg/helpers/fonts/icon-fonts/fontawesome/_variables.scss +734 -0
  56. data/scss/pg/helpers/fonts/icon-fonts/foundation-accessability/_settings.scss +28 -0
  57. data/scss/pg/helpers/library/_lists.scss +462 -0
  58. data/scss/pg/helpers/mixins/_all.scss +15 -0
  59. data/scss/pg/helpers/mixins/_anchors.scss +125 -0
  60. data/scss/pg/helpers/mixins/_baseline.scss +53 -0
  61. data/scss/pg/helpers/mixins/_breakpoints.scss +35 -0
  62. data/scss/pg/helpers/mixins/_content.scss +19 -0
  63. data/scss/pg/helpers/mixins/_css-triangle.scss +70 -0
  64. data/scss/pg/helpers/mixins/_elements.scss +106 -0
  65. data/scss/pg/helpers/mixins/_module.scss +327 -0
  66. data/scss/pg/helpers/mixins/_text.scss +87 -0
  67. data/scss/pg/helpers/mixins/_units.scss +67 -0
  68. data/scss/pg/helpers/settings/_all.scss +7 -0
  69. data/scss/pg/helpers/settings/_breakpoints.scss +21 -0
  70. data/scss/pg/modules/_all.scss +9 -0
  71. data/scss/pg/modules/_behavior.scss +13 -0
  72. data/scss/pg/modules/_helpers.scss +13 -0
  73. data/scss/pg/modules/_settings.scss +13 -0
  74. data/scss/pg/modules/accordions/_all.scss +8 -0
  75. data/scss/pg/modules/accordions/_behavior.scss +5 -0
  76. data/scss/pg/modules/accordions/_helpers.scss +5 -0
  77. data/scss/pg/modules/accordions/_settings.scss +4 -0
  78. data/scss/pg/modules/buttons/_all.scss +8 -0
  79. data/scss/pg/modules/buttons/_behavior.scss +89 -0
  80. data/scss/pg/modules/buttons/_helpers.scss +7 -0
  81. data/scss/pg/modules/buttons/_settings.scss +153 -0
  82. data/scss/pg/modules/buttons/helpers/_mixins.scss +33 -0
  83. data/scss/pg/modules/forms/_all.scss +8 -0
  84. data/scss/pg/modules/forms/_behavior.bak.scss +215 -0
  85. data/scss/pg/modules/forms/_behavior.scss +215 -0
  86. data/scss/pg/modules/forms/_helpers.scss +8 -0
  87. data/scss/pg/modules/forms/_settings.scss +10 -0
  88. data/scss/pg/modules/forms/helpers/_mixins.scss +94 -0
  89. data/scss/pg/modules/forms/settings/forms.scss +19 -0
  90. data/scss/pg/modules/forms/settings/input.scss +256 -0
  91. data/scss/pg/modules/forms/settings/labels.scss +101 -0
  92. data/scss/pg/modules/lists/_all.scss +9 -0
  93. data/scss/pg/modules/lists/_behavior.scss +99 -0
  94. data/scss/pg/modules/lists/_helpers.scss +11 -0
  95. data/scss/pg/modules/lists/_settings.scss +49 -0
  96. data/scss/pg/modules/tables/_all.scss +8 -0
  97. data/scss/pg/modules/tables/_behavior.scss +79 -0
  98. data/scss/pg/modules/tables/_helpers.scss +7 -0
  99. data/scss/pg/modules/tables/_settings.scss +69 -0
  100. data/scss/pg/modules/tables/helpers/_mixins.scss +9 -0
  101. data/scss/pg/modules/tabs/_all.scss +8 -0
  102. data/scss/pg/modules/tabs/_behavior.scss +77 -0
  103. data/scss/pg/modules/tabs/_helpers.scss +7 -0
  104. data/scss/pg/modules/tabs/_settings.scss +8 -0
  105. data/scss/pg/modules/tabs/helpers/_mixins.scss +4 -0
  106. data/scss/pg/skins/_crossinghippos.scss +8 -0
  107. data/scss/pg/skins/crossinghippos/_all.scss +9 -0
  108. data/scss/pg/skins/crossinghippos/_behavior.scss +10 -0
  109. data/scss/pg/skins/crossinghippos/_helpers.scss +8 -0
  110. data/scss/pg/skins/crossinghippos/_settings.scss +9 -0
  111. data/scss/pg/skins/crossinghippos/buttons/_all.scss +9 -0
  112. data/scss/pg/skins/crossinghippos/buttons/_behavior.scss +25 -0
  113. data/scss/pg/skins/crossinghippos/buttons/_helpers.scss +7 -0
  114. data/scss/pg/skins/crossinghippos/buttons/_settings.scss +50 -0
  115. data/scss/pg/skins/crossinghippos/forms/_all.scss +9 -0
  116. data/scss/pg/skins/crossinghippos/forms/_base.scss +7 -0
  117. data/scss/pg/skins/crossinghippos/forms/_behavior.scss +259 -0
  118. data/scss/pg/skins/crossinghippos/forms/_settings.scss +29 -0
  119. data/scss/pg/skins/crossinghippos/linkbar/_all.scss +8 -0
  120. data/scss/pg/skins/crossinghippos/linkbar/_behavior.scss +73 -0
  121. data/scss/pg/skins/crossinghippos/linkbar/_helpers.scss +5 -0
  122. data/scss/pg/skins/crossinghippos/linkbar/_settings.scss +27 -0
  123. data/templates/base/manifest.rb +15 -0
  124. data/templates/base/screen.scss +39 -0
  125. data/templates/grid/manifest.rb +15 -0
  126. data/templates/grid/screen.scss +36 -0
  127. data/templates/modules/manifest.rb +15 -0
  128. data/templates/modules/screen.scss +44 -0
  129. metadata +210 -0
@@ -0,0 +1,44 @@
1
+ // /**
2
+ // * Copyright (C) 2013 Crossing Hippos - Babs Gösgens. All rights reserved.
3
+ // * Licensed under GNU General Public License version 2 or later; see LICENSE.txt
4
+ // */
5
+ @if $trace-imports { @debug 'imported'; }
6
+
7
+
8
+ // Weight reference:
9
+ // 100 ultra-light
10
+ // 200 light
11
+ // 300 book
12
+ // 400 regular, or normal
13
+ // 500 medium
14
+ // 600 semi-bold
15
+ // 700 bold
16
+ // 800 extra-bold
17
+ // 900 heavy, or ultra-bold
18
+
19
+
20
+ // Example
21
+ // Available styles on Google Fonts: 100,200,300,400,500,600,700,800,900,100italic,200italic,300italic,400italic,500italic,600italic,700italic,800italic,900italic
22
+ $sofia-pro-fontface : 'sofia_pro_lightregular';
23
+ $sofia-pro-fallback : sans-serif;
24
+ $sofia-pro-family : $sofia-pro-fontface, $sofia-pro-fallback;
25
+
26
+ // style, variant, weight, family
27
+ $sofia-pro-ultra-light : normal, normal, 200, $sofia-pro-family;
28
+ $sofia-pro-light : normal, normal, 200, $sofia-pro-family;
29
+ $sofia-pro-book : normal, normal, 200, $sofia-pro-family;
30
+ $sofia-pro-regular : normal, normal, 200, $sofia-pro-family;
31
+ $sofia-pro-medium : normal, normal, 200, $sofia-pro-family;
32
+ $sofia-pro-semi-bold : normal, normal, 200, $sofia-pro-family;
33
+ $sofia-pro-bold : normal, normal, 200, $sofia-pro-family;
34
+ $sofia-pro-extra-bold : normal, normal, 200, $sofia-pro-family;
35
+ $sofia-pro-heavy : normal, normal, 200, $sofia-pro-family;
36
+ $sofia-pro-ultra-light-italic : normal, normal, 200, $sofia-pro-family;
37
+ $sofia-pro-light-italic : normal, normal, 200, $sofia-pro-family;
38
+ $sofia-pro-book-italic : normal, normal, 200, $sofia-pro-family;
39
+ $sofia-pro-regular-italic : normal, normal, 200, $sofia-pro-family;
40
+ $sofia-pro-medium-italic : normal, normal, 200, $sofia-pro-family;
41
+ $sofia-pro-semi-bold-italic : normal, normal, 200, $sofia-pro-family;
42
+ $sofia-pro-bold-italic : normal, normal, 200, $sofia-pro-family;
43
+ $sofia-pro-extra-bold-italic : normal, normal, 200, $sofia-pro-family;
44
+ $sofia-pro-heavy-italic : normal, normal, 200, $sofia-pro-family;
@@ -0,0 +1,28 @@
1
+ // /**
2
+ // * Copyright (C) 2013 Crossing Hippos - Babs Gösgens. All rights reserved.
3
+ // * Licensed under GNU General Public License version 2 or later; see LICENSE.txt
4
+ // */
5
+ @if $trace-imports { @debug 'imported'; }
6
+
7
+
8
+ // Weight reference:
9
+ // 100 ultra-light
10
+ // 200 light
11
+ // 300 book
12
+ // 400 regular, or normal
13
+ // 500 medium
14
+ // 600 semi-bold
15
+ // 700 bold
16
+ // 800 extra-bold
17
+ // 900 heavy, or ultra-bold
18
+
19
+
20
+ // Raleway
21
+ // Available styles on Google Fonts: 400
22
+ $varela-round-fontface : "Varela Round";
23
+ $varela-round-fallback : sans-serif;
24
+ $varela-round-family : ($varela-round-fontface, $varela-round-fallback);
25
+
26
+ // style, variant, weight, family
27
+ $varela-round-regular : normal, normal, 400, $varela-round-family;
28
+ $varela-round: $varela-round-regular;
@@ -0,0 +1,34 @@
1
+ // /*!
2
+ // * Font Awesome 3.2.1
3
+ // * the iconic font designed for Bootstrap
4
+ // * ------------------------------------------------------------------------------
5
+ // * The full suite of pictographic icons, examples, and documentation can be
6
+ // * found at http://fontawesome.io. Stay up to date on Twitter at
7
+ // * http://twitter.com/fontawesome.
8
+ // *
9
+ // * License
10
+ // * ------------------------------------------------------------------------------
11
+ // * - The Font Awesome font is licensed under SIL OFL 1.1 -
12
+ // * http://scripts.sil.org/OFL
13
+ // * - Font Awesome CSS, LESS, and SASS files are licensed under MIT License -
14
+ // * http://opensource.org/licenses/mit-license.html
15
+ // * - Font Awesome documentation licensed under CC BY 3.0 -
16
+ // * http://creativecommons.org/licenses/by/3.0/
17
+ // * - Attribution is no longer required in Font Awesome 3.0, but much appreciated:
18
+ // * "Font Awesome by Dave Gandy - http://fontawesome.io"
19
+ // *
20
+ // * Author - Dave Gandy
21
+ // * ------------------------------------------------------------------------------
22
+ // * Email: dave@fontawesome.io
23
+ // * Twitter: http://twitter.com/davegandy
24
+ // * Work: Lead Product Designer @ Kyruus - http://kyruus.com
25
+ // */
26
+ @if $trace-imports { @debug 'imported'; }
27
+
28
+ @import "fontawesome/variables";
29
+ @import "fontawesome/mixins";
30
+ @import "fontawesome/path";
31
+ @import "fontawesome/core";
32
+ @import "fontawesome/bootstrap";
33
+ @import "fontawesome/extras";
34
+ @import "fontawesome/icons";
@@ -0,0 +1,76 @@
1
+ // /*!
2
+ // * Font Awesome 3.2.1
3
+ // * the iconic font designed for Bootstrap
4
+ // * ------------------------------------------------------------------------------
5
+ // * The full suite of pictographic icons, examples, and documentation can be
6
+ // * found at http://fontawesome.io. Stay up to date on Twitter at
7
+ // * http://twitter.com/fontawesome.
8
+ // *
9
+ // * License
10
+ // * ------------------------------------------------------------------------------
11
+ // * - The Font Awesome font is licensed under SIL OFL 1.1 -
12
+ // * http://scripts.sil.org/OFL
13
+ // * - Font Awesome CSS, LESS, and SASS files are licensed under MIT License -
14
+ // * http://opensource.org/licenses/mit-license.html
15
+ // * - Font Awesome documentation licensed under CC BY 3.0 -
16
+ // * http://creativecommons.org/licenses/by/3.0/
17
+ // * - Attribution is no longer required in Font Awesome 3.0, but much appreciated:
18
+ // * "Font Awesome by Dave Gandy - http://fontawesome.io"
19
+ // *
20
+ // * Author - Dave Gandy
21
+ // * ------------------------------------------------------------------------------
22
+ // * Email: dave@fontawesome.io
23
+ // * Twitter: http://twitter.com/davegandy
24
+ // * Work: Lead Product Designer @ Kyruus - http://kyruus.com
25
+ // */
26
+ @if $trace-imports { @debug 'imported'; }
27
+
28
+ @import "foundation-accessability/settings";
29
+
30
+ @include face();
31
+
32
+ /* global foundicon styles */
33
+ [class*="#{$classPrefix}"] {
34
+ display: inline;
35
+ width: auto;
36
+ height: auto;
37
+ line-height: inherit;
38
+ vertical-align: baseline;
39
+ background-image: none;
40
+ background-position: 0 0;
41
+ background-repeat: repeat;
42
+ }
43
+ [class*="#{$classPrefix}"]:before {
44
+ font-family: $fontName;
45
+ font-weight: normal;
46
+ font-style: normal;
47
+ text-decoration: inherit;
48
+ }
49
+
50
+ /* icons */
51
+ @include i-class(wheelchair,"000");
52
+ @include i-class(speaker,"001");
53
+ @include i-class(fontsize,"002");
54
+ @include i-class(eject,"003");
55
+ @include i-class(view-mode,"004");
56
+ @include i-class(eyeball,"005");
57
+ @include i-class(asl,"006");
58
+ @include i-class(person,"007");
59
+ @include i-class(question,"008");
60
+ @include i-class(adult,"009");
61
+ @include i-class(child,"00a");
62
+ @include i-class(glasses,"00b");
63
+ @include i-class(cc,"00c");
64
+ @include i-class(blind,"00d");
65
+ @include i-class(braille,"00e");
66
+ @include i-class(iphone-home,"00f");
67
+ @include i-class(w3c,"010");
68
+ @include i-class(css,"011");
69
+ @include i-class(key,"012");
70
+ @include i-class(hearing-impaired,"013");
71
+ @include i-class(male,"014");
72
+ @include i-class(female,"015");
73
+ @include i-class(network,"016");
74
+ @include i-class(guidedog,"017");
75
+ @include i-class(universal-access,"018");
76
+ @include i-class(elevator,"019");
@@ -0,0 +1,84 @@
1
+ /* BOOTSTRAP SPECIFIC CLASSES
2
+ * -------------------------- */
3
+
4
+ /* Bootstrap 2.0 sprites.less reset */
5
+ [class^="icon-"],
6
+ [class*=" icon-"] {
7
+ display: inline;
8
+ width: auto;
9
+ height: auto;
10
+ line-height: normal;
11
+ vertical-align: baseline;
12
+ background-image: none;
13
+ background-position: 0% 0%;
14
+ background-repeat: repeat;
15
+ margin-top: 0;
16
+ }
17
+
18
+ /* more sprites.less reset */
19
+ .icon-white,
20
+ .nav-pills > .active > a > [class^="icon-"],
21
+ .nav-pills > .active > a > [class*=" icon-"],
22
+ .nav-list > .active > a > [class^="icon-"],
23
+ .nav-list > .active > a > [class*=" icon-"],
24
+ .navbar-inverse .nav > .active > a > [class^="icon-"],
25
+ .navbar-inverse .nav > .active > a > [class*=" icon-"],
26
+ .dropdown-menu > li > a:hover > [class^="icon-"],
27
+ .dropdown-menu > li > a:hover > [class*=" icon-"],
28
+ .dropdown-menu > .active > a > [class^="icon-"],
29
+ .dropdown-menu > .active > a > [class*=" icon-"],
30
+ .dropdown-submenu:hover > a > [class^="icon-"],
31
+ .dropdown-submenu:hover > a > [class*=" icon-"] {
32
+ background-image: none;
33
+ }
34
+
35
+
36
+ /* keeps Bootstrap styles with and without icons the same */
37
+ .btn, .nav {
38
+ [class^="icon-"],
39
+ [class*=" icon-"] {
40
+ // display: inline;
41
+ &.icon-large { line-height: .9em; }
42
+ &.icon-spin { display: inline-block; }
43
+ }
44
+ }
45
+ .nav-tabs, .nav-pills {
46
+ [class^="icon-"],
47
+ [class*=" icon-"] {
48
+ &, &.icon-large { line-height: .9em; }
49
+ }
50
+ }
51
+ .btn {
52
+ [class^="icon-"],
53
+ [class*=" icon-"] {
54
+ &.pull-left, &.pull-right {
55
+ &.icon-2x { margin-top: .18em; }
56
+ }
57
+ &.icon-spin.icon-large { line-height: .8em; }
58
+ }
59
+ }
60
+ .btn.btn-small {
61
+ [class^="icon-"],
62
+ [class*=" icon-"] {
63
+ &.pull-left, &.pull-right {
64
+ &.icon-2x { margin-top: .25em; }
65
+ }
66
+ }
67
+ }
68
+ .btn.btn-large {
69
+ [class^="icon-"],
70
+ [class*=" icon-"] {
71
+ margin-top: 0; // overrides bootstrap default
72
+ &.pull-left, &.pull-right {
73
+ &.icon-2x { margin-top: .05em; }
74
+ }
75
+ &.pull-left.icon-2x { margin-right: .2em; }
76
+ &.pull-right.icon-2x { margin-left: .2em; }
77
+ }
78
+ }
79
+
80
+ /* Fixes alignment in nav lists */
81
+ .nav-list [class^="icon-"],
82
+ .nav-list [class*=" icon-"] {
83
+ line-height: inherit;
84
+ }
@@ -0,0 +1,129 @@
1
+ /* FONT AWESOME CORE
2
+ * -------------------------- */
3
+
4
+ [class^="icon-"],
5
+ [class*=" icon-"] {
6
+ @include icon-FontAwesome();
7
+ }
8
+
9
+ [class^="icon-"]:before,
10
+ [class*=" icon-"]:before {
11
+ text-decoration: inherit;
12
+ display: inline-block;
13
+ speak: none;
14
+ }
15
+
16
+ /* makes the font 33% larger relative to the icon container */
17
+ .icon-large:before {
18
+ vertical-align: -10%;
19
+ font-size: (4em/3);
20
+ }
21
+
22
+ /* makes sure icons active on rollover in links */
23
+ a {
24
+ [class^="icon-"],
25
+ [class*=" icon-"] {
26
+ display: inline;
27
+ }
28
+ }
29
+
30
+ /* increased font size for icon-large */
31
+ [class^="icon-"],
32
+ [class*=" icon-"] {
33
+ &.icon-fixed-width {
34
+ display: inline-block;
35
+ width: (16em/14);
36
+ text-align: right;
37
+ padding-right: (4em/14);
38
+ &.icon-large {
39
+ width: (20em/14);
40
+ }
41
+ }
42
+ }
43
+
44
+ .icons-ul {
45
+ margin-left: $icons-li-width;
46
+ list-style-type: none;
47
+
48
+ > li { position: relative; }
49
+
50
+ .icon-li {
51
+ position: absolute;
52
+ left: -$icons-li-width;
53
+ width: $icons-li-width;
54
+ text-align: center;
55
+ line-height: inherit;
56
+ }
57
+ }
58
+
59
+ // allows usage of the hide class directly on font awesome icons
60
+ [class^="icon-"],
61
+ [class*=" icon-"] {
62
+ &.hide {
63
+ display: none;
64
+ }
65
+ }
66
+
67
+ .icon-muted { color: $iconMuted; }
68
+ .icon-light { color: $iconLight; }
69
+ .icon-dark { color: $iconDark; }
70
+
71
+ // Icon Borders
72
+ // -------------------------
73
+
74
+ .icon-border {
75
+ border: solid 1px $borderColor;
76
+ padding: .2em .25em .15em;
77
+ @include border-radius(3px);
78
+ }
79
+
80
+ // Icon Sizes
81
+ // -------------------------
82
+
83
+ .icon-2x {
84
+ font-size: 2em;
85
+ &.icon-border {
86
+ border-width: 2px;
87
+ @include border-radius(4px);
88
+ }
89
+ }
90
+ .icon-3x {
91
+ font-size: 3em;
92
+ &.icon-border {
93
+ border-width: 3px;
94
+ @include border-radius(5px);
95
+ }
96
+ }
97
+ .icon-4x {
98
+ font-size: 4em;
99
+ &.icon-border {
100
+ border-width: 4px;
101
+ @include border-radius(6px);
102
+ }
103
+ }
104
+
105
+ .icon-5x {
106
+ font-size: 5em;
107
+ &.icon-border {
108
+ border-width: 5px;
109
+ @include border-radius(7px);
110
+ }
111
+ }
112
+
113
+
114
+ // Floats & Margins
115
+ // -------------------------
116
+
117
+ // Quick floats
118
+ .pull-right { float: right; }
119
+ .pull-left { float: left; }
120
+
121
+ [class^="icon-"],
122
+ [class*=" icon-"] {
123
+ &.pull-left {
124
+ margin-right: .3em;
125
+ }
126
+ &.pull-right {
127
+ margin-left: .3em;
128
+ }
129
+ }
@@ -0,0 +1,93 @@
1
+ /* EXTRAS
2
+ * -------------------------- */
3
+
4
+ /* Stacked and layered icon */
5
+ @include icon-stack();
6
+
7
+ /* Animated rotating icon */
8
+ .icon-spin {
9
+ display: inline-block;
10
+ -moz-animation: spin 2s infinite linear;
11
+ -o-animation: spin 2s infinite linear;
12
+ -webkit-animation: spin 2s infinite linear;
13
+ animation: spin 2s infinite linear;
14
+ }
15
+
16
+ /* Prevent stack and spinners from being taken inline when inside a link */
17
+ a .icon-stack,
18
+ a .icon-spin {
19
+ display: inline-block;
20
+ text-decoration: none;
21
+ }
22
+
23
+ @-moz-keyframes spin {
24
+ 0% { -moz-transform: rotate(0deg); }
25
+ 100% { -moz-transform: rotate(359deg); }
26
+ }
27
+ @-webkit-keyframes spin {
28
+ 0% { -webkit-transform: rotate(0deg); }
29
+ 100% { -webkit-transform: rotate(359deg); }
30
+ }
31
+ @-o-keyframes spin {
32
+ 0% { -o-transform: rotate(0deg); }
33
+ 100% { -o-transform: rotate(359deg); }
34
+ }
35
+ @-ms-keyframes spin {
36
+ 0% { -ms-transform: rotate(0deg); }
37
+ 100% { -ms-transform: rotate(359deg); }
38
+ }
39
+ @keyframes spin {
40
+ 0% { transform: rotate(0deg); }
41
+ 100% { transform: rotate(359deg); }
42
+ }
43
+
44
+ /* Icon rotations and mirroring */
45
+ .icon-rotate-90:before {
46
+ -webkit-transform: rotate(90deg);
47
+ -moz-transform: rotate(90deg);
48
+ -ms-transform: rotate(90deg);
49
+ -o-transform: rotate(90deg);
50
+ transform: rotate(90deg);
51
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
52
+ }
53
+
54
+ .icon-rotate-180:before {
55
+ -webkit-transform: rotate(180deg);
56
+ -moz-transform: rotate(180deg);
57
+ -ms-transform: rotate(180deg);
58
+ -o-transform: rotate(180deg);
59
+ transform: rotate(180deg);
60
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
61
+ }
62
+
63
+ .icon-rotate-270:before {
64
+ -webkit-transform: rotate(270deg);
65
+ -moz-transform: rotate(270deg);
66
+ -ms-transform: rotate(270deg);
67
+ -o-transform: rotate(270deg);
68
+ transform: rotate(270deg);
69
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
70
+ }
71
+
72
+ .icon-flip-horizontal:before {
73
+ -webkit-transform: scale(-1, 1);
74
+ -moz-transform: scale(-1, 1);
75
+ -ms-transform: scale(-1, 1);
76
+ -o-transform: scale(-1, 1);
77
+ transform: scale(-1, 1);
78
+ }
79
+
80
+ .icon-flip-vertical:before {
81
+ -webkit-transform: scale(1, -1);
82
+ -moz-transform: scale(1, -1);
83
+ -ms-transform: scale(1, -1);
84
+ -o-transform: scale(1, -1);
85
+ transform: scale(1, -1);
86
+ }
87
+
88
+ /* ensure rotation occurs inside anchor tags */
89
+ a {
90
+ .icon-rotate-90, .icon-rotate-180, .icon-rotate-270, .icon-flip-horizontal, .icon-flip-vertical {
91
+ &:before { display: inline-block; }
92
+ }
93
+ }