twitter-bootstrap-rails 2.2.6 → 2.2.7
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 +319 -18
- data/Rakefile +9 -1
- data/app/assets/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/fontawesome-webfont.svg +339 -0
- data/{vendor → app}/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/fontawesome-webfont.woff +0 -0
- data/{vendor → app}/assets/images/twitter/bootstrap/glyphicons-halflings-white.png +0 -0
- data/{vendor → app}/assets/images/twitter/bootstrap/glyphicons-halflings.png +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-affix.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-alert.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-button.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-carousel.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-collapse.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-dropdown.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-modal.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-popover.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-scrollspy.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-tab.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-tooltip.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-transition.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap/bootstrap-typeahead.js +0 -0
- data/{vendor → app}/assets/javascripts/twitter/bootstrap_ujs.js +0 -0
- data/app/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb +889 -0
- data/{vendor → app}/assets/stylesheets/twitter-bootstrap-static/fontawesome.css.erb +134 -16
- data/{vendor → app}/assets/stylesheets/twitter-bootstrap-static/sprites.css.erb +2 -2
- data/app/helpers/badge_label_helper.rb +16 -0
- data/app/helpers/bootstrap_flash_helper.rb +1 -1
- data/app/helpers/modal_helper.rb +29 -16
- data/app/helpers/navbar_helper.rb +189 -0
- data/app/helpers/twitter_breadcrumbs_helper.rb +7 -2
- data/lib/generators/bootstrap/install/install_generator.rb +10 -6
- data/lib/generators/bootstrap/install/templates/bootstrap_and_overrides.less +8 -9
- data/lib/generators/bootstrap/install/templates/en.bootstrap.yml +1 -0
- data/lib/generators/bootstrap/layout/templates/layout.html.erb +4 -4
- data/lib/generators/bootstrap/layout/templates/layout.html.haml +5 -5
- data/lib/generators/bootstrap/layout/templates/layout.html.slim +7 -5
- data/lib/generators/bootstrap/themed/templates/edit.html.erb +1 -1
- data/lib/generators/bootstrap/themed/templates/edit.html.haml +1 -1
- data/lib/generators/bootstrap/themed/templates/edit.html.slim +1 -1
- data/lib/generators/bootstrap/themed/templates/index.html.erb +1 -1
- data/lib/generators/bootstrap/themed/templates/index.html.haml +1 -1
- data/lib/generators/bootstrap/themed/templates/index.html.slim +1 -1
- data/lib/generators/bootstrap/themed/templates/new.html.erb +1 -1
- data/lib/generators/bootstrap/themed/templates/new.html.haml +1 -1
- data/lib/generators/bootstrap/themed/templates/new.html.slim +1 -1
- data/lib/generators/bootstrap/themed/templates/show.html.erb +1 -1
- data/lib/generators/bootstrap/themed/templates/show.html.haml +1 -1
- data/lib/generators/bootstrap/themed/templates/show.html.slim +1 -1
- data/lib/twitter-bootstrap-rails.rb +4 -4
- data/lib/twitter/bootstrap/rails/engine.rb +3 -0
- data/lib/twitter/bootstrap/rails/version.rb +1 -1
- data/spec/lib/twitter_bootstrap_rails/badge_label_helper_spec.rb +22 -0
- data/spec/lib/twitter_bootstrap_rails/modal_helper_spec.rb +62 -0
- data/spec/lib/twitter_bootstrap_rails/navbar_helper_spec.rb +350 -0
- data/spec/lib/twitter_bootstrap_rails/uri_state_spec.rb +40 -0
- data/spec/spec_helper.rb +11 -0
- data/test/lib/breadcrumbs_test.rb +2 -2
- data/test/test_helper.rb +3 -0
- data/vendor/static-source/fontawesome.less +8 -6
- data/vendor/toolkit/fontawesome/bootstrap.less +78 -0
- data/vendor/toolkit/fontawesome/core.less +132 -0
- data/vendor/toolkit/fontawesome/extras.less +79 -0
- data/vendor/toolkit/{fontawesome-ie7.less → fontawesome/font-awesome-ie7.less} +80 -17
- data/vendor/toolkit/fontawesome/font-awesome.less +32 -0
- data/vendor/toolkit/{fontawesome.less → fontawesome/icons.less} +69 -271
- data/vendor/toolkit/fontawesome/mixins.less +34 -0
- data/vendor/toolkit/fontawesome/path.less +14 -0
- data/vendor/toolkit/fontawesome/variables.less +9 -0
- metadata +80 -29
- data/lib/generators/bootstrap/partial/templates/_navbar.html.erb +0 -13
- data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/stylesheets/twitter-bootstrap-static/bootstrap.css.erb +0 -889
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
require 'action_view'
|
|
3
|
+
require 'active_support'
|
|
4
|
+
require_relative '../../../app/helpers/navbar_helper'
|
|
5
|
+
|
|
6
|
+
include ActionView::Helpers
|
|
7
|
+
include ActionView::Context
|
|
8
|
+
include NavbarHelper
|
|
9
|
+
|
|
10
|
+
describe NavbarHelper, 'uri_state', type: :helper do
|
|
11
|
+
before do
|
|
12
|
+
subject.stub_chain("request.host_with_port").and_return("#{HOST}")
|
|
13
|
+
subject.stub_chain("request.protocol").and_return("http://")
|
|
14
|
+
subject.stub_chain("request.url").and_return("#{HOST}/a/b")
|
|
15
|
+
subject.stub_chain("request.path").and_return('/a/b')
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
it 'must return active state' do
|
|
19
|
+
subject.uri_state('/a/b').should == :active
|
|
20
|
+
subject.uri_state("#{HOST}/a/b").should == :active
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
it 'must return chosen state' do
|
|
24
|
+
subject.uri_state('/a').should == :chosen
|
|
25
|
+
subject.uri_state("#{HOST}/a").should == :chosen
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
it 'must return inactive state' do
|
|
29
|
+
subject.uri_state('/test').should == :inactive
|
|
30
|
+
subject.uri_state("#{HOST}/test").should == :inactive
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
it 'must not return chosen for root url' do
|
|
34
|
+
subject.uri_state('/').should == :inactive
|
|
35
|
+
subject.uri_state("#{HOST}/").should == :inactive
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
HOST = "http://example.com:80"
|
data/spec/spec_helper.rb
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
|
3
|
+
# Require this file using `require "spec_helper"` to ensure that it is only
|
|
4
|
+
# loaded once.
|
|
5
|
+
#
|
|
6
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
|
7
|
+
require 'rubygems'
|
|
8
|
+
require 'bundler/setup'
|
|
9
|
+
require 'action_view'
|
|
10
|
+
require 'active_support'
|
|
11
|
+
require 'twitter-bootstrap-rails'
|
|
@@ -44,13 +44,13 @@ module AbstractController
|
|
|
44
44
|
|
|
45
45
|
class BreadcrumbsTest < MiniTest::Unit::TestCase
|
|
46
46
|
def setup
|
|
47
|
-
options = { scope
|
|
47
|
+
options = { :scope => [:breadcrumbs, 'abstract_controller', 'testing', 'test'] }
|
|
48
48
|
[:class_level_i18n, :instance_level_i18n].each do |name|
|
|
49
49
|
I18n.expects(:t).with(name, options).returns(TestHelper.send("#{name}_name"))
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
name = :base_level_i18n
|
|
53
|
-
options = { scope
|
|
53
|
+
options = { :scope => [:breadcrumbs, 'abstract_controller', 'testing', 'base_test'] }
|
|
54
54
|
I18n.expects(:t).with(name, options).returns(TestHelper.send("#{name}_name"))
|
|
55
55
|
|
|
56
56
|
@controller = TestController.new
|
data/test/test_helper.rb
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
1
|
+
// The ERB code is not executed upon compilation. It's intended to be executed by the asset pipeline of the consumer app.
|
|
2
|
+
@fontAwesomeEotPath: url("<%= asset_path 'fontawesome-webfont.eot' %>");
|
|
3
|
+
@fontAwesomeEotPath_iefix: url("<%= asset_path 'fontawesome-webfont.eot#iefix' %>");
|
|
4
|
+
@fontAwesomeWoffPath: url("<%= asset_path 'fontawesome-webfont.woff' %>");
|
|
5
|
+
@fontAwesomeTtfPath: url("<%= asset_path 'fontawesome-webfont.ttf' %>");
|
|
6
|
+
@fontAwesomeSvgPath: url("<%= asset_path 'fontawesome-webfont.svg#fontawesomeregular' %>");
|
|
5
7
|
// Font Awesome
|
|
6
|
-
@import "fontawesome";
|
|
7
|
-
@import "fontawesome-ie7";
|
|
8
|
+
@import "fontawesome/font-awesome";
|
|
9
|
+
@import "fontawesome/font-awesome-ie7";
|
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/* FONT AWESOME CORE
|
|
2
|
+
* -------------------------- */
|
|
3
|
+
|
|
4
|
+
[class^="icon-"],
|
|
5
|
+
[class*=" icon-"] {
|
|
6
|
+
font-family: FontAwesome;
|
|
7
|
+
font-weight: normal;
|
|
8
|
+
font-style: normal;
|
|
9
|
+
text-decoration: inherit;
|
|
10
|
+
-webkit-font-smoothing: antialiased;
|
|
11
|
+
*margin-right: .3em; // fixes ie7 issues
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[class^="icon-"]:before,
|
|
15
|
+
[class*=" icon-"]:before {
|
|
16
|
+
text-decoration: inherit;
|
|
17
|
+
display: inline-block;
|
|
18
|
+
speak: none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* makes the font 33% larger relative to the icon container */
|
|
22
|
+
.icon-large:before {
|
|
23
|
+
vertical-align: -10%;
|
|
24
|
+
font-size: 4/3em;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* makes sure icons active on rollover in links */
|
|
28
|
+
a {
|
|
29
|
+
[class^="icon-"],
|
|
30
|
+
[class*=" icon-"] {
|
|
31
|
+
&, &:before { display: inline; }
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* increased font size for icon-large */
|
|
36
|
+
[class^="icon-"],
|
|
37
|
+
[class*=" icon-"] {
|
|
38
|
+
&.icon-fixed-width {
|
|
39
|
+
display: inline-block;
|
|
40
|
+
width: 18/14em;
|
|
41
|
+
text-align: center;
|
|
42
|
+
&.icon-large {
|
|
43
|
+
width: 22/14em;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
ul.icons-ul {
|
|
49
|
+
list-style-type: none;
|
|
50
|
+
text-indent: -10/14em;
|
|
51
|
+
margin-left: 30/14em;
|
|
52
|
+
|
|
53
|
+
> li {
|
|
54
|
+
.icon-li {
|
|
55
|
+
width: 10/14em;
|
|
56
|
+
display: inline-block;
|
|
57
|
+
text-align: center;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// allows usage of the hide class directly on font awesome icons
|
|
63
|
+
[class^="icon-"],
|
|
64
|
+
[class*=" icon-"] {
|
|
65
|
+
&.hide {
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.icon-muted { color: @iconMuted; }
|
|
71
|
+
.icon-light { color: @iconLight; }
|
|
72
|
+
.icon-dark { color: @iconDark; }
|
|
73
|
+
|
|
74
|
+
// Icon Borders
|
|
75
|
+
// -------------------------
|
|
76
|
+
|
|
77
|
+
.icon-border {
|
|
78
|
+
border: solid 1px @borderColor;
|
|
79
|
+
padding: .2em .25em .15em;
|
|
80
|
+
.border-radius(3px);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// Icon Sizes
|
|
84
|
+
// -------------------------
|
|
85
|
+
|
|
86
|
+
.icon-2x {
|
|
87
|
+
font-size: 2em;
|
|
88
|
+
&.icon-border {
|
|
89
|
+
border-width: 2px;
|
|
90
|
+
.border-radius(4px);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
.icon-3x {
|
|
94
|
+
font-size: 3em;
|
|
95
|
+
&.icon-border {
|
|
96
|
+
border-width: 3px;
|
|
97
|
+
.border-radius(5px);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
.icon-4x {
|
|
101
|
+
font-size: 4em;
|
|
102
|
+
&.icon-border {
|
|
103
|
+
border-width: 4px;
|
|
104
|
+
.border-radius(6px);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.icon-5x {
|
|
109
|
+
font-size: 5em;
|
|
110
|
+
&.icon-border {
|
|
111
|
+
border-width: 5px;
|
|
112
|
+
.border-radius(7px);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
// Floats & Margins
|
|
118
|
+
// -------------------------
|
|
119
|
+
|
|
120
|
+
// Quick floats
|
|
121
|
+
.pull-right { float: right; }
|
|
122
|
+
.pull-left { float: left; }
|
|
123
|
+
|
|
124
|
+
[class^="icon-"],
|
|
125
|
+
[class*=" icon-"] {
|
|
126
|
+
&.pull-left {
|
|
127
|
+
margin-right: .3em;
|
|
128
|
+
}
|
|
129
|
+
&.pull-right {
|
|
130
|
+
margin-left: .3em;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* EXTRAS
|
|
2
|
+
* -------------------------- */
|
|
3
|
+
|
|
4
|
+
/* Stacked and layered icon */
|
|
5
|
+
.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
|
+
@-moz-keyframes spin {
|
|
17
|
+
0% { -moz-transform: rotate(0deg); }
|
|
18
|
+
100% { -moz-transform: rotate(359deg); }
|
|
19
|
+
}
|
|
20
|
+
@-webkit-keyframes spin {
|
|
21
|
+
0% { -webkit-transform: rotate(0deg); }
|
|
22
|
+
100% { -webkit-transform: rotate(359deg); }
|
|
23
|
+
}
|
|
24
|
+
@-o-keyframes spin {
|
|
25
|
+
0% { -o-transform: rotate(0deg); }
|
|
26
|
+
100% { -o-transform: rotate(359deg); }
|
|
27
|
+
}
|
|
28
|
+
@-ms-keyframes spin {
|
|
29
|
+
0% { -ms-transform: rotate(0deg); }
|
|
30
|
+
100% { -ms-transform: rotate(359deg); }
|
|
31
|
+
}
|
|
32
|
+
@keyframes spin {
|
|
33
|
+
0% { transform: rotate(0deg); }
|
|
34
|
+
100% { transform: rotate(359deg); }
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Icon rotations and mirroring */
|
|
38
|
+
.icon-rotate-90:before{
|
|
39
|
+
-webkit-transform: rotate(90deg);
|
|
40
|
+
-moz-transform: rotate(90deg);
|
|
41
|
+
-ms-transform: rotate(90deg);
|
|
42
|
+
-o-transform: rotate(90deg);
|
|
43
|
+
transform: rotate(90deg);
|
|
44
|
+
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.icon-rotate-180:before{
|
|
48
|
+
-webkit-transform: rotate(180deg);
|
|
49
|
+
-moz-transform: rotate(180deg);
|
|
50
|
+
-ms-transform: rotate(180deg);
|
|
51
|
+
-o-transform: rotate(180deg);
|
|
52
|
+
transform: rotate(180deg);
|
|
53
|
+
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.icon-rotate-270:before{
|
|
57
|
+
-webkit-transform: rotate(270deg);
|
|
58
|
+
-moz-transform: rotate(270deg);
|
|
59
|
+
-ms-transform: rotate(270deg);
|
|
60
|
+
-o-transform: rotate(270deg);
|
|
61
|
+
transform: rotate(270deg);
|
|
62
|
+
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.icon-flip-horizontal:before {
|
|
66
|
+
-webkit-transform: scale(-1, 1);
|
|
67
|
+
-moz-transform: scale(-1, 1);
|
|
68
|
+
-ms-transform: scale(-1, 1);
|
|
69
|
+
-o-transform: scale(-1, 1);
|
|
70
|
+
transform: scale(-1, 1);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.icon-flip-vertical:before {
|
|
74
|
+
-webkit-transform: scale(1, -1);
|
|
75
|
+
-moz-transform: scale(1, -1);
|
|
76
|
+
-ms-transform: scale(1, -1);
|
|
77
|
+
-o-transform: scale(1, -1);
|
|
78
|
+
transform: scale(1, -1);
|
|
79
|
+
}
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Font Awesome 3.0
|
|
3
|
-
* the iconic font designed for
|
|
2
|
+
* Font Awesome 3.1.0
|
|
3
|
+
* the iconic font designed for Bootstrap
|
|
4
4
|
* -------------------------------------------------------
|
|
5
5
|
* The full suite of pictographic icons, examples, and documentation
|
|
6
|
-
* can be found at: http://
|
|
6
|
+
* can be found at: http://fontawesome.io
|
|
7
7
|
*
|
|
8
8
|
* License
|
|
9
9
|
* -------------------------------------------------------
|
|
10
|
-
* - The Font Awesome font is licensed under the SIL Open Font License -
|
|
10
|
+
* - The Font Awesome font is licensed under the SIL Open Font License v1.1 -
|
|
11
|
+
* http://scripts.sil.org/OFL
|
|
11
12
|
* - Font Awesome CSS, LESS, and SASS files are licensed under the MIT License -
|
|
12
13
|
* http://opensource.org/licenses/mit-license.html
|
|
13
|
-
* -
|
|
14
|
+
* - Font Awesome documentation licensed under CC BY 3.0 License -
|
|
15
|
+
* http://creativecommons.org/licenses/by/3.0/
|
|
14
16
|
* - Attribution is no longer required in Font Awesome 3.0, but much appreciated:
|
|
15
|
-
* "Font Awesome by Dave Gandy - http://
|
|
17
|
+
* "Font Awesome by Dave Gandy - http://fontawesome.io"
|
|
16
18
|
|
|
17
19
|
* Contact
|
|
18
20
|
* -------------------------------------------------------
|
|
19
|
-
* Email: dave@
|
|
21
|
+
* Email: dave@fontawesome.io
|
|
20
22
|
* Twitter: http://twitter.com/fortaweso_me
|
|
21
23
|
* Work: Lead Product Designer @ http://kyruus.com
|
|
22
24
|
*/
|
|
@@ -57,6 +59,18 @@
|
|
|
57
59
|
}
|
|
58
60
|
}
|
|
59
61
|
|
|
62
|
+
ul.icons-ul {
|
|
63
|
+
text-indent: -1em;
|
|
64
|
+
margin-left: 30/14em;
|
|
65
|
+
|
|
66
|
+
> li {
|
|
67
|
+
.icon-li {
|
|
68
|
+
width: 1em;
|
|
69
|
+
margin-right: 0;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
60
74
|
.btn {
|
|
61
75
|
[class^="icon-"],
|
|
62
76
|
[class*=" icon-"] {
|
|
@@ -72,15 +86,7 @@ a [class*=" icon-"] {
|
|
|
72
86
|
cursor: pointer;
|
|
73
87
|
}
|
|
74
88
|
|
|
75
|
-
|
|
76
|
-
text-indent: -1.5em;
|
|
77
|
-
margin-left: 3em;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
.ie7icon(@inner) {
|
|
82
|
-
*zoom: ~"expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '@{inner}')";
|
|
83
|
-
}
|
|
89
|
+
.ie7icon(@inner) { *zoom: ~"expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '@{inner}')"; }
|
|
84
90
|
|
|
85
91
|
.icon-glass { .ie7icon(''); }
|
|
86
92
|
.icon-music { .ie7icon(''); }
|
|
@@ -345,6 +351,63 @@ ul.icons {
|
|
|
345
351
|
.icon-spinner { .ie7icon(''); }
|
|
346
352
|
.icon-circle { .ie7icon(''); }
|
|
347
353
|
.icon-reply { .ie7icon(''); }
|
|
348
|
-
.icon-github-alt { .ie7icon(''); }
|
|
349
354
|
.icon-folder-close-alt { .ie7icon(''); }
|
|
350
355
|
.icon-folder-open-alt { .ie7icon(''); }
|
|
356
|
+
.icon-expand-alt { .ie7icon(''); }
|
|
357
|
+
.icon-collapse-alt { .ie7icon(''); }
|
|
358
|
+
.icon-smile { .ie7icon(''); }
|
|
359
|
+
.icon-frown { .ie7icon(''); }
|
|
360
|
+
.icon-meh { .ie7icon(''); }
|
|
361
|
+
.icon-gamepad { .ie7icon(''); }
|
|
362
|
+
.icon-keyboard { .ie7icon(''); }
|
|
363
|
+
.icon-flag-alt { .ie7icon(''); }
|
|
364
|
+
.icon-flag-checkered { .ie7icon(''); }
|
|
365
|
+
|
|
366
|
+
.icon-terminal { .ie7icon(''); }
|
|
367
|
+
.icon-code { .ie7icon(''); }
|
|
368
|
+
.icon-reply-all { .ie7icon(''); }
|
|
369
|
+
.icon-mail-reply-all { .ie7icon(''); }
|
|
370
|
+
.icon-star-half-full,
|
|
371
|
+
.icon-star-half-empty { .ie7icon(''); }
|
|
372
|
+
.icon-location-arrow { .ie7icon(''); }
|
|
373
|
+
.icon-crop { .ie7icon(''); }
|
|
374
|
+
.icon-code-fork { .ie7icon(''); }
|
|
375
|
+
.icon-unlink { .ie7icon(''); }
|
|
376
|
+
.icon-question { .ie7icon(''); }
|
|
377
|
+
.icon-info { .ie7icon(''); }
|
|
378
|
+
.icon-exclamation { .ie7icon(''); }
|
|
379
|
+
.icon-superscript { .ie7icon(''); }
|
|
380
|
+
.icon-subscript { .ie7icon(''); }
|
|
381
|
+
.icon-eraser { .ie7icon(''); }
|
|
382
|
+
.icon-puzzle-piece { .ie7icon(''); }
|
|
383
|
+
|
|
384
|
+
.icon-microphone { .ie7icon(''); }
|
|
385
|
+
.icon-microphone-off { .ie7icon(''); }
|
|
386
|
+
.icon-shield { .ie7icon(''); }
|
|
387
|
+
.icon-calendar-empty { .ie7icon(''); }
|
|
388
|
+
.icon-fire-extinguisher { .ie7icon(''); }
|
|
389
|
+
.icon-rocket { .ie7icon(''); }
|
|
390
|
+
.icon-maxcdn { .ie7icon(''); }
|
|
391
|
+
.icon-chevron-sign-left { .ie7icon(''); }
|
|
392
|
+
.icon-chevron-sign-right { .ie7icon(''); }
|
|
393
|
+
.icon-chevron-sign-up { .ie7icon(''); }
|
|
394
|
+
.icon-chevron-sign-down { .ie7icon(''); }
|
|
395
|
+
.icon-html5 { .ie7icon(''); }
|
|
396
|
+
.icon-css3 { .ie7icon(''); }
|
|
397
|
+
.icon-anchor { .ie7icon(''); }
|
|
398
|
+
.icon-unlock-alt { .ie7icon(''); }
|
|
399
|
+
|
|
400
|
+
.icon-bullseye { .ie7icon(''); }
|
|
401
|
+
.icon-ellipsis-horizontal { .ie7icon(''); }
|
|
402
|
+
.icon-ellipsis-vertical { .ie7icon(''); }
|
|
403
|
+
.icon-rss-sign { .ie7icon(''); }
|
|
404
|
+
.icon-play-sign { .ie7icon(''); }
|
|
405
|
+
.icon-ticket { .ie7icon(''); }
|
|
406
|
+
.icon-minus-sign-alt { .ie7icon(''); }
|
|
407
|
+
.icon-check-minus { .ie7icon(''); }
|
|
408
|
+
.icon-level-up { .ie7icon(''); }
|
|
409
|
+
.icon-level-down { .ie7icon(''); }
|
|
410
|
+
.icon-check-sign { .ie7icon(''); }
|
|
411
|
+
.icon-edit-sign { .ie7icon(''); }
|
|
412
|
+
.icon-external-link-sign { .ie7icon(''); }
|
|
413
|
+
.icon-share-sign { .ie7icon(''); }
|