webgen-sass_twitter_bootstrap-bundle 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +15 -0
  2. data/ChangeLog +3 -0
  3. data/LICENSE +20 -0
  4. data/README.md +61 -0
  5. data/VERSION +1 -0
  6. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_accordion.scss +34 -0
  7. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_alerts.scss +65 -0
  8. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_breadcrumbs.scss +24 -0
  9. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_button-groups.scss +242 -0
  10. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_buttons.scss +232 -0
  11. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_carousel.scss +131 -0
  12. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_close.scss +31 -0
  13. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_code.scss +58 -0
  14. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_component-animations.scss +22 -0
  15. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_dropdowns.scss +237 -0
  16. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_forms.scss +682 -0
  17. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_grid.scss +21 -0
  18. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_hero-unit.scss +25 -0
  19. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_labels-badges.scss +71 -0
  20. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_layouts.scss +16 -0
  21. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_media.scss +55 -0
  22. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_mixins.scss +684 -0
  23. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_modals.scss +95 -0
  24. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_navbar.scss +472 -0
  25. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_navs.scss +385 -0
  26. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_pager.scss +41 -0
  27. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_pagination.scss +121 -0
  28. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_popovers.scss +117 -0
  29. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_progress-bars.scss +122 -0
  30. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_reset.scss +138 -0
  31. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_responsive-1200px-min.scss +28 -0
  32. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_responsive-767px-max.scss +193 -0
  33. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_responsive-768px-979px.scss +19 -0
  34. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_responsive-navbar.scss +185 -0
  35. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_responsive-utilities.scss +58 -0
  36. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_scaffolding.scss +52 -0
  37. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_sprites.scss +195 -0
  38. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_tables.scss +227 -0
  39. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_thumbnails.scss +52 -0
  40. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_tooltip.scss +70 -0
  41. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_type.scss +227 -0
  42. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_utilities.scss +45 -0
  43. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_variables.scss +301 -0
  44. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/_wells.scss +29 -0
  45. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/bootstrap.scss +63 -0
  46. data/lib/webgen/bundle/sass_twitter_bootstrap/data/css/bootstrap/responsive.scss +48 -0
  47. data/lib/webgen/bundle/sass_twitter_bootstrap/data/img/glyphicons-halflings-white.png +0 -0
  48. data/lib/webgen/bundle/sass_twitter_bootstrap/data/img/glyphicons-halflings.png +0 -0
  49. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-affix.js +106 -0
  50. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-alert.js +88 -0
  51. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-button.js +94 -0
  52. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-carousel.js +176 -0
  53. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-collapse.js +156 -0
  54. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-dropdown.js +148 -0
  55. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-modal.js +234 -0
  56. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-popover.js +103 -0
  57. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-scrollspy.js +151 -0
  58. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-tab.js +133 -0
  59. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-tooltip.js +276 -0
  60. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-transition.js +60 -0
  61. data/lib/webgen/bundle/sass_twitter_bootstrap/data/js/bootstrap-typeahead.js +310 -0
  62. data/lib/webgen/bundle/sass_twitter_bootstrap/info.yaml +9 -0
  63. data/lib/webgen/bundle/sass_twitter_bootstrap/init.rb +3 -0
  64. metadata +126 -0
