compass_twitter_bootstrap 0.1.8 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +6 -0
- data/README.md +14 -8
- data/build/convert.rb +58 -33
- data/lib/compass_twitter_bootstrap.rb +1 -1
- data/lib/compass_twitter_bootstrap/version.rb +1 -1
- data/stylesheets/_compass_twitter_bootstrap.scss +45 -7
- data/stylesheets/_compass_twitter_bootstrap_responsive.scss +322 -0
- data/stylesheets/compass_twitter_bootstrap/_accordion.scss +28 -0
- data/stylesheets/compass_twitter_bootstrap/_alerts.scss +70 -0
- data/stylesheets/compass_twitter_bootstrap/_breadcrumbs.scss +22 -0
- data/stylesheets/compass_twitter_bootstrap/_button-groups.scss +147 -0
- data/stylesheets/compass_twitter_bootstrap/_buttons.scss +165 -0
- data/stylesheets/compass_twitter_bootstrap/_carousel.scss +121 -0
- data/stylesheets/compass_twitter_bootstrap/_close.scss +18 -0
- data/stylesheets/compass_twitter_bootstrap/_code.scss +44 -0
- data/stylesheets/compass_twitter_bootstrap/_component-animations.scss +18 -0
- data/stylesheets/compass_twitter_bootstrap/_dropdowns.scss +131 -0
- data/stylesheets/compass_twitter_bootstrap/_forms.scss +335 -299
- data/stylesheets/compass_twitter_bootstrap/_grid.scss +8 -0
- data/stylesheets/compass_twitter_bootstrap/_hero-unit.scss +20 -0
- data/stylesheets/compass_twitter_bootstrap/_labels.scss +16 -0
- data/stylesheets/compass_twitter_bootstrap/_layouts.scss +17 -0
- data/stylesheets/compass_twitter_bootstrap/_mixins.scss +409 -68
- data/stylesheets/compass_twitter_bootstrap/_modals.scss +72 -0
- data/stylesheets/compass_twitter_bootstrap/_navbar.scss +292 -0
- data/stylesheets/compass_twitter_bootstrap/_navs.scss +344 -0
- data/stylesheets/compass_twitter_bootstrap/_pager.scss +30 -0
- data/stylesheets/compass_twitter_bootstrap/_pagination.scss +55 -0
- data/stylesheets/compass_twitter_bootstrap/_popovers.scss +49 -0
- data/stylesheets/compass_twitter_bootstrap/_progress-bars.scss +95 -0
- data/stylesheets/compass_twitter_bootstrap/_reset.scss +37 -52
- data/stylesheets/compass_twitter_bootstrap/_scaffolding.scss +13 -123
- data/stylesheets/compass_twitter_bootstrap/_sprites.scss +156 -0
- data/stylesheets/compass_twitter_bootstrap/_tables.scss +75 -160
- data/stylesheets/compass_twitter_bootstrap/_thumbnails.scss +35 -0
- data/stylesheets/compass_twitter_bootstrap/_tooltip.scss +35 -0
- data/stylesheets/compass_twitter_bootstrap/_type.scss +100 -70
- data/stylesheets/compass_twitter_bootstrap/_utilities.scss +23 -0
- data/stylesheets/compass_twitter_bootstrap/_variables.scss +94 -55
- data/stylesheets/compass_twitter_bootstrap/_wells.scss +17 -0
- data/stylesheets_sass/_compass_twitter_bootstrap.sass +49 -6
- data/stylesheets_sass/_compass_twitter_bootstrap_responsive.sass +252 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_accordion.sass +24 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_alerts.sass +65 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_breadcrumbs.sass +18 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_button-groups.sass +129 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_buttons.sass +150 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_carousel.sass +95 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_close.sass +16 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_code.sass +41 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_component-animations.sass +16 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_dropdowns.sass +121 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_forms.sass +327 -306
- data/stylesheets_sass/compass_twitter_bootstrap/_grid.sass +8 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_hero-unit.sass +17 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_labels.sass +23 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_layouts.sass +14 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_mixins.sass +425 -57
- data/stylesheets_sass/compass_twitter_bootstrap/_modals.sass +75 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_navbar.sass +258 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_navs.sass +316 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_pager.sass +29 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_pagination.sass +53 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_popovers.sass +55 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_progress-bars.sass +89 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_reset.sass +33 -67
- data/stylesheets_sass/compass_twitter_bootstrap/_scaffolding.sass +13 -175
- data/stylesheets_sass/compass_twitter_bootstrap/_sprites.sass +392 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_tables.sass +67 -139
- data/stylesheets_sass/compass_twitter_bootstrap/_thumbnails.sass +34 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_tooltip.sass +43 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_type.sass +95 -65
- data/stylesheets_sass/compass_twitter_bootstrap/_utilities.sass +20 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_variables.sass +67 -45
- data/stylesheets_sass/compass_twitter_bootstrap/_wells.sass +15 -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 +91 -0
- data/vendor/assets/javascripts/bootstrap-button.js +98 -0
- data/vendor/assets/javascripts/bootstrap-carousel.js +154 -0
- data/vendor/assets/javascripts/bootstrap-collapse.js +136 -0
- data/vendor/assets/javascripts/bootstrap-dropdown.js +58 -21
- data/vendor/assets/javascripts/bootstrap-modal.js +63 -114
- data/vendor/assets/javascripts/bootstrap-popover.js +38 -33
- data/vendor/assets/javascripts/bootstrap-scrollspy.js +62 -44
- data/vendor/assets/javascripts/bootstrap-tab.js +130 -0
- data/vendor/assets/javascripts/bootstrap-tooltip.js +270 -0
- data/vendor/assets/javascripts/bootstrap-transition.js +51 -0
- data/vendor/assets/javascripts/bootstrap-typeahead.js +271 -0
- metadata +69 -17
- data/stylesheets/compass_twitter_bootstrap/_patterns.scss +0 -1058
- data/stylesheets_sass/compass_twitter_bootstrap/_patterns.sass +0 -923
- data/vendor/assets/javascripts/bootstrap-alerts.js +0 -124
- data/vendor/assets/javascripts/bootstrap-buttons.js +0 -64
- data/vendor/assets/javascripts/bootstrap-tabs.js +0 -80
- data/vendor/assets/javascripts/bootstrap-twipsy.js +0 -321
@@ -0,0 +1,29 @@
|
|
1
|
+
// PAGER
|
2
|
+
// -----
|
3
|
+
|
4
|
+
.pager
|
5
|
+
margin-left: 0
|
6
|
+
margin-bottom: $baseLineHeight
|
7
|
+
list-style: none
|
8
|
+
text-align: center
|
9
|
+
+clearfix
|
10
|
+
|
11
|
+
.pager li
|
12
|
+
display: inline
|
13
|
+
|
14
|
+
.pager a
|
15
|
+
display: inline-block
|
16
|
+
padding: 5px 14px
|
17
|
+
background-color: #fff
|
18
|
+
border: 1px solid #ddd
|
19
|
+
+border-radius(15px)
|
20
|
+
|
21
|
+
.pager a:hover
|
22
|
+
text-decoration: none
|
23
|
+
background-color: #f5f5f5
|
24
|
+
|
25
|
+
.pager .next a
|
26
|
+
float: right
|
27
|
+
|
28
|
+
.pager .previous a
|
29
|
+
float: left
|
@@ -0,0 +1,53 @@
|
|
1
|
+
// PAGINATION
|
2
|
+
// ----------
|
3
|
+
|
4
|
+
.pagination
|
5
|
+
height: $baseLineHeight * 2
|
6
|
+
margin: $baseLineHeight 0
|
7
|
+
|
8
|
+
.pagination ul
|
9
|
+
display: inline-block
|
10
|
+
+ie7-inline-block
|
11
|
+
margin-left: 0
|
12
|
+
margin-bottom: 0
|
13
|
+
+border-radius(3px)
|
14
|
+
+box-shadow(0 1px 2px rgba(0, 0, 0, 0.05))
|
15
|
+
|
16
|
+
.pagination li
|
17
|
+
display: inline
|
18
|
+
|
19
|
+
.pagination a
|
20
|
+
float: left
|
21
|
+
padding: 0 14px
|
22
|
+
line-height: $baseLineHeight * 2 - 2
|
23
|
+
text-decoration: none
|
24
|
+
border: 1px solid #ddd
|
25
|
+
border-left-width: 0
|
26
|
+
|
27
|
+
.pagination a:hover,
|
28
|
+
.pagination .active a
|
29
|
+
background-color: #f5f5f5
|
30
|
+
|
31
|
+
.pagination .active a
|
32
|
+
color: $grayLight
|
33
|
+
cursor: default
|
34
|
+
|
35
|
+
.pagination .disabled a,
|
36
|
+
.pagination .disabled a:hover
|
37
|
+
color: $grayLight
|
38
|
+
background-color: transparent
|
39
|
+
cursor: default
|
40
|
+
|
41
|
+
.pagination li:first-child a
|
42
|
+
border-left-width: 1px
|
43
|
+
+border-radius(3px 0 0 3px)
|
44
|
+
|
45
|
+
.pagination li:last-child a
|
46
|
+
+border-radius(0 3px 3px 0)
|
47
|
+
|
48
|
+
// Centered
|
49
|
+
.pagination-centered
|
50
|
+
text-align: center
|
51
|
+
|
52
|
+
.pagination-right
|
53
|
+
text-align: right
|
@@ -0,0 +1,55 @@
|
|
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
|
12
|
+
margin-top: -5px
|
13
|
+
&.right
|
14
|
+
margin-left: 5px
|
15
|
+
&.bottom
|
16
|
+
margin-top: 5px
|
17
|
+
&.left
|
18
|
+
margin-left: -5px
|
19
|
+
&.top .arrow
|
20
|
+
+popoverArrow-top
|
21
|
+
&.right .arrow
|
22
|
+
+popoverArrow-right
|
23
|
+
&.bottom .arrow
|
24
|
+
+popoverArrow-bottom
|
25
|
+
&.left .arrow
|
26
|
+
+popoverArrow-left
|
27
|
+
.arrow
|
28
|
+
position: absolute
|
29
|
+
width: 0
|
30
|
+
height: 0
|
31
|
+
|
32
|
+
.popover-inner
|
33
|
+
padding: 3px
|
34
|
+
width: 280px
|
35
|
+
overflow: hidden
|
36
|
+
background: $black
|
37
|
+
// has to be full background declaration for IE fallback
|
38
|
+
background: rgba(0, 0, 0, 0.8)
|
39
|
+
+border-radius(6px)
|
40
|
+
+box-shadow(0 3px 7px rgba(0, 0, 0, 0.3))
|
41
|
+
|
42
|
+
.popover-title
|
43
|
+
padding: 9px 15px
|
44
|
+
line-height: 1
|
45
|
+
background-color: #f5f5f5
|
46
|
+
border-bottom: 1px solid #eee
|
47
|
+
+border-radius(3px 3px 0 0)
|
48
|
+
|
49
|
+
.popover-content
|
50
|
+
padding: 14px
|
51
|
+
background-color: $white
|
52
|
+
+border-radius(0 0 3px 3px)
|
53
|
+
+background-clip(padding-box)
|
54
|
+
p, ul, ol
|
55
|
+
margin-bottom: 0
|
@@ -0,0 +1,89 @@
|
|
1
|
+
// PROGRESS BARS
|
2
|
+
// -------------
|
3
|
+
|
4
|
+
// ANIMATIONS
|
5
|
+
// ----------
|
6
|
+
|
7
|
+
// Webkit
|
8
|
+
@-webkit-keyframes progress-bar-stripes
|
9
|
+
from
|
10
|
+
background-position: 0 0
|
11
|
+
to
|
12
|
+
background-position: 40px 0
|
13
|
+
|
14
|
+
|
15
|
+
// Firefox
|
16
|
+
@-moz-keyframes progress-bar-stripes
|
17
|
+
from
|
18
|
+
background-position: 0 0
|
19
|
+
to
|
20
|
+
background-position: 40px 0
|
21
|
+
|
22
|
+
|
23
|
+
// Spec
|
24
|
+
@keyframes progress-bar-stripes
|
25
|
+
from
|
26
|
+
background-position: 0 0
|
27
|
+
to
|
28
|
+
background-position: 40px 0
|
29
|
+
|
30
|
+
|
31
|
+
// THE BARS
|
32
|
+
// --------
|
33
|
+
|
34
|
+
// Outer container
|
35
|
+
.progress
|
36
|
+
overflow: hidden
|
37
|
+
height: 18px
|
38
|
+
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)
|
42
|
+
|
43
|
+
// Bar of progress
|
44
|
+
.progress .bar
|
45
|
+
width: 0%
|
46
|
+
height: 18px
|
47
|
+
color: $white
|
48
|
+
font-size: 12px
|
49
|
+
text-align: center
|
50
|
+
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)
|
55
|
+
|
56
|
+
// Striped bars
|
57
|
+
.progress-striped .bar
|
58
|
+
+gradient-striped(#62c462)
|
59
|
+
+background-size(40px 40px)
|
60
|
+
|
61
|
+
// Call animation for the active one
|
62
|
+
.progress.active .bar
|
63
|
+
-webkit-animation: progress-bar-stripes 2s linear infinite
|
64
|
+
-moz-animation: progress-bar-stripes 2s linear infinite
|
65
|
+
animation: progress-bar-stripes 2s linear infinite
|
66
|
+
|
67
|
+
// COLORS
|
68
|
+
// ------
|
69
|
+
|
70
|
+
// Danger (red)
|
71
|
+
.progress-danger .bar
|
72
|
+
+gradient-vertical(#ee5f5b, #c43c35)
|
73
|
+
|
74
|
+
.progress-danger.progress-striped .bar
|
75
|
+
+gradient-striped(#ee5f5b)
|
76
|
+
|
77
|
+
// Success (green)
|
78
|
+
.progress-success .bar
|
79
|
+
+gradient-vertical(#62c462, #57a957)
|
80
|
+
|
81
|
+
.progress-success.progress-striped .bar
|
82
|
+
+gradient-striped(#62c462)
|
83
|
+
|
84
|
+
// Info (teal)
|
85
|
+
.progress-info .bar
|
86
|
+
+gradient-vertical(#5bc0de, #339bb9)
|
87
|
+
|
88
|
+
.progress-info.progress-striped .bar
|
89
|
+
+gradient-striped(#5bc0de)
|
@@ -1,60 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
// ERIC MEYER RESET
|
6
|
-
// --------------------------------------------------
|
7
|
-
|
8
|
-
html, body
|
9
|
-
margin: 0
|
10
|
-
padding: 0
|
11
|
-
|
12
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, cite, code, del, dfn, em, img, q, s, samp, small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, button, table, caption, tbody, tfoot, thead, tr, th, td
|
13
|
-
margin: 0
|
14
|
-
padding: 0
|
15
|
-
border: 0
|
16
|
-
font-weight: normal
|
17
|
-
font-style: normal
|
18
|
-
font-size: 100%
|
19
|
-
line-height: 1
|
20
|
-
font-family: inherit
|
21
|
-
|
22
|
-
table
|
23
|
-
border-collapse: collapse
|
24
|
-
border-spacing: 0
|
25
|
-
|
26
|
-
ol, ul
|
27
|
-
list-style: none
|
28
|
-
|
29
|
-
q:before, q:after, blockquote:before, blockquote:after
|
30
|
-
content: ""
|
31
|
-
|
32
|
-
// Normalize.css
|
33
|
-
// Pulling in select resets form the normalize.css project
|
34
|
-
// --------------------------------------------------
|
35
|
-
|
36
|
-
// Display in IE6-9 and FF3
|
37
|
-
// -------------------------
|
38
|
-
// Source: http://github.com/necolas/normalize.css
|
39
|
-
html
|
40
|
-
overflow-y: scroll
|
41
|
-
font-size: 100%
|
42
|
-
-webkit-text-size-adjust: 100%
|
43
|
-
-ms-text-size-adjust: 100%
|
44
|
-
|
45
|
-
// Focus states
|
46
|
-
a:focus
|
47
|
-
outline: thin dotted
|
48
|
-
|
49
|
-
// Hover & Active
|
50
|
-
|
51
|
-
a:hover,
|
52
|
-
a:active
|
53
|
-
outline: 0
|
1
|
+
// Reset.less
|
2
|
+
// Adapted from Normalize.css http://github.com/necolas/normalize.css
|
3
|
+
// ------------------------------------------------------------------------
|
54
4
|
|
55
5
|
// Display in IE6-9 and FF3
|
56
6
|
// -------------------------
|
57
|
-
// Source: http://github.com/necolas/normalize.css
|
58
7
|
|
59
8
|
article,
|
60
9
|
aside,
|
@@ -70,7 +19,6 @@ section
|
|
70
19
|
|
71
20
|
// Display block in IE6-9 and FF3
|
72
21
|
// -------------------------
|
73
|
-
// Source: http://github.com/necolas/normalize.css
|
74
22
|
|
75
23
|
audio,
|
76
24
|
canvas,
|
@@ -81,19 +29,36 @@ video
|
|
81
29
|
|
82
30
|
// Prevents modern browsers from displaying 'audio' without controls
|
83
31
|
// -------------------------
|
84
|
-
|
32
|
+
|
85
33
|
audio:not([controls])
|
86
34
|
display: none
|
87
35
|
|
36
|
+
// Base settings
|
37
|
+
// -------------------------
|
38
|
+
|
39
|
+
html
|
40
|
+
font-size: 100%
|
41
|
+
-webkit-text-size-adjust: 100%
|
42
|
+
-ms-text-size-adjust: 100%
|
43
|
+
|
44
|
+
// Focus states
|
45
|
+
a:focus
|
46
|
+
+tab-focus
|
47
|
+
|
48
|
+
// Hover & Active
|
49
|
+
|
50
|
+
a:hover,
|
51
|
+
a:active
|
52
|
+
outline: 0
|
53
|
+
|
88
54
|
// Prevents sub and sup affecting line-height in all browsers
|
89
55
|
// -------------------------
|
90
|
-
// Source: http://github.com/necolas/normalize.css
|
91
56
|
|
92
57
|
sub,
|
93
58
|
sup
|
59
|
+
position: relative
|
94
60
|
font-size: 75%
|
95
61
|
line-height: 0
|
96
|
-
position: relative
|
97
62
|
vertical-align: baseline
|
98
63
|
|
99
64
|
sup
|
@@ -104,14 +69,15 @@ sub
|
|
104
69
|
|
105
70
|
// Img border in a's and image quality
|
106
71
|
// -------------------------
|
107
|
-
|
72
|
+
|
108
73
|
img
|
74
|
+
max-width: 100%
|
75
|
+
height: auto
|
109
76
|
border: 0
|
110
77
|
-ms-interpolation-mode: bicubic
|
111
78
|
|
112
79
|
// Forms
|
113
80
|
// -------------------------
|
114
|
-
// Source: http://github.com/necolas/normalize.css
|
115
81
|
|
116
82
|
// Font size in all browsers, margin changes, misc consistency
|
117
83
|
|
@@ -119,23 +85,22 @@ button,
|
|
119
85
|
input,
|
120
86
|
select,
|
121
87
|
textarea
|
122
|
-
font-size: 100%
|
123
88
|
margin: 0
|
124
|
-
|
125
|
-
|
89
|
+
font-size: 100%
|
90
|
+
vertical-align: middle
|
126
91
|
|
127
92
|
button,
|
128
93
|
input
|
129
|
-
line-height: normal
|
130
|
-
// FF3/4 have !important on line-height in UA stylesheet
|
131
94
|
*overflow: visible
|
132
95
|
// Inner spacing ie IE6/7
|
96
|
+
line-height: normal
|
97
|
+
// FF3/4 have !important on line-height in UA stylesheet
|
133
98
|
|
134
99
|
button::-moz-focus-inner,
|
135
100
|
input::-moz-focus-inner
|
136
101
|
// Inner padding and border oddities in FF3/4
|
137
|
-
border: 0
|
138
102
|
padding: 0
|
103
|
+
border: 0
|
139
104
|
|
140
105
|
button,
|
141
106
|
input[type="button"],
|
@@ -153,7 +118,8 @@ input[type="search"]
|
|
153
118
|
-moz-box-sizing: content-box
|
154
119
|
box-sizing: content-box
|
155
120
|
|
156
|
-
input[type="search"]::-webkit-search-decoration
|
121
|
+
input[type="search"]::-webkit-search-decoration,
|
122
|
+
input[type="search"]::-webkit-search-cancel-button
|
157
123
|
-webkit-appearance: none
|
158
124
|
// Inner-padding issues in Chrome OSX, Safari 5
|
159
125
|
|
@@ -1,187 +1,25 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
* -------------------------------------------------------------------------------------------
|
1
|
+
// Scaffolding
|
2
|
+
// Basic and global styles for generating a grid system, structural layout, and page templates
|
3
|
+
// -------------------------------------------------------------------------------------------
|
5
4
|
|
6
5
|
// STRUCTURAL LAYOUT
|
7
6
|
// -----------------
|
8
7
|
|
9
8
|
body
|
10
|
-
background-color: $white
|
11
9
|
margin: 0
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
+fixed-container
|
18
|
-
|
19
|
-
// Fluid layouts (left aligned, with sidebar, min- & max-width content)
|
20
|
-
.container-fluid
|
21
|
-
position: relative
|
22
|
-
min-width: 940px
|
23
|
-
padding-left: 20px
|
24
|
-
padding-right: 20px
|
25
|
-
+clearfix
|
26
|
-
> .sidebar
|
27
|
-
position: absolute
|
28
|
-
top: 0
|
29
|
-
left: 20px
|
30
|
-
width: 220px
|
31
|
-
// TODO in v2: rename this and .popover .content to be more specific
|
32
|
-
> .content
|
33
|
-
margin-left: 240px
|
10
|
+
font-family: $baseFontFamily
|
11
|
+
font-size: $baseFontSize
|
12
|
+
line-height: $baseLineHeight
|
13
|
+
color: $textColor
|
14
|
+
background-color: $white
|
34
15
|
|
35
|
-
//
|
36
|
-
//
|
16
|
+
// LINKS
|
17
|
+
// -----
|
37
18
|
|
38
|
-
// Links
|
39
19
|
a
|
40
20
|
color: $linkColor
|
41
21
|
text-decoration: none
|
42
|
-
line-height: inherit
|
43
|
-
font-weight: inherit
|
44
|
-
&:hover
|
45
|
-
color: $linkColorHover
|
46
|
-
text-decoration: underline
|
47
|
-
|
48
|
-
// Quick floats
|
49
|
-
.pull-right
|
50
|
-
float: right
|
51
|
-
|
52
|
-
.pull-left
|
53
|
-
float: left
|
54
|
-
|
55
|
-
// Toggling content
|
56
|
-
.hide
|
57
|
-
display: none
|
58
|
-
|
59
|
-
.show
|
60
|
-
display: block
|
61
|
-
|
62
|
-
// GRID SYSTEM
|
63
|
-
// -----------
|
64
|
-
// To customize the grid system, bring up the variables.less file and change the column count, size, and gutter there
|
65
|
-
|
66
|
-
.row
|
67
|
-
+clearfix
|
68
|
-
margin-left: -$gridGutterWidth
|
69
|
-
|
70
|
-
// Find all .span# classes within .row and give them the necessary properties for grid columns (supported by all browsers back to IE7)
|
71
|
-
// Credit to $dhg for the idea
|
72
|
-
.row > [class*="span"]
|
73
|
-
+gridColumn
|
74
|
-
|
75
|
-
// Default columns
|
76
|
-
.span1
|
77
|
-
+columns(1)
|
78
|
-
|
79
|
-
.span2
|
80
|
-
+columns(2)
|
81
|
-
|
82
|
-
.span3
|
83
|
-
+columns(3)
|
84
|
-
|
85
|
-
.span4
|
86
|
-
+columns(4)
|
87
|
-
|
88
|
-
.span5
|
89
|
-
+columns(5)
|
90
|
-
|
91
|
-
.span6
|
92
|
-
+columns(6)
|
93
|
-
|
94
|
-
.span7
|
95
|
-
+columns(7)
|
96
|
-
|
97
|
-
.span8
|
98
|
-
+columns(8)
|
99
|
-
|
100
|
-
.span9
|
101
|
-
+columns(9)
|
102
|
-
|
103
|
-
.span10
|
104
|
-
+columns(10)
|
105
|
-
|
106
|
-
.span11
|
107
|
-
+columns(11)
|
108
|
-
|
109
|
-
.span12
|
110
|
-
+columns(12)
|
111
|
-
|
112
|
-
.span13
|
113
|
-
+columns(13)
|
114
|
-
|
115
|
-
.span14
|
116
|
-
+columns(14)
|
117
|
-
|
118
|
-
.span15
|
119
|
-
+columns(15)
|
120
|
-
|
121
|
-
.span16
|
122
|
-
+columns(16)
|
123
|
-
|
124
|
-
// For optional 24-column grid
|
125
|
-
.span17
|
126
|
-
+columns(17)
|
127
|
-
|
128
|
-
.span18
|
129
|
-
+columns(18)
|
130
|
-
|
131
|
-
.span19
|
132
|
-
+columns(19)
|
133
|
-
|
134
|
-
.span20
|
135
|
-
+columns(20)
|
136
|
-
|
137
|
-
.span21
|
138
|
-
+columns(21)
|
139
|
-
|
140
|
-
.span22
|
141
|
-
+columns(22)
|
142
|
-
|
143
|
-
.span23
|
144
|
-
+columns(23)
|
145
|
-
|
146
|
-
.span24
|
147
|
-
+columns(24)
|
148
|
-
|
149
|
-
// Offset column options
|
150
|
-
.row
|
151
|
-
> .offset1
|
152
|
-
+offset(1)
|
153
|
-
> .offset2
|
154
|
-
+offset(2)
|
155
|
-
> .offset3
|
156
|
-
+offset(3)
|
157
|
-
> .offset4
|
158
|
-
+offset(4)
|
159
|
-
> .offset5
|
160
|
-
+offset(5)
|
161
|
-
> .offset6
|
162
|
-
+offset(6)
|
163
|
-
> .offset7
|
164
|
-
+offset(7)
|
165
|
-
> .offset8
|
166
|
-
+offset(8)
|
167
|
-
> .offset9
|
168
|
-
+offset(9)
|
169
|
-
> .offset10
|
170
|
-
+offset(10)
|
171
|
-
> .offset11
|
172
|
-
+offset(11)
|
173
|
-
> .offset12
|
174
|
-
+offset(12)
|
175
|
-
|
176
|
-
// Unique column sizes for 16-column grid
|
177
|
-
.span-one-third
|
178
|
-
width: 300px
|
179
|
-
|
180
|
-
.span-two-thirds
|
181
|
-
width: 620px
|
182
22
|
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
> .offset-two-thirds
|
187
|
-
margin-left: 660px
|
23
|
+
a:hover
|
24
|
+
color: $linkColorHover
|
25
|
+
text-decoration: underline
|