bootstrap-sass-rails-rtl 2.0.4.12
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +14 -0
- data/README.md +115 -0
- data/Rakefile +37 -0
- data/lib/bootstrap-sass-rails-rtl.rb +9 -0
- data/lib/bootstrap/sass/extensions.rb +5 -0
- data/lib/bootstrap/sass/extensions/functions.rb +15 -0
- data/lib/bootstrap/sass/rails.rb +2 -0
- data/lib/bootstrap/sass/rails/engine.rb +9 -0
- data/lib/bootstrap/sass/rails/version.rb +7 -0
- data/test/cases/usage_css_spec.rb +216 -0
- data/test/cases/usage_js_spec.rb +40 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +3 -0
- data/test/dummy/app/assets/javascripts/individual.js +1 -0
- data/test/dummy/app/assets/stylesheets/application-rtl.css.scss +3 -0
- data/test/dummy/app/assets/stylesheets/application.css.scss +3 -0
- data/test/dummy/app/assets/stylesheets/individual-rtl.css.scss +11 -0
- data/test/dummy/app/assets/stylesheets/individual.css.scss +11 -0
- data/test/dummy/app/assets/stylesheets/sprockets-rtl.css +3 -0
- data/test/dummy/app/assets/stylesheets/sprockets.css +3 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +49 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +30 -0
- data/test/dummy/config/environments/production.rb +60 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/spec_helper.rb +13 -0
- data/test/support/helpers.rb +35 -0
- data/vendor/assets/images/twitter/bootstrap/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/twitter/bootstrap/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/twitter/bootstrap.js +12 -0
- data/vendor/assets/javascripts/twitter/bootstrap/alert.js +90 -0
- data/vendor/assets/javascripts/twitter/bootstrap/button.js +96 -0
- data/vendor/assets/javascripts/twitter/bootstrap/carousel.js +169 -0
- data/vendor/assets/javascripts/twitter/bootstrap/collapse.js +157 -0
- data/vendor/assets/javascripts/twitter/bootstrap/dropdown.js +100 -0
- data/vendor/assets/javascripts/twitter/bootstrap/modal.js +218 -0
- data/vendor/assets/javascripts/twitter/bootstrap/popover.js +98 -0
- data/vendor/assets/javascripts/twitter/bootstrap/scrollspy.js +151 -0
- data/vendor/assets/javascripts/twitter/bootstrap/tab.js +135 -0
- data/vendor/assets/javascripts/twitter/bootstrap/tooltip.js +275 -0
- data/vendor/assets/javascripts/twitter/bootstrap/transition.js +61 -0
- data/vendor/assets/javascripts/twitter/bootstrap/typeahead.js +285 -0
- data/vendor/assets/stylesheets/twitter/bootstrap.css.scss +62 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_accordion.scss +33 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_alerts.scss +59 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_breadcrumbs.scss +24 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_button-groups.scss +190 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_buttons.scss +193 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_carousel.scss +121 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_close.scss +29 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_code.scss +57 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_component-animations.scss +20 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_dropdowns.scss +142 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_forms.scss +589 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_grid.scss +8 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_hero-unit.scss +22 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_labels-badges.scss +54 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_layouts.scss +17 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_mixins.scss +612 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_modals.scss +90 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_navbar.scss +358 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_navs.scss +364 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_pager.scss +36 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_pagination.scss +56 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_popovers.scss +49 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_progress-bars.scss +118 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_reset.scss +131 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-1200px-min.scss +26 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-767px-max.scss +150 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-768px-979px.scss +19 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-navbar.scss +153 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-utilities.scss +41 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_responsive.scss +48 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +29 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_sprites.scss +178 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_tables.scss +175 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_thumbnails.scss +47 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_tooltip.scss +35 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_type.scss +232 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_utilities.scss +23 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_variables.scss +206 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_wells.scss +27 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_accordion.scss +33 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_alerts.scss +59 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_breadcrumbs.scss +24 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_button-groups.scss +190 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_buttons.scss +193 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_carousel.scss +121 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_close.scss +29 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_code.scss +57 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_component-animations.scss +20 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_dropdowns.scss +142 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_forms.scss +589 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_grid.scss +8 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_hero-unit.scss +22 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_labels-badges.scss +54 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_layouts.scss +17 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_mixins.scss +612 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_modals.scss +90 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_navbar.scss +358 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_navs.scss +364 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_pager.scss +36 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_pagination.scss +56 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_popovers.scss +49 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_progress-bars.scss +118 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_reset.scss +131 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_responsive-1200px-min.scss +26 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_responsive-767px-max.scss +150 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_responsive-768px-979px.scss +19 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_responsive-navbar.scss +153 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_responsive-utilities.scss +41 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_responsive.scss +48 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_scaffolding.scss +29 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_sprites.scss +178 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_tables.scss +175 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_thumbnails.scss +47 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_tooltip.scss +35 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_type.scss +232 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_utilities.scss +23 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_variables.scss +206 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/rtl/_wells.scss +27 -0
- data/vendor/assets/stylesheets/twitter/bootstrap_rtl.css.scss +62 -0
- metadata +276 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
// PORTRAIT TABLET TO DEFAULT DESKTOP
|
2
|
+
// ----------------------------------
|
3
|
+
|
4
|
+
@media (min-width: 768px) and (max-width: 979px) {
|
5
|
+
|
6
|
+
// Fixed grid
|
7
|
+
@include grid-core(42px, 20px);
|
8
|
+
|
9
|
+
// Fluid grid
|
10
|
+
@include grid-fluid(5.801104972%, 2.762430939%);
|
11
|
+
|
12
|
+
// Input grid
|
13
|
+
@include grid-input(42px, 20px);
|
14
|
+
|
15
|
+
// No need to reset .thumbnails here since it's the same @gridGutterWidth
|
16
|
+
.thumbnails {
|
17
|
+
margin-right: -$gridGutterWidth;
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,153 @@
|
|
1
|
+
// TABLETS AND BELOW
|
2
|
+
// -----------------
|
3
|
+
@media (max-width: 979px) {
|
4
|
+
|
5
|
+
// UNFIX THE TOPBAR
|
6
|
+
// ----------------
|
7
|
+
// Remove any padding from the body
|
8
|
+
body {
|
9
|
+
padding-top: 0;
|
10
|
+
}
|
11
|
+
// Unfix the navbar
|
12
|
+
.navbar-fixed-top,
|
13
|
+
.navbar-fixed-bottom {
|
14
|
+
position: static;
|
15
|
+
}
|
16
|
+
.navbar-fixed-top {
|
17
|
+
margin-bottom: $baseLineHeight;
|
18
|
+
}
|
19
|
+
.navbar-fixed-bottom {
|
20
|
+
margin-top: $baseLineHeight;
|
21
|
+
}
|
22
|
+
.navbar-fixed-top .navbar-inner,
|
23
|
+
.navbar-fixed-bottom .navbar-inner {
|
24
|
+
padding: 5px;
|
25
|
+
}
|
26
|
+
.navbar .container {
|
27
|
+
width: auto;
|
28
|
+
padding: 0;
|
29
|
+
}
|
30
|
+
// Account for brand name
|
31
|
+
.navbar .brand {
|
32
|
+
padding-right: 10px;
|
33
|
+
padding-left: 10px;
|
34
|
+
margin: 0 0 0 -5px;
|
35
|
+
}
|
36
|
+
|
37
|
+
// COLLAPSIBLE NAVBAR
|
38
|
+
// ------------------
|
39
|
+
// Nav collapse clears brand
|
40
|
+
.nav-collapse {
|
41
|
+
clear: both;
|
42
|
+
}
|
43
|
+
// Block-level the nav
|
44
|
+
.nav-collapse .nav {
|
45
|
+
float: none;
|
46
|
+
margin: 0 0 ($baseLineHeight / 2);
|
47
|
+
}
|
48
|
+
.nav-collapse .nav > li {
|
49
|
+
float: none;
|
50
|
+
}
|
51
|
+
.nav-collapse .nav > li > a {
|
52
|
+
margin-bottom: 2px;
|
53
|
+
}
|
54
|
+
.nav-collapse .nav > .divider-vertical {
|
55
|
+
display: none;
|
56
|
+
}
|
57
|
+
.nav-collapse .nav .nav-header {
|
58
|
+
color: $navbarText;
|
59
|
+
text-shadow: none;
|
60
|
+
}
|
61
|
+
// Nav and dropdown links in navbar
|
62
|
+
.nav-collapse .nav > li > a,
|
63
|
+
.nav-collapse .dropdown-menu a {
|
64
|
+
padding: 6px 15px;
|
65
|
+
font-weight: bold;
|
66
|
+
color: $navbarLinkColor;
|
67
|
+
@include border-radius(3px);
|
68
|
+
}
|
69
|
+
// Buttons
|
70
|
+
.nav-collapse .btn {
|
71
|
+
padding: 4px 10px 4px;
|
72
|
+
font-weight: normal;
|
73
|
+
@include border-radius(4px);
|
74
|
+
}
|
75
|
+
.nav-collapse .dropdown-menu li + li a {
|
76
|
+
margin-bottom: 2px;
|
77
|
+
}
|
78
|
+
.nav-collapse .nav > li > a:hover,
|
79
|
+
.nav-collapse .dropdown-menu a:hover {
|
80
|
+
background-color: $navbarBackground;
|
81
|
+
}
|
82
|
+
// Buttons in the navbar
|
83
|
+
.nav-collapse.in .btn-group {
|
84
|
+
margin-top: 5px;
|
85
|
+
padding: 0;
|
86
|
+
}
|
87
|
+
// Dropdowns in the navbar
|
88
|
+
.nav-collapse .dropdown-menu {
|
89
|
+
position: static;
|
90
|
+
top: auto;
|
91
|
+
right: auto;
|
92
|
+
float: none;
|
93
|
+
display: block;
|
94
|
+
max-width: none;
|
95
|
+
margin: 0 15px;
|
96
|
+
padding: 0;
|
97
|
+
background-color: transparent;
|
98
|
+
border: none;
|
99
|
+
@include border-radius(0);
|
100
|
+
@include box-shadow(none);
|
101
|
+
}
|
102
|
+
.nav-collapse .dropdown-menu:before,
|
103
|
+
.nav-collapse .dropdown-menu:after {
|
104
|
+
display: none;
|
105
|
+
}
|
106
|
+
.nav-collapse .dropdown-menu .divider {
|
107
|
+
display: none;
|
108
|
+
}
|
109
|
+
// Forms in navbar
|
110
|
+
.nav-collapse .navbar-form,
|
111
|
+
.nav-collapse .navbar-search {
|
112
|
+
float: none;
|
113
|
+
padding: ($baseLineHeight / 2) 15px;
|
114
|
+
margin: ($baseLineHeight / 2) 0;
|
115
|
+
border-top: 1px solid $navbarBackground;
|
116
|
+
border-bottom: 1px solid $navbarBackground;
|
117
|
+
@include box-shadow("inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1)");
|
118
|
+
}
|
119
|
+
// Pull right (secondary) nav content
|
120
|
+
.navbar .nav-collapse .nav.pull-right {
|
121
|
+
float: none;
|
122
|
+
margin-right: 0;
|
123
|
+
}
|
124
|
+
// Hide everything in the navbar save .brand and toggle button */
|
125
|
+
.nav-collapse,
|
126
|
+
.nav-collapse.collapse {
|
127
|
+
overflow: hidden;
|
128
|
+
height: 0;
|
129
|
+
}
|
130
|
+
// Navbar button
|
131
|
+
.navbar .btn-navbar {
|
132
|
+
display: block;
|
133
|
+
}
|
134
|
+
|
135
|
+
// STATIC NAVBAR
|
136
|
+
// -------------
|
137
|
+
.navbar-static .navbar-inner {
|
138
|
+
padding-right: 10px;
|
139
|
+
padding-left: 10px;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
|
144
|
+
// DEFAULT DESKTOP
|
145
|
+
// ---------------
|
146
|
+
|
147
|
+
// Required to make the collapsing navbar work on regular desktops
|
148
|
+
@media (min-width: 980px) {
|
149
|
+
.nav-collapse.collapse {
|
150
|
+
height: auto !important;
|
151
|
+
overflow: visible !important;
|
152
|
+
}
|
153
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
// RESPONSIVE CLASSES
|
2
|
+
// ------------------
|
3
|
+
|
4
|
+
// Hide from screenreaders and browsers
|
5
|
+
// Credit: HTML5 Boilerplate
|
6
|
+
.hidden {
|
7
|
+
display: none;
|
8
|
+
visibility: hidden;
|
9
|
+
}
|
10
|
+
|
11
|
+
// Visibility utilities
|
12
|
+
|
13
|
+
// For desktops
|
14
|
+
.visible-phone { display: none !important; }
|
15
|
+
.visible-tablet { display: none !important; }
|
16
|
+
.visible-desktop { } // Don't set initially
|
17
|
+
.hidden-phone { }
|
18
|
+
.hidden-tablet { }
|
19
|
+
.hidden-desktop { display: none !important; }
|
20
|
+
|
21
|
+
// Phones only
|
22
|
+
@media (max-width: 767px) {
|
23
|
+
// Show
|
24
|
+
.visible-phone { display: inherit !important; } // Use inherit to restore previous behavior
|
25
|
+
// Hide
|
26
|
+
.hidden-phone { display: none !important; }
|
27
|
+
// Hide everything else
|
28
|
+
.hidden-desktop { display: inherit !important; }
|
29
|
+
.visible-desktop { display: none !important; }
|
30
|
+
}
|
31
|
+
|
32
|
+
// Tablets & small desktops only
|
33
|
+
@media (min-width: 768px) and (max-width: 979px) {
|
34
|
+
// Show
|
35
|
+
.visible-tablet { display: inherit !important; }
|
36
|
+
// Hide
|
37
|
+
.hidden-tablet { display: none !important; }
|
38
|
+
// Hide everything else
|
39
|
+
.hidden-desktop { display: inherit !important; }
|
40
|
+
.visible-desktop { display: none !important ; }
|
41
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/*!
|
2
|
+
* Bootstrap Responsive v2.0.4
|
3
|
+
*
|
4
|
+
* Copyright 2012 Twitter, Inc
|
5
|
+
* Licensed under the Apache License v2.0
|
6
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
7
|
+
*
|
8
|
+
* Designed and built with all the love in the world @twitter by @mdo and @fat.
|
9
|
+
*/
|
10
|
+
|
11
|
+
|
12
|
+
// Responsive.less
|
13
|
+
// For phone and tablet devices
|
14
|
+
// -------------------------------------------------------------
|
15
|
+
|
16
|
+
|
17
|
+
// REPEAT VARIABLES & MIXINS
|
18
|
+
// -------------------------
|
19
|
+
// Required since we compile the responsive stuff separately
|
20
|
+
|
21
|
+
@import "variables"; // Modify this for custom colors, font-sizes, etc
|
22
|
+
@import "mixins";
|
23
|
+
|
24
|
+
|
25
|
+
// RESPONSIVE CLASSES
|
26
|
+
// ------------------
|
27
|
+
|
28
|
+
@import "responsive-utilities";
|
29
|
+
|
30
|
+
|
31
|
+
// MEDIA QUERIES
|
32
|
+
// ------------------
|
33
|
+
|
34
|
+
// Phones to portrait tablets and narrow desktops
|
35
|
+
@import "responsive-767px-max";
|
36
|
+
|
37
|
+
// Tablets to regular desktops
|
38
|
+
@import "responsive-768px-979px";
|
39
|
+
|
40
|
+
// Large desktops
|
41
|
+
@import "responsive-1200px-min";
|
42
|
+
|
43
|
+
|
44
|
+
// RESPONSIVE NAVBAR
|
45
|
+
// ------------------
|
46
|
+
|
47
|
+
// From 979px and below, show a button to toggle navbar contents
|
48
|
+
@import "responsive-navbar";
|
@@ -0,0 +1,29 @@
|
|
1
|
+
// Scaffolding
|
2
|
+
// Basic and global styles for generating a grid system, structural layout, and page templates
|
3
|
+
// -------------------------------------------------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Body reset
|
7
|
+
// -----------------
|
8
|
+
|
9
|
+
body {
|
10
|
+
margin: 0;
|
11
|
+
font-family: $baseFontFamily;
|
12
|
+
font-size: $baseFontSize;
|
13
|
+
line-height: $baseLineHeight;
|
14
|
+
color: $textColor;
|
15
|
+
background-color: $bodyBackground;
|
16
|
+
}
|
17
|
+
|
18
|
+
|
19
|
+
// Links
|
20
|
+
// -----
|
21
|
+
|
22
|
+
a {
|
23
|
+
color: $linkColor;
|
24
|
+
text-decoration: none;
|
25
|
+
}
|
26
|
+
a:hover {
|
27
|
+
color: $linkColorHover;
|
28
|
+
text-decoration: underline;
|
29
|
+
}
|
@@ -0,0 +1,178 @@
|
|
1
|
+
// SPRITES
|
2
|
+
// Glyphs and icons for buttons, nav, and more
|
3
|
+
// -------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// ICONS
|
7
|
+
// -----
|
8
|
+
|
9
|
+
// All icons receive the styles of the <i> tag with a base class
|
10
|
+
// of .i and are then given a unique class to add width, height,
|
11
|
+
// and background-position. Your resulting HTML will look like
|
12
|
+
// <i class="icon-inbox"></i>.
|
13
|
+
|
14
|
+
// For the white version of the icons, just add the .icon-white class:
|
15
|
+
// <i class="icon-inbox icon-white"></i>
|
16
|
+
|
17
|
+
[class^="icon-"],
|
18
|
+
[class*=" icon-"] {
|
19
|
+
display: inline-block;
|
20
|
+
width: 14px;
|
21
|
+
height: 14px;
|
22
|
+
@include ie7-restore-right-whitespace();
|
23
|
+
line-height: 14px;
|
24
|
+
vertical-align: text-top;
|
25
|
+
background-image: image-url($iconSpritePath);
|
26
|
+
background-position: 14px 14px;
|
27
|
+
background-repeat: no-repeat;
|
28
|
+
}
|
29
|
+
.icon-white {
|
30
|
+
background-image: image-url($iconWhiteSpritePath);
|
31
|
+
}
|
32
|
+
|
33
|
+
.icon-glass { background-position: 0 0; }
|
34
|
+
.icon-music { background-position: -24px 0; }
|
35
|
+
.icon-search { background-position: -48px 0; }
|
36
|
+
.icon-envelope { background-position: -72px 0; }
|
37
|
+
.icon-heart { background-position: -96px 0; }
|
38
|
+
.icon-star { background-position: -120px 0; }
|
39
|
+
.icon-star-empty { background-position: -144px 0; }
|
40
|
+
.icon-user { background-position: -168px 0; }
|
41
|
+
.icon-film { background-position: -192px 0; }
|
42
|
+
.icon-th-large { background-position: -216px 0; }
|
43
|
+
.icon-th { background-position: -240px 0; }
|
44
|
+
.icon-th-list { background-position: -264px 0; }
|
45
|
+
.icon-ok { background-position: -288px 0; }
|
46
|
+
.icon-remove { background-position: -312px 0; }
|
47
|
+
.icon-zoom-in { background-position: -336px 0; }
|
48
|
+
.icon-zoom-out { background-position: -360px 0; }
|
49
|
+
.icon-off { background-position: -384px 0; }
|
50
|
+
.icon-signal { background-position: -408px 0; }
|
51
|
+
.icon-cog { background-position: -432px 0; }
|
52
|
+
.icon-trash { background-position: -456px 0; }
|
53
|
+
|
54
|
+
.icon-home { background-position: 0 -24px; }
|
55
|
+
.icon-file { background-position: -24px -24px; }
|
56
|
+
.icon-time { background-position: -48px -24px; }
|
57
|
+
.icon-road { background-position: -72px -24px; }
|
58
|
+
.icon-download-alt { background-position: -96px -24px; }
|
59
|
+
.icon-download { background-position: -120px -24px; }
|
60
|
+
.icon-upload { background-position: -144px -24px; }
|
61
|
+
.icon-inbox { background-position: -168px -24px; }
|
62
|
+
.icon-play-circle { background-position: -192px -24px; }
|
63
|
+
.icon-repeat { background-position: -216px -24px; }
|
64
|
+
.icon-refresh { background-position: -240px -24px; }
|
65
|
+
.icon-list-alt { background-position: -264px -24px; }
|
66
|
+
.icon-lock { background-position: -287px -24px; } // 1px off
|
67
|
+
.icon-flag { background-position: -312px -24px; }
|
68
|
+
.icon-headphones { background-position: -336px -24px; }
|
69
|
+
.icon-volume-off { background-position: -360px -24px; }
|
70
|
+
.icon-volume-down { background-position: -384px -24px; }
|
71
|
+
.icon-volume-up { background-position: -408px -24px; }
|
72
|
+
.icon-qrcode { background-position: -432px -24px; }
|
73
|
+
.icon-barcode { background-position: -456px -24px; }
|
74
|
+
|
75
|
+
.icon-tag { background-position: 0 -48px; }
|
76
|
+
.icon-tags { background-position: -25px -48px; } // 1px off
|
77
|
+
.icon-book { background-position: -48px -48px; }
|
78
|
+
.icon-bookmark { background-position: -72px -48px; }
|
79
|
+
.icon-print { background-position: -96px -48px; }
|
80
|
+
.icon-camera { background-position: -120px -48px; }
|
81
|
+
.icon-font { background-position: -144px -48px; }
|
82
|
+
.icon-bold { background-position: -167px -48px; } // 1px off
|
83
|
+
.icon-italic { background-position: -192px -48px; }
|
84
|
+
.icon-text-height { background-position: -216px -48px; }
|
85
|
+
.icon-text-width { background-position: -240px -48px; }
|
86
|
+
.icon-align-left { background-position: -264px -48px; }
|
87
|
+
.icon-align-center { background-position: -288px -48px; }
|
88
|
+
.icon-align-right { background-position: -312px -48px; }
|
89
|
+
.icon-align-justify { background-position: -336px -48px; }
|
90
|
+
.icon-list { background-position: -360px -48px; }
|
91
|
+
.icon-indent-left { background-position: -384px -48px; }
|
92
|
+
.icon-indent-right { background-position: -408px -48px; }
|
93
|
+
.icon-facetime-video { background-position: -432px -48px; }
|
94
|
+
.icon-picture { background-position: -456px -48px; }
|
95
|
+
|
96
|
+
.icon-pencil { background-position: 0 -72px; }
|
97
|
+
.icon-map-marker { background-position: -24px -72px; }
|
98
|
+
.icon-adjust { background-position: -48px -72px; }
|
99
|
+
.icon-tint { background-position: -72px -72px; }
|
100
|
+
.icon-edit { background-position: -96px -72px; }
|
101
|
+
.icon-share { background-position: -120px -72px; }
|
102
|
+
.icon-check { background-position: -144px -72px; }
|
103
|
+
.icon-move { background-position: -168px -72px; }
|
104
|
+
.icon-step-backward { background-position: -192px -72px; }
|
105
|
+
.icon-fast-backward { background-position: -216px -72px; }
|
106
|
+
.icon-backward { background-position: -240px -72px; }
|
107
|
+
.icon-play { background-position: -264px -72px; }
|
108
|
+
.icon-pause { background-position: -288px -72px; }
|
109
|
+
.icon-stop { background-position: -312px -72px; }
|
110
|
+
.icon-forward { background-position: -336px -72px; }
|
111
|
+
.icon-fast-forward { background-position: -360px -72px; }
|
112
|
+
.icon-step-forward { background-position: -384px -72px; }
|
113
|
+
.icon-eject { background-position: -408px -72px; }
|
114
|
+
.icon-chevron-left { background-position: -432px -72px; }
|
115
|
+
.icon-chevron-right { background-position: -456px -72px; }
|
116
|
+
|
117
|
+
.icon-plus-sign { background-position: 0 -96px; }
|
118
|
+
.icon-minus-sign { background-position: -24px -96px; }
|
119
|
+
.icon-remove-sign { background-position: -48px -96px; }
|
120
|
+
.icon-ok-sign { background-position: -72px -96px; }
|
121
|
+
.icon-question-sign { background-position: -96px -96px; }
|
122
|
+
.icon-info-sign { background-position: -120px -96px; }
|
123
|
+
.icon-screenshot { background-position: -144px -96px; }
|
124
|
+
.icon-remove-circle { background-position: -168px -96px; }
|
125
|
+
.icon-ok-circle { background-position: -192px -96px; }
|
126
|
+
.icon-ban-circle { background-position: -216px -96px; }
|
127
|
+
.icon-arrow-left { background-position: -240px -96px; }
|
128
|
+
.icon-arrow-right { background-position: -264px -96px; }
|
129
|
+
.icon-arrow-up { background-position: -289px -96px; } // 1px off
|
130
|
+
.icon-arrow-down { background-position: -312px -96px; }
|
131
|
+
.icon-share-alt { background-position: -336px -96px; }
|
132
|
+
.icon-resize-full { background-position: -360px -96px; }
|
133
|
+
.icon-resize-small { background-position: -384px -96px; }
|
134
|
+
.icon-plus { background-position: -408px -96px; }
|
135
|
+
.icon-minus { background-position: -433px -96px; }
|
136
|
+
.icon-asterisk { background-position: -456px -96px; }
|
137
|
+
|
138
|
+
.icon-exclamation-sign { background-position: 0 -120px; }
|
139
|
+
.icon-gift { background-position: -24px -120px; }
|
140
|
+
.icon-leaf { background-position: -48px -120px; }
|
141
|
+
.icon-fire { background-position: -72px -120px; }
|
142
|
+
.icon-eye-open { background-position: -96px -120px; }
|
143
|
+
.icon-eye-close { background-position: -120px -120px; }
|
144
|
+
.icon-warning-sign { background-position: -144px -120px; }
|
145
|
+
.icon-plane { background-position: -168px -120px; }
|
146
|
+
.icon-calendar { background-position: -192px -120px; }
|
147
|
+
.icon-random { background-position: -216px -120px; }
|
148
|
+
.icon-comment { background-position: -240px -120px; }
|
149
|
+
.icon-magnet { background-position: -264px -120px; }
|
150
|
+
.icon-chevron-up { background-position: -288px -120px; }
|
151
|
+
.icon-chevron-down { background-position: -313px -119px; } // 1px, 1px off
|
152
|
+
.icon-retweet { background-position: -336px -120px; }
|
153
|
+
.icon-shopping-cart { background-position: -360px -120px; }
|
154
|
+
.icon-folder-close { background-position: -384px -120px; }
|
155
|
+
.icon-folder-open { background-position: -408px -120px; }
|
156
|
+
.icon-resize-vertical { background-position: -432px -119px; } // 1px, 1px off
|
157
|
+
.icon-resize-horizontal { background-position: -456px -118px; } // 1px, 2px off
|
158
|
+
|
159
|
+
.icon-hdd { background-position: 0 -144px; }
|
160
|
+
.icon-bullhorn { background-position: -24px -144px; }
|
161
|
+
.icon-bell { background-position: -48px -144px; }
|
162
|
+
.icon-certificate { background-position: -72px -144px; }
|
163
|
+
.icon-thumbs-up { background-position: -96px -144px; }
|
164
|
+
.icon-thumbs-down { background-position: -120px -144px; }
|
165
|
+
.icon-hand-right { background-position: -144px -144px; }
|
166
|
+
.icon-hand-left { background-position: -168px -144px; }
|
167
|
+
.icon-hand-up { background-position: -192px -144px; }
|
168
|
+
.icon-hand-down { background-position: -216px -144px; }
|
169
|
+
.icon-circle-arrow-right { background-position: -240px -144px; }
|
170
|
+
.icon-circle-arrow-left { background-position: -264px -144px; }
|
171
|
+
.icon-circle-arrow-up { background-position: -288px -144px; }
|
172
|
+
.icon-circle-arrow-down { background-position: -312px -144px; }
|
173
|
+
.icon-globe { background-position: -336px -144px; }
|
174
|
+
.icon-wrench { background-position: -360px -144px; }
|
175
|
+
.icon-tasks { background-position: -384px -144px; }
|
176
|
+
.icon-filter { background-position: -408px -144px; }
|
177
|
+
.icon-briefcase { background-position: -432px -144px; }
|
178
|
+
.icon-fullscreen { background-position: -456px -144px; }
|