anjlab-bootstrap-rails 2.3.1.2 → 3.0.0.0.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitmodules +3 -0
- data/Rakefile +42 -26
- data/lib/bootstrap-rails.rb +5 -6
- data/lib/bootstrap-rails/engine.rb +2 -9
- data/lib/bootstrap-rails/version.rb +1 -1
- data/test/test_helper.rb +2 -2
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.eot +0 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.otf +0 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.svg +175 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.ttf +0 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.woff +0 -0
- data/vendor/assets/javascripts/twitter/bootstrap.js +4 -5
- data/vendor/assets/javascripts/twitter/bootstrap/affix.js +50 -47
- data/vendor/assets/javascripts/twitter/bootstrap/alert.js +32 -35
- data/vendor/assets/javascripts/twitter/bootstrap/button.js +37 -37
- data/vendor/assets/javascripts/twitter/bootstrap/carousel.js +123 -127
- data/vendor/assets/javascripts/twitter/bootstrap/collapse.js +81 -95
- data/vendor/assets/javascripts/twitter/bootstrap/dropdown.js +61 -81
- data/vendor/assets/javascripts/twitter/bootstrap/modal.js +146 -151
- data/vendor/assets/javascripts/twitter/bootstrap/popover.js +53 -58
- data/vendor/assets/javascripts/twitter/bootstrap/scrollspy.js +99 -105
- data/vendor/assets/javascripts/twitter/bootstrap/tab.js +70 -81
- data/vendor/assets/javascripts/twitter/bootstrap/tooltip.js +246 -254
- data/vendor/assets/javascripts/twitter/bootstrap/transition.js +24 -37
- data/vendor/assets/stylesheets/twitter/bootstrap.scss +1 -1
- data/vendor/{frameworks/twitter/bootstrap/accordion.scss → assets/stylesheets/twitter/bootstrap/_accordion.scss} +2 -2
- data/vendor/assets/stylesheets/twitter/bootstrap/_alerts.scss +92 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_badges.scss +58 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_bootstrap.scss +64 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_breadcrumbs.scss +28 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_button-groups.scss +170 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_buttons.scss +160 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_carousel.scss +191 -0
- data/vendor/{frameworks/twitter/bootstrap/close.scss → assets/stylesheets/twitter/bootstrap/_close.scss} +7 -6
- data/vendor/{frameworks/twitter/bootstrap/code.scss → assets/stylesheets/twitter/bootstrap/_code.scss} +14 -14
- data/vendor/{frameworks/twitter/bootstrap/component-animations.scss → assets/stylesheets/twitter/bootstrap/_component-animations.scss} +1 -0
- data/vendor/{frameworks/twitter/bootstrap/dropdowns.scss → assets/stylesheets/twitter/bootstrap/_dropdowns.scss} +46 -57
- data/vendor/assets/stylesheets/twitter/bootstrap/_forms.scss +464 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_glyphicons.scss +200 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_grid.scss +65 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_jumbotron.scss +32 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_labels.scss +70 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_list-group.scss +96 -0
- data/vendor/{frameworks/twitter/bootstrap/media.scss → assets/stylesheets/twitter/bootstrap/_media.scss} +0 -1
- data/vendor/assets/stylesheets/twitter/bootstrap/_mixins.scss +510 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_modals.scss +137 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_navbar.scss +356 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_navs.scss +249 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_normalize.scss +396 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_pager.scss +54 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_pagination.scss +87 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_panels.scss +96 -0
- data/vendor/{frameworks/twitter/bootstrap/popovers.scss → assets/stylesheets/twitter/bootstrap/_popovers.scss} +32 -32
- data/vendor/assets/stylesheets/twitter/bootstrap/_print.scss +74 -0
- data/vendor/{frameworks/twitter/bootstrap/progress-bars.scss → assets/stylesheets/twitter/bootstrap/_progress-bars.scss} +40 -44
- data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-utilities.scss +77 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +83 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_tables.scss +242 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_thumbnails.scss +43 -0
- data/vendor/{frameworks/twitter/bootstrap/tooltip.scss → assets/stylesheets/twitter/bootstrap/_tooltip.scss} +20 -19
- data/vendor/assets/stylesheets/twitter/bootstrap/_type.scss +253 -0
- data/vendor/{frameworks/twitter/bootstrap/utilities.scss → assets/stylesheets/twitter/bootstrap/_utilities.scss} +17 -5
- data/vendor/assets/stylesheets/twitter/bootstrap/_variables.scss +416 -0
- data/vendor/{frameworks/twitter/bootstrap/wells.scss → assets/stylesheets/twitter/bootstrap/_wells.scss} +5 -5
- metadata +49 -53
- data/lib/bootstrap-rails/ie_hex_str.rb +0 -16
- data/test/ie_hex_str_test.rb +0 -26
- data/vendor/assets/images/twitter/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/twitter/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/twitter/bootstrap/typeahead.js +0 -335
- data/vendor/assets/stylesheets/twitter/bootstrap-responsive.scss +0 -1
- data/vendor/frameworks/twitter/bootstrap.scss +0 -1
- data/vendor/frameworks/twitter/bootstrap/alerts.scss +0 -79
- data/vendor/frameworks/twitter/bootstrap/bootstrap.scss +0 -63
- data/vendor/frameworks/twitter/bootstrap/breadcrumbs.scss +0 -24
- data/vendor/frameworks/twitter/bootstrap/button-groups.scss +0 -230
- data/vendor/frameworks/twitter/bootstrap/buttons.scss +0 -228
- data/vendor/frameworks/twitter/bootstrap/carousel.scss +0 -158
- data/vendor/frameworks/twitter/bootstrap/forms.scss +0 -690
- data/vendor/frameworks/twitter/bootstrap/grid.scss +0 -21
- data/vendor/frameworks/twitter/bootstrap/hero-unit.scss +0 -25
- data/vendor/frameworks/twitter/bootstrap/labels-badges.scss +0 -83
- data/vendor/frameworks/twitter/bootstrap/layouts.scss +0 -16
- data/vendor/frameworks/twitter/bootstrap/mixins.scss +0 -704
- data/vendor/frameworks/twitter/bootstrap/modals.scss +0 -95
- data/vendor/frameworks/twitter/bootstrap/navbar.scss +0 -496
- data/vendor/frameworks/twitter/bootstrap/navs.scss +0 -409
- data/vendor/frameworks/twitter/bootstrap/pager.scss +0 -43
- data/vendor/frameworks/twitter/bootstrap/pagination.scss +0 -123
- data/vendor/frameworks/twitter/bootstrap/reset.scss +0 -216
- data/vendor/frameworks/twitter/bootstrap/responsive-1200px-min.scss +0 -28
- data/vendor/frameworks/twitter/bootstrap/responsive-767px-max.scss +0 -189
- data/vendor/frameworks/twitter/bootstrap/responsive-768px-979px.scss +0 -19
- data/vendor/frameworks/twitter/bootstrap/responsive-navbar.scss +0 -189
- data/vendor/frameworks/twitter/bootstrap/responsive-utilities.scss +0 -59
- data/vendor/frameworks/twitter/bootstrap/responsive.scss +0 -48
- data/vendor/frameworks/twitter/bootstrap/scaffolding.scss +0 -53
- data/vendor/frameworks/twitter/bootstrap/sprites.scss +0 -197
- data/vendor/frameworks/twitter/bootstrap/tables.scss +0 -235
- data/vendor/frameworks/twitter/bootstrap/thumbnails.scss +0 -53
- data/vendor/frameworks/twitter/bootstrap/type.scss +0 -246
- data/vendor/frameworks/twitter/bootstrap/variables.scss +0 -295
@@ -1,19 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Responsive: Tablet to desktop
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
@media (min-width: 768px) and (max-width: 979px) {
|
7
|
-
|
8
|
-
// Fixed grid
|
9
|
-
@include grid-core($gridColumnWidth768, $gridGutterWidth768);
|
10
|
-
|
11
|
-
// Fluid grid
|
12
|
-
@include grid-fluid($fluidGridColumnWidth768, $fluidGridGutterWidth768);
|
13
|
-
|
14
|
-
// Input grid
|
15
|
-
@include grid-input($gridColumnWidth768, $gridGutterWidth768);
|
16
|
-
|
17
|
-
// No need to reset .thumbnails here since it's the same $gridGutterWidth
|
18
|
-
|
19
|
-
}
|
@@ -1,189 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Responsive: Navbar
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// TABLETS AND BELOW
|
7
|
-
// -----------------
|
8
|
-
@media (max-width: $navbarCollapseWidth) {
|
9
|
-
|
10
|
-
// UNFIX THE TOPBAR
|
11
|
-
// ----------------
|
12
|
-
// Remove any padding from the body
|
13
|
-
body {
|
14
|
-
padding-top: 0;
|
15
|
-
}
|
16
|
-
// Unfix the navbars
|
17
|
-
.navbar-fixed-top,
|
18
|
-
.navbar-fixed-bottom {
|
19
|
-
position: static;
|
20
|
-
}
|
21
|
-
.navbar-fixed-top {
|
22
|
-
margin-bottom: $baseLineHeight;
|
23
|
-
}
|
24
|
-
.navbar-fixed-bottom {
|
25
|
-
margin-top: $baseLineHeight;
|
26
|
-
}
|
27
|
-
.navbar-fixed-top .navbar-inner,
|
28
|
-
.navbar-fixed-bottom .navbar-inner {
|
29
|
-
padding: 5px;
|
30
|
-
}
|
31
|
-
.navbar .container {
|
32
|
-
width: auto;
|
33
|
-
padding: 0;
|
34
|
-
}
|
35
|
-
// Account for brand name
|
36
|
-
.navbar .brand {
|
37
|
-
padding-left: 10px;
|
38
|
-
padding-right: 10px;
|
39
|
-
margin: 0 0 0 -5px;
|
40
|
-
}
|
41
|
-
|
42
|
-
// COLLAPSIBLE NAVBAR
|
43
|
-
// ------------------
|
44
|
-
// Nav collapse clears brand
|
45
|
-
.nav-collapse {
|
46
|
-
clear: both;
|
47
|
-
}
|
48
|
-
// Block-level the nav
|
49
|
-
.nav-collapse .nav {
|
50
|
-
float: none;
|
51
|
-
margin: 0 0 ($baseLineHeight / 2);
|
52
|
-
}
|
53
|
-
.nav-collapse .nav > li {
|
54
|
-
float: none;
|
55
|
-
}
|
56
|
-
.nav-collapse .nav > li > a {
|
57
|
-
margin-bottom: 2px;
|
58
|
-
}
|
59
|
-
.nav-collapse .nav > .divider-vertical {
|
60
|
-
display: none;
|
61
|
-
}
|
62
|
-
.nav-collapse .nav .nav-header {
|
63
|
-
color: $navbarText;
|
64
|
-
text-shadow: none;
|
65
|
-
}
|
66
|
-
// Nav and dropdown links in navbar
|
67
|
-
.nav-collapse .nav > li > a,
|
68
|
-
.nav-collapse .dropdown-menu a {
|
69
|
-
padding: 9px 15px;
|
70
|
-
font-weight: bold;
|
71
|
-
color: $navbarLinkColor;
|
72
|
-
@include border-radius(3px);
|
73
|
-
}
|
74
|
-
// Buttons
|
75
|
-
.nav-collapse .btn {
|
76
|
-
padding: 4px 10px 4px;
|
77
|
-
font-weight: normal;
|
78
|
-
@include border-radius($baseBorderRadius);
|
79
|
-
}
|
80
|
-
.nav-collapse .dropdown-menu li + li a {
|
81
|
-
margin-bottom: 2px;
|
82
|
-
}
|
83
|
-
.nav-collapse .nav > li > a:hover,
|
84
|
-
.nav-collapse .nav > li > a:focus,
|
85
|
-
.nav-collapse .dropdown-menu a:hover,
|
86
|
-
.nav-collapse .dropdown-menu a:focus {
|
87
|
-
background-color: $navbarBackground;
|
88
|
-
}
|
89
|
-
.navbar-inverse .nav-collapse .nav > li > a,
|
90
|
-
.navbar-inverse .nav-collapse .dropdown-menu a {
|
91
|
-
color: $navbarInverseLinkColor;
|
92
|
-
}
|
93
|
-
.navbar-inverse .nav-collapse .nav > li > a:hover,
|
94
|
-
.navbar-inverse .nav-collapse .nav > li > a:focus,
|
95
|
-
.navbar-inverse .nav-collapse .dropdown-menu a:hover,
|
96
|
-
.navbar-inverse .nav-collapse .dropdown-menu a:focus {
|
97
|
-
background-color: $navbarInverseBackground;
|
98
|
-
}
|
99
|
-
// Buttons in the navbar
|
100
|
-
.nav-collapse.in .btn-group {
|
101
|
-
margin-top: 5px;
|
102
|
-
padding: 0;
|
103
|
-
}
|
104
|
-
// Dropdowns in the navbar
|
105
|
-
.nav-collapse .dropdown-menu {
|
106
|
-
position: static;
|
107
|
-
top: auto;
|
108
|
-
left: auto;
|
109
|
-
float: none;
|
110
|
-
display: none;
|
111
|
-
max-width: none;
|
112
|
-
margin: 0 15px;
|
113
|
-
padding: 0;
|
114
|
-
background-color: transparent;
|
115
|
-
border: none;
|
116
|
-
@include border-radius(0);
|
117
|
-
@include box-shadow(none);
|
118
|
-
}
|
119
|
-
.nav-collapse .open > .dropdown-menu {
|
120
|
-
display: block;
|
121
|
-
}
|
122
|
-
|
123
|
-
.nav-collapse .dropdown-menu:before,
|
124
|
-
.nav-collapse .dropdown-menu:after {
|
125
|
-
display: none;
|
126
|
-
}
|
127
|
-
.nav-collapse .dropdown-menu .divider {
|
128
|
-
display: none;
|
129
|
-
}
|
130
|
-
.nav-collapse .nav > li > .dropdown-menu {
|
131
|
-
&:before,
|
132
|
-
&:after {
|
133
|
-
display: none;
|
134
|
-
}
|
135
|
-
}
|
136
|
-
// Forms in navbar
|
137
|
-
.nav-collapse .navbar-form,
|
138
|
-
.nav-collapse .navbar-search {
|
139
|
-
float: none;
|
140
|
-
padding: ($baseLineHeight / 2) 15px;
|
141
|
-
margin: ($baseLineHeight / 2) 0;
|
142
|
-
border-top: 1px solid $navbarBackground;
|
143
|
-
border-bottom: 1px solid $navbarBackground;
|
144
|
-
@include box-shadow((inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1)));
|
145
|
-
}
|
146
|
-
.navbar-inverse .nav-collapse .navbar-form,
|
147
|
-
.navbar-inverse .nav-collapse .navbar-search {
|
148
|
-
border-top-color: $navbarInverseBackground;
|
149
|
-
border-bottom-color: $navbarInverseBackground;
|
150
|
-
}
|
151
|
-
// Pull right (secondary) nav content
|
152
|
-
.navbar .nav-collapse .nav.pull-right {
|
153
|
-
float: none;
|
154
|
-
margin-left: 0;
|
155
|
-
}
|
156
|
-
// Hide everything in the navbar save .brand and toggle button */
|
157
|
-
.nav-collapse,
|
158
|
-
.nav-collapse.collapse {
|
159
|
-
overflow: hidden;
|
160
|
-
height: 0;
|
161
|
-
}
|
162
|
-
// Navbar button
|
163
|
-
.navbar .btn-navbar {
|
164
|
-
display: block;
|
165
|
-
}
|
166
|
-
|
167
|
-
// STATIC NAVBAR
|
168
|
-
// -------------
|
169
|
-
.navbar-static .navbar-inner {
|
170
|
-
padding-left: 10px;
|
171
|
-
padding-right: 10px;
|
172
|
-
}
|
173
|
-
|
174
|
-
|
175
|
-
}
|
176
|
-
|
177
|
-
|
178
|
-
// DEFAULT DESKTOP
|
179
|
-
// ---------------
|
180
|
-
|
181
|
-
@media (min-width: $navbarCollapseDesktopWidth) {
|
182
|
-
|
183
|
-
// Required to make the collapsing navbar work on regular desktops
|
184
|
-
.nav-collapse.collapse {
|
185
|
-
height: auto !important;
|
186
|
-
overflow: visible !important;
|
187
|
-
}
|
188
|
-
|
189
|
-
}
|
@@ -1,59 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Responsive: Utility classes
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// IE10 Metro responsive
|
7
|
-
// Required for Windows 8 Metro split-screen snapping with IE10
|
8
|
-
// Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
|
9
|
-
@-ms-viewport{
|
10
|
-
width: device-width;
|
11
|
-
}
|
12
|
-
|
13
|
-
// Hide from screenreaders and browsers
|
14
|
-
// Credit: HTML5 Boilerplate
|
15
|
-
.hidden {
|
16
|
-
display: none;
|
17
|
-
visibility: hidden;
|
18
|
-
}
|
19
|
-
|
20
|
-
// Visibility utilities
|
21
|
-
|
22
|
-
// For desktops
|
23
|
-
.visible-phone { display: none !important; }
|
24
|
-
.visible-tablet { display: none !important; }
|
25
|
-
.hidden-phone { }
|
26
|
-
.hidden-tablet { }
|
27
|
-
.hidden-desktop { display: none !important; }
|
28
|
-
.visible-desktop { display: inherit !important; }
|
29
|
-
|
30
|
-
// Tablets & small desktops only
|
31
|
-
@media (min-width: 768px) and (max-width: 979px) {
|
32
|
-
// Hide everything else
|
33
|
-
.hidden-desktop { display: inherit !important; }
|
34
|
-
.visible-desktop { display: none !important ; }
|
35
|
-
// Show
|
36
|
-
.visible-tablet { display: inherit !important; }
|
37
|
-
// Hide
|
38
|
-
.hidden-tablet { display: none !important; }
|
39
|
-
}
|
40
|
-
|
41
|
-
// Phones only
|
42
|
-
@media (max-width: 767px) {
|
43
|
-
// Hide everything else
|
44
|
-
.hidden-desktop { display: inherit !important; }
|
45
|
-
.visible-desktop { display: none !important; }
|
46
|
-
// Show
|
47
|
-
.visible-phone { display: inherit !important; } // Use inherit to restore previous behavior
|
48
|
-
// Hide
|
49
|
-
.hidden-phone { display: none !important; }
|
50
|
-
}
|
51
|
-
|
52
|
-
// Print utilities
|
53
|
-
.visible-print { display: none !important; }
|
54
|
-
.hidden-print { }
|
55
|
-
|
56
|
-
@media print {
|
57
|
-
.visible-print { display: inherit !important; }
|
58
|
-
.hidden-print { display: none !important; }
|
59
|
-
}
|
@@ -1,48 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Bootstrap Responsive v2.3.1
|
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.scss
|
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.scss"; // Modify this for custom colors, font-sizes, etc
|
22
|
-
@import "mixins.scss";
|
23
|
-
|
24
|
-
|
25
|
-
// RESPONSIVE CLASSES
|
26
|
-
// ------------------
|
27
|
-
|
28
|
-
@import "responsive-utilities.scss";
|
29
|
-
|
30
|
-
|
31
|
-
// MEDIA QUERIES
|
32
|
-
// ------------------
|
33
|
-
|
34
|
-
// Large desktops
|
35
|
-
@import "responsive-1200px-min.scss";
|
36
|
-
|
37
|
-
// Tablets to regular desktops
|
38
|
-
@import "responsive-768px-979px.scss";
|
39
|
-
|
40
|
-
// Phones to portrait tablets and narrow desktops
|
41
|
-
@import "responsive-767px-max.scss";
|
42
|
-
|
43
|
-
|
44
|
-
// RESPONSIVE NAVBAR
|
45
|
-
// ------------------
|
46
|
-
|
47
|
-
// From 979px and below, show a button to toggle navbar contents
|
48
|
-
@import "responsive-navbar.scss";
|
@@ -1,53 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Scaffolding
|
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
|
-
a:focus {
|
28
|
-
color: $linkColorHover;
|
29
|
-
text-decoration: underline;
|
30
|
-
}
|
31
|
-
|
32
|
-
|
33
|
-
// Images
|
34
|
-
// -------------------------
|
35
|
-
|
36
|
-
// Rounded corners
|
37
|
-
.img-rounded {
|
38
|
-
@include border-radius(6px);
|
39
|
-
}
|
40
|
-
|
41
|
-
// Add polaroid-esque trim
|
42
|
-
.img-polaroid {
|
43
|
-
padding: 4px;
|
44
|
-
background-color: #fff;
|
45
|
-
border: 1px solid #ccc;
|
46
|
-
border: 1px solid rgba(0,0,0,.2);
|
47
|
-
@include box-shadow(0 1px 3px rgba(0,0,0,.1));
|
48
|
-
}
|
49
|
-
|
50
|
-
// Perfect circle
|
51
|
-
.img-circle {
|
52
|
-
@include border-radius(500px); // crank the border-radius so it works with most reasonably sized images
|
53
|
-
}
|
@@ -1,197 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Sprites
|
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: url($iconSpritePath);
|
26
|
-
background-position: 14px 14px;
|
27
|
-
background-repeat: no-repeat;
|
28
|
-
margin-top: 1px;
|
29
|
-
}
|
30
|
-
|
31
|
-
/* White icons with optional class, or on hover/focus/active states of certain elements */
|
32
|
-
.icon-white,
|
33
|
-
.nav-pills > .active > a > [class^="icon-"],
|
34
|
-
.nav-pills > .active > a > [class*=" icon-"],
|
35
|
-
.nav-list > .active > a > [class^="icon-"],
|
36
|
-
.nav-list > .active > a > [class*=" icon-"],
|
37
|
-
.navbar-inverse .nav > .active > a > [class^="icon-"],
|
38
|
-
.navbar-inverse .nav > .active > a > [class*=" icon-"],
|
39
|
-
.dropdown-menu > li > a:hover > [class^="icon-"],
|
40
|
-
.dropdown-menu > li > a:focus > [class^="icon-"],
|
41
|
-
.dropdown-menu > li > a:hover > [class*=" icon-"],
|
42
|
-
.dropdown-menu > li > a:focus > [class*=" icon-"],
|
43
|
-
.dropdown-menu > .active > a > [class^="icon-"],
|
44
|
-
.dropdown-menu > .active > a > [class*=" icon-"],
|
45
|
-
.dropdown-submenu:hover > a > [class^="icon-"],
|
46
|
-
.dropdown-submenu:focus > a > [class^="icon-"],
|
47
|
-
.dropdown-submenu:hover > a > [class*=" icon-"],
|
48
|
-
.dropdown-submenu:focus > a > [class*=" icon-"] {
|
49
|
-
background-image: url($iconWhiteSpritePath);
|
50
|
-
}
|
51
|
-
|
52
|
-
.icon-glass { background-position: 0 0; }
|
53
|
-
.icon-music { background-position: -24px 0; }
|
54
|
-
.icon-search { background-position: -48px 0; }
|
55
|
-
.icon-envelope { background-position: -72px 0; }
|
56
|
-
.icon-heart { background-position: -96px 0; }
|
57
|
-
.icon-star { background-position: -120px 0; }
|
58
|
-
.icon-star-empty { background-position: -144px 0; }
|
59
|
-
.icon-user { background-position: -168px 0; }
|
60
|
-
.icon-film { background-position: -192px 0; }
|
61
|
-
.icon-th-large { background-position: -216px 0; }
|
62
|
-
.icon-th { background-position: -240px 0; }
|
63
|
-
.icon-th-list { background-position: -264px 0; }
|
64
|
-
.icon-ok { background-position: -288px 0; }
|
65
|
-
.icon-remove { background-position: -312px 0; }
|
66
|
-
.icon-zoom-in { background-position: -336px 0; }
|
67
|
-
.icon-zoom-out { background-position: -360px 0; }
|
68
|
-
.icon-off { background-position: -384px 0; }
|
69
|
-
.icon-signal { background-position: -408px 0; }
|
70
|
-
.icon-cog { background-position: -432px 0; }
|
71
|
-
.icon-trash { background-position: -456px 0; }
|
72
|
-
|
73
|
-
.icon-home { background-position: 0 -24px; }
|
74
|
-
.icon-file { background-position: -24px -24px; }
|
75
|
-
.icon-time { background-position: -48px -24px; }
|
76
|
-
.icon-road { background-position: -72px -24px; }
|
77
|
-
.icon-download-alt { background-position: -96px -24px; }
|
78
|
-
.icon-download { background-position: -120px -24px; }
|
79
|
-
.icon-upload { background-position: -144px -24px; }
|
80
|
-
.icon-inbox { background-position: -168px -24px; }
|
81
|
-
.icon-play-circle { background-position: -192px -24px; }
|
82
|
-
.icon-repeat { background-position: -216px -24px; }
|
83
|
-
.icon-refresh { background-position: -240px -24px; }
|
84
|
-
.icon-list-alt { background-position: -264px -24px; }
|
85
|
-
.icon-lock { background-position: -287px -24px; } // 1px off
|
86
|
-
.icon-flag { background-position: -312px -24px; }
|
87
|
-
.icon-headphones { background-position: -336px -24px; }
|
88
|
-
.icon-volume-off { background-position: -360px -24px; }
|
89
|
-
.icon-volume-down { background-position: -384px -24px; }
|
90
|
-
.icon-volume-up { background-position: -408px -24px; }
|
91
|
-
.icon-qrcode { background-position: -432px -24px; }
|
92
|
-
.icon-barcode { background-position: -456px -24px; }
|
93
|
-
|
94
|
-
.icon-tag { background-position: 0 -48px; }
|
95
|
-
.icon-tags { background-position: -25px -48px; } // 1px off
|
96
|
-
.icon-book { background-position: -48px -48px; }
|
97
|
-
.icon-bookmark { background-position: -72px -48px; }
|
98
|
-
.icon-print { background-position: -96px -48px; }
|
99
|
-
.icon-camera { background-position: -120px -48px; }
|
100
|
-
.icon-font { background-position: -144px -48px; }
|
101
|
-
.icon-bold { background-position: -167px -48px; } // 1px off
|
102
|
-
.icon-italic { background-position: -192px -48px; }
|
103
|
-
.icon-text-height { background-position: -216px -48px; }
|
104
|
-
.icon-text-width { background-position: -240px -48px; }
|
105
|
-
.icon-align-left { background-position: -264px -48px; }
|
106
|
-
.icon-align-center { background-position: -288px -48px; }
|
107
|
-
.icon-align-right { background-position: -312px -48px; }
|
108
|
-
.icon-align-justify { background-position: -336px -48px; }
|
109
|
-
.icon-list { background-position: -360px -48px; }
|
110
|
-
.icon-indent-left { background-position: -384px -48px; }
|
111
|
-
.icon-indent-right { background-position: -408px -48px; }
|
112
|
-
.icon-facetime-video { background-position: -432px -48px; }
|
113
|
-
.icon-picture { background-position: -456px -48px; }
|
114
|
-
|
115
|
-
.icon-pencil { background-position: 0 -72px; }
|
116
|
-
.icon-map-marker { background-position: -24px -72px; }
|
117
|
-
.icon-adjust { background-position: -48px -72px; }
|
118
|
-
.icon-tint { background-position: -72px -72px; }
|
119
|
-
.icon-edit { background-position: -96px -72px; }
|
120
|
-
.icon-share { background-position: -120px -72px; }
|
121
|
-
.icon-check { background-position: -144px -72px; }
|
122
|
-
.icon-move { background-position: -168px -72px; }
|
123
|
-
.icon-step-backward { background-position: -192px -72px; }
|
124
|
-
.icon-fast-backward { background-position: -216px -72px; }
|
125
|
-
.icon-backward { background-position: -240px -72px; }
|
126
|
-
.icon-play { background-position: -264px -72px; }
|
127
|
-
.icon-pause { background-position: -288px -72px; }
|
128
|
-
.icon-stop { background-position: -312px -72px; }
|
129
|
-
.icon-forward { background-position: -336px -72px; }
|
130
|
-
.icon-fast-forward { background-position: -360px -72px; }
|
131
|
-
.icon-step-forward { background-position: -384px -72px; }
|
132
|
-
.icon-eject { background-position: -408px -72px; }
|
133
|
-
.icon-chevron-left { background-position: -432px -72px; }
|
134
|
-
.icon-chevron-right { background-position: -456px -72px; }
|
135
|
-
|
136
|
-
.icon-plus-sign { background-position: 0 -96px; }
|
137
|
-
.icon-minus-sign { background-position: -24px -96px; }
|
138
|
-
.icon-remove-sign { background-position: -48px -96px; }
|
139
|
-
.icon-ok-sign { background-position: -72px -96px; }
|
140
|
-
.icon-question-sign { background-position: -96px -96px; }
|
141
|
-
.icon-info-sign { background-position: -120px -96px; }
|
142
|
-
.icon-screenshot { background-position: -144px -96px; }
|
143
|
-
.icon-remove-circle { background-position: -168px -96px; }
|
144
|
-
.icon-ok-circle { background-position: -192px -96px; }
|
145
|
-
.icon-ban-circle { background-position: -216px -96px; }
|
146
|
-
.icon-arrow-left { background-position: -240px -96px; }
|
147
|
-
.icon-arrow-right { background-position: -264px -96px; }
|
148
|
-
.icon-arrow-up { background-position: -289px -96px; } // 1px off
|
149
|
-
.icon-arrow-down { background-position: -312px -96px; }
|
150
|
-
.icon-share-alt { background-position: -336px -96px; }
|
151
|
-
.icon-resize-full { background-position: -360px -96px; }
|
152
|
-
.icon-resize-small { background-position: -384px -96px; }
|
153
|
-
.icon-plus { background-position: -408px -96px; }
|
154
|
-
.icon-minus { background-position: -433px -96px; }
|
155
|
-
.icon-asterisk { background-position: -456px -96px; }
|
156
|
-
|
157
|
-
.icon-exclamation-sign { background-position: 0 -120px; }
|
158
|
-
.icon-gift { background-position: -24px -120px; }
|
159
|
-
.icon-leaf { background-position: -48px -120px; }
|
160
|
-
.icon-fire { background-position: -72px -120px; }
|
161
|
-
.icon-eye-open { background-position: -96px -120px; }
|
162
|
-
.icon-eye-close { background-position: -120px -120px; }
|
163
|
-
.icon-warning-sign { background-position: -144px -120px; }
|
164
|
-
.icon-plane { background-position: -168px -120px; }
|
165
|
-
.icon-calendar { background-position: -192px -120px; }
|
166
|
-
.icon-random { background-position: -216px -120px; width: 16px; }
|
167
|
-
.icon-comment { background-position: -240px -120px; }
|
168
|
-
.icon-magnet { background-position: -264px -120px; }
|
169
|
-
.icon-chevron-up { background-position: -288px -120px; }
|
170
|
-
.icon-chevron-down { background-position: -313px -119px; } // 1px, 1px off
|
171
|
-
.icon-retweet { background-position: -336px -120px; }
|
172
|
-
.icon-shopping-cart { background-position: -360px -120px; }
|
173
|
-
.icon-folder-close { background-position: -384px -120px; width: 16px; }
|
174
|
-
.icon-folder-open { background-position: -408px -120px; width: 16px; }
|
175
|
-
.icon-resize-vertical { background-position: -432px -119px; } // 1px, 1px off
|
176
|
-
.icon-resize-horizontal { background-position: -456px -118px; } // 1px, 2px off
|
177
|
-
|
178
|
-
.icon-hdd { background-position: 0 -144px; }
|
179
|
-
.icon-bullhorn { background-position: -24px -144px; }
|
180
|
-
.icon-bell { background-position: -48px -144px; }
|
181
|
-
.icon-certificate { background-position: -72px -144px; }
|
182
|
-
.icon-thumbs-up { background-position: -96px -144px; }
|
183
|
-
.icon-thumbs-down { background-position: -120px -144px; }
|
184
|
-
.icon-hand-right { background-position: -144px -144px; }
|
185
|
-
.icon-hand-left { background-position: -168px -144px; }
|
186
|
-
.icon-hand-up { background-position: -192px -144px; }
|
187
|
-
.icon-hand-down { background-position: -216px -144px; }
|
188
|
-
.icon-circle-arrow-right { background-position: -240px -144px; }
|
189
|
-
.icon-circle-arrow-left { background-position: -264px -144px; }
|
190
|
-
.icon-circle-arrow-up { background-position: -288px -144px; }
|
191
|
-
.icon-circle-arrow-down { background-position: -312px -144px; }
|
192
|
-
.icon-globe { background-position: -336px -144px; }
|
193
|
-
.icon-wrench { background-position: -360px -144px; }
|
194
|
-
.icon-tasks { background-position: -384px -144px; }
|
195
|
-
.icon-filter { background-position: -408px -144px; }
|
196
|
-
.icon-briefcase { background-position: -432px -144px; }
|
197
|
-
.icon-fullscreen { background-position: -456px -144px; }
|