@@ -0,0 +1,232 @@
1
+ //
2
+ // Buttons
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base styles
7
+ // --------------------------------------------------
8
+
9
+ // Core
10
+ .btn {
11
+ display: inline-block;
12
+ @include ie7-inline-block();
13
+ padding: 4px 12px;
14
+ margin-bottom: 0; // For input.btn
15
+ font-size: $baseFontSize;
16
+ line-height: $baseLineHeight;
17
+ *line-height: $baseLineHeight;
18
+ text-align: center;
19
+ vertical-align: middle;
20
+ cursor: pointer;
21
+ @include buttonBackground($btnBackground, $btnBackgroundHighlight, $grayDark, 0 1px 1px rgba(255,255,255,.75));
22
+ border: 1px solid $btnBorder;
23
+ *border: 0; // Remove the border to prevent IE7's black border on input:focus
24
+ border-bottom-color: darken($btnBorder, 10%);
25
+ @include border-radius($baseBorderRadius);
26
+ @include ie7-restore-left-whitespace(); // Give IE7 some love
27
+ @include box-shadow(inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05));
28
+
29
+ // Hover state
30
+ &:hover {
31
+ color: $grayDark;
32
+ text-decoration: none;
33
+ background-color: darken($white, 10%);
34
+ *background-color: darken($white, 15%); /* Buttons in IE7 don't get borders, so darken on hover */
35
+ background-position: 0 -15px;
36
+
37
+ // transition is only when going to hover, otherwise the background
38
+ // behind the gradient (there for IE<=9 fallback) gets mismatched
39
+ @include transition(background-position .1s linear);
40
+ }
41
+
42
+ // Focus state for keyboard and accessibility
43
+ &:focus {
44
+ @include tab-focus();
45
+ }
46
+
47
+ // Active state
48
+ &.active,
49
+ &:active {
50
+ background-color: darken($white, 10%);
51
+ background-color: darken($white, 15%) \9;
52
+ background-image: none;
53
+ outline: 0;
54
+ @include box-shadow(inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05));
55
+ }
56
+
57
+ // Disabled state
58
+ &.disabled,
59
+ &[disabled] {
60
+ cursor: default;
61
+ background-color: darken($white, 10%);
62
+ background-image: none;
63
+ @include opacity(65);
64
+ @include box-shadow(none);
65
+ }
66
+
67
+ }
68
+
69
+
70
+
71
+ // Button Sizes
72
+ // --------------------------------------------------
73
+
74
+ // Large
75
+ .btn-large {
76
+ padding: $paddingLarge;
77
+ font-size: $fontSizeLarge;
78
+ @include border-radius($borderRadiusLarge);
79
+ }
80
+ .btn-large [class^="icon-"],
81
+ .btn-large [class*=" icon-"] {
82
+ margin-top: 2px;
83
+ }
84
+
85
+ // Small
86
+ .btn-small {
87
+ padding: $paddingSmall;
88
+ font-size: $fontSizeSmall;
89
+ @include border-radius($borderRadiusSmall);
90
+ }
91
+ .btn-small [class^="icon-"],
92
+ .btn-small [class*=" icon-"] {
93
+ margin-top: 0;
94
+ }
95
+
96
+ // Mini
97
+ .btn-mini {
98
+ padding: $paddingMini;
99
+ font-size: $fontSizeMini;
100
+ @include border-radius($borderRadiusSmall);
101
+ }
102
+
103
+
104
+ // Block button
105
+ // -------------------------
106
+
107
+ .btn-block {
108
+ display: block;
109
+ width: 100%;
110
+ padding-left: 0;
111
+ padding-right: 0;
112
+ @include box-sizing(border-box);
113
+ }
114
+
115
+ // Vertically space out multiple block buttons
116
+ .btn-block + .btn-block {
117
+ margin-top: 5px;
118
+ }
119
+
120
+ // Specificity overrides
121
+ input[type="submit"],
122
+ input[type="reset"],
123
+ input[type="button"] {
124
+ &.btn-block {
125
+ width: 100%;
126
+ }
127
+ }
128
+
129
+
130
+
131
+ // Alternate buttons
132
+ // --------------------------------------------------
133
+
134
+ // Provide *some* extra contrast for those who can get it
135
+ .btn-primary.active,
136
+ .btn-warning.active,
137
+ .btn-danger.active,
138
+ .btn-success.active,
139
+ .btn-info.active,
140
+ .btn-inverse.active {
141
+ color: rgba(255,255,255,.75);
142
+ }
143
+
144
+ // Set the backgrounds
145
+ // -------------------------
146
+ .btn {
147
+ // reset here as of 2.0.3 due to Recess property order
148
+ border-color: #c5c5c5;
149
+ border-color: rgba(0,0,0,.15) rgba(0,0,0,.15) rgba(0,0,0,.25);
150
+ }
151
+ .btn-primary {
152
+ @include buttonBackground($btnPrimaryBackground, $btnPrimaryBackgroundHighlight);
153
+ }
154
+ // Warning appears are orange
155
+ .btn-warning {
156
+ @include buttonBackground($btnWarningBackground, $btnWarningBackgroundHighlight);
157
+ }
158
+ // Danger and error appear as red
159
+ .btn-danger {
160
+ @include buttonBackground($btnDangerBackground, $btnDangerBackgroundHighlight);
161
+ }
162
+ // Success appears as green
163
+ .btn-success {
164
+ @include buttonBackground($btnSuccessBackground, $btnSuccessBackgroundHighlight);
165
+ }
166
+ // Info appears as a neutral blue
167
+ .btn-info {
168
+ @include buttonBackground($btnInfoBackground, $btnInfoBackgroundHighlight);
169
+ }
170
+ // Inverse appears as dark gray
171
+ .btn-inverse {
172
+ @include buttonBackground($btnInverseBackground, $btnInverseBackgroundHighlight);
173
+ }
174
+
175
+
176
+ // Cross-browser Jank
177
+ // --------------------------------------------------
178
+
179
+ button.btn,
180
+ input[type="submit"].btn {
181
+
182
+ // Firefox 3.6 only I believe
183
+ &::-moz-focus-inner {
184
+ padding: 0;
185
+ border: 0;
186
+ }
187
+
188
+ // IE7 has some default padding on button controls
189
+ *padding-top: 3px;
190
+ *padding-bottom: 3px;
191
+
192
+ &.btn-large {
193
+ *padding-top: 7px;
194
+ *padding-bottom: 7px;
195
+ }
196
+ &.btn-small {
197
+ *padding-top: 3px;
198
+ *padding-bottom: 3px;
199
+ }
200
+ &.btn-mini {
201
+ *padding-top: 1px;
202
+ *padding-bottom: 1px;
203
+ }
204
+ }
205
+
206
+
207
+ // Link buttons
208
+ // --------------------------------------------------
209
+
210
+ // Make a button look and behave like a link
211
+ .btn-link,
212
+ .btn-link:active,
213
+ .btn-link[disabled] {
214
+ background-color: transparent;
215
+ background-image: none;
216
+ @include box-shadow(none);
217
+ }
218
+ .btn-link {
219
+ border-color: transparent;
220
+ cursor: pointer;
221
+ color: $linkColor;
222
+ @include border-radius(0);
223
+ }
224
+ .btn-link:hover {
225
+ color: $linkColorHover;
226
+ text-decoration: underline;
227
+ background-color: transparent;
228
+ }
229
+ .btn-link[disabled]:hover {
230
+ color: $grayDark;
231
+ text-decoration: none;
232
+ }
@@ -0,0 +1,131 @@
1
+ //
2
+ // Carousel
3
+ // --------------------------------------------------
4
+
5
+
6
+ .carousel {
7
+ position: relative;
8
+ margin-bottom: $baseLineHeight;
9
+ line-height: 1;
10
+ }
11
+
12
+ .carousel-inner {
13
+ overflow: hidden;
14
+ width: 100%;
15
+ position: relative;
16
+ }
17
+
18
+ .carousel {
19
+
20
+ .item {
21
+ display: none;
22
+ position: relative;
23
+ @include transition(.6s ease-in-out left);
24
+ }
25
+
26
+ // Account for jankitude on images
27
+ .item > img {
28
+ display: block;
29
+ line-height: 1;
30
+ }
31
+
32
+ .active,
33
+ .next,
34
+ .prev { display: block; }
35
+
36
+ .active {
37
+ left: 0;
38
+ }
39
+
40
+ .next,
41
+ .prev {
42
+ position: absolute;
43
+ top: 0;
44
+ width: 100%;
45
+ }
46
+
47
+ .next {
48
+ left: 100%;
49
+ }
50
+ .prev {
51
+ left: -100%;
52
+ }
53
+ .next.left,
54
+ .prev.right {
55
+ left: 0;
56
+ }
57
+
58
+ .active.left {
59
+ left: -100%;
60
+ }
61
+ .active.right {
62
+ left: 100%;
63
+ }
64
+
65
+ }
66
+
67
+ // Left/right controls for nav
68
+ // ---------------------------
69
+
70
+ .carousel-control {
71
+ position: absolute;
72
+ top: 40%;
73
+ left: 15px;
74
+ width: 40px;
75
+ height: 40px;
76
+ margin-top: -20px;
77
+ font-size: 60px;
78
+ font-weight: 100;
79
+ line-height: 30px;
80
+ color: $white;
81
+ text-align: center;
82
+ background: $grayDarker;
83
+ border: 3px solid $white;
84
+ @include border-radius(23px);
85
+ @include opacity(50);
86
+
87
+ // we can't have this transition here
88
+ // because webkit cancels the carousel
89
+ // animation if you trip this while
90
+ // in the middle of another animation
91
+ // ;_;
92
+ // .transition(opacity .2s linear);
93
+
94
+ // Reposition the right one
95
+ &.right {
96
+ left: auto;
97
+ right: 15px;
98
+ }
99
+
100
+ // Hover state
101
+ &:hover {
102
+ color: $white;
103
+ text-decoration: none;
104
+ @include opacity(90);
105
+ }
106
+ }
107
+
108
+
109
+ // Caption for text below images
110
+ // -----------------------------
111
+
112
+ .carousel-caption {
113
+ position: absolute;
114
+ left: 0;
115
+ right: 0;
116
+ bottom: 0;
117
+ padding: 15px;
118
+ background: $grayDark;
119
+ background: rgba(0,0,0,.75);
120
+ }
121
+ .carousel-caption h4,
122
+ .carousel-caption p {
123
+ color: $white;
124
+ line-height: $baseLineHeight;
125
+ }
126
+ .carousel-caption h4 {
127
+ margin: 0 0 5px;
128
+ }
129
+ .carousel-caption p {
130
+ margin-bottom: 0;
131
+ }
@@ -0,0 +1,31 @@
1
+ //
2
+ // Close icons
3
+ // --------------------------------------------------
4
+
5
+
6
+ .close {
7
+ float: right;
8
+ font-size: 20px;
9
+ font-weight: bold;
10
+ line-height: $baseLineHeight;
11
+ color: $black;
12
+ text-shadow: 0 1px 0 rgba(255,255,255,1);
13
+ @include opacity(20);
14
+ &:hover {
15
+ color: $black;
16
+ text-decoration: none;
17
+ cursor: pointer;
18
+ @include opacity(40);
19
+ }
20
+ }
21
+
22
+ // Additional properties for button version
23
+ // iOS requires the button element instead of an anchor tag.
24
+ // If you want the anchor version, it requires `href="#"`.
25
+ button.close {
26
+ padding: 0;
27
+ cursor: pointer;
28
+ background: transparent;
29
+ border: 0;
30
+ -webkit-appearance: none;
31
+ }
@@ -0,0 +1,58 @@
1
+ //
2
+ // Code (inline and blocK)
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Inline and block code styles
7
+ code,
8
+ pre {
9
+ padding: 0 3px 2px;
10
+ @include font-family-monospace;
11
+ font-size: $baseFontSize - 2;
12
+ color: $grayDark;
13
+ @include border-radius(3px);
14
+ }
15
+
16
+ // Inline code
17
+ code {
18
+ padding: 2px 4px;
19
+ color: #d14;
20
+ background-color: #f7f7f9;
21
+ border: 1px solid #e1e1e8;
22
+ }
23
+
24
+ // Blocks of code
25
+ pre {
26
+ display: block;
27
+ padding: ($baseLineHeight - 1) / 2;
28
+ margin: 0 0 $baseLineHeight / 2;
29
+ font-size: $baseFontSize - 1; // 14px to 13px
30
+ line-height: $baseLineHeight;
31
+ word-break: break-all;
32
+ word-wrap: break-word;
33
+ white-space: pre;
34
+ white-space: pre-wrap;
35
+ background-color: #f5f5f5;
36
+ border: 1px solid #ccc; // fallback for IE7-8
37
+ border: 1px solid rgba(0,0,0,.15);
38
+ @include border-radius($baseBorderRadius);
39
+
40
+ // Make prettyprint styles more spaced out for readability
41
+ &.prettyprint {
42
+ margin-bottom: $baseLineHeight;
43
+ }
44
+
45
+ // Account for some code outputs that place code tags in pre tags
46
+ code {
47
+ padding: 0;
48
+ color: inherit;
49
+ background-color: transparent;
50
+ border: 0;
51
+ }
52
+ }
53
+
54
+ // Enable scrollable blocks of code
55
+ .pre-scrollable {
56
+ max-height: 340px;
57
+ overflow-y: scroll;
58
+ }