anjlab-bootstrap-rails 2.0.4.4 → 2.1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +21 -20
- data/Rakefile +39 -26
- data/lib/bootstrap-rails/engine.rb +3 -0
- data/lib/bootstrap-rails/version.rb +1 -1
- data/vendor/assets/images/{glyphicons-halflings-white.png → twitter/glyphicons-halflings-white.png} +0 -0
- data/vendor/assets/images/twitter/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/twitter/bootstrap.js +13 -0
- data/vendor/assets/javascripts/twitter/bootstrap/affix.js +104 -0
- data/vendor/assets/javascripts/{bootstrap-alert.js → twitter/bootstrap/alert.js} +1 -1
- data/vendor/assets/javascripts/{bootstrap-button.js → twitter/bootstrap/button.js} +1 -1
- data/vendor/assets/javascripts/{bootstrap-carousel.js → twitter/bootstrap/carousel.js} +12 -5
- data/vendor/assets/javascripts/{bootstrap-collapse.js → twitter/bootstrap/collapse.js} +4 -3
- data/vendor/assets/javascripts/{bootstrap-dropdown.js → twitter/bootstrap/dropdown.js} +66 -16
- data/vendor/assets/javascripts/{bootstrap-modal.js → twitter/bootstrap/modal.js} +95 -74
- data/vendor/assets/javascripts/{bootstrap-popover.js → twitter/bootstrap/popover.js} +9 -4
- data/vendor/assets/javascripts/{bootstrap-scrollspy.js → twitter/bootstrap/scrollspy.js} +9 -9
- data/vendor/assets/javascripts/{bootstrap-tab.js → twitter/bootstrap/tab.js} +2 -2
- data/vendor/assets/javascripts/{bootstrap-tooltip.js → twitter/bootstrap/tooltip.js} +15 -15
- data/vendor/assets/javascripts/{bootstrap-transition.js → twitter/bootstrap/transition.js} +2 -3
- data/vendor/assets/javascripts/{bootstrap-typeahead.js → twitter/bootstrap/typeahead.js} +50 -35
- data/vendor/assets/stylesheets/twitter/bootstrap-responsive.scss +1 -0
- data/vendor/assets/stylesheets/twitter/bootstrap.scss +1 -0
- data/vendor/frameworks/twitter/bootstrap.scss +1 -0
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/accordion.scss +3 -2
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/alerts.scss +15 -8
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/bootstrap.scss +1 -1
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/breadcrumbs.scss +10 -10
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/button-groups.scss +76 -23
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/buttons.scss +76 -56
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/carousel.scss +13 -3
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/close.scss +4 -2
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/code.scss +6 -5
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/component-animations.scss +5 -2
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/dropdowns.scss +81 -14
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/forms.scss +99 -46
- data/vendor/frameworks/twitter/bootstrap/grid.scss +21 -0
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/hero-unit.scss +4 -2
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/labels-badges.scss +19 -2
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/layouts.scss +1 -2
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/mixins.scss +105 -81
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/modals.scss +9 -2
- data/vendor/frameworks/twitter/bootstrap/navbar.scss +468 -0
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/navs.scss +38 -17
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/pager.scss +5 -4
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/pagination.scss +16 -8
- data/vendor/frameworks/twitter/bootstrap/popovers.scss +117 -0
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/progress-bars.scss +18 -13
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/reset.scss +6 -3
- data/vendor/frameworks/twitter/bootstrap/responsive-1200px-min.scss +28 -0
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/responsive-767px-max.scss +83 -69
- data/vendor/frameworks/twitter/bootstrap/responsive-768px-979px.scss +19 -0
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/responsive-navbar.scss +17 -4
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/responsive-utilities.scss +17 -15
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/responsive.scss +5 -5
- data/vendor/frameworks/twitter/bootstrap/scaffolding.scss +51 -0
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/sprites.scss +17 -20
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/tables.scss +60 -15
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/thumbnails.scss +9 -4
- data/vendor/frameworks/twitter/bootstrap/tooltip.scss +70 -0
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/type.scss +56 -83
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/utilities.scss +9 -2
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/variables.scss +109 -36
- data/vendor/{assets/stylesheets → frameworks/twitter/bootstrap}/wells.scss +7 -5
- metadata +63 -59
- data/vendor/assets/images/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/bootstrap.js +0 -12
- data/vendor/assets/stylesheets/grid.scss +0 -5
- data/vendor/assets/stylesheets/navbar.scss +0 -358
- data/vendor/assets/stylesheets/popovers.scss +0 -49
- data/vendor/assets/stylesheets/responsive-1200px-min.scss +0 -26
- data/vendor/assets/stylesheets/responsive-768px-979px.scss +0 -17
- data/vendor/assets/stylesheets/scaffolding.scss +0 -29
- data/vendor/assets/stylesheets/tooltip.scss +0 -35
@@ -1,49 +0,0 @@
|
|
1
|
-
// POPOVERS
|
2
|
-
// --------
|
3
|
-
|
4
|
-
.popover {
|
5
|
-
position: absolute;
|
6
|
-
top: 0;
|
7
|
-
left: 0;
|
8
|
-
z-index: $zindexPopover;
|
9
|
-
display: none;
|
10
|
-
padding: 5px;
|
11
|
-
&.top { margin-top: -5px; }
|
12
|
-
&.right { margin-left: 5px; }
|
13
|
-
&.bottom { margin-top: 5px; }
|
14
|
-
&.left { margin-left: -5px; }
|
15
|
-
&.top .arrow { @include popover-arrow-top; }
|
16
|
-
&.right .arrow { @include popover-arrow-right; }
|
17
|
-
&.bottom .arrow { @include popover-arrow-bottom; }
|
18
|
-
&.left .arrow { @include popover-arrow-left; }
|
19
|
-
.arrow {
|
20
|
-
position: absolute;
|
21
|
-
width: 0;
|
22
|
-
height: 0;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
.popover-inner {
|
26
|
-
padding: 3px;
|
27
|
-
width: 280px;
|
28
|
-
overflow: hidden;
|
29
|
-
background: $black; // has to be full background declaration for IE fallback
|
30
|
-
background: rgba(0,0,0,.8);
|
31
|
-
@include border-radius(6px);
|
32
|
-
@include box-shadow(0 3px 7px rgba(0,0,0,0.3));
|
33
|
-
}
|
34
|
-
.popover-title {
|
35
|
-
padding: 9px 15px;
|
36
|
-
line-height: 1;
|
37
|
-
background-color: #f5f5f5;
|
38
|
-
border-bottom:1px solid #eee;
|
39
|
-
@include border-radius(3px 3px 0 0);
|
40
|
-
}
|
41
|
-
.popover-content {
|
42
|
-
padding: 14px;
|
43
|
-
background-color: $white;
|
44
|
-
@include border-radius(0 0 3px 3px);
|
45
|
-
@include background-clip(padding-box);
|
46
|
-
p, ul, ol {
|
47
|
-
margin-bottom: 0;
|
48
|
-
}
|
49
|
-
}
|
@@ -1,26 +0,0 @@
|
|
1
|
-
// LARGE DESKTOP & UP
|
2
|
-
// ------------------
|
3
|
-
|
4
|
-
@media (min-width: 1200px) {
|
5
|
-
|
6
|
-
// Fixed grid
|
7
|
-
@include grid-core(70px, 30px);
|
8
|
-
|
9
|
-
// Fluid grid
|
10
|
-
@include grid-fluid(5.982905983%, 2.564102564%);
|
11
|
-
|
12
|
-
// Input grid
|
13
|
-
@include grid-input(70px, 30px);
|
14
|
-
|
15
|
-
// Thumbnails
|
16
|
-
.thumbnails {
|
17
|
-
margin-left: -30px;
|
18
|
-
}
|
19
|
-
.thumbnails > li {
|
20
|
-
margin-left: 30px;
|
21
|
-
}
|
22
|
-
.row-fluid .thumbnails {
|
23
|
-
margin-left: 0;
|
24
|
-
}
|
25
|
-
|
26
|
-
}
|
@@ -1,17 +0,0 @@
|
|
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
|
-
|
17
|
-
}
|
@@ -1,29 +0,0 @@
|
|
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
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
// TOOLTIP
|
2
|
-
// ------=
|
3
|
-
|
4
|
-
.tooltip {
|
5
|
-
position: absolute;
|
6
|
-
z-index: $zindexTooltip;
|
7
|
-
display: block;
|
8
|
-
visibility: visible;
|
9
|
-
padding: 5px;
|
10
|
-
font-size: 11px;
|
11
|
-
@include opacity(0);
|
12
|
-
&.in { @include opacity(80); }
|
13
|
-
&.top { margin-top: -2px; }
|
14
|
-
&.right { margin-left: 2px; }
|
15
|
-
&.bottom { margin-top: 2px; }
|
16
|
-
&.left { margin-left: -2px; }
|
17
|
-
&.top .tooltip-arrow { @include popover-arrow-top; }
|
18
|
-
&.left .tooltip-arrow { @include popover-arrow-left; }
|
19
|
-
&.bottom .tooltip-arrow { @include popover-arrow-bottom; }
|
20
|
-
&.right .tooltip-arrow { @include popover-arrow-right; }
|
21
|
-
}
|
22
|
-
.tooltip-inner {
|
23
|
-
max-width: 200px;
|
24
|
-
padding: 3px 8px;
|
25
|
-
color: $white;
|
26
|
-
text-align: center;
|
27
|
-
text-decoration: none;
|
28
|
-
background-color: $black;
|
29
|
-
@include border-radius(4px);
|
30
|
-
}
|
31
|
-
.tooltip-arrow {
|
32
|
-
position: absolute;
|
33
|
-
width: 0;
|
34
|
-
height: 0;
|
35
|
-
}
|