sass_twitter_bootstrap 0.1.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/README.markdown +59 -0
  2. data/lib/sass_twitter_bootstrap.rb +3 -0
  3. data/stylesheets/_bootstrap.sass +67 -0
  4. data/stylesheets/sass_twitter_bootstrap/_accordion.sass +24 -0
  5. data/stylesheets/sass_twitter_bootstrap/_alerts.sass +65 -0
  6. data/stylesheets/sass_twitter_bootstrap/_bootstrap.sass +1 -0
  7. data/stylesheets/sass_twitter_bootstrap/_breadcrumbs.sass +18 -0
  8. data/stylesheets/sass_twitter_bootstrap/_button-groups.sass +129 -0
  9. data/stylesheets/sass_twitter_bootstrap/_buttons.sass +166 -0
  10. data/stylesheets/sass_twitter_bootstrap/_carousel.sass +95 -0
  11. data/stylesheets/sass_twitter_bootstrap/_close.sass +16 -0
  12. data/stylesheets/sass_twitter_bootstrap/_code.sass +51 -0
  13. data/stylesheets/sass_twitter_bootstrap/_component-animations.sass +16 -0
  14. data/stylesheets/sass_twitter_bootstrap/_dropdowns.sass +120 -0
  15. data/stylesheets/sass_twitter_bootstrap/_forms.sass +482 -0
  16. data/stylesheets/sass_twitter_bootstrap/_grid.sass +8 -0
  17. data/stylesheets/sass_twitter_bootstrap/_hero-unit.sass +17 -0
  18. data/stylesheets/sass_twitter_bootstrap/_labels.sass +42 -0
  19. data/stylesheets/sass_twitter_bootstrap/_layouts.sass +14 -0
  20. data/stylesheets/sass_twitter_bootstrap/_mixins.sass +487 -0
  21. data/stylesheets/sass_twitter_bootstrap/_modals.sass +84 -0
  22. data/stylesheets/sass_twitter_bootstrap/_navbar.sass +268 -0
  23. data/stylesheets/sass_twitter_bootstrap/_navs.sass +326 -0
  24. data/stylesheets/sass_twitter_bootstrap/_pager.sass +29 -0
  25. data/stylesheets/sass_twitter_bootstrap/_pagination.sass +53 -0
  26. data/stylesheets/sass_twitter_bootstrap/_popovers.sass +55 -0
  27. data/stylesheets/sass_twitter_bootstrap/_print.sass +15 -0
  28. data/stylesheets/sass_twitter_bootstrap/_progress-bars.sass +89 -0
  29. data/stylesheets/sass_twitter_bootstrap/_reset.sass +130 -0
  30. data/stylesheets/sass_twitter_bootstrap/_scaffolding.sass +25 -0
  31. data/stylesheets/sass_twitter_bootstrap/_sprites.sass +394 -0
  32. data/stylesheets/sass_twitter_bootstrap/_tables.sass +134 -0
  33. data/stylesheets/sass_twitter_bootstrap/_thumbnails.sass +34 -0
  34. data/stylesheets/sass_twitter_bootstrap/_tooltip.sass +43 -0
  35. data/stylesheets/sass_twitter_bootstrap/_type.sass +193 -0
  36. data/stylesheets/sass_twitter_bootstrap/_utilities.sass +20 -0
  37. data/stylesheets/sass_twitter_bootstrap/_variables.sass +101 -0
  38. data/stylesheets/sass_twitter_bootstrap/_wells.sass +15 -0
  39. data/templates/project/bootstrap.sass +67 -0
  40. data/templates/project/manifest.rb +20 -0
  41. data/templates/project/responsive.sass +255 -0
  42. metadata +110 -0
