compass_twitter_bootstrap 2.0.3 → 2.2.2

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 (113) hide show
  1. data/CHANGELOG.md +6 -0
  2. data/README.md +41 -7
  3. data/build/convert.rb +27 -11
  4. data/lib/compass_twitter_bootstrap/version.rb +1 -1
  5. data/stylesheets/_compass_twitter_bootstrap.scss +2 -1
  6. data/stylesheets/_compass_twitter_bootstrap_awesome.scss +1 -1
  7. data/stylesheets/_compass_twitter_bootstrap_responsive.scss +1 -1
  8. data/stylesheets/compass_twitter_bootstrap/_accordion.scss +4 -3
  9. data/stylesheets/compass_twitter_bootstrap/_alerts.scss +31 -10
  10. data/stylesheets/compass_twitter_bootstrap/_breadcrumbs.scss +14 -14
  11. data/stylesheets/compass_twitter_bootstrap/_button-groups.scss +91 -55
  12. data/stylesheets/compass_twitter_bootstrap/_buttons.scss +126 -84
  13. data/stylesheets/compass_twitter_bootstrap/_carousel.scss +33 -23
  14. data/stylesheets/compass_twitter_bootstrap/_close.scss +7 -5
  15. data/stylesheets/compass_twitter_bootstrap/_code.scss +12 -8
  16. data/stylesheets/compass_twitter_bootstrap/_component-animations.scss +9 -7
  17. data/stylesheets/compass_twitter_bootstrap/_dropdowns.scss +112 -22
  18. data/stylesheets/compass_twitter_bootstrap/_font-awesome.scss +258 -196
  19. data/stylesheets/compass_twitter_bootstrap/_forms.scss +262 -161
  20. data/stylesheets/compass_twitter_bootstrap/_grid.scss +18 -2
  21. data/stylesheets/compass_twitter_bootstrap/_hero-unit.scss +11 -8
  22. data/stylesheets/compass_twitter_bootstrap/_labels-badges.scss +42 -26
  23. data/stylesheets/compass_twitter_bootstrap/_layouts.scss +3 -4
  24. data/stylesheets/compass_twitter_bootstrap/_media.scss +55 -0
  25. data/stylesheets/compass_twitter_bootstrap/_mixins.scss +243 -189
  26. data/stylesheets/compass_twitter_bootstrap/_modals.scss +28 -23
  27. data/stylesheets/compass_twitter_bootstrap/_navbar.scss +269 -143
  28. data/stylesheets/compass_twitter_bootstrap/_navs.scss +59 -46
  29. data/stylesheets/compass_twitter_bootstrap/_pager.scss +17 -12
  30. data/stylesheets/compass_twitter_bootstrap/_pagination.scss +92 -27
  31. data/stylesheets/compass_twitter_bootstrap/_popovers.scss +116 -36
  32. data/stylesheets/compass_twitter_bootstrap/_progress-bars.scss +35 -30
  33. data/stylesheets/compass_twitter_bootstrap/_reset.scss +101 -11
  34. data/stylesheets/compass_twitter_bootstrap/_responsive-1200px-min.scss +9 -7
  35. data/stylesheets/compass_twitter_bootstrap/_responsive-767px-max.scss +115 -71
  36. data/stylesheets/compass_twitter_bootstrap/_responsive-768px-979px.scss +8 -6
  37. data/stylesheets/compass_twitter_bootstrap/_responsive-navbar.scss +53 -14
  38. data/stylesheets/compass_twitter_bootstrap/_responsive-utilities.scss +17 -15
  39. data/stylesheets/compass_twitter_bootstrap/_responsive.scss +48 -0
  40. data/stylesheets/compass_twitter_bootstrap/_scaffolding.scss +27 -4
  41. data/stylesheets/compass_twitter_bootstrap/_sprites.scss +24 -22
  42. data/stylesheets/compass_twitter_bootstrap/_tables.scss +122 -61
  43. data/stylesheets/compass_twitter_bootstrap/_thumbnails.scss +12 -7
  44. data/stylesheets/compass_twitter_bootstrap/_tooltip.scss +50 -15
  45. data/stylesheets/compass_twitter_bootstrap/_type.scss +93 -93
  46. data/stylesheets/compass_twitter_bootstrap/_utilities.scss +9 -2
  47. data/stylesheets/compass_twitter_bootstrap/_variables.scss +134 -38
  48. data/stylesheets/compass_twitter_bootstrap/_wells.scss +11 -10
  49. data/stylesheets_sass/_compass_twitter_bootstrap.sass +2 -1
  50. data/stylesheets_sass/_compass_twitter_bootstrap_awesome.sass +1 -1
  51. data/stylesheets_sass/_compass_twitter_bootstrap_responsive.sass +1 -1
  52. data/stylesheets_sass/compass_twitter_bootstrap/_accordion.sass +4 -3
  53. data/stylesheets_sass/compass_twitter_bootstrap/_alerts.sass +27 -9
  54. data/stylesheets_sass/compass_twitter_bootstrap/_breadcrumbs.sass +12 -13
  55. data/stylesheets_sass/compass_twitter_bootstrap/_button-groups.sass +93 -55
  56. data/stylesheets_sass/compass_twitter_bootstrap/_buttons.sass +113 -88
  57. data/stylesheets_sass/compass_twitter_bootstrap/_carousel.sass +31 -23
  58. data/stylesheets_sass/compass_twitter_bootstrap/_close.sass +5 -4
  59. data/stylesheets_sass/compass_twitter_bootstrap/_code.sass +12 -9
  60. data/stylesheets_sass/compass_twitter_bootstrap/_component-animations.sass +7 -6
  61. data/stylesheets_sass/compass_twitter_bootstrap/_dropdowns.sass +105 -21
  62. data/stylesheets_sass/compass_twitter_bootstrap/_font-awesome.sass +228 -31
  63. data/stylesheets_sass/compass_twitter_bootstrap/_forms.sass +255 -155
  64. data/stylesheets_sass/compass_twitter_bootstrap/_grid.sass +16 -2
  65. data/stylesheets_sass/compass_twitter_bootstrap/_hero-unit.sass +10 -7
  66. data/stylesheets_sass/compass_twitter_bootstrap/_labels-badges.sass +38 -31
  67. data/stylesheets_sass/compass_twitter_bootstrap/_layouts.sass +3 -4
  68. data/stylesheets_sass/compass_twitter_bootstrap/_media.sass +48 -0
  69. data/stylesheets_sass/compass_twitter_bootstrap/_mixins.sass +215 -174
  70. data/stylesheets_sass/compass_twitter_bootstrap/_modals.sass +25 -26
  71. data/stylesheets_sass/compass_twitter_bootstrap/_navbar.sass +229 -134
  72. data/stylesheets_sass/compass_twitter_bootstrap/_navs.sass +53 -46
  73. data/stylesheets_sass/compass_twitter_bootstrap/_pager.sass +16 -12
  74. data/stylesheets_sass/compass_twitter_bootstrap/_pagination.sass +78 -23
  75. data/stylesheets_sass/compass_twitter_bootstrap/_popovers.sass +106 -40
  76. data/stylesheets_sass/compass_twitter_bootstrap/_progress-bars.sass +35 -30
  77. data/stylesheets_sass/compass_twitter_bootstrap/_reset.sass +80 -12
  78. data/stylesheets_sass/compass_twitter_bootstrap/_responsive-1200px-min.sass +8 -7
  79. data/stylesheets_sass/compass_twitter_bootstrap/_responsive-767px-max.sass +89 -54
  80. data/stylesheets_sass/compass_twitter_bootstrap/_responsive-768px-979px.sass +7 -6
  81. data/stylesheets_sass/compass_twitter_bootstrap/_responsive-navbar.sass +38 -13
  82. data/stylesheets_sass/compass_twitter_bootstrap/_responsive-utilities.sass +18 -17
  83. data/stylesheets_sass/compass_twitter_bootstrap/_responsive.sass +44 -0
  84. data/stylesheets_sass/compass_twitter_bootstrap/_scaffolding.sass +24 -4
  85. data/stylesheets_sass/compass_twitter_bootstrap/_sprites.sass +25 -8
  86. data/stylesheets_sass/compass_twitter_bootstrap/_tables.sass +110 -83
  87. data/stylesheets_sass/compass_twitter_bootstrap/_thumbnails.sass +11 -7
  88. data/stylesheets_sass/compass_twitter_bootstrap/_tooltip.sass +43 -19
  89. data/stylesheets_sass/compass_twitter_bootstrap/_type.sass +123 -75
  90. data/stylesheets_sass/compass_twitter_bootstrap/_utilities.sass +7 -2
  91. data/stylesheets_sass/compass_twitter_bootstrap/_variables.sass +141 -37
  92. data/stylesheets_sass/compass_twitter_bootstrap/_wells.sass +10 -9
  93. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  94. data/vendor/assets/fonts/fontawesome-webfont.svg +247 -167
  95. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  96. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  97. data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
  98. data/vendor/assets/images/glyphicons-halflings.png +0 -0
  99. data/vendor/assets/javascripts/bootstrap-affix.js +117 -0
  100. data/vendor/assets/javascripts/bootstrap-alert.js +13 -4
  101. data/vendor/assets/javascripts/bootstrap-all.js +2 -1
  102. data/vendor/assets/javascripts/bootstrap-button.js +17 -8
  103. data/vendor/assets/javascripts/bootstrap-carousel.js +30 -14
  104. data/vendor/assets/javascripts/bootstrap-collapse.js +24 -14
  105. data/vendor/assets/javascripts/bootstrap-dropdown.js +80 -19
  106. data/vendor/assets/javascripts/bootstrap-modal.js +111 -84
  107. data/vendor/assets/javascripts/bootstrap-popover.js +21 -5
  108. data/vendor/assets/javascripts/bootstrap-scrollspy.js +21 -10
  109. data/vendor/assets/javascripts/bootstrap-tab.js +17 -8
  110. data/vendor/assets/javascripts/bootstrap-tooltip.js +36 -24
  111. data/vendor/assets/javascripts/bootstrap-transition.js +6 -7
  112. data/vendor/assets/javascripts/bootstrap-typeahead.js +87 -49
  113. metadata +17 -7
