compass_twitter_bootstrap 2.0.1.2 → 2.0.3
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.
- data/README.md +17 -0
- data/build/convert.rb +2 -12
- data/lib/compass_twitter_bootstrap/version.rb +1 -1
- data/stylesheets/_compass_twitter_bootstrap.scss +2 -2
- data/stylesheets/_compass_twitter_bootstrap_awesome.scss +66 -0
- data/stylesheets/_compass_twitter_bootstrap_responsive.scss +14 -293
- data/stylesheets/compass_twitter_bootstrap/_accordion.scss +6 -1
- data/stylesheets/compass_twitter_bootstrap/_alerts.scss +3 -15
- data/stylesheets/compass_twitter_bootstrap/_breadcrumbs.scss +5 -3
- data/stylesheets/compass_twitter_bootstrap/_button-groups.scss +82 -39
- data/stylesheets/compass_twitter_bootstrap/_buttons.scss +38 -30
- data/stylesheets/compass_twitter_bootstrap/_carousel.scss +5 -5
- data/stylesheets/compass_twitter_bootstrap/_close.scss +13 -2
- data/stylesheets/compass_twitter_bootstrap/_code.scss +9 -9
- data/stylesheets/compass_twitter_bootstrap/_component-animations.scss +10 -8
- data/stylesheets/compass_twitter_bootstrap/_dropdowns.scss +62 -49
- data/stylesheets/compass_twitter_bootstrap/_font-awesome.scss +267 -0
- data/stylesheets/compass_twitter_bootstrap/_forms.scss +141 -77
- data/stylesheets/compass_twitter_bootstrap/_grid.scss +2 -5
- data/stylesheets/compass_twitter_bootstrap/_hero-unit.scss +4 -2
- data/stylesheets/compass_twitter_bootstrap/_labels-badges.scss +63 -0
- data/stylesheets/compass_twitter_bootstrap/_layouts.scss +3 -3
- data/stylesheets/compass_twitter_bootstrap/_mixins.scss +275 -255
- data/stylesheets/compass_twitter_bootstrap/_modals.scss +19 -12
- data/stylesheets/compass_twitter_bootstrap/_navbar.scss +146 -81
- data/stylesheets/compass_twitter_bootstrap/_navs.scss +77 -52
- data/stylesheets/compass_twitter_bootstrap/_pager.scss +8 -2
- data/stylesheets/compass_twitter_bootstrap/_pagination.scss +6 -5
- data/stylesheets/compass_twitter_bootstrap/_popovers.scss +9 -9
- data/stylesheets/compass_twitter_bootstrap/_progress-bars.scss +41 -19
- data/stylesheets/compass_twitter_bootstrap/_reset.scss +4 -4
- data/stylesheets/compass_twitter_bootstrap/_responsive-1200px-min.scss +26 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-767px-max.scss +149 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-768px-979px.scss +17 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-navbar.scss +146 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-utilities.scss +41 -0
- data/stylesheets/compass_twitter_bootstrap/_scaffolding.scss +4 -4
- data/stylesheets/compass_twitter_bootstrap/_sprites.scss +42 -9
- data/stylesheets/compass_twitter_bootstrap/_tables.scss +60 -34
- data/stylesheets/compass_twitter_bootstrap/_thumbnails.scss +18 -6
- data/stylesheets/compass_twitter_bootstrap/_tooltip.scss +7 -7
- data/stylesheets/compass_twitter_bootstrap/_type.scss +28 -11
- data/stylesheets/compass_twitter_bootstrap/_variables.scss +107 -9
- data/stylesheets/compass_twitter_bootstrap/_wells.scss +13 -2
- data/stylesheets_sass/_compass_twitter_bootstrap.sass +2 -2
- data/stylesheets_sass/_compass_twitter_bootstrap_awesome.sass +70 -0
- data/stylesheets_sass/_compass_twitter_bootstrap_responsive.sass +13 -224
- data/stylesheets_sass/compass_twitter_bootstrap/_accordion.sass +5 -1
- data/stylesheets_sass/compass_twitter_bootstrap/_alerts.sass +3 -14
- data/stylesheets_sass/compass_twitter_bootstrap/_breadcrumbs.sass +5 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_button-groups.sass +73 -36
- data/stylesheets_sass/compass_twitter_bootstrap/_buttons.sass +39 -28
- data/stylesheets_sass/compass_twitter_bootstrap/_carousel.sass +5 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_close.sass +12 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_code.sass +10 -9
- data/stylesheets_sass/compass_twitter_bootstrap/_component-animations.sass +5 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_dropdowns.sass +57 -47
- data/stylesheets_sass/compass_twitter_bootstrap/_font-awesome.sass +515 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_forms.sass +140 -76
- data/stylesheets_sass/compass_twitter_bootstrap/_grid.sass +2 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_hero-unit.sass +4 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_labels-badges.sass +85 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_layouts.sass +3 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_mixins.sass +277 -260
- data/stylesheets_sass/compass_twitter_bootstrap/_modals.sass +19 -12
- data/stylesheets_sass/compass_twitter_bootstrap/_navbar.sass +138 -78
- data/stylesheets_sass/compass_twitter_bootstrap/_navs.sass +77 -51
- data/stylesheets_sass/compass_twitter_bootstrap/_pager.sass +8 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_pagination.sass +6 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_popovers.sass +9 -9
- data/stylesheets_sass/compass_twitter_bootstrap/_progress-bars.sass +44 -19
- data/stylesheets_sass/compass_twitter_bootstrap/_reset.sass +4 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-1200px-min.sass +17 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-767px-max.sass +115 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-768px-979px.sass +11 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-navbar.sass +115 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-utilities.sass +56 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_scaffolding.sass +4 -4
- data/stylesheets_sass/compass_twitter_bootstrap/_sprites.sass +70 -7
- data/stylesheets_sass/compass_twitter_bootstrap/_tables.sass +72 -34
- data/stylesheets_sass/compass_twitter_bootstrap/_thumbnails.sass +15 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_tooltip.sass +7 -7
- data/stylesheets_sass/compass_twitter_bootstrap/_type.sass +27 -11
- data/stylesheets_sass/compass_twitter_bootstrap/_variables.sass +105 -8
- data/stylesheets_sass/compass_twitter_bootstrap/_wells.sass +11 -2
- data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.svg +175 -0
- data/vendor/assets/fonts/fontawesome-webfont.svgz +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/bootstrap-alert.js +28 -32
- data/vendor/assets/javascripts/bootstrap-all.js +12 -0
- data/vendor/assets/javascripts/bootstrap-button.js +32 -34
- data/vendor/assets/javascripts/bootstrap-carousel.js +33 -21
- data/vendor/assets/javascripts/bootstrap-collapse.js +47 -26
- data/vendor/assets/javascripts/bootstrap-dropdown.js +18 -10
- data/vendor/assets/javascripts/bootstrap-modal.js +25 -17
- data/vendor/assets/javascripts/bootstrap-popover.js +13 -10
- data/vendor/assets/javascripts/bootstrap-scrollspy.js +44 -18
- data/vendor/assets/javascripts/bootstrap-tab.js +12 -7
- data/vendor/assets/javascripts/bootstrap-tooltip.js +40 -35
- data/vendor/assets/javascripts/bootstrap-transition.js +30 -20
- data/vendor/assets/javascripts/bootstrap-typeahead.js +29 -15
- metadata +29 -9
- data/stylesheets/compass_twitter_bootstrap/_labels.scss +0 -32
- data/stylesheets_sass/compass_twitter_bootstrap/_labels.sass +0 -42
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
.item {
|
|
19
19
|
display: none;
|
|
20
20
|
position: relative;
|
|
21
|
-
@include transition(.6s ease-in-out left);
|
|
21
|
+
@include bootstrap-transition(.6s ease-in-out left);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
// Account for jankitude on images
|
|
@@ -79,15 +79,15 @@
|
|
|
79
79
|
text-align: center;
|
|
80
80
|
background: $grayDarker;
|
|
81
81
|
border: 3px solid $white;
|
|
82
|
-
@include border-radius(23px);
|
|
83
|
-
@include opacity(
|
|
82
|
+
@include bootstrap-border-radius(23px);
|
|
83
|
+
@include bootstrap-opacity(50);
|
|
84
84
|
|
|
85
85
|
// we can't have this transition here
|
|
86
86
|
// because webkit cancels the carousel
|
|
87
87
|
// animation if you trip this while
|
|
88
88
|
// in the middle of another animation
|
|
89
89
|
// ;_;
|
|
90
|
-
// @include transition(opacity .2s linear);
|
|
90
|
+
// @include bootstrap-transition(opacity .2s linear);
|
|
91
91
|
|
|
92
92
|
// Reposition the right one
|
|
93
93
|
&.right {
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
&:hover {
|
|
100
100
|
color: $white;
|
|
101
101
|
text-decoration: none;
|
|
102
|
-
@include opacity(
|
|
102
|
+
@include bootstrap-opacity(90);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
|
|
@@ -8,11 +8,22 @@
|
|
|
8
8
|
line-height: $baseLineHeight;
|
|
9
9
|
color: $black;
|
|
10
10
|
text-shadow: 0 1px 0 rgba(255,255,255,1);
|
|
11
|
-
@include opacity(
|
|
11
|
+
@include bootstrap-opacity(20);
|
|
12
12
|
&:hover {
|
|
13
13
|
color: $black;
|
|
14
14
|
text-decoration: none;
|
|
15
|
-
@include opacity(0.4);
|
|
16
15
|
cursor: pointer;
|
|
16
|
+
@include bootstrap-opacity(40);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
+
|
|
20
|
+
// Additional properties for button version
|
|
21
|
+
// iOS requires the button element instead of an anchor tag.
|
|
22
|
+
// If you want the anchor version, it requires `href="#"`.
|
|
23
|
+
button.close {
|
|
24
|
+
padding: 0;
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
background: transparent;
|
|
27
|
+
border: 0;
|
|
28
|
+
-webkit-appearance: none;
|
|
29
|
+
}
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
code,
|
|
7
7
|
pre {
|
|
8
8
|
padding: 0 3px 2px;
|
|
9
|
-
@include font-family-monospace;
|
|
9
|
+
@include bootstrap-font-family-monospace;
|
|
10
10
|
font-size: $baseFontSize - 1;
|
|
11
11
|
color: $grayDark;
|
|
12
|
-
@include border-radius(3px);
|
|
12
|
+
@include bootstrap-border-radius(3px);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
// Inline code
|
|
16
16
|
code {
|
|
17
|
-
padding:
|
|
17
|
+
padding: 2px 4px;
|
|
18
18
|
color: #d14;
|
|
19
19
|
background-color: #f7f7f9;
|
|
20
20
|
border: 1px solid #e1e1e8;
|
|
@@ -25,16 +25,16 @@ pre {
|
|
|
25
25
|
display: block;
|
|
26
26
|
padding: ($baseLineHeight - 1) / 2;
|
|
27
27
|
margin: 0 0 $baseLineHeight / 2;
|
|
28
|
-
font-size: 12px
|
|
28
|
+
font-size: $baseFontSize * .925; // 13px to 12px
|
|
29
29
|
line-height: $baseLineHeight;
|
|
30
|
+
word-break: break-all;
|
|
31
|
+
word-wrap: break-word;
|
|
32
|
+
white-space: pre;
|
|
33
|
+
white-space: pre-wrap;
|
|
30
34
|
background-color: #f5f5f5;
|
|
31
35
|
border: 1px solid #ccc; // fallback for IE7-8
|
|
32
36
|
border: 1px solid rgba(0,0,0,.15);
|
|
33
|
-
@include border-radius(4px);
|
|
34
|
-
white-space: pre;
|
|
35
|
-
white-space: pre-wrap;
|
|
36
|
-
word-break: break-all;
|
|
37
|
-
word-wrap: break-word;
|
|
37
|
+
@include bootstrap-border-radius(4px);
|
|
38
38
|
|
|
39
39
|
// Make prettyprint styles more spaced out for readability
|
|
40
40
|
&.prettyprint {
|
|
@@ -2,17 +2,19 @@
|
|
|
2
2
|
// --------------------
|
|
3
3
|
|
|
4
4
|
.fade {
|
|
5
|
-
@include
|
|
6
|
-
opacity
|
|
5
|
+
@include bootstrap-opacity(0);
|
|
6
|
+
@include bootstrap-transition(opacity .15s linear);
|
|
7
7
|
&.in {
|
|
8
|
-
opacity
|
|
8
|
+
@include bootstrap-opacity(100);
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.collapse {
|
|
13
|
-
|
|
14
|
-
position:relative;
|
|
15
|
-
overflow:hidden;
|
|
13
|
+
position: relative;
|
|
16
14
|
height: 0;
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
@include bootstrap-transition(height .35s ease);
|
|
17
|
+
&.in {
|
|
18
|
+
height: auto;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// --------------
|
|
3
3
|
|
|
4
4
|
// Use the .menu class on any <li> element within the topbar or ul.tabs and you'll get some superfancy dropdowns
|
|
5
|
+
.dropup,
|
|
5
6
|
.dropdown {
|
|
6
7
|
position: relative;
|
|
7
8
|
}
|
|
@@ -13,77 +14,64 @@
|
|
|
13
14
|
.open .dropdown-toggle {
|
|
14
15
|
outline: 0;
|
|
15
16
|
}
|
|
17
|
+
|
|
16
18
|
// Dropdown arrow/caret
|
|
19
|
+
// --------------------
|
|
17
20
|
.caret {
|
|
18
21
|
display: inline-block;
|
|
19
22
|
width: 0;
|
|
20
23
|
height: 0;
|
|
21
|
-
text-indent: -99999px;
|
|
22
|
-
// IE7 won't do the border trick if there's a text indent, but it doesn't
|
|
23
|
-
// do the content that text-indent is hiding, either, so we're ok.
|
|
24
|
-
*text-indent: 0;
|
|
25
24
|
vertical-align: top;
|
|
26
|
-
border-left: 4px solid transparent;
|
|
27
|
-
border-right: 4px solid transparent;
|
|
28
25
|
border-top: 4px solid $black;
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
border-right: 4px solid transparent;
|
|
27
|
+
border-left: 4px solid transparent;
|
|
28
|
+
content: "";
|
|
29
|
+
@include bootstrap-opacity(30);
|
|
31
30
|
}
|
|
31
|
+
|
|
32
|
+
// Place the caret
|
|
32
33
|
.dropdown .caret {
|
|
33
34
|
margin-top: 8px;
|
|
34
35
|
margin-left: 2px;
|
|
35
36
|
}
|
|
36
37
|
.dropdown:hover .caret,
|
|
37
|
-
.open
|
|
38
|
-
@include opacity(
|
|
38
|
+
.open .caret {
|
|
39
|
+
@include bootstrap-opacity(100);
|
|
39
40
|
}
|
|
41
|
+
|
|
40
42
|
// The dropdown menu (ul)
|
|
43
|
+
// ----------------------
|
|
41
44
|
.dropdown-menu {
|
|
42
45
|
position: absolute;
|
|
43
46
|
top: 100%;
|
|
44
47
|
left: 0;
|
|
45
48
|
z-index: $zindexDropdown;
|
|
46
|
-
float: left;
|
|
47
49
|
display: none; // none by default, but block on "open" of the menu
|
|
50
|
+
float: left;
|
|
48
51
|
min-width: 160px;
|
|
49
|
-
_width: 160px;
|
|
50
52
|
padding: 4px 0;
|
|
51
|
-
margin: 0; // override default ul
|
|
53
|
+
margin: 1px 0 0; // override default ul
|
|
52
54
|
list-style: none;
|
|
53
|
-
background-color: $
|
|
54
|
-
border
|
|
55
|
-
border
|
|
56
|
-
border-
|
|
57
|
-
border-width:
|
|
58
|
-
@include border-radius(
|
|
59
|
-
@include box-shadow(0 5px 10px rgba(0,0,0,.2));
|
|
55
|
+
background-color: $dropdownBackground;
|
|
56
|
+
border: 1px solid #ccc;
|
|
57
|
+
border: 1px solid rgba(0,0,0,.2);
|
|
58
|
+
*border-right-width: 2px;
|
|
59
|
+
*border-bottom-width: 2px;
|
|
60
|
+
@include bootstrap-border-radius(5px);
|
|
61
|
+
@include bootstrap-box-shadow(0 5px 10px rgba(0,0,0,.2));
|
|
60
62
|
-webkit-background-clip: padding-box;
|
|
61
63
|
-moz-background-clip: padding;
|
|
62
64
|
background-clip: padding-box;
|
|
63
|
-
*border-right-width: 2px;
|
|
64
|
-
*border-bottom-width: 2px;
|
|
65
65
|
|
|
66
|
-
//
|
|
67
|
-
&.
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
margin-bottom: 2px;
|
|
66
|
+
// Aligns the dropdown menu to right
|
|
67
|
+
&.pull-right {
|
|
68
|
+
right: 0;
|
|
69
|
+
left: auto;
|
|
71
70
|
}
|
|
72
71
|
|
|
73
72
|
// Dividers (basically an hr) within the dropdown
|
|
74
73
|
.divider {
|
|
75
|
-
|
|
76
|
-
margin: 5px 1px;
|
|
77
|
-
overflow: hidden;
|
|
78
|
-
background-color: #e5e5e5;
|
|
79
|
-
border-bottom: 1px solid $white;
|
|
80
|
-
|
|
81
|
-
// IE7 needs a set width since we gave a height. Restricting just
|
|
82
|
-
// to IE7 to keep the 1px left/right space in other browsers.
|
|
83
|
-
// It is unclear where IE is getting the extra space that we need
|
|
84
|
-
// to negative-margin away, but so it goes.
|
|
85
|
-
*width: 100%;
|
|
86
|
-
*margin: -5px 0 5px;
|
|
74
|
+
@include bootstrap-nav-divider();
|
|
87
75
|
}
|
|
88
76
|
|
|
89
77
|
// Links within the dropdown menu
|
|
@@ -93,38 +81,63 @@
|
|
|
93
81
|
clear: both;
|
|
94
82
|
font-weight: normal;
|
|
95
83
|
line-height: $baseLineHeight;
|
|
96
|
-
color: $
|
|
84
|
+
color: $dropdownLinkColor;
|
|
97
85
|
white-space: nowrap;
|
|
98
86
|
}
|
|
99
87
|
}
|
|
100
88
|
|
|
101
89
|
// Hover state
|
|
90
|
+
// -----------
|
|
102
91
|
.dropdown-menu li > a:hover,
|
|
103
92
|
.dropdown-menu .active > a,
|
|
104
93
|
.dropdown-menu .active > a:hover {
|
|
105
|
-
color: $
|
|
94
|
+
color: $dropdownLinkColorHover;
|
|
106
95
|
text-decoration: none;
|
|
107
|
-
background-color: $
|
|
96
|
+
background-color: $dropdownLinkBackgroundHover;
|
|
108
97
|
}
|
|
109
98
|
|
|
110
99
|
// Open state for the dropdown
|
|
111
|
-
|
|
100
|
+
// ---------------------------
|
|
101
|
+
.open {
|
|
112
102
|
// IE7's z-index only goes to the nearest positioned ancestor, which would
|
|
113
103
|
// make the menu appear below buttons that appeared later on the page
|
|
114
104
|
*z-index: $zindexDropdown;
|
|
115
105
|
|
|
116
|
-
.dropdown-toggle {
|
|
117
|
-
color: $white;
|
|
118
|
-
background: #ccc;
|
|
119
|
-
background: rgba(0,0,0,.3);
|
|
120
|
-
}
|
|
121
106
|
.dropdown-menu {
|
|
122
107
|
display: block;
|
|
123
108
|
}
|
|
124
109
|
}
|
|
125
110
|
|
|
111
|
+
// Right aligned dropdowns
|
|
112
|
+
// ---------------------------
|
|
113
|
+
.pull-right .dropdown-menu {
|
|
114
|
+
right: 0;
|
|
115
|
+
left: auto;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// Allow for dropdowns to go bottom up (aka, dropup-menu)
|
|
119
|
+
// ------------------------------------------------------
|
|
120
|
+
// Just add .dropup after the standard .dropdown class and you're set, bro.
|
|
121
|
+
// TODO: abstract this so that the navbar fixed styles are not placed here?
|
|
122
|
+
.dropup,
|
|
123
|
+
.navbar-fixed-bottom .dropdown {
|
|
124
|
+
// Reverse the caret
|
|
125
|
+
.caret {
|
|
126
|
+
border-top: 0;
|
|
127
|
+
border-bottom: 4px solid $black;
|
|
128
|
+
content: "\2191";
|
|
129
|
+
}
|
|
130
|
+
// Different positioning for bottom up menu
|
|
131
|
+
.dropdown-menu {
|
|
132
|
+
top: auto;
|
|
133
|
+
bottom: 100%;
|
|
134
|
+
margin-bottom: 1px;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
126
138
|
// Typeahead
|
|
139
|
+
// ---------
|
|
127
140
|
.typeahead {
|
|
128
141
|
margin-top: 2px; // give it some space to breathe
|
|
129
|
-
@include border-radius(4px);
|
|
142
|
+
@include bootstrap-border-radius(4px);
|
|
130
143
|
}
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
/* Font Awesome
|
|
2
|
+
the iconic font designed for use with Twitter Bootstrap
|
|
3
|
+
-------------------------------------------------------
|
|
4
|
+
The full suite of pictographic icons, examples, and documentation
|
|
5
|
+
can be found at: http://fortawesome.github.com/Font-Awesome/
|
|
6
|
+
|
|
7
|
+
License
|
|
8
|
+
-------------------------------------------------------
|
|
9
|
+
The Font Awesome webfont, CSS, and LESS files are licensed under CC BY 3.0:
|
|
10
|
+
http://creativecommons.org/licenses/by/3.0/ A mention of
|
|
11
|
+
'Font Awesome - http://fortawesome.github.com/Font-Awesome' in human-readable
|
|
12
|
+
source code is considered acceptable attribution (most common on the web).
|
|
13
|
+
If human readable source code is not available to the end user, a mention in
|
|
14
|
+
an 'About' or 'Credits' screen is considered acceptable (most common in desktop
|
|
15
|
+
or mobile software).
|
|
16
|
+
|
|
17
|
+
Contact
|
|
18
|
+
-------------------------------------------------------
|
|
19
|
+
Email: dave@davegandy.com
|
|
20
|
+
Twitter: http://twitter.com/fortaweso_me
|
|
21
|
+
Work: http://lemonwi.se co-founder
|
|
22
|
+
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
@import "compass/css3/font-face";
|
|
26
|
+
$font_path: "fontawesome-webfont" !default;
|
|
27
|
+
|
|
28
|
+
@include font-face(
|
|
29
|
+
'FontAwesome',
|
|
30
|
+
font-files(
|
|
31
|
+
"#{$font_path}.woff", woff,
|
|
32
|
+
"#{$font_path}.ttf", truetype,
|
|
33
|
+
"#{$font_path}.otf", opentype,
|
|
34
|
+
"#{$font_path}.svgz#FontAwesomeRegular", svg,
|
|
35
|
+
"#{$font_path}.svg#FontAwesomeRegular", svg),
|
|
36
|
+
'#{$font_path}.eot',
|
|
37
|
+
normal,
|
|
38
|
+
normal);
|
|
39
|
+
|
|
40
|
+
/* sprites.less reset */
|
|
41
|
+
[class^="icon-"],
|
|
42
|
+
[class*=" icon-"] {
|
|
43
|
+
display: inline;
|
|
44
|
+
width: auto;
|
|
45
|
+
height: auto;
|
|
46
|
+
line-height: inherit;
|
|
47
|
+
vertical-align: baseline;
|
|
48
|
+
background-image: none;
|
|
49
|
+
background-position: 0% 0%;
|
|
50
|
+
background-repeat: repeat;
|
|
51
|
+
}
|
|
52
|
+
li[class^="icon-"],
|
|
53
|
+
li[class*=" icon-"] {
|
|
54
|
+
display: block;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* Font Awesome styles
|
|
58
|
+
------------------------------------------------------- */
|
|
59
|
+
[class^="icon-"]:before,
|
|
60
|
+
[class*=" icon-"]:before {
|
|
61
|
+
font-family: FontAwesome;
|
|
62
|
+
font-weight: normal;
|
|
63
|
+
font-style: normal;
|
|
64
|
+
display: inline-block;
|
|
65
|
+
text-decoration: inherit;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
a [class^="icon-"],
|
|
69
|
+
a [class*=" icon-"] {
|
|
70
|
+
display: inline-block;
|
|
71
|
+
text-decoration: inherit;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* makes the font 33% larger relative to the icon container */
|
|
75
|
+
.icon-large:before {
|
|
76
|
+
vertical-align: top;
|
|
77
|
+
font-size: 4/3em;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.btn {
|
|
81
|
+
[class^="icon-"],
|
|
82
|
+
[class*=" icon-"] {
|
|
83
|
+
/* keeps button heights with and without icons the same */
|
|
84
|
+
line-height: .9em;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
li {
|
|
89
|
+
[class^="icon-"],
|
|
90
|
+
[class*=" icon-"] {
|
|
91
|
+
display: inline-block;
|
|
92
|
+
width: 1.25em;
|
|
93
|
+
text-align: center;
|
|
94
|
+
}
|
|
95
|
+
.icon-large[class^="icon-"],
|
|
96
|
+
.icon-large[class*=" icon-"] {
|
|
97
|
+
/* 1.5 increased font size for icon-large * 1.25 width */
|
|
98
|
+
width: 1.5*1.25em;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
li[class^="icon-"],
|
|
103
|
+
li[class*=" icon-"] {
|
|
104
|
+
margin-left: 0;
|
|
105
|
+
list-style-type: none;
|
|
106
|
+
|
|
107
|
+
&:before {
|
|
108
|
+
text-indent: -2em;
|
|
109
|
+
text-align: center;
|
|
110
|
+
}
|
|
111
|
+
&.icon-large:before {
|
|
112
|
+
text-indent: -4/3em;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
|
117
|
+
readers do not read off random characters that represent icons */
|
|
118
|
+
.icon-glass:before { content: "\f000"; }
|
|
119
|
+
.icon-music:before { content: "\f001"; }
|
|
120
|
+
.icon-search:before { content: "\f002"; }
|
|
121
|
+
.icon-envelope:before { content: "\f003"; }
|
|
122
|
+
.icon-heart:before { content: "\f004"; }
|
|
123
|
+
.icon-star:before { content: "\f005"; }
|
|
124
|
+
.icon-star-empty:before { content: "\f006"; }
|
|
125
|
+
.icon-user:before { content: "\f007"; }
|
|
126
|
+
.icon-film:before { content: "\f008"; }
|
|
127
|
+
.icon-th-large:before { content: "\f009"; }
|
|
128
|
+
.icon-th:before { content: "\f00a"; }
|
|
129
|
+
.icon-th-list:before { content: "\f00b"; }
|
|
130
|
+
.icon-ok:before { content: "\f00c"; }
|
|
131
|
+
.icon-remove:before { content: "\f00d"; }
|
|
132
|
+
.icon-zoom-in:before { content: "\f00e"; }
|
|
133
|
+
|
|
134
|
+
.icon-zoom-out:before { content: "\f010"; }
|
|
135
|
+
.icon-off:before { content: "\f011"; }
|
|
136
|
+
.icon-signal:before { content: "\f012"; }
|
|
137
|
+
.icon-cog:before { content: "\f013"; }
|
|
138
|
+
.icon-trash:before { content: "\f014"; }
|
|
139
|
+
.icon-home:before { content: "\f015"; }
|
|
140
|
+
.icon-file:before { content: "\f016"; }
|
|
141
|
+
.icon-time:before { content: "\f017"; }
|
|
142
|
+
.icon-road:before { content: "\f018"; }
|
|
143
|
+
.icon-download-alt:before { content: "\f019"; }
|
|
144
|
+
.icon-download:before { content: "\f01a"; }
|
|
145
|
+
.icon-upload:before { content: "\f01b"; }
|
|
146
|
+
.icon-inbox:before { content: "\f01c"; }
|
|
147
|
+
.icon-play-circle:before { content: "\f01d"; }
|
|
148
|
+
.icon-repeat:before { content: "\f01e"; }
|
|
149
|
+
|
|
150
|
+
/* \f020 is not a valid unicode character. all shifted one down */
|
|
151
|
+
.icon-refresh:before { content: "\f021"; }
|
|
152
|
+
.icon-list-alt:before { content: "\f022"; }
|
|
153
|
+
.icon-lock:before { content: "\f023"; }
|
|
154
|
+
.icon-flag:before { content: "\f024"; }
|
|
155
|
+
.icon-headphones:before { content: "\f025"; }
|
|
156
|
+
.icon-volume-off:before { content: "\f026"; }
|
|
157
|
+
.icon-volume-down:before { content: "\f027"; }
|
|
158
|
+
.icon-volume-up:before { content: "\f028"; }
|
|
159
|
+
.icon-qrcode:before { content: "\f029"; }
|
|
160
|
+
.icon-barcode:before { content: "\f02a"; }
|
|
161
|
+
.icon-tag:before { content: "\f02b"; }
|
|
162
|
+
.icon-tags:before { content: "\f02c"; }
|
|
163
|
+
.icon-book:before { content: "\f02d"; }
|
|
164
|
+
.icon-bookmark:before { content: "\f02e"; }
|
|
165
|
+
.icon-print:before { content: "\f02f"; }
|
|
166
|
+
|
|
167
|
+
.icon-camera:before { content: "\f030"; }
|
|
168
|
+
.icon-font:before { content: "\f031"; }
|
|
169
|
+
.icon-bold:before { content: "\f032"; }
|
|
170
|
+
.icon-italic:before { content: "\f033"; }
|
|
171
|
+
.icon-text-height:before { content: "\f034"; }
|
|
172
|
+
.icon-text-width:before { content: "\f035"; }
|
|
173
|
+
.icon-align-left:before { content: "\f036"; }
|
|
174
|
+
.icon-align-center:before { content: "\f037"; }
|
|
175
|
+
.icon-align-right:before { content: "\f038"; }
|
|
176
|
+
.icon-align-justify:before { content: "\f039"; }
|
|
177
|
+
.icon-list:before { content: "\f03a"; }
|
|
178
|
+
.icon-indent-left:before { content: "\f03b"; }
|
|
179
|
+
.icon-indent-right:before { content: "\f03c"; }
|
|
180
|
+
.icon-facetime-video:before { content: "\f03d"; }
|
|
181
|
+
.icon-picture:before { content: "\f03e"; }
|
|
182
|
+
|
|
183
|
+
.icon-pencil:before { content: "\f040"; }
|
|
184
|
+
.icon-map-marker:before { content: "\f041"; }
|
|
185
|
+
.icon-adjust:before { content: "\f042"; }
|
|
186
|
+
.icon-tint:before { content: "\f043"; }
|
|
187
|
+
.icon-edit:before { content: "\f044"; }
|
|
188
|
+
.icon-share:before { content: "\f045"; }
|
|
189
|
+
.icon-check:before { content: "\f046"; }
|
|
190
|
+
.icon-move:before { content: "\f047"; }
|
|
191
|
+
.icon-step-backward:before { content: "\f048"; }
|
|
192
|
+
.icon-fast-backward:before { content: "\f049"; }
|
|
193
|
+
.icon-backward:before { content: "\f04a"; }
|
|
194
|
+
.icon-play:before { content: "\f04b"; }
|
|
195
|
+
.icon-pause:before { content: "\f04c"; }
|
|
196
|
+
.icon-stop:before { content: "\f04d"; }
|
|
197
|
+
.icon-forward:before { content: "\f04e"; }
|
|
198
|
+
|
|
199
|
+
.icon-fast-forward:before { content: "\f050"; }
|
|
200
|
+
.icon-step-forward:before { content: "\f051"; }
|
|
201
|
+
.icon-eject:before { content: "\f052"; }
|
|
202
|
+
.icon-chevron-left:before { content: "\f053"; }
|
|
203
|
+
.icon-chevron-right:before { content: "\f054"; }
|
|
204
|
+
.icon-plus-sign:before { content: "\f055"; }
|
|
205
|
+
.icon-minus-sign:before { content: "\f056"; }
|
|
206
|
+
.icon-remove-sign:before { content: "\f057"; }
|
|
207
|
+
.icon-ok-sign:before { content: "\f058"; }
|
|
208
|
+
.icon-question-sign:before { content: "\f059"; }
|
|
209
|
+
.icon-info-sign:before { content: "\f05a"; }
|
|
210
|
+
.icon-screenshot:before { content: "\f05b"; }
|
|
211
|
+
.icon-remove-circle:before { content: "\f05c"; }
|
|
212
|
+
.icon-ok-circle:before { content: "\f05d"; }
|
|
213
|
+
.icon-ban-circle:before { content: "\f05e"; }
|
|
214
|
+
|
|
215
|
+
.icon-arrow-left:before { content: "\f060"; }
|
|
216
|
+
.icon-arrow-right:before { content: "\f061"; }
|
|
217
|
+
.icon-arrow-up:before { content: "\f062"; }
|
|
218
|
+
.icon-arrow-down:before { content: "\f063"; }
|
|
219
|
+
.icon-share-alt:before { content: "\f064"; }
|
|
220
|
+
.icon-resize-full:before { content: "\f065"; }
|
|
221
|
+
.icon-resize-small:before { content: "\f066"; }
|
|
222
|
+
.icon-plus:before { content: "\f067"; }
|
|
223
|
+
.icon-minus:before { content: "\f068"; }
|
|
224
|
+
.icon-asterisk:before { content: "\f069"; }
|
|
225
|
+
.icon-exclamation-sign:before { content: "\f06a"; }
|
|
226
|
+
.icon-gift:before { content: "\f06b"; }
|
|
227
|
+
.icon-leaf:before { content: "\f06c"; }
|
|
228
|
+
.icon-fire:before { content: "\f06d"; }
|
|
229
|
+
.icon-eye-open:before { content: "\f06e"; }
|
|
230
|
+
|
|
231
|
+
.icon-eye-close:before { content: "\f070"; }
|
|
232
|
+
.icon-warning-sign:before { content: "\f071"; }
|
|
233
|
+
.icon-plane:before { content: "\f072"; }
|
|
234
|
+
.icon-calendar:before { content: "\f073"; }
|
|
235
|
+
.icon-random:before { content: "\f074"; }
|
|
236
|
+
.icon-comment:before { content: "\f075"; }
|
|
237
|
+
.icon-magnet:before { content: "\f076"; }
|
|
238
|
+
.icon-chevron-up:before { content: "\f077"; }
|
|
239
|
+
.icon-chevron-down:before { content: "\f078"; }
|
|
240
|
+
.icon-retweet:before { content: "\f079"; }
|
|
241
|
+
.icon-shopping-cart:before { content: "\f07a"; }
|
|
242
|
+
.icon-folder-close:before { content: "\f07b"; }
|
|
243
|
+
.icon-folder-open:before { content: "\f07c"; }
|
|
244
|
+
.icon-resize-vertical:before { content: "\f07d"; }
|
|
245
|
+
.icon-resize-horizontal:before { content: "\f07e"; }
|
|
246
|
+
|
|
247
|
+
.icon-bar-chart:before { content: "\f080"; }
|
|
248
|
+
.icon-twitter-sign:before { content: "\f081"; }
|
|
249
|
+
.icon-facebook-sign:before { content: "\f082"; }
|
|
250
|
+
.icon-camera-retro:before { content: "\f083"; }
|
|
251
|
+
.icon-key:before { content: "\f084"; }
|
|
252
|
+
.icon-cogs:before { content: "\f085"; }
|
|
253
|
+
.icon-comments:before { content: "\f086"; }
|
|
254
|
+
.icon-thumbs-up:before { content: "\f087"; }
|
|
255
|
+
.icon-thumbs-down:before { content: "\f088"; }
|
|
256
|
+
.icon-star-half:before { content: "\f089"; }
|
|
257
|
+
.icon-heart-empty:before { content: "\f08a"; }
|
|
258
|
+
.icon-signout:before { content: "\f08b"; }
|
|
259
|
+
.icon-linkedin-sign:before { content: "\f08c"; }
|
|
260
|
+
.icon-pushpin:before { content: "\f08d"; }
|
|
261
|
+
.icon-external-link:before { content: "\f08e"; }
|
|
262
|
+
|
|
263
|
+
.icon-signin:before { content: "\f090"; }
|
|
264
|
+
.icon-trophy:before { content: "\f091"; }
|
|
265
|
+
.icon-github-sign:before { content: "\f092"; }
|
|
266
|
+
.icon-upload-alt:before { content: "\f093"; }
|
|
267
|
+
.icon-lemon:before { content: "\f094"; }
|