@@ -0,0 +1,255 @@
1
+ /*!
2
+ * Bootstrap Responsive v2.0.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
+ // Responsive.less
11
+ // For phone and tablet devices
12
+ // -------------------------------------------------------------
13
+
14
+ // REPEAT VARIABLES & MIXINS
15
+ // -------------------------
16
+ // Required since we compile the responsive stuff separately
17
+
18
+ @import variables
19
+
20
+ // Modify this for custom colors, font-sizes, etc
21
+ @import mixins
22
+
23
+ // RESPONSIVE CLASSES
24
+ // ------------------
25
+
26
+ // Hide from screenreaders and browsers
27
+ // Credit: HTML5 Boilerplate
28
+ .hidden
29
+ display: none
30
+ visibility: hidden
31
+
32
+ // UP TO LANDSCAPE PHONE
33
+ // ---------------------
34
+
35
+ @media (max-width: 480px)
36
+ // Smooth out the collapsing/expanding nav
37
+ .nav-collapse
38
+ -webkit-transform: translate3d(0, 0, 0)
39
+ // activate the GPU
40
+ // Block level the page header small tag for readability
41
+ .page-header h1 small
42
+ display: block
43
+ line-height: $baseLineHeight
44
+ // Make span* classes full width
45
+ input[class*="span"],
46
+ select[class*="span"],
47
+ textarea[class*="span"],
48
+ .uneditable-input
49
+ display: block
50
+ width: 100%
51
+ min-height: 28px
52
+ /* Make inputs at least the height of their button counterpart
53
+ /* Makes inputs behave like true block-level elements
54
+ -webkit-box-sizing: border-box
55
+ /* Older Webkit
56
+ -moz-box-sizing: border-box
57
+ /* Older FF
58
+ -ms-box-sizing: border-box
59
+ /* IE8
60
+ box-sizing: border-box
61
+ /* CSS3 spec
62
+ // But don't let it screw up prepend/append inputs
63
+ .input-prepend input[class*="span"],
64
+ .input-append input[class*="span"]
65
+ width: auto
66
+ // Update checkboxes for iOS
67
+ input[type="checkbox"],
68
+ input[type="radio"]
69
+ border: 1px solid #ccc
70
+ // Remove the horizontal form styles
71
+ .form-horizontal .control-group > label
72
+ float: none
73
+ width: auto
74
+ padding-top: 0
75
+ text-align: left
76
+ // Move over all input controls and content
77
+ .form-horizontal .controls
78
+ margin-left: 0
79
+ // Move the options list down to align with labels
80
+ .form-horizontal .control-list
81
+ padding-top: 0
82
+ // has to be padding because margin collaspes
83
+ // Move over buttons in .form-actions to align with .controls
84
+ .form-horizontal .form-actions
85
+ padding-left: 10px
86
+ padding-right: 10px
87
+ // Modals
88
+ .modal
89
+ position: absolute
90
+ top: 10px
91
+ left: 10px
92
+ right: 10px
93
+ width: auto
94
+ margin: 0
95
+ &.fade.in
96
+ top: auto
97
+ .modal-header .close
98
+ padding: 10px
99
+ margin: -10px
100
+ // Carousel
101
+ .carousel-caption
102
+ position: static
103
+
104
+ // LANDSCAPE PHONE TO SMALL DESKTOP & PORTRAIT TABLET
105
+ // --------------------------------------------------
106
+
107
+ @media (max-width: 767px)
108
+ // GRID & CONTAINERS
109
+ // -----------------
110
+ // Remove width from containers
111
+ .container
112
+ width: auto
113
+ padding: 0 20px
114
+ // Fluid rows
115
+ .row-fluid
116
+ width: 100%
117
+ // Undo negative margin on rows
118
+ .row
119
+ margin-left: 0
120
+ // Make all columns even
121
+ .row > [class*="span"],
122
+ .row-fluid > [class*="span"]
123
+ float: none
124
+ display: block
125
+ width: auto
126
+ margin: 0
127
+
128
+ // PORTRAIT TABLET TO DEFAULT DESKTOP
129
+ // ----------------------------------
130
+
131
+ @media (min-width: 768px) and (max-width: 979px)
132
+ // Fixed grid
133
+ +gridSystem-generate(12, 42px, 20px)
134
+ // Fluid grid
135
+ +fluidGridSystem-generate(12, 5.801%, 2.762%)
136
+ // Input grid
137
+ +inputGridSystem-generate(12, 42px, 20px)
138
+
139
+ // TABLETS AND BELOW
140
+ // -----------------
141
+ @media (max-width: 979px)
142
+ // UNFIX THE TOPBAR
143
+ // ----------------
144
+ // Remove any padding from the body
145
+ body
146
+ padding-top: 0
147
+ // Unfix the navbar
148
+ .navbar-fixed-top
149
+ position: static
150
+ margin-bottom: $baseLineHeight
151
+ .navbar-fixed-top .navbar-inner
152
+ padding: 5px
153
+ .navbar .container
154
+ width: auto
155
+ padding: 0
156
+ // Account for brand name
157
+ .navbar .brand
158
+ padding-left: 10px
159
+ padding-right: 10px
160
+ margin: 0 0 0 -5px
161
+ // Nav collapse clears brand
162
+ .navbar .nav-collapse
163
+ clear: left
164
+ // Block-level the nav
165
+ .navbar .nav
166
+ float: none
167
+ margin: 0 0 $baseLineHeight / 2
168
+ .navbar .nav > li
169
+ float: none
170
+ .navbar .nav > li > a
171
+ margin-bottom: 2px
172
+ .navbar .nav > .divider-vertical
173
+ display: none
174
+ .navbar .nav .nav-header
175
+ color: $navbarText
176
+ text-shadow: none
177
+ // Nav and dropdown links in navbar
178
+ .navbar .nav > li > a,
179
+ .navbar .dropdown-menu a
180
+ padding: 6px 15px
181
+ font-weight: bold
182
+ color: $navbarLinkColor
183
+ +border-radius(3px)
184
+ .navbar .dropdown-menu li + li a
185
+ margin-bottom: 2px
186
+ .navbar .nav > li > a:hover,
187
+ .navbar .dropdown-menu a:hover
188
+ background-color: $navbarBackground
189
+ // Dropdowns in the navbar
190
+ .navbar .dropdown-menu
191
+ position: static
192
+ top: auto
193
+ left: auto
194
+ float: none
195
+ display: block
196
+ max-width: none
197
+ margin: 0 15px
198
+ padding: 0
199
+ background-color: transparent
200
+ border: none
201
+ +border-radius(0)
202
+ +box-shadow(none)
203
+ .navbar .dropdown-menu:before,
204
+ .navbar .dropdown-menu:after
205
+ display: none
206
+ .navbar .dropdown-menu .divider
207
+ display: none
208
+ // Forms in navbar
209
+ .navbar-form,
210
+ .navbar-search
211
+ float: none
212
+ padding: $baseLineHeight / 2 15px
213
+ margin: $baseLineHeight / 2 0
214
+ border-top: 1px solid $navbarBackground
215
+ border-bottom: 1px solid $navbarBackground
216
+ $shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1)
217
+ +box-shadow($shadow)
218
+ // Pull right (secondary) nav content
219
+ .navbar .nav.pull-right
220
+ float: none
221
+ margin-left: 0
222
+ // Static navbar
223
+ .navbar-static .navbar-inner
224
+ padding-left: 10px
225
+ padding-right: 10px
226
+ // Navbar button
227
+ .btn-navbar
228
+ display: block
229
+ // Hide everything in the navbar save .brand and toggle button */
230
+ .nav-collapse
231
+ overflow: hidden
232
+ height: 0
233
+
234
+ // DEFAULT DESKTOP
235
+ // ---------------
236
+
237
+ @media (min-width: 980px)
238
+ .nav-collapse.collapse
239
+ height: auto !important
240
+
241
+ // LARGE DESKTOP & UP
242
+ // ------------------
243
+
244
+ @media (min-width: 1200px)
245
+ // Fixed grid
246
+ +gridSystem-generate(12, 70px, 30px)
247
+ // Fluid grid
248
+ +fluidGridSystem-generate(12, 5.983%, 2.564%)
249
+ // Input grid
250
+ +inputGridSystem-generate(12, 70px, 30px)
251
+ // Thumbnails
252
+ .thumbnails
253
+ margin-left: -30px
254
+ .thumbnails > li
255
+ margin-left: 30px
metadata ADDED
@@ -0,0 +1,110 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sass_twitter_bootstrap
3
+ version: !ruby/object:Gem::Version
4
+ hash: 15271989
5
+ prerelease: 4
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - alpha
10
+ - 1
11
+ version: 0.1.alpha.1
12
+ platform: ruby
13
+ authors:
14
+ - Daniel Lenz
15
+ autorequire:
16
+ bindir: bin
17
+ cert_chain: []
18
+
19
+ date: 2012-03-18 00:00:00 +00:00
20
+ default_executable:
21
+ dependencies: []
22
+
23
+ description: twitter bootstrap plugin implementation for compass
24
+ email: dlenz@lenzcom.de
25
+ executables: []
26
+
27
+ extensions: []
28
+
29
+ extra_rdoc_files: []
30
+
31
+ files:
32
+ - README.markdown
33
+ - lib/sass_twitter_bootstrap.rb
34
+ - stylesheets/_bootstrap.sass
35
+ - stylesheets/sass_twitter_bootstrap/_pager.sass
36
+ - stylesheets/sass_twitter_bootstrap/_button-groups.sass
37
+ - stylesheets/sass_twitter_bootstrap/_buttons.sass
38
+ - stylesheets/sass_twitter_bootstrap/_grid.sass
39
+ - stylesheets/sass_twitter_bootstrap/_tables.sass
40
+ - stylesheets/sass_twitter_bootstrap/_code.sass
41
+ - stylesheets/sass_twitter_bootstrap/_breadcrumbs.sass
42
+ - stylesheets/sass_twitter_bootstrap/_navbar.sass
43
+ - stylesheets/sass_twitter_bootstrap/_navs.sass
44
+ - stylesheets/sass_twitter_bootstrap/_sprites.sass
45
+ - stylesheets/sass_twitter_bootstrap/_alerts.sass
46
+ - stylesheets/sass_twitter_bootstrap/_popovers.sass
47
+ - stylesheets/sass_twitter_bootstrap/_mixins.sass
48
+ - stylesheets/sass_twitter_bootstrap/_component-animations.sass
49
+ - stylesheets/sass_twitter_bootstrap/_print.sass
50
+ - stylesheets/sass_twitter_bootstrap/_hero-unit.sass
51
+ - stylesheets/sass_twitter_bootstrap/_dropdowns.sass
52
+ - stylesheets/sass_twitter_bootstrap/_labels.sass
53
+ - stylesheets/sass_twitter_bootstrap/_bootstrap.sass
54
+ - stylesheets/sass_twitter_bootstrap/_utilities.sass
55
+ - stylesheets/sass_twitter_bootstrap/_close.sass
56
+ - stylesheets/sass_twitter_bootstrap/_reset.sass
57
+ - stylesheets/sass_twitter_bootstrap/_layouts.sass
58
+ - stylesheets/sass_twitter_bootstrap/_progress-bars.sass
59
+ - stylesheets/sass_twitter_bootstrap/_wells.sass
60
+ - stylesheets/sass_twitter_bootstrap/_modals.sass
61
+ - stylesheets/sass_twitter_bootstrap/_forms.sass
62
+ - stylesheets/sass_twitter_bootstrap/_scaffolding.sass
63
+ - stylesheets/sass_twitter_bootstrap/_type.sass
64
+ - stylesheets/sass_twitter_bootstrap/_variables.sass
65
+ - stylesheets/sass_twitter_bootstrap/_accordion.sass
66
+ - stylesheets/sass_twitter_bootstrap/_carousel.sass
67
+ - stylesheets/sass_twitter_bootstrap/_thumbnails.sass
68
+ - stylesheets/sass_twitter_bootstrap/_tooltip.sass
69
+ - stylesheets/sass_twitter_bootstrap/_pagination.sass
70
+ - templates/project/manifest.rb
71
+ - templates/project/responsive.sass
72
+ - templates/project/bootstrap.sass
73
+ has_rdoc: true
74
+ homepage: http://www.lenzcom.de/
75
+ licenses: []
76
+
77
+ post_install_message:
78
+ rdoc_options: []
79
+
80
+ require_paths:
81
+ - lib
82
+ required_ruby_version: !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ hash: 3
88
+ segments:
89
+ - 0
90
+ version: "0"
91
+ required_rubygems_version: !ruby/object:Gem::Requirement
92
+ none: false
93
+ requirements:
94
+ - - ">"
95
+ - !ruby/object:Gem::Version
96
+ hash: 25
97
+ segments:
98
+ - 1
99
+ - 3
100
+ - 1
101
+ version: 1.3.1
102
+ requirements: []
103
+
104
+ rubyforge_project:
105
+ rubygems_version: 1.4.2
106
+ signing_key:
107
+ specification_version: 3
108
+ summary: twitter bootstrap plugin for compass
109
+ test_files: []
110
+