@@ -1,5 +1,6 @@
1
- // CAROUSEL
2
- // --------
1
+ //
2
+ // Carousel
3
+ // --------------------------------------------------
3
4
 
4
5
  .carousel
5
6
  position: relative
@@ -11,36 +12,36 @@
11
12
  width: 100%
12
13
  position: relative
13
14
 
14
- .carousel
15
- .item
15
+ .carousel-inner
16
+ > .item
16
17
  display: none
17
18
  position: relative
18
- +bootstrap-transition(0.6s ease-in-out left)
19
+ +ctb-transition(0.6s ease-in-out left)
19
20
  // Account for jankitude on images
20
- .item > img
21
+ > .item > img
21
22
  display: block
22
23
  line-height: 1
23
- .active,
24
- .next,
25
- .prev
24
+ > .active,
25
+ > .next,
26
+ > .prev
26
27
  display: block
27
- .active
28
+ > .active
28
29
  left: 0
29
- .next,
30
- .prev
30
+ > .next,
31
+ > .prev
31
32
  position: absolute
32
33
  top: 0
33
34
  width: 100%
34
- .next
35
+ > .next
35
36
  left: 100%
36
- .prev
37
+ > .prev
37
38
  left: -100%
38
- .next.left,
39
- .prev.right
39
+ > .next.left,
40
+ > .prev.right
40
41
  left: 0
