kickstrap_rails 0.9.0RC
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +165 -0
- data/README.md +23 -0
- data/Rakefile +2 -0
- data/kickstrap_rails.gemspec +20 -0
- data/lib/kickstrap_rails/version.rb +3 -0
- data/lib/kickstrap_rails.rb +6 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.svg +175 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.svgz +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/icomoon/full-webfont.eot +0 -0
- data/vendor/assets/fonts/icomoon/full-webfont.svg +157 -0
- data/vendor/assets/fonts/icomoon/full-webfont.ttf +0 -0
- data/vendor/assets/fonts/icomoon/full-webfont.woff +0 -0
- data/vendor/assets/images/chosen/chosen-sprite.png +0 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-alert.js +94 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-button.js +100 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-carousel.js +161 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-collapse.js +138 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-dropdown.js +92 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-modal.js +210 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-popover.js +95 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-scrollspy.js +125 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-tab.js +130 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-tooltip.js +270 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-transition.js +51 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-typeahead.js +271 -0
- data/vendor/assets/javascripts/bootstrap.js +12 -0
- data/vendor/assets/javascripts/kickstrap/chosen/chosen.jquery.js +952 -0
- data/vendor/assets/javascripts/kickstrap/jgrowl/jquery.jgrowl.js +330 -0
- data/vendor/assets/javascripts/kickstrap.js +3 -0
- data/vendor/assets/stylesheets/bootstrap/accordion.less +28 -0
- data/vendor/assets/stylesheets/bootstrap/alerts.less +70 -0
- data/vendor/assets/stylesheets/bootstrap/bootstrap.less +65 -0
- data/vendor/assets/stylesheets/bootstrap/breadcrumbs.less +22 -0
- data/vendor/assets/stylesheets/bootstrap/button-groups.less +148 -0
- data/vendor/assets/stylesheets/bootstrap/buttons.less +183 -0
- data/vendor/assets/stylesheets/bootstrap/carousel.less +121 -0
- data/vendor/assets/stylesheets/bootstrap/close.less +18 -0
- data/vendor/assets/stylesheets/bootstrap/code.less +57 -0
- data/vendor/assets/stylesheets/bootstrap/component-animations.less +18 -0
- data/vendor/assets/stylesheets/bootstrap/dropdowns.less +130 -0
- data/vendor/assets/stylesheets/bootstrap/forms.less +522 -0
- data/vendor/assets/stylesheets/bootstrap/grid.less +8 -0
- data/vendor/assets/stylesheets/bootstrap/hero-unit.less +20 -0
- data/vendor/assets/stylesheets/bootstrap/labels.less +32 -0
- data/vendor/assets/stylesheets/bootstrap/layouts.less +17 -0
- data/vendor/assets/stylesheets/bootstrap/mixins.less +590 -0
- data/vendor/assets/stylesheets/bootstrap/modals.less +83 -0
- data/vendor/assets/stylesheets/bootstrap/navbar.less +299 -0
- data/vendor/assets/stylesheets/bootstrap/navs.less +353 -0
- data/vendor/assets/stylesheets/bootstrap/pager.less +30 -0
- data/vendor/assets/stylesheets/bootstrap/pagination.less +55 -0
- data/vendor/assets/stylesheets/bootstrap/popovers.less +49 -0
- data/vendor/assets/stylesheets/bootstrap/progress-bars.less +95 -0
- data/vendor/assets/stylesheets/bootstrap/reset.less +126 -0
- data/vendor/assets/stylesheets/bootstrap/scaffolding.less +29 -0
- data/vendor/assets/stylesheets/bootstrap/sprites.less +158 -0
- data/vendor/assets/stylesheets/bootstrap/tables.less +150 -0
- data/vendor/assets/stylesheets/bootstrap/thumbnails.less +35 -0
- data/vendor/assets/stylesheets/bootstrap/tooltip.less +35 -0
- data/vendor/assets/stylesheets/bootstrap/type.less +218 -0
- data/vendor/assets/stylesheets/bootstrap/utilities.less +23 -0
- data/vendor/assets/stylesheets/bootstrap/variables.less +107 -0
- data/vendor/assets/stylesheets/bootstrap/wells.less +17 -0
- data/vendor/assets/stylesheets/kickstrap/animate/animate.css +3813 -0
- data/vendor/assets/stylesheets/kickstrap/chosen/chosen.less +392 -0
- data/vendor/assets/stylesheets/kickstrap/fontawesome/font-awesome.less +218 -0
- data/vendor/assets/stylesheets/kickstrap/icomoon/icomoon.less +123 -0
- data/vendor/assets/stylesheets/kickstrap/jgrowl/jquery.jgrowl.less +105 -0
- data/vendor/assets/stylesheets/kickstrap/overrides.less +271 -0
- data/vendor/assets/stylesheets/kickstrap/themes/amelia/amelia.less +647 -0
- data/vendor/assets/stylesheets/kickstrap/themes/amelia/variables.less +112 -0
- data/vendor/assets/stylesheets/kickstrap/themes/amelia.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/cerulean/cerulean.less +122 -0
- data/vendor/assets/stylesheets/kickstrap/themes/cerulean/variables.less +108 -0
- data/vendor/assets/stylesheets/kickstrap/themes/cerulean.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/cyborg/cyborg.less +511 -0
- data/vendor/assets/stylesheets/kickstrap/themes/cyborg/variables.less +110 -0
- data/vendor/assets/stylesheets/kickstrap/themes/cyborg.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/journal/journal.less +139 -0
- data/vendor/assets/stylesheets/kickstrap/themes/journal/variables.less +114 -0
- data/vendor/assets/stylesheets/kickstrap/themes/journal.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/readable/readable.less +454 -0
- data/vendor/assets/stylesheets/kickstrap/themes/readable/variables.less +108 -0
- data/vendor/assets/stylesheets/kickstrap/themes/readable.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/sandra/sandra.less +115 -0
- data/vendor/assets/stylesheets/kickstrap/themes/sandra/variables.less +110 -0
- data/vendor/assets/stylesheets/kickstrap/themes/sandra.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/simplex/simplex.less +107 -0
- data/vendor/assets/stylesheets/kickstrap/themes/simplex/variables.less +108 -0
- data/vendor/assets/stylesheets/kickstrap/themes/simplex.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/slate/slate.less +417 -0
- data/vendor/assets/stylesheets/kickstrap/themes/slate/variables.less +203 -0
- data/vendor/assets/stylesheets/kickstrap/themes/slate.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/spacelab/spacelab.less +174 -0
- data/vendor/assets/stylesheets/kickstrap/themes/spacelab/variables.less +107 -0
- data/vendor/assets/stylesheets/kickstrap/themes/spacelab.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/spruce/spruce.less +474 -0
- data/vendor/assets/stylesheets/kickstrap/themes/spruce/variables.less +108 -0
- data/vendor/assets/stylesheets/kickstrap/themes/spruce.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/superhero/superhero.less +634 -0
- data/vendor/assets/stylesheets/kickstrap/themes/superhero/variables.less +108 -0
- data/vendor/assets/stylesheets/kickstrap/themes/superhero.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/united/united.less +101 -0
- data/vendor/assets/stylesheets/kickstrap/themes/united/variables.less +110 -0
- data/vendor/assets/stylesheets/kickstrap/themes/united.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap.css.less +1 -0
- metadata +189 -0
@@ -0,0 +1,218 @@
|
|
1
|
+
// Typography.less
|
2
|
+
// Headings, body text, lists, code, and more for a versatile and durable typography system
|
3
|
+
// ----------------------------------------------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// BODY TEXT
|
7
|
+
// ---------
|
8
|
+
|
9
|
+
p {
|
10
|
+
margin: 0 0 @baseLineHeight / 2;
|
11
|
+
font-family: @baseFontFamily;
|
12
|
+
font-size: @baseFontSize;
|
13
|
+
line-height: @baseLineHeight;
|
14
|
+
small {
|
15
|
+
font-size: @baseFontSize - 2;
|
16
|
+
color: @grayLight;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
.lead {
|
20
|
+
margin-bottom: @baseLineHeight;
|
21
|
+
font-size: 20px;
|
22
|
+
font-weight: 200;
|
23
|
+
line-height: @baseLineHeight * 1.5;
|
24
|
+
}
|
25
|
+
|
26
|
+
// HEADINGS
|
27
|
+
// --------
|
28
|
+
|
29
|
+
h1, h2, h3, h4, h5, h6 {
|
30
|
+
margin: 0;
|
31
|
+
font-weight: bold;
|
32
|
+
color: @grayDark;
|
33
|
+
text-rendering: optimizelegibility; // Fix the character spacing for headings
|
34
|
+
small {
|
35
|
+
font-weight: normal;
|
36
|
+
color: @grayLight;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
h1 {
|
40
|
+
font-size: 30px;
|
41
|
+
line-height: @baseLineHeight * 2;
|
42
|
+
small {
|
43
|
+
font-size: 18px;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
h2 {
|
47
|
+
font-size: 24px;
|
48
|
+
line-height: @baseLineHeight * 2;
|
49
|
+
small {
|
50
|
+
font-size: 18px;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
h3 {
|
54
|
+
line-height: @baseLineHeight * 1.5;
|
55
|
+
font-size: 18px;
|
56
|
+
small {
|
57
|
+
font-size: 14px;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
h4, h5, h6 {
|
61
|
+
line-height: @baseLineHeight;
|
62
|
+
}
|
63
|
+
h4 {
|
64
|
+
font-size: 14px;
|
65
|
+
small {
|
66
|
+
font-size: 12px;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
h5 {
|
70
|
+
font-size: 12px;
|
71
|
+
}
|
72
|
+
h6 {
|
73
|
+
font-size: 11px;
|
74
|
+
color: @grayLight;
|
75
|
+
text-transform: uppercase;
|
76
|
+
}
|
77
|
+
|
78
|
+
// Page header
|
79
|
+
.page-header {
|
80
|
+
padding-bottom: @baseLineHeight - 1;
|
81
|
+
margin: @baseLineHeight 0;
|
82
|
+
border-bottom: 1px solid @grayLighter;
|
83
|
+
}
|
84
|
+
.page-header h1 {
|
85
|
+
line-height: 1;
|
86
|
+
}
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
// LISTS
|
91
|
+
// -----
|
92
|
+
|
93
|
+
// Unordered and Ordered lists
|
94
|
+
ul, ol {
|
95
|
+
padding: 0;
|
96
|
+
margin: 0 0 @baseLineHeight / 2 25px;
|
97
|
+
}
|
98
|
+
ul ul,
|
99
|
+
ul ol,
|
100
|
+
ol ol,
|
101
|
+
ol ul {
|
102
|
+
margin-bottom: 0;
|
103
|
+
}
|
104
|
+
ul {
|
105
|
+
list-style: disc;
|
106
|
+
}
|
107
|
+
ol {
|
108
|
+
list-style: decimal;
|
109
|
+
}
|
110
|
+
li {
|
111
|
+
line-height: @baseLineHeight;
|
112
|
+
}
|
113
|
+
ul.unstyled,
|
114
|
+
ol.unstyled {
|
115
|
+
margin-left: 0;
|
116
|
+
list-style: none;
|
117
|
+
}
|
118
|
+
|
119
|
+
// Description Lists
|
120
|
+
dl {
|
121
|
+
margin-bottom: @baseLineHeight;
|
122
|
+
}
|
123
|
+
dt,
|
124
|
+
dd {
|
125
|
+
line-height: @baseLineHeight;
|
126
|
+
}
|
127
|
+
dt {
|
128
|
+
font-weight: bold;
|
129
|
+
}
|
130
|
+
dd {
|
131
|
+
margin-left: @baseLineHeight / 2;
|
132
|
+
}
|
133
|
+
|
134
|
+
// MISC
|
135
|
+
// ----
|
136
|
+
|
137
|
+
// Horizontal rules
|
138
|
+
hr {
|
139
|
+
margin: @baseLineHeight 0;
|
140
|
+
border: 0;
|
141
|
+
border-top: 1px solid @hrBorder;
|
142
|
+
border-bottom: 1px solid @white;
|
143
|
+
}
|
144
|
+
|
145
|
+
// Emphasis
|
146
|
+
strong {
|
147
|
+
font-weight: bold;
|
148
|
+
}
|
149
|
+
em {
|
150
|
+
font-style: italic;
|
151
|
+
}
|
152
|
+
.muted {
|
153
|
+
color: @grayLight;
|
154
|
+
}
|
155
|
+
|
156
|
+
// Abbreviations and acronyms
|
157
|
+
abbr {
|
158
|
+
font-size: 90%;
|
159
|
+
text-transform: uppercase;
|
160
|
+
border-bottom: 1px dotted #ddd;
|
161
|
+
cursor: help;
|
162
|
+
}
|
163
|
+
|
164
|
+
// Blockquotes
|
165
|
+
blockquote {
|
166
|
+
padding: 0 0 0 15px;
|
167
|
+
margin: 0 0 @baseLineHeight;
|
168
|
+
border-left: 5px solid @grayLighter;
|
169
|
+
p {
|
170
|
+
margin-bottom: 0;
|
171
|
+
#font > .shorthand(16px,300,@baseLineHeight * 1.25);
|
172
|
+
}
|
173
|
+
small {
|
174
|
+
display: block;
|
175
|
+
line-height: @baseLineHeight;
|
176
|
+
color: @grayLight;
|
177
|
+
&:before {
|
178
|
+
content: '\2014 \00A0';
|
179
|
+
}
|
180
|
+
}
|
181
|
+
|
182
|
+
// Float right with text-align: right
|
183
|
+
&.pull-right {
|
184
|
+
float: right;
|
185
|
+
padding-left: 0;
|
186
|
+
padding-right: 15px;
|
187
|
+
border-left: 0;
|
188
|
+
border-right: 5px solid @grayLighter;
|
189
|
+
p,
|
190
|
+
small {
|
191
|
+
text-align: right;
|
192
|
+
}
|
193
|
+
}
|
194
|
+
}
|
195
|
+
|
196
|
+
// Quotes
|
197
|
+
q:before,
|
198
|
+
q:after,
|
199
|
+
blockquote:before,
|
200
|
+
blockquote:after {
|
201
|
+
content: "";
|
202
|
+
}
|
203
|
+
|
204
|
+
// Addresses
|
205
|
+
address {
|
206
|
+
display: block;
|
207
|
+
margin-bottom: @baseLineHeight;
|
208
|
+
line-height: @baseLineHeight;
|
209
|
+
font-style: normal;
|
210
|
+
}
|
211
|
+
|
212
|
+
// Misc
|
213
|
+
small {
|
214
|
+
font-size: 100%;
|
215
|
+
}
|
216
|
+
cite {
|
217
|
+
font-style: normal;
|
218
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
// UTILITY CLASSES
|
2
|
+
// ---------------
|
3
|
+
|
4
|
+
// Quick floats
|
5
|
+
.pull-right {
|
6
|
+
float: right;
|
7
|
+
}
|
8
|
+
.pull-left {
|
9
|
+
float: left;
|
10
|
+
}
|
11
|
+
|
12
|
+
// Toggling content
|
13
|
+
.hide {
|
14
|
+
display: none;
|
15
|
+
}
|
16
|
+
.show {
|
17
|
+
display: block;
|
18
|
+
}
|
19
|
+
|
20
|
+
// Visibility
|
21
|
+
.invisible {
|
22
|
+
visibility: hidden;
|
23
|
+
}
|
@@ -0,0 +1,107 @@
|
|
1
|
+
// Variables.less
|
2
|
+
// Variables to customize the look and feel of Bootstrap
|
3
|
+
// -----------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
// GLOBAL VALUES
|
8
|
+
// --------------------------------------------------
|
9
|
+
|
10
|
+
// Links
|
11
|
+
@linkColor: #08c;
|
12
|
+
@linkColorHover: darken(@linkColor, 15%);
|
13
|
+
|
14
|
+
// Grays
|
15
|
+
@black: #000;
|
16
|
+
@grayDarker: #222;
|
17
|
+
@grayDark: #333;
|
18
|
+
@gray: #555;
|
19
|
+
@grayLight: #999;
|
20
|
+
@grayLighter: #eee;
|
21
|
+
@white: #fff;
|
22
|
+
|
23
|
+
// Accent colors
|
24
|
+
@blue: #049cdb;
|
25
|
+
@blueDark: #0064cd;
|
26
|
+
@green: #46a546;
|
27
|
+
@red: #9d261d;
|
28
|
+
@yellow: #ffc40d;
|
29
|
+
@orange: #f89406;
|
30
|
+
@pink: #c3325f;
|
31
|
+
@purple: #7a43b6;
|
32
|
+
|
33
|
+
// Typography
|
34
|
+
@baseFontSize: 13px;
|
35
|
+
@baseFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
36
|
+
@baseLineHeight: 18px;
|
37
|
+
@textColor: @grayDark;
|
38
|
+
|
39
|
+
// Buttons
|
40
|
+
@primaryButtonBackground: @linkColor;
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
// COMPONENT VARIABLES
|
45
|
+
// --------------------------------------------------
|
46
|
+
|
47
|
+
// Z-index master list
|
48
|
+
// Used for a bird's eye view of components dependent on the z-axis
|
49
|
+
// Try to avoid customizing these :)
|
50
|
+
@zindexDropdown: 1000;
|
51
|
+
@zindexPopover: 1010;
|
52
|
+
@zindexTooltip: 1020;
|
53
|
+
@zindexFixedNavbar: 1030;
|
54
|
+
@zindexModalBackdrop: 1040;
|
55
|
+
@zindexModal: 1050;
|
56
|
+
|
57
|
+
// Sprite icons path
|
58
|
+
@iconSpritePath: "../img/glyphicons-halflings.png";
|
59
|
+
@iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
|
60
|
+
|
61
|
+
// Input placeholder text color
|
62
|
+
@placeholderText: @grayLight;
|
63
|
+
|
64
|
+
// Hr border color
|
65
|
+
@hrBorder: @grayLighter;
|
66
|
+
|
67
|
+
// Navbar
|
68
|
+
@navbarHeight: 40px;
|
69
|
+
@navbarBackground: @grayDarker;
|
70
|
+
@navbarBackgroundHighlight: @grayDark;
|
71
|
+
@navbarLinkBackgroundHover: transparent;
|
72
|
+
|
73
|
+
@navbarText: @grayLight;
|
74
|
+
@navbarLinkColor: @grayLight;
|
75
|
+
@navbarLinkColorHover: @white;
|
76
|
+
|
77
|
+
// Form states and alerts
|
78
|
+
@warningText: #c09853;
|
79
|
+
@warningBackground: #fcf8e3;
|
80
|
+
@warningBorder: darken(spin(@warningBackground, -10), 3%);
|
81
|
+
|
82
|
+
@errorText: #b94a48;
|
83
|
+
@errorBackground: #f2dede;
|
84
|
+
@errorBorder: darken(spin(@errorBackground, -10), 3%);
|
85
|
+
|
86
|
+
@successText: #468847;
|
87
|
+
@successBackground: #dff0d8;
|
88
|
+
@successBorder: darken(spin(@successBackground, -10), 5%);
|
89
|
+
|
90
|
+
@infoText: #3a87ad;
|
91
|
+
@infoBackground: #d9edf7;
|
92
|
+
@infoBorder: darken(spin(@infoBackground, -10), 7%);
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
// GRID
|
97
|
+
// --------------------------------------------------
|
98
|
+
|
99
|
+
// Default 940px grid
|
100
|
+
@gridColumns: 12;
|
101
|
+
@gridColumnWidth: 60px;
|
102
|
+
@gridGutterWidth: 20px;
|
103
|
+
@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
|
104
|
+
|
105
|
+
// Fluid grid
|
106
|
+
@fluidGridColumnWidth: 6.382978723%;
|
107
|
+
@fluidGridGutterWidth: 2.127659574%;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
// WELLS
|
2
|
+
// -----
|
3
|
+
|
4
|
+
.well {
|
5
|
+
min-height: 20px;
|
6
|
+
padding: 19px;
|
7
|
+
margin-bottom: 20px;
|
8
|
+
background-color: #f5f5f5;
|
9
|
+
border: 1px solid #eee;
|
10
|
+
border: 1px solid rgba(0,0,0,.05);
|
11
|
+
.border-radius(4px);
|
12
|
+
.box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
|
13
|
+
blockquote {
|
14
|
+
border-color: #ddd;
|
15
|
+
border-color: rgba(0,0,0,.15);
|
16
|
+
}
|
17
|
+
}
|