compass_twitter_bootstrap 2.0.1.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +17 -0
- data/build/convert.rb +2 -12
- data/lib/compass_twitter_bootstrap/version.rb +1 -1
- data/stylesheets/_compass_twitter_bootstrap.scss +2 -2
- data/stylesheets/_compass_twitter_bootstrap_awesome.scss +66 -0
- data/stylesheets/_compass_twitter_bootstrap_responsive.scss +14 -293
- data/stylesheets/compass_twitter_bootstrap/_accordion.scss +6 -1
- data/stylesheets/compass_twitter_bootstrap/_alerts.scss +3 -15
- data/stylesheets/compass_twitter_bootstrap/_breadcrumbs.scss +5 -3
- data/stylesheets/compass_twitter_bootstrap/_button-groups.scss +82 -39
- data/stylesheets/compass_twitter_bootstrap/_buttons.scss +38 -30
- data/stylesheets/compass_twitter_bootstrap/_carousel.scss +5 -5
- data/stylesheets/compass_twitter_bootstrap/_close.scss +13 -2
- data/stylesheets/compass_twitter_bootstrap/_code.scss +9 -9
- data/stylesheets/compass_twitter_bootstrap/_component-animations.scss +10 -8
- data/stylesheets/compass_twitter_bootstrap/_dropdowns.scss +62 -49
- data/stylesheets/compass_twitter_bootstrap/_font-awesome.scss +267 -0
- data/stylesheets/compass_twitter_bootstrap/_forms.scss +141 -77
- data/stylesheets/compass_twitter_bootstrap/_grid.scss +2 -5
- data/stylesheets/compass_twitter_bootstrap/_hero-unit.scss +4 -2
- data/stylesheets/compass_twitter_bootstrap/_labels-badges.scss +63 -0
- data/stylesheets/compass_twitter_bootstrap/_layouts.scss +3 -3
- data/stylesheets/compass_twitter_bootstrap/_mixins.scss +275 -255
- data/stylesheets/compass_twitter_bootstrap/_modals.scss +19 -12
- data/stylesheets/compass_twitter_bootstrap/_navbar.scss +146 -81
- data/stylesheets/compass_twitter_bootstrap/_navs.scss +77 -52
- data/stylesheets/compass_twitter_bootstrap/_pager.scss +8 -2
- data/stylesheets/compass_twitter_bootstrap/_pagination.scss +6 -5
- data/stylesheets/compass_twitter_bootstrap/_popovers.scss +9 -9
- data/stylesheets/compass_twitter_bootstrap/_progress-bars.scss +41 -19
- data/stylesheets/compass_twitter_bootstrap/_reset.scss +4 -4
- data/stylesheets/compass_twitter_bootstrap/_responsive-1200px-min.scss +26 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-767px-max.scss +149 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-768px-979px.scss +17 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-navbar.scss +146 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-utilities.scss +41 -0
- data/stylesheets/compass_twitter_bootstrap/_scaffolding.scss +4 -4
- data/stylesheets/compass_twitter_bootstrap/_sprites.scss +42 -9
- data/stylesheets/compass_twitter_bootstrap/_tables.scss +60 -34
- data/stylesheets/compass_twitter_bootstrap/_thumbnails.scss +18 -6
- data/stylesheets/compass_twitter_bootstrap/_tooltip.scss +7 -7
- data/stylesheets/compass_twitter_bootstrap/_type.scss +28 -11
- data/stylesheets/compass_twitter_bootstrap/_variables.scss +107 -9
- data/stylesheets/compass_twitter_bootstrap/_wells.scss +13 -2
- data/stylesheets_sass/_compass_twitter_bootstrap.sass +2 -2
- data/stylesheets_sass/_compass_twitter_bootstrap_awesome.sass +70 -0
- data/stylesheets_sass/_compass_twitter_bootstrap_responsive.sass +13 -224
- data/stylesheets_sass/compass_twitter_bootstrap/_accordion.sass +5 -1
- data/stylesheets_sass/compass_twitter_bootstrap/_alerts.sass +3 -14
- data/stylesheets_sass/compass_twitter_bootstrap/_breadcrumbs.sass +5 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_button-groups.sass +73 -36
- data/stylesheets_sass/compass_twitter_bootstrap/_buttons.sass +39 -28
- data/stylesheets_sass/compass_twitter_bootstrap/_carousel.sass +5 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_close.sass +12 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_code.sass +10 -9
- data/stylesheets_sass/compass_twitter_bootstrap/_component-animations.sass +5 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_dropdowns.sass +57 -47
- data/stylesheets_sass/compass_twitter_bootstrap/_font-awesome.sass +515 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_forms.sass +140 -76
- data/stylesheets_sass/compass_twitter_bootstrap/_grid.sass +2 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_hero-unit.sass +4 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_labels-badges.sass +85 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_layouts.sass +3 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_mixins.sass +277 -260
- data/stylesheets_sass/compass_twitter_bootstrap/_modals.sass +19 -12
- data/stylesheets_sass/compass_twitter_bootstrap/_navbar.sass +138 -78
- data/stylesheets_sass/compass_twitter_bootstrap/_navs.sass +77 -51
- data/stylesheets_sass/compass_twitter_bootstrap/_pager.sass +8 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_pagination.sass +6 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_popovers.sass +9 -9
- data/stylesheets_sass/compass_twitter_bootstrap/_progress-bars.sass +44 -19
- data/stylesheets_sass/compass_twitter_bootstrap/_reset.sass +4 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-1200px-min.sass +17 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-767px-max.sass +115 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-768px-979px.sass +11 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-navbar.sass +115 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-utilities.sass +56 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_scaffolding.sass +4 -4
- data/stylesheets_sass/compass_twitter_bootstrap/_sprites.sass +70 -7
- data/stylesheets_sass/compass_twitter_bootstrap/_tables.sass +72 -34
- data/stylesheets_sass/compass_twitter_bootstrap/_thumbnails.sass +15 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_tooltip.sass +7 -7
- data/stylesheets_sass/compass_twitter_bootstrap/_type.sass +27 -11
- data/stylesheets_sass/compass_twitter_bootstrap/_variables.sass +105 -8
- data/stylesheets_sass/compass_twitter_bootstrap/_wells.sass +11 -2
- data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.svg +175 -0
- data/vendor/assets/fonts/fontawesome-webfont.svgz +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/bootstrap-alert.js +28 -32
- data/vendor/assets/javascripts/bootstrap-all.js +12 -0
- data/vendor/assets/javascripts/bootstrap-button.js +32 -34
- data/vendor/assets/javascripts/bootstrap-carousel.js +33 -21
- data/vendor/assets/javascripts/bootstrap-collapse.js +47 -26
- data/vendor/assets/javascripts/bootstrap-dropdown.js +18 -10
- data/vendor/assets/javascripts/bootstrap-modal.js +25 -17
- data/vendor/assets/javascripts/bootstrap-popover.js +13 -10
- data/vendor/assets/javascripts/bootstrap-scrollspy.js +44 -18
- data/vendor/assets/javascripts/bootstrap-tab.js +12 -7
- data/vendor/assets/javascripts/bootstrap-tooltip.js +40 -35
- data/vendor/assets/javascripts/bootstrap-transition.js +30 -20
- data/vendor/assets/javascripts/bootstrap-typeahead.js +29 -15
- metadata +29 -9
- data/stylesheets/compass_twitter_bootstrap/_labels.scss +0 -32
- data/stylesheets_sass/compass_twitter_bootstrap/_labels.sass +0 -42
@@ -6,7 +6,7 @@
|
|
6
6
|
margin-bottom: $baseLineHeight
|
7
7
|
list-style: none
|
8
8
|
text-align: center
|
9
|
-
+clearfix
|
9
|
+
+bootstrap-clearfix
|
10
10
|
|
11
11
|
.pager li
|
12
12
|
display: inline
|
@@ -16,7 +16,7 @@
|
|
16
16
|
padding: 5px 14px
|
17
17
|
background-color: #fff
|
18
18
|
border: 1px solid #ddd
|
19
|
-
+border-radius(15px)
|
19
|
+
+bootstrap-border-radius(15px)
|
20
20
|
|
21
21
|
.pager a:hover
|
22
22
|
text-decoration: none
|
@@ -27,3 +27,9 @@
|
|
27
27
|
|
28
28
|
.pager .previous a
|
29
29
|
float: left
|
30
|
+
|
31
|
+
.pager .disabled a,
|
32
|
+
.pager .disabled a:hover
|
33
|
+
color: $grayLight
|
34
|
+
background-color: #fff
|
35
|
+
cursor: default
|
@@ -7,11 +7,11 @@
|
|
7
7
|
|
8
8
|
.pagination ul
|
9
9
|
display: inline-block
|
10
|
-
+ie7-inline-block
|
10
|
+
+bootstrap-ie7-inline-block
|
11
11
|
margin-left: 0
|
12
12
|
margin-bottom: 0
|
13
|
-
+border-radius(3px)
|
14
|
-
+box-shadow(0 1px 2px rgba(0, 0, 0, 0.05))
|
13
|
+
+bootstrap-border-radius(3px)
|
14
|
+
+bootstrap-box-shadow(0 1px 2px rgba(0, 0, 0, 0.05))
|
15
15
|
|
16
16
|
.pagination li
|
17
17
|
display: inline
|
@@ -32,6 +32,7 @@
|
|
32
32
|
color: $grayLight
|
33
33
|
cursor: default
|
34
34
|
|
35
|
+
.pagination .disabled span,
|
35
36
|
.pagination .disabled a,
|
36
37
|
.pagination .disabled a:hover
|
37
38
|
color: $grayLight
|
@@ -40,10 +41,10 @@
|
|
40
41
|
|
41
42
|
.pagination li:first-child a
|
42
43
|
border-left-width: 1px
|
43
|
-
+border-radius(3px 0 0 3px)
|
44
|
+
+bootstrap-border-radius(3px 0 0 3px)
|
44
45
|
|
45
46
|
.pagination li:last-child a
|
46
|
-
+border-radius(0 3px 3px 0)
|
47
|
+
+bootstrap-border-radius(0 3px 3px 0)
|
47
48
|
|
48
49
|
// Centered
|
49
50
|
.pagination-centered
|
@@ -17,13 +17,13 @@
|
|
17
17
|
&.left
|
18
18
|
margin-left: -5px
|
19
19
|
&.top .arrow
|
20
|
-
+popoverArrow-top
|
20
|
+
+bootstrap-popoverArrow-top
|
21
21
|
&.right .arrow
|
22
|
-
+popoverArrow-right
|
22
|
+
+bootstrap-popoverArrow-right
|
23
23
|
&.bottom .arrow
|
24
|
-
+popoverArrow-bottom
|
24
|
+
+bootstrap-popoverArrow-bottom
|
25
25
|
&.left .arrow
|
26
|
-
+popoverArrow-left
|
26
|
+
+bootstrap-popoverArrow-left
|
27
27
|
.arrow
|
28
28
|
position: absolute
|
29
29
|
width: 0
|
@@ -36,20 +36,20 @@
|
|
36
36
|
background: $black
|
37
37
|
// has to be full background declaration for IE fallback
|
38
38
|
background: rgba(0, 0, 0, 0.8)
|
39
|
-
+border-radius(6px)
|
40
|
-
+box-shadow(0 3px 7px rgba(0, 0, 0, 0.3))
|
39
|
+
+bootstrap-border-radius(6px)
|
40
|
+
+bootstrap-box-shadow(0 3px 7px rgba(0, 0, 0, 0.3))
|
41
41
|
|
42
42
|
.popover-title
|
43
43
|
padding: 9px 15px
|
44
44
|
line-height: 1
|
45
45
|
background-color: #f5f5f5
|
46
46
|
border-bottom: 1px solid #eee
|
47
|
-
+border-radius(3px 3px 0 0)
|
47
|
+
+bootstrap-border-radius(3px 3px 0 0)
|
48
48
|
|
49
49
|
.popover-content
|
50
50
|
padding: 14px
|
51
51
|
background-color: $white
|
52
|
-
+border-radius(0 0 3px 3px)
|
53
|
-
+background-clip(padding-box)
|
52
|
+
+bootstrap-border-radius(0 0 3px 3px)
|
53
|
+
+bootstrap-background-clip(padding-box)
|
54
54
|
p, ul, ol
|
55
55
|
margin-bottom: 0
|
@@ -7,13 +7,29 @@
|
|
7
7
|
// Webkit
|
8
8
|
@-webkit-keyframes progress-bar-stripes
|
9
9
|
from
|
10
|
-
background-position: 0 0
|
11
|
-
to
|
12
10
|
background-position: 40px 0
|
11
|
+
to
|
12
|
+
background-position: 0 0
|
13
13
|
|
14
14
|
|
15
15
|
// Firefox
|
16
16
|
@-moz-keyframes progress-bar-stripes
|
17
|
+
from
|
18
|
+
background-position: 40px 0
|
19
|
+
to
|
20
|
+
background-position: 0 0
|
21
|
+
|
22
|
+
|
23
|
+
// IE9
|
24
|
+
@-ms-keyframes progress-bar-stripes
|
25
|
+
from
|
26
|
+
background-position: 40px 0
|
27
|
+
to
|
28
|
+
background-position: 0 0
|
29
|
+
|
30
|
+
|
31
|
+
// Opera
|
32
|
+
@-o-keyframes progress-bar-stripes
|
17
33
|
from
|
18
34
|
background-position: 0 0
|
19
35
|
to
|
@@ -23,9 +39,9 @@
|
|
23
39
|
// Spec
|
24
40
|
@keyframes progress-bar-stripes
|
25
41
|
from
|
26
|
-
background-position: 0 0
|
27
|
-
to
|
28
42
|
background-position: 40px 0
|
43
|
+
to
|
44
|
+
background-position: 0 0
|
29
45
|
|
30
46
|
|
31
47
|
// THE BARS
|
@@ -36,9 +52,9 @@
|
|
36
52
|
overflow: hidden
|
37
53
|
height: 18px
|
38
54
|
margin-bottom: 18px
|
39
|
-
+gradient-vertical(#f5f5f5, #f9f9f9)
|
40
|
-
+box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.1))
|
41
|
-
+border-radius(4px)
|
55
|
+
+bootstrap-gradient-vertical(#f5f5f5, #f9f9f9)
|
56
|
+
+bootstrap-box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.1))
|
57
|
+
+bootstrap-border-radius(4px)
|
42
58
|
|
43
59
|
// Bar of progress
|
44
60
|
.progress .bar
|
@@ -48,20 +64,22 @@
|
|
48
64
|
font-size: 12px
|
49
65
|
text-align: center
|
50
66
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)
|
51
|
-
+gradient-vertical(#149bdf, #0480be)
|
52
|
-
+box-shadow(inset 0 -1px 0 rgba(0, 0, 0, 0.15))
|
53
|
-
+box-sizing(border-box)
|
54
|
-
+transition(width 0.6s ease)
|
67
|
+
+bootstrap-gradient-vertical(#149bdf, #0480be)
|
68
|
+
+bootstrap-box-shadow(inset 0 -1px 0 rgba(0, 0, 0, 0.15))
|
69
|
+
+bootstrap-box-sizing(border-box)
|
70
|
+
+bootstrap-transition(width 0.6s ease)
|
55
71
|
|
56
72
|
// Striped bars
|
57
73
|
.progress-striped .bar
|
58
|
-
+gradient-striped(#
|
59
|
-
+background-size(40px 40px)
|
74
|
+
+bootstrap-gradient-striped(#149bdf)
|
75
|
+
+bootstrap-background-size(40px 40px)
|
60
76
|
|
61
77
|
// Call animation for the active one
|
62
78
|
.progress.active .bar
|
63
79
|
-webkit-animation: progress-bar-stripes 2s linear infinite
|
64
80
|
-moz-animation: progress-bar-stripes 2s linear infinite
|
81
|
+
-ms-animation: progress-bar-stripes 2s linear infinite
|
82
|
+
-o-animation: progress-bar-stripes 2s linear infinite
|
65
83
|
animation: progress-bar-stripes 2s linear infinite
|
66
84
|
|
67
85
|
// COLORS
|
@@ -69,21 +87,28 @@
|
|
69
87
|
|
70
88
|
// Danger (red)
|
71
89
|
.progress-danger .bar
|
72
|
-
+gradient-vertical(#ee5f5b, #c43c35)
|
90
|
+
+bootstrap-gradient-vertical(#ee5f5b, #c43c35)
|
73
91
|
|
74
92
|
.progress-danger.progress-striped .bar
|
75
|
-
+gradient-striped(#ee5f5b)
|
93
|
+
+bootstrap-gradient-striped(#ee5f5b)
|
76
94
|
|
77
95
|
// Success (green)
|
78
96
|
.progress-success .bar
|
79
|
-
+gradient-vertical(#62c462, #57a957)
|
97
|
+
+bootstrap-gradient-vertical(#62c462, #57a957)
|
80
98
|
|
81
99
|
.progress-success.progress-striped .bar
|
82
|
-
+gradient-striped(#62c462)
|
100
|
+
+bootstrap-gradient-striped(#62c462)
|
83
101
|
|
84
102
|
// Info (teal)
|
85
103
|
.progress-info .bar
|
86
|
-
+gradient-vertical(#5bc0de, #339bb9)
|
104
|
+
+bootstrap-gradient-vertical(#5bc0de, #339bb9)
|
87
105
|
|
88
106
|
.progress-info.progress-striped .bar
|
89
|
-
+gradient-striped(#5bc0de)
|
107
|
+
+bootstrap-gradient-striped(#5bc0de)
|
108
|
+
|
109
|
+
// Warning (orange)
|
110
|
+
.progress-warning .bar
|
111
|
+
+bootstrap-gradient-vertical(lighten($orange, 15%), $orange)
|
112
|
+
|
113
|
+
.progress-warning.progress-striped .bar
|
114
|
+
+bootstrap-gradient-striped(lighten($orange, 15%))
|
@@ -43,7 +43,7 @@ html
|
|
43
43
|
|
44
44
|
// Focus states
|
45
45
|
a:focus
|
46
|
-
+tab-focus
|
46
|
+
+bootstrap-tab-focus
|
47
47
|
|
48
48
|
// Hover & Active
|
49
49
|
|
@@ -72,7 +72,8 @@ sub
|
|
72
72
|
|
73
73
|
img
|
74
74
|
max-width: 100%
|
75
|
-
|
75
|
+
// Make images inherently responsive
|
76
|
+
vertical-align: middle
|
76
77
|
border: 0
|
77
78
|
-ms-interpolation-mode: bicubic
|
78
79
|
|
@@ -113,10 +114,10 @@ input[type="submit"]
|
|
113
114
|
|
114
115
|
input[type="search"]
|
115
116
|
// Appearance in Safari/Chrome
|
116
|
-
-webkit-appearance: textfield
|
117
117
|
-webkit-box-sizing: content-box
|
118
118
|
-moz-box-sizing: content-box
|
119
119
|
box-sizing: content-box
|
120
|
+
-webkit-appearance: textfield
|
120
121
|
|
121
122
|
input[type="search"]::-webkit-search-decoration,
|
122
123
|
input[type="search"]::-webkit-search-cancel-button
|
@@ -0,0 +1,17 @@
|
|
1
|
+
// LARGE DESKTOP & UP
|
2
|
+
// ------------------
|
3
|
+
|
4
|
+
@media (min-width: 1200px)
|
5
|
+
// Fixed grid
|
6
|
+
+bootstrap-grid-core(70px, 30px)
|
7
|
+
// Fluid grid
|
8
|
+
+bootstrap-grid-fluid(5.983%, 2.564%)
|
9
|
+
// Input grid
|
10
|
+
+bootstrap-grid-input(70px, 30px)
|
11
|
+
// Thumbnails
|
12
|
+
.thumbnails
|
13
|
+
margin-left: -30px
|
14
|
+
.thumbnails > li
|
15
|
+
margin-left: 30px
|
16
|
+
.row-fluid .thumbnails
|
17
|
+
margin-left: 0
|
@@ -0,0 +1,115 @@
|
|
1
|
+
// UP TO LANDSCAPE PHONE
|
2
|
+
// ---------------------
|
3
|
+
|
4
|
+
@media (max-width: 480px)
|
5
|
+
// Smooth out the collapsing/expanding nav
|
6
|
+
.nav-collapse
|
7
|
+
-webkit-transform: translate3d(0, 0, 0)
|
8
|
+
// activate the GPU
|
9
|
+
// Block level the page header small tag for readability
|
10
|
+
.page-header h1 small
|
11
|
+
display: block
|
12
|
+
line-height: $baseLineHeight
|
13
|
+
// Update checkboxes for iOS
|
14
|
+
input[type="checkbox"],
|
15
|
+
input[type="radio"]
|
16
|
+
border: 1px solid #ccc
|
17
|
+
// Remove the horizontal form styles
|
18
|
+
.form-horizontal .control-group > label
|
19
|
+
float: none
|
20
|
+
width: auto
|
21
|
+
padding-top: 0
|
22
|
+
text-align: left
|
23
|
+
// Move over all input controls and content
|
24
|
+
.form-horizontal .controls
|
25
|
+
margin-left: 0
|
26
|
+
// Move the options list down to align with labels
|
27
|
+
.form-horizontal .control-list
|
28
|
+
padding-top: 0
|
29
|
+
// has to be padding because margin collaspes
|
30
|
+
// Move over buttons in .form-actions to align with .controls
|
31
|
+
.form-horizontal .form-actions
|
32
|
+
padding-left: 10px
|
33
|
+
padding-right: 10px
|
34
|
+
// Modals
|
35
|
+
.modal
|
36
|
+
position: absolute
|
37
|
+
top: 10px
|
38
|
+
left: 10px
|
39
|
+
right: 10px
|
40
|
+
width: auto
|
41
|
+
margin: 0
|
42
|
+
&.fade.in
|
43
|
+
top: auto
|
44
|
+
.modal-header .close
|
45
|
+
padding: 10px
|
46
|
+
margin: -10px
|
47
|
+
// Carousel
|
48
|
+
.carousel-caption
|
49
|
+
position: static
|
50
|
+
|
51
|
+
// LANDSCAPE PHONE TO SMALL DESKTOP & PORTRAIT TABLET
|
52
|
+
// --------------------------------------------------
|
53
|
+
|
54
|
+
@media (max-width: 767px)
|
55
|
+
// Padding to set content in a bit
|
56
|
+
body
|
57
|
+
padding-left: 20px
|
58
|
+
padding-right: 20px
|
59
|
+
// Negative indent the now static "fixed" navbar
|
60
|
+
.navbar-fixed-top,
|
61
|
+
.navbar-fixed-bottom
|
62
|
+
margin-left: -20px
|
63
|
+
margin-right: -20px
|
64
|
+
// Remove padding on container given explicit padding set on body
|
65
|
+
.container-fluid
|
66
|
+
padding: 0
|
67
|
+
// TYPOGRAPHY
|
68
|
+
// ----------
|
69
|
+
// Reset horizontal dl
|
70
|
+
.dl-horizontal
|
71
|
+
dt
|
72
|
+
float: none
|
73
|
+
clear: none
|
74
|
+
width: auto
|
75
|
+
text-align: left
|
76
|
+
dd
|
77
|
+
margin-left: 0
|
78
|
+
// GRID & CONTAINERS
|
79
|
+
// -----------------
|
80
|
+
// Remove width from containers
|
81
|
+
.container
|
82
|
+
width: auto
|
83
|
+
// Fluid rows
|
84
|
+
.row-fluid
|
85
|
+
width: 100%
|
86
|
+
// Undo negative margin on rows and thumbnails
|
87
|
+
.row,
|
88
|
+
.thumbnails
|
89
|
+
margin-left: 0
|
90
|
+
// Make all grid-sized elements block level again
|
91
|
+
[class*="span"],
|
92
|
+
.row-fluid [class*="span"]
|
93
|
+
float: none
|
94
|
+
display: block
|
95
|
+
width: auto
|
96
|
+
margin-left: 0
|
97
|
+
// FORM FIELDS
|
98
|
+
// -----------
|
99
|
+
// Make span* classes full width
|
100
|
+
.input-large,
|
101
|
+
.input-xlarge,
|
102
|
+
.input-xxlarge,
|
103
|
+
input[class*="span"],
|
104
|
+
select[class*="span"],
|
105
|
+
textarea[class*="span"],
|
106
|
+
.uneditable-input
|
107
|
+
+bootstrap-input-block-level
|
108
|
+
// But don't let it screw up prepend/append inputs
|
109
|
+
.input-prepend input,
|
110
|
+
.input-append input,
|
111
|
+
.input-prepend input[class*="span"],
|
112
|
+
.input-append input[class*="span"]
|
113
|
+
display: inline-block
|
114
|
+
// redeclare so they don't wrap to new lines
|
115
|
+
width: auto
|
@@ -0,0 +1,11 @@
|
|
1
|
+
// PORTRAIT TABLET TO DEFAULT DESKTOP
|
2
|
+
// ----------------------------------
|
3
|
+
|
4
|
+
@media (min-width: 768px) and (max-width: 979px)
|
5
|
+
// Fixed grid
|
6
|
+
+bootstrap-grid-core(42px, 20px)
|
7
|
+
// Fluid grid
|
8
|
+
+bootstrap-grid-fluid(5.801%, 2.762%)
|
9
|
+
// Input grid
|
10
|
+
+bootstrap-grid-input(42px, 20px)
|
11
|
+
// No need to reset .thumbnails here since it's the same @gridGutterWidth
|
@@ -0,0 +1,115 @@
|
|
1
|
+
// TABLETS AND BELOW
|
2
|
+
// -----------------
|
3
|
+
@media (max-width: 979px)
|
4
|
+
// UNFIX THE TOPBAR
|
5
|
+
// ----------------
|
6
|
+
// Remove any padding from the body
|
7
|
+
body
|
8
|
+
padding-top: 0
|
9
|
+
// Unfix the navbar
|
10
|
+
.navbar-fixed-top
|
11
|
+
position: static
|
12
|
+
margin-bottom: $baseLineHeight
|
13
|
+
.navbar-fixed-top .navbar-inner
|
14
|
+
padding: 5px
|
15
|
+
.navbar .container
|
16
|
+
width: auto
|
17
|
+
padding: 0
|
18
|
+
// Account for brand name
|
19
|
+
.navbar .brand
|
20
|
+
padding-left: 10px
|
21
|
+
padding-right: 10px
|
22
|
+
margin: 0 0 0 -5px
|
23
|
+
// COLLAPSIBLE NAVBAR
|
24
|
+
// ------------------
|
25
|
+
// Nav collapse clears brand
|
26
|
+
.nav-collapse
|
27
|
+
clear: both
|
28
|
+
// Block-level the nav
|
29
|
+
.nav-collapse .nav
|
30
|
+
float: none
|
31
|
+
margin: 0 0 $baseLineHeight / 2
|
32
|
+
.nav-collapse .nav > li
|
33
|
+
float: none
|
34
|
+
.nav-collapse .nav > li > a
|
35
|
+
margin-bottom: 2px
|
36
|
+
.nav-collapse .nav > .divider-vertical
|
37
|
+
display: none
|
38
|
+
.nav-collapse .nav .nav-header
|
39
|
+
color: $navbarText
|
40
|
+
text-shadow: none
|
41
|
+
// Nav and dropdown links in navbar
|
42
|
+
.nav-collapse .nav > li > a,
|
43
|
+
.nav-collapse .dropdown-menu a
|
44
|
+
padding: 6px 15px
|
45
|
+
font-weight: bold
|
46
|
+
color: $navbarLinkColor
|
47
|
+
+bootstrap-border-radius(3px)
|
48
|
+
// Buttons
|
49
|
+
.nav-collapse .btn
|
50
|
+
padding: 4px 10px 4px
|
51
|
+
font-weight: normal
|
52
|
+
+bootstrap-border-radius(4px)
|
53
|
+
.nav-collapse .dropdown-menu li + li a
|
54
|
+
margin-bottom: 2px
|
55
|
+
.nav-collapse .nav > li > a:hover,
|
56
|
+
.nav-collapse .dropdown-menu a:hover
|
57
|
+
background-color: $navbarBackground
|
58
|
+
// Buttons in the navbar
|
59
|
+
.nav-collapse.in .btn-group
|
60
|
+
margin-top: 5px
|
61
|
+
padding: 0
|
62
|
+
// Dropdowns in the navbar
|
63
|
+
.nav-collapse .dropdown-menu
|
64
|
+
position: static
|
65
|
+
top: auto
|
66
|
+
left: auto
|
67
|
+
float: none
|
68
|
+
display: block
|
69
|
+
max-width: none
|
70
|
+
margin: 0 15px
|
71
|
+
padding: 0
|
72
|
+
background-color: transparent
|
73
|
+
border: none
|
74
|
+
+bootstrap-border-radius(0)
|
75
|
+
+bootstrap-box-shadow(none)
|
76
|
+
.nav-collapse .dropdown-menu:before,
|
77
|
+
.nav-collapse .dropdown-menu:after
|
78
|
+
display: none
|
79
|
+
.nav-collapse .dropdown-menu .divider
|
80
|
+
display: none
|
81
|
+
// Forms in navbar
|
82
|
+
.nav-collapse .navbar-form,
|
83
|
+
.nav-collapse .navbar-search
|
84
|
+
float: none
|
85
|
+
padding: $baseLineHeight / 2 15px
|
86
|
+
margin: $baseLineHeight / 2 0
|
87
|
+
border-top: 1px solid $navbarBackground
|
88
|
+
border-bottom: 1px solid $navbarBackground
|
89
|
+
+bootstrap-box-shadow("inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1)")
|
90
|
+
// Pull right (secondary) nav content
|
91
|
+
.navbar .nav-collapse .nav.pull-right
|
92
|
+
float: none
|
93
|
+
margin-left: 0
|
94
|
+
// Hide everything in the navbar save .brand and toggle button */
|
95
|
+
.nav-collapse,
|
96
|
+
.nav-collapse.collapse
|
97
|
+
overflow: hidden
|
98
|
+
height: 0
|
99
|
+
// Navbar button
|
100
|
+
.navbar .btn-navbar
|
101
|
+
display: block
|
102
|
+
// STATIC NAVBAR
|
103
|
+
// -------------
|
104
|
+
.navbar-static .navbar-inner
|
105
|
+
padding-left: 10px
|
106
|
+
padding-right: 10px
|
107
|
+
|
108
|
+
// DEFAULT DESKTOP
|
109
|
+
// ---------------
|
110
|
+
|
111
|
+
// Required to make the collapsing navbar work on regular desktops
|
112
|
+
@media (min-width: 980px)
|
113
|
+
.nav-collapse.collapse
|
114
|
+
height: auto !important
|
115
|
+
overflow: visible !important
|