41
- .active.left
42
+ > .active.left
42
43
  left: -100%
43
- .active.right
44
+ > .active.right
44
45
  left: 100%
45
46
 
46
47
  // Left/right controls for nav
@@ -60,14 +61,14 @@
60
61
  text-align: center
61
62
  background: $grayDarker
62
63
  border: 3px solid $white
63
- +bootstrap-border-radius(23px)
64
- +bootstrap-opacity(50)
64
+ +ctb-border-radius(23px)
65
+ +ctb-opacity(50)
65
66
  // we can't have this transition here
66
67
  // because webkit cancels the carousel
67
68
  // animation if you trip this while
68
69
  // in the middle of another animation
69
70
  // ;_;
70
- // @include bootstrap-transition(opacity .2s linear);
71
+ // @include ctb-transition(opacity .2s linear);
71
72
  // Reposition the right one
72
73
  &.right
73
74
  left: auto
@@ -76,7 +77,7 @@
76
77
  &:hover
77
78
  color: $white
78
79
  text-decoration: none
79
- +bootstrap-opacity(90)
80
+ +ctb-opacity(90)
80
81
 
81
82
  // Caption for text below images
82
83
  // -----------------------------
@@ -86,10 +87,17 @@
86
87
  left: 0
87
88
  right: 0
