bootstrap-sass 1.2.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of bootstrap-sass might be problematic. Click here for more details.

@@ -0,0 +1,148 @@
1
+ /*
2
+ * tables.css.scss
3
+ * Tables for, you guessed it, tabular data
4
+ * ---------------------------------------- */
5
+
6
+ // BASELINE STYLES
7
+ // ---------------
8
+
9
+ table {
10
+ width: 100%;
11
+ margin-bottom: $baseline;
12
+ padding: 0;
13
+ border-collapse: separate;
14
+ font-size: 13px;
15
+ th, td {
16
+ padding: 10px 10px 9px;
17
+ line-height: $baseline * .75;
18
+ text-align: left;
19
+ vertical-align: middle;
20
+ border-bottom: 1px solid #ddd;
21
+ }
22
+ th {
23
+ padding-top: 9px;
24
+ font-weight: bold;
25
+ border-bottom-width: 2px;
26
+ }
27
+ }
28
+
29
+
30
+ // ZEBRA-STRIPING
31
+ // --------------
32
+
33
+ // Default zebra-stripe styles (alternating gray and transparent backgrounds)
34
+ .zebra-striped {
35
+ tbody {
36
+ tr:nth-child(odd) td {
37
+ background-color: #f9f9f9;
38
+ }
39
+ tr:hover td {
40
+ background-color: #f5f5f5;
41
+ }
42
+ }
43
+
44
+ // Tablesorting styles w/ jQuery plugin
45
+ .header {
46
+ cursor: pointer;
47
+ &:after {
48
+ content: "";
49
+ float: right;
50
+ margin-top: 7px;
51
+ border-width: 0 4px 4px;
52
+ border-style: solid;
53
+ border-color: #000 transparent;
54
+ visibility: hidden;
55
+ }
56
+ }
57
+ // Style the sorted column headers (THs)
58
+ .headerSortUp,
59
+ .headerSortDown {
60
+ background-color: rgba(141,192,219,.25);
61
+ text-shadow: 0 1px 1px rgba(255,255,255,.75);
62
+ @include border-radius(3px 3px 0 0);
63
+ }
64
+ // Style the ascending (reverse alphabetical) column header
65
+ .header:hover {
66
+ &:after {
67
+ visibility:visible;
68
+ }
69
+ }
70
+ // Style the descending (alphabetical) column header
71
+ .headerSortDown,
72
+ .headerSortDown:hover {
73
+ &:after {
74
+ visibility:visible;
75
+ @include opacity(60);
76
+ }
77
+ }
78
+ // Style the ascending (reverse alphabetical) column header
79
+ .headerSortUp {
80
+ &:after {
81
+ border-bottom: none;
82
+ border-left: 4px solid transparent;
83
+ border-right: 4px solid transparent;
84
+ border-top: 4px solid #000;
85
+ visibility:visible;
86
+ @include box-shadow(none); //can't add boxshadow to downward facing arrow :(
87
+ @include opacity(60);
88
+ }
89
+ }
90
+ }
91
+
92
+ table {
93
+ // Blue Table Headings
94
+ .blue {
95
+ color: $blue;
96
+ border-bottom-color: $blue;
97
+ }
98
+ .headerSortUp.blue,
99
+ .headerSortDown.blue {
100
+ background-color: lighten($blue, 40%);
101
+ }
102
+ // Green Table Headings
103
+ .green {
104
+ color: $green;
105
+ border-bottom-color: $green;
106
+ }
107
+ .headerSortUp.green,
108
+ .headerSortDown.green {
109
+ background-color: lighten($green, 40%);
110
+ }
111
+ // Red Table Headings
112
+ .red {
113
+ color: $red;
114
+ border-bottom-color: $red;
115
+ }
116
+ .headerSortUp.red,
117
+ .headerSortDown.red {
118
+ background-color: lighten($red, 50%);
119
+ }
120
+ // Yellow Table Headings
121
+ .yellow {
122
+ color: $yellow;
123
+ border-bottom-color: $yellow;
124
+ }
125
+ .headerSortUp.yellow,
126
+ .headerSortDown.yellow {
127
+ background-color: lighten($yellow, 40%);
128
+ }
129
+ // Orange Table Headings
130
+ .orange {
131
+ color: $orange;
132
+ border-bottom-color: $orange;
133
+ }
134
+ .headerSortUp.orange,
135
+ .headerSortDown.orange {
136
+ background-color: lighten($orange, 40%);
137
+ }
138
+ // Purple Table Headings
139
+ .purple {
140
+ color: $purple;
141
+ border-bottom-color: $purple;
142
+ }
143
+ .headerSortUp.purple,
144
+ .headerSortDown.purple {
145
+ background-color: lighten($purple, 40%);
146
+ }
147
+ }
148
+
@@ -0,0 +1,188 @@
1
+ /* typography.css.scss
2
+ * Headings, body text, lists, code, and more for a versatile and durable typography system
3
+ * ---------------------------------------------------------------------------------------- */
4
+
5
+ // BODY TEXT
6
+ // ---------
7
+
8
+ p {
9
+ @include shorthand-font(normal,$basefont,$baseline);
10
+ margin-bottom: $baseline / 2;
11
+ small {
12
+ font-size: $basefont - 2;
13
+ color: $grayLight;
14
+ }
15
+ }
16
+
17
+
18
+ // HEADINGS
19
+ // --------
20
+
21
+ h1, h2, h3, h4, h5, h6 {
22
+ font-weight: bold;
23
+ color: $grayDark;
24
+ small {
25
+ color: $grayLight;
26
+ }
27
+ }
28
+ h1 {
29
+ margin-bottom: $baseline;
30
+ font-size: 30px;
31
+ line-height: $baseline * 2;
32
+ small {
33
+ font-size: 18px;
34
+ }
35
+ }
36
+ h2 {
37
+ font-size: 24px;
38
+ line-height: $baseline * 2;
39
+ small {
40
+ font-size: 14px;
41
+ }
42
+ }
43
+ h3, h4, h5, h6 {
44
+ line-height: $baseline * 2;
45
+ }
46
+ h3 {
47
+ font-size: 18px;
48
+ small {
49
+ font-size: 14px;
50
+ }
51
+ }
52
+ h4 {
53
+ font-size: 16px;
54
+ small {
55
+ font-size: 12px;
56
+ }
57
+ }
58
+ h5 {
59
+ font-size: 14px;
60
+ }
61
+ h6 {
62
+ font-size: 13px;
63
+ color: $grayLight;
64
+ text-transform: uppercase;
65
+ }
66
+
67
+
68
+ // COLORS
69
+ // ------
70
+
71
+ // Unordered and Ordered lists
72
+ ul, ol {
73
+ margin: 0 0 $baseline 25px;
74
+ }
75
+ ul ul,
76
+ ul ol,
77
+ ol ol,
78
+ ol ul {
79
+ margin-bottom: 0;
80
+ }
81
+ ul {
82
+ list-style: disc;
83
+ }
84
+ ol {
85
+ list-style: decimal;
86
+ }
87
+ li {
88
+ line-height: $baseline;
89
+ color: $gray;
90
+ }
91
+ ul.unstyled {
92
+ list-style: none;
93
+ margin-left: 0;
94
+ }
95
+
96
+ // Description Lists
97
+ dl {
98
+ margin-bottom: $baseline;
99
+ dt, dd {
100
+ line-height: $baseline;
101
+ }
102
+ dt {
103
+ font-weight: bold;
104
+ }
105
+ dd {
106
+ margin-left: $baseline / 2;
107
+ }
108
+ }
109
+
110
+ // MISC
111
+ // ----
112
+
113
+ // Horizontal rules
114
+ hr {
115
+ margin: 0 0 19px;
116
+ border: 0;
117
+ border-bottom: 1px solid #eee;
118
+ }
119
+
120
+ // Emphasis
121
+ strong {
122
+ font-style: inherit;
123
+ font-weight: bold;
124
+ line-height: inherit;
125
+ }
126
+ em {
127
+ font-style: italic;
128
+ font-weight: inherit;
129
+ line-height: inherit;
130
+ }
131
+ .muted {
132
+ color: $grayLight;
133
+ }
134
+
135
+ // Blockquotes
136
+ blockquote {
137
+ margin-bottom: $baseline;
138
+ border-left: 5px solid #eee;
139
+ padding-left: 15px;
140
+ p {
141
+ @include shorthand-font(300,14px,$baseline);
142
+ margin-bottom: 0;
143
+ }
144
+ small {
145
+ display: block;
146
+ @include shorthand-font(300,12px,$baseline);
147
+ color: $grayLight;
148
+ &:before {
149
+ content: '\2014 \00A0';
150
+ }
151
+ }
152
+ }
153
+
154
+ // Addresses
155
+ address {
156
+ display: block;
157
+ line-height: $baseline;
158
+ margin-bottom: $baseline;
159
+ }
160
+
161
+ // Inline and block code styles
162
+ code, pre {
163
+ padding: 0 3px 2px;
164
+ font-family: Monaco, Andale Mono, Courier New, monospace;
165
+ font-size: 12px;
166
+ @include border-radius(3px);
167
+ }
168
+ code {
169
+ background-color: lighten($orange, 40%);
170
+ color: rgba(0,0,0,.75);
171
+ padding: 1px 3px;
172
+ }
173
+ pre {
174
+ background-color: #f5f5f5;
175
+ display: block;
176
+ padding: $baseline - 1;
177
+ margin: 0 0 $baseline;
178
+ line-height: $baseline;
179
+ font-size: 12px;
180
+ border: 1px solid #ccc;
181
+ border: 1px solid rgba(0,0,0,.15);
182
+ @include border-radius(3px);
183
+ white-space: pre;
184
+ white-space: pre-wrap;
185
+ word-wrap: break-word;
186
+
187
+ }
188
+
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bootstrap-sass
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Thomas McDonald
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-09-06 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: sass-rails
16
+ requirement: &2152226760 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *2152226760
25
+ description:
26
+ email: tom@conceptcoding.co.uk
27
+ executables: []
28
+ extensions: []
29
+ extra_rdoc_files: []
30
+ files:
31
+ - vendor/assets/stylesheets/bootstrap/forms.css.scss
32
+ - vendor/assets/stylesheets/bootstrap/patterns.css.scss
33
+ - vendor/assets/stylesheets/bootstrap/preboot.css.scss
34
+ - vendor/assets/stylesheets/bootstrap/reset.css.scss
35
+ - vendor/assets/stylesheets/bootstrap/scaffolding.css.scss
36
+ - vendor/assets/stylesheets/bootstrap/tables.css.scss
37
+ - vendor/assets/stylesheets/bootstrap/type.css.scss
38
+ - vendor/assets/stylesheets/bootstrap.css.scss
39
+ - README.md
40
+ - LICENSE
41
+ - lib/bootstrap-sass.rb
42
+ homepage: http://github.com/thomas-mcdonald/bootstrap-sass
43
+ licenses: []
44
+ post_install_message:
45
+ rdoc_options: []
46
+ require_paths:
47
+ - lib
48
+ required_ruby_version: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ required_rubygems_version: !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ! '>='
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ requirements: []
61
+ rubyforge_project:
62
+ rubygems_version: 1.8.10
63
+ signing_key:
64
+ specification_version: 3
65
+ summary: Twitter's Bootstrap, converted to SASS and ready to drop into Rails
66
+ test_files: []