88
89
  bottom: 0
89
- padding: 10px 15px 5px
90
+ padding: 15px
90
91
  background: $grayDark
91
92
  background: rgba(0, 0, 0, 0.75)
92
93
 
93
94
  .carousel-caption h4,
94
95
  .carousel-caption p
95
96
  color: $white
97
+ line-height: $baseLineHeight
98
+
99
+ .carousel-caption h4
100
+ margin: 0 0 5px
101
+
102
+ .carousel-caption p
103
+ margin-bottom: 0
@@ -1,5 +1,6 @@
1
- // CLOSE ICONS
2
- // -----------
1
+ //
2
+ // Close icons
3
+ // --------------------------------------------------
3
4
 
4
5
  .close
5
6
  float: right
@@ -8,12 +9,12 @@
8
9
  line-height: $baseLineHeight
9
10
  color: $black
10
11
  text-shadow: 0 1px 0 rgba(255, 255, 255, 1)
11
- +bootstrap-opacity(20)
12
+ +ctb-opacity(20)
12
13
  &:hover
13
14
  color: $black
14
15
  text-decoration: none
15
16
  cursor: pointer
16
- +bootstrap-opacity(40)
17
+ +ctb-opacity(40)
17
18
 
18
19
  // Additional properties for button version
19
20
  // iOS requires the button element instead of an anchor tag.
@@ -1,16 +1,16 @@
1
- // Code.less
2
- // Code typography styles for the <code> and <pre> elements
3
- // --------------------------------------------------------
1
+ //
2
+ // Code (inline and blocK)
3
+ // --------------------------------------------------
4
4
 
5
5
  // Inline and block code styles
6
6
 
7
7
  code,
8
8
  pre
9
9
  padding: 0 3px 2px
10
- +bootstrap-font-family-monospace
11
- font-size: $baseFontSize - 1
10
+ +ctb-font-family-monospace
11
+ font-size: $baseFontSize - 2
12
12
  color: $grayDark
13
- +bootstrap-border-radius(3px)
13
+ +ctb-border-radius(3px)
14
14
 
15
15
  // Inline code
16
16
  code
@@ -18,14 +18,15 @@ code
18
18
  color: #d14
19
19
  background-color: #f7f7f9
20
20
  border: 1px solid #e1e1e8
21
+ white-space: nowrap
21
22
 
22
23
  // Blocks of code
23
24
  pre
24
25
  display: block
25
26
  padding: ($baseLineHeight - 1) / 2
26
27
  margin: 0 0 $baseLineHeight / 2
27
- font-size: $baseFontSize * 0.925
28
- // 13px to 12px
28
+ font-size: $baseFontSize - 1
29
+ // 14px to 13px
29
30
  line-height: $baseLineHeight
30
31
  word-break: break-all
31
32
  word-wrap: break-word
@@ -35,7 +36,7 @@ pre
35
36
  border: 1px solid #ccc
36
37
  // fallback for IE7-8
37
38
  border: 1px solid rgba(0, 0, 0, 0.15)
38
- +bootstrap-border-radius(4px)
39
+ +ctb-border-radius($baseBorderRadius)
39
40
  // Make prettyprint styles more spaced out for readability
40
41
  &.prettyprint
41
42
  margin-bottom: $baseLineHeight
@@ -43,6 +44,8 @@ pre
43
44
  code
44
45
  padding: 0
45
46
  color: inherit
47
+ white-space: pre
48
+ white-space: pre-wrap
46
49
  background-color: transparent
47
50
  border: 0
48
51
 
@@ -1,16 +1,17 @@
1
- // COMPONENT ANIMATIONS
2
- // --------------------
1
+ //
2
+ // Component animations
3
+ // --------------------------------------------------
3
4
 
4
5
  .fade
5
- +bootstrap-opacity(0)
6
- +bootstrap-transition(opacity 0.15s linear)
6
+ opacity: 0
7
+ +ctb-transition(opacity 0.15s linear)
7
8
  &.in
8
- +bootstrap-opacity(100)
9
+ opacity: 1
9
10
 
10
11
  .collapse
11
12
  position: relative
12
13
  height: 0
13
14
  overflow: hidden
14
- +bootstrap-transition(height 0.35s ease)
15
+ +ctb-transition(height 0.35s ease)
15
16
  &.in
16
17
  height: auto
@@ -1,5 +1,6 @@
1
- // DROPDOWN MENUS
2
- // --------------
1
+ //
2
+ // Dropdown menus
3
+ // --------------------------------------------------
3
4
 
4
5
  // Use the .menu class on any <li> element within the topbar or ul.tabs and you'll get some superfancy dropdowns
5
6
 
@@ -26,17 +27,12 @@
26
27
  border-right: 4px solid transparent
27
28
  border-left: 4px solid transparent
28
29
  content: ""
29
- +bootstrap-opacity(30)
30
30
 
31
31
  // Place the caret
32
32
  .dropdown .caret
33
33
  margin-top: 8px
34
34
  margin-left: 2px
35
35
 
36
- .dropdown:hover .caret,
37
- .open .caret
38
- +bootstrap-opacity(100)
39
-
40
36
  // The dropdown menu (ul)
41
37
  // ----------------------
42
38
  .dropdown-menu
@@ -48,17 +44,18 @@
48
44
  // none by default, but block on "open" of the menu
49
45
  float: left
50
46
  min-width: 160px
51
- padding: 4px 0
52
- margin: 1px 0 0
47
+ padding: 5px 0
48
+ margin: 2px 0 0
53
49
  // override default ul
54
50
  list-style: none
55
51
  background-color: $dropdownBackground
56
52
  border: 1px solid #ccc
57
- border: 1px solid rgba(0, 0, 0, 0.2)
53
+ // Fallback for IE7-8
54
+ border: 1px solid $dropdownBorder
58
55
  *border-right-width: 2px
59
56
  *border-bottom-width: 2px
60
- +bootstrap-border-radius(5px)
61
- +bootstrap-box-shadow(0 5px 10px rgba(0, 0, 0, 0.2))
57
+ +ctb-border-radius(6px)
58
+ +ctb-box-shadow(0 5px 10px rgba(0, 0, 0, 0.2))
62
59
  -webkit-background-clip: padding-box
63
60
  -moz-background-clip: padding
64
61
  background-clip: padding-box
@@ -68,11 +65,11 @@
68
65
  left: auto
69
66
  // Dividers (basically an hr) within the dropdown
70
67
  .divider
71
- +bootstrap-nav-divider
68
+ +ctb-nav-divider($dropdownDividerTop, $dropdownDividerBottom)
72
69
  // Links within the dropdown menu
73
- a
70
+ li > a
74
71
  display: block
75
- padding: 3px 15px
72
+ padding: 3px 20px
76
73
  clear: both
77
74
  font-weight: normal
78
75
  line-height: $baseLineHeight
@@ -83,11 +80,38 @@
83
80
  // -----------
84
81
 
85
82
  .dropdown-menu li > a:hover,
83
+ .dropdown-menu li > a:focus,
84
+ .dropdown-submenu:hover > a
85
+ text-decoration: none
86
+ color: $dropdownLinkColorHover
87
+ +ctb-gradient-vertical($dropdownLinkBackgroundHover, darken($dropdownLinkBackgroundHover, 5%))
88
+
89
+ // Active state
90
+ // ------------
91
+
86
92
  .dropdown-menu .active > a,
87
93
  .dropdown-menu .active > a:hover
88
- color: $dropdownLinkColorHover
94
+ color: $dropdownLinkColorActive
95
+ text-decoration: none
96
+ outline: 0
97
+ +ctb-gradient-vertical($dropdownLinkBackgroundActive, darken($dropdownLinkBackgroundActive, 5%))
98
+
99
+ // Disabled state
100
+ // --------------
101
+ // Gray out text and ensure the hover state remains gray
102
+
103
+ .dropdown-menu .disabled > a,
104
+ .dropdown-menu .disabled > a:hover
105
+ color: $grayLight
106
+
107
+ // Nuke hover effects
108
+ .dropdown-menu .disabled > a:hover
89
109
  text-decoration: none
90
- background-color: $dropdownLinkBackgroundHover
110
+ background-color: transparent
111
+ background-image: none
112
+ // Remove CSS gradient
113
+ +ctb-gradient-reset-filter
114
+ cursor: default
91
115
 
92
116
  // Open state for the dropdown
93
117
  // ---------------------------
@@ -95,12 +119,12 @@
95
119
  // IE7's z-index only goes to the nearest positioned ancestor, which would
96
120
  // make the menu appear below buttons that appeared later on the page
97
121
  *z-index: $zindexDropdown
98
- .dropdown-menu
122
+ & > .dropdown-menu
99
123
  display: block
100
124
 
101
125
  // Right aligned dropdowns
102
126
  // ---------------------------
103
- .pull-right .dropdown-menu
127
+ .pull-right > .dropdown-menu
104
128
  right: 0
105
129
  left: auto
106
130
 
@@ -115,16 +139,76 @@
115
139
  .caret
116
140
  border-top: 0
117
141
  border-bottom: 4px solid $black
118
- content: "\2191"
142
+ content: ""
119
143
  // Different positioning for bottom up menu
120
144
  .dropdown-menu
121
145
  top: auto
122
146
  bottom: 100%
123
147
  margin-bottom: 1px
124
148
 
149
+ // Sub menus
150
+ // ---------------------------
151
+ .dropdown-submenu
152
+ position: relative
153
+
154
+ // Default dropdowns
155
+ .dropdown-submenu > .dropdown-menu
156
+ top: 0
157
+ left: 100%
158
+ margin-top: -6px
159
+ margin-left: -1px
160
+ +ctb-border-radius(0 6px 6px 6px)
161
+
162
+ .dropdown-submenu:hover > .dropdown-menu
163
+ display: block
164
+
165
+ // Dropups
166
+ .dropup .dropdown-submenu > .dropdown-menu
167
+ top: auto
168
+ bottom: 0
169
+ margin-top: 0
170
+ margin-bottom: -2px
171
+ +ctb-border-radius(5px 5px 5px 0)
172
+
173
+ // Caret to indicate there is a submenu
174
+ .dropdown-submenu > a:after
175
+ display: block
176
+ content: " "
177
+ float: right
178
+ width: 0
179
+ height: 0
180
+ border-color: transparent
181
+ border-style: solid
182
+ border-width: 5px 0 5px 5px
183
+ border-left-color: darken($dropdownBackground, 20%)
184
+ margin-top: 5px
185
+ margin-right: -10px
186
+
187
+ .dropdown-submenu:hover > a:after
188
+ border-left-color: $dropdownLinkColorHover
189
+
190
+ // Left aligned submenus
191
+ .dropdown-submenu.pull-left
192
+ // Undo the float
193
+ // Yes, this is awkward since .pull-left adds a float, but it sticks to our conventions elsewhere.
194
+ float: none
195
+ // Positioning the submenu
196
+ > .dropdown-menu
197
+ left: -100%
198
+ margin-left: 10px
199
+ +ctb-border-radius(6px 0 6px 6px)
200
+
201
+ // Tweak nav headers
202
+ // -----------------
203
+ // Increase padding from 15px to 20px on sides
204
+ .dropdown .dropdown-menu .nav-header
205
+ padding-left: 20px
206
+ padding-right: 20px
207
+
125
208
  // Typeahead
126
209
  // ---------
127
210
  .typeahead
211
+ z-index: 1051
128
212
  margin-top: 2px
129
213
  // give it some space to breathe
130
- +bootstrap-border-radius(4px)
214
+ +ctb-border-radius($baseBorderRadius)
@@ -18,30 +18,13 @@
18
18
  * -------------------------------------------------------
19
19
  * Email: dave@davegandy.com
20
20
  * Twitter: http://twitter.com/fortaweso_me
21
- * Work: http://lemonwi.se co-founder
21
+ * Work: Lead Product Designer @ http://kyruus.com
22
22
 
23
23
  @import compass/css3/font-face
24
24
 
25
25
  $font_path: "fontawesome-webfont" !default
26
26
 
27
- +font-face("FontAwesome", font-files("#{$font_path}.woff", woff, "#{$font_path}.ttf", truetype, "#{$font_path}.otf", opentype, "#{$font_path}.svgz#FontAwesomeRegular", svg, "#{$font_path}.svg#FontAwesomeRegular", svg), "#{$font_path}.eot", normal, normal)
28
-
29
- /* sprites.less reset
30
-
31
- [class^="icon-"],
32
- [class*=" icon-"]
33
- display: inline
34
- width: auto
35
- height: auto
36
- line-height: inherit
37
- vertical-align: baseline
38
- background-image: none
39
- background-position: 0% 0%
40
- background-repeat: repeat
41
-
42
- li[class^="icon-"],
43
- li[class*=" icon-"]
44
- display: block
27
+ +font-face("FontAwesome", font-files("#{$font_path}.woff", woff, "#{$font_path}.ttf", truetype, "#{$font_path}.svg#FontAwesomeRegular", svg), "#{$font_path}.eot", normal, normal)
45
28
 
46
29
  /* Font Awesome styles
47
30
  * -------------------------------------------------------
@@ -61,10 +44,10 @@ a [class*=" icon-"]
61
44
 
62
45
  /* makes the font 33% larger relative to the icon container
63
46
  .icon-large:before
64
- vertical-align: top
47
+ vertical-align: middle
65
48
  font-size: 4 / 3em
66
49
 
67
- .btn
50
+ .btn, .nav-tabs
68
51
  [class^="icon-"],
69
52
  [class*=" icon-"]
70
53
  /* keeps button heights with and without icons the same
@@ -76,20 +59,24 @@ li
76
59
  display: inline-block
77
60
  width: 1.25em
78
61
  text-align: center
79
- .icon-large[class^="icon-"],
80
- .icon-large[class*=" icon-"]
62
+ .icon-large:before,
63
+ .icon-large:before
81
64
  /* 1.5 increased font size for icon-large * 1.25 width
82
65
  width: 1.5 * 1.25em
83
66
 
84
- li[class^="icon-"],
85
- li[class*=" icon-"]
86
- margin-left: 0
67
+ ul.icons
87
68
  list-style-type: none
88
- &:before
89
- text-indent: -2em
90
- text-align: center
91
- &.icon-large:before
92
- text-indent: -4 / 3em
69
+ margin-left: 2em
70
+ text-indent: -0.8em
71
+ li
72
+ [class^="icon-"],
73
+ [class*=" icon-"]
74
+ width: .8em
75
+ .icon-large:before,
76
+ .icon-large:before
77
+ /* 1.5 increased font size for icon-large * 1.25 width
78
+ vertical-align: initial
79
+ // width: 1.5*1.25em;
93
80
 
94
81
  /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
95
82
  * readers do not read off random characters that represent icons
@@ -513,3 +500,213 @@ li[class*=" icon-"]
513
500
 
514
501
  .icon-lemon:before
515
502
  content: "\f094"
503
+
504
+ .icon-phone:before
505
+ content: "\f095"
506
+
507
+ .icon-check-empty:before
508
+ content: "\f096"
509
+
510
+ .icon-bookmark-empty:before
511
+ content: "\f097"
512
+
513
+ .icon-phone-sign:before
514
+ content: "\f098"
515
+
516
+ .icon-twitter:before
517
+ content: "\f099"
518
+
519
+ .icon-facebook:before
520
+ content: "\f09a"
521
+
522
+ .icon-github:before
523
+ content: "\f09b"
524
+
525
+ .icon-unlock:before
526
+ content: "\f09c"
527
+
528
+ .icon-credit-card:before
529
+ content: "\f09d"
530
+
531
+ .icon-rss:before
532
+ content: "\f09e"
533
+
534
+ .icon-hdd:before
535
+ content: "\f0a0"
536
+
537
+ .icon-bullhorn:before
538
+ content: "\f0a1"
539
+
540
+ .icon-bell:before
541
+ content: "\f0a2"
542
+
543
+ .icon-certificate:before
544
+ content: "\f0a3"
545
+
546
+ .icon-hand-right:before
547
+ content: "\f0a4"
548
+
549
+ .icon-hand-left:before
550
+ content: "\f0a5"
551
+
552
+ .icon-hand-up:before
553
+ content: "\f0a6"
554
+
555
+ .icon-hand-down:before
556
+ content: "\f0a7"
557
+
558
+ .icon-circle-arrow-left:before
559
+ content: "\f0a8"
560
+
561
+ .icon-circle-arrow-right:before
562
+ content: "\f0a9"
563
+
564
+ .icon-circle-arrow-up:before
565
+ content: "\f0aa"
566
+
567
+ .icon-circle-arrow-down:before
568
+ content: "\f0ab"
569
+
570
+ .icon-globe:before
571
+ content: "\f0ac"
572
+
573
+ .icon-wrench:before
574
+ content: "\f0ad"
575
+
576
+ .icon-tasks:before
577
+ content: "\f0ae"
578
+
579
+ .icon-filter:before
580
+ content: "\f0b0"
581
+
582
+ .icon-briefcase:before
583
+ content: "\f0b1"
584
+
585
+ .icon-fullscreen:before
586
+ content: "\f0b2"
587
+
588
+ .icon-group:before
589
+ content: "\f0c0"
590
+
591
+ .icon-link:before
592
+ content: "\f0c1"
593
+
594
+ .icon-cloud:before
595
+ content: "\f0c2"
596
+
597
+ .icon-beaker:before
598
+ content: "\f0c3"
599
+
600
+ .icon-cut:before
601
+ content: "\f0c4"
602
+
603
+ .icon-copy:before
604
+ content: "\f0c5"
605
+
606
+ .icon-paper-clip:before
607
+ content: "\f0c6"
608
+
609
+ .icon-save:before
610
+ content: "\f0c7"
611
+
612
+ .icon-sign-blank:before
613
+ content: "\f0c8"
614
+
615
+ .icon-reorder:before
616
+ content: "\f0c9"
617
+
618
+ .icon-list-ul:before
619
+ content: "\f0ca"
620
+
621
+ .icon-list-ol:before
622
+ content: "\f0cb"
623
+
624
+ .icon-strikethrough:before
625
+ content: "\f0cc"
626
+
627
+ .icon-underline:before
628
+ content: "\f0cd"
629
+
630
+ .icon-table:before
631
+ content: "\f0ce"
632
+
633
+ .icon-magic:before
634
+ content: "\f0d0"
635
+
636
+ .icon-truck:before
637
+ content: "\f0d1"
638
+
639
+ .icon-pinterest:before
640
+ content: "\f0d2"
641
+
642
+ .icon-pinterest-sign:before
643
+ content: "\f0d3"
644
+
645
+ .icon-google-plus-sign:before
646
+ content: "\f0d4"
647
+
648
+ .icon-google-plus:before
649
+ content: "\f0d5"
650
+
651
+ .icon-money:before
652
+ content: "\f0d6"
653
+
654
+ .icon-caret-down:before
655
+ content: "\f0d7"
656
+
657
+ .icon-caret-up:before
658
+ content: "\f0d8"
659
+
660
+ .icon-caret-left:before
661
+ content: "\f0d9"
662
+
663
+ .icon-caret-right:before
664
+ content: "\f0da"
665
+
666
+ .icon-columns:before
667
+ content: "\f0db"
668
+
669
+ .icon-sort:before
670
+ content: "\f0dc"
671
+
672
+ .icon-sort-down:before
673
+ content: "\f0dd"
674
+
675
+ .icon-sort-up:before
676
+ content: "\f0de"
677
+
678
+ .icon-envelope-alt:before
679
+ content: "\f0e0"
680
+
681
+ .icon-linkedin:before
682
+ content: "\f0e1"
683
+
684
+ .icon-undo:before
685
+ content: "\f0e2"
686
+
687
+ .icon-legal:before
688
+ content: "\f0e3"
689
+
690
+ .icon-dashboard:before
691
+ content: "\f0e4"
692
+
693
+ .icon-comment-alt:before
694
+ content: "\f0e5"
695
+
696
+ .icon-comments-alt:before
697
+ content: "\f0e6"
698
+
699
+ .icon-bolt:before
700
+ content: "\f0e7"
701
+
702
+ .icon-sitemap:before
703
+ content: "\f0e8"
704
+
705
+ .icon-umbrella:before
706
+ content: "\f0e9"
707
+
708
+ .icon-paste:before
709
+ content: "\f0ea"
710
+
711
+ .icon-user-md:before
712
+ content: "\f200"