bootplus-rails 0.0.1 → 0.0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/bootplus/rails/version.rb +1 -1
- data/vendor/assets/javascripts/bootstrap-affix.js +117 -0
- data/vendor/assets/javascripts/bootstrap-alert.js +99 -0
- data/vendor/assets/javascripts/bootstrap-button.js +105 -0
- data/vendor/assets/javascripts/bootstrap-carousel.js +207 -0
- data/vendor/assets/javascripts/bootstrap-collapse.js +167 -0
- data/vendor/assets/javascripts/bootstrap-dropdown.js +169 -0
- data/vendor/assets/javascripts/bootstrap-modal.js +247 -0
- data/vendor/assets/javascripts/bootstrap-popover.js +114 -0
- data/vendor/assets/javascripts/bootstrap-scrollspy.js +162 -0
- data/vendor/assets/javascripts/bootstrap-tab.js +144 -0
- data/vendor/assets/javascripts/bootstrap-tooltip.js +361 -0
- data/vendor/assets/javascripts/bootstrap-transition.js +60 -0
- data/vendor/assets/javascripts/bootstrap-typeahead.js +335 -0
- data/vendor/assets/stylesheets/accordion.less +34 -0
- data/vendor/assets/stylesheets/alerts.less +79 -0
- data/vendor/assets/stylesheets/bootplus/accordion.less +24 -0
- data/vendor/assets/stylesheets/bootplus/alerts.less +13 -0
- data/vendor/assets/stylesheets/bootplus/bootplus.less +92 -0
- data/vendor/assets/stylesheets/bootplus/button-groups.less +23 -0
- data/vendor/assets/stylesheets/bootplus/buttons.less +272 -0
- data/vendor/assets/stylesheets/bootplus/cards.less +243 -0
- data/vendor/assets/stylesheets/bootplus/dropdowns.less +124 -0
- data/vendor/assets/stylesheets/bootplus/forms.less +119 -0
- data/vendor/assets/stylesheets/bootplus/hero-unit.less +9 -0
- data/vendor/assets/stylesheets/bootplus/icons.less +22 -0
- data/vendor/assets/stylesheets/bootplus/labels-badges.less +22 -0
- data/vendor/assets/stylesheets/bootplus/media.less +19 -0
- data/vendor/assets/stylesheets/bootplus/mixins.less +12 -0
- data/vendor/assets/stylesheets/bootplus/modals.less +59 -0
- data/vendor/assets/stylesheets/bootplus/navbar.less +131 -0
- data/vendor/assets/stylesheets/bootplus/navs.less +180 -0
- data/vendor/assets/stylesheets/bootplus/popovers.less +18 -0
- data/vendor/assets/stylesheets/bootplus/progress-bars.less +64 -0
- data/vendor/assets/stylesheets/bootplus/responsive-navbar.less +23 -0
- data/vendor/assets/stylesheets/bootplus/responsive.less +49 -0
- data/vendor/assets/stylesheets/bootplus/tooltip.less +14 -0
- data/vendor/assets/stylesheets/bootplus/variables.less +316 -0
- data/vendor/assets/stylesheets/bootplus/wells.less +25 -0
- data/vendor/assets/stylesheets/bootstrap.less +63 -0
- data/vendor/assets/stylesheets/breadcrumbs.less +24 -0
- data/vendor/assets/stylesheets/button-groups.less +229 -0
- data/vendor/assets/stylesheets/buttons.less +241 -0
- data/vendor/assets/stylesheets/carousel.less +158 -0
- data/vendor/assets/stylesheets/close.less +32 -0
- data/vendor/assets/stylesheets/code.less +61 -0
- data/vendor/assets/stylesheets/component-animations.less +22 -0
- data/vendor/assets/stylesheets/dropdowns.less +248 -0
- data/vendor/assets/stylesheets/forms.less +690 -0
- data/vendor/assets/stylesheets/grid.less +21 -0
- data/vendor/assets/stylesheets/hero-unit.less +25 -0
- data/vendor/assets/stylesheets/labels-badges.less +84 -0
- data/vendor/assets/stylesheets/layouts.less +16 -0
- data/vendor/assets/stylesheets/media.less +55 -0
- data/vendor/assets/stylesheets/mixins.less +702 -0
- data/vendor/assets/stylesheets/modals.less +95 -0
- data/vendor/assets/stylesheets/navbar.less +497 -0
- data/vendor/assets/stylesheets/navs.less +409 -0
- data/vendor/assets/stylesheets/pager.less +43 -0
- data/vendor/assets/stylesheets/pagination.less +123 -0
- data/vendor/assets/stylesheets/popovers.less +133 -0
- data/vendor/assets/stylesheets/progress-bars.less +122 -0
- data/vendor/assets/stylesheets/reset.less +216 -0
- data/vendor/assets/stylesheets/responsive-1200px-min.less +28 -0
- data/vendor/assets/stylesheets/responsive-767px-max.less +193 -0
- data/vendor/assets/stylesheets/responsive-768px-979px.less +19 -0
- data/vendor/assets/stylesheets/responsive-navbar.less +189 -0
- data/vendor/assets/stylesheets/responsive-utilities.less +59 -0
- data/vendor/assets/stylesheets/responsive.less +48 -0
- data/vendor/assets/stylesheets/scaffolding.less +53 -0
- data/vendor/assets/stylesheets/sprites.less +197 -0
- data/vendor/assets/stylesheets/tables.less +244 -0
- data/vendor/assets/stylesheets/thumbnails.less +53 -0
- data/vendor/assets/stylesheets/tooltip.less +70 -0
- data/vendor/assets/stylesheets/type.less +247 -0
- data/vendor/assets/stylesheets/utilities.less +30 -0
- data/vendor/assets/stylesheets/variables.less +301 -0
- data/vendor/assets/stylesheets/wells.less +29 -0
- metadata +78 -1
@@ -0,0 +1,24 @@
|
|
1
|
+
//
|
2
|
+
// Accordion
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
.accordion {
|
6
|
+
background-color: @white;
|
7
|
+
}
|
8
|
+
|
9
|
+
.accordion-group {
|
10
|
+
margin: 0;
|
11
|
+
border: 0;
|
12
|
+
.border-radius(2);
|
13
|
+
|
14
|
+
background-color: @white;
|
15
|
+
.box-shadow(~"0 2px 6px rgba(0,0,0,0.3),0 -3px 8px rgba(0,0,0,0.2)");
|
16
|
+
|
17
|
+
.transition(background-color 200ms cubic-bezier(0.52,0,0.48,1));
|
18
|
+
|
19
|
+
color: #666;
|
20
|
+
font-size: 12px;
|
21
|
+
line-height: 16px;
|
22
|
+
outline: none;
|
23
|
+
}
|
24
|
+
|
@@ -0,0 +1,92 @@
|
|
1
|
+
/*!
|
2
|
+
* Bootplus v1.0.3
|
3
|
+
*
|
4
|
+
* Copyright 2013 Marcello Palmitessa
|
5
|
+
* Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0) or the GPL v2.0 (http://www.gnu.org/licenses/gpl-2.0.html)
|
6
|
+
*
|
7
|
+
* based on Twitter Bootstrap v2.3.2
|
8
|
+
*/
|
9
|
+
|
10
|
+
// Core variables and mixins
|
11
|
+
@import "variables.less"; // Modify this for custom colors, font-sizes, etc
|
12
|
+
@import "../mixins.less";
|
13
|
+
@import "mixins.less";
|
14
|
+
|
15
|
+
// CSS Reset
|
16
|
+
@import "../reset.less";
|
17
|
+
|
18
|
+
// Grid system and page structure
|
19
|
+
@import "../scaffolding.less";
|
20
|
+
@import "../grid.less";
|
21
|
+
@import "../layouts.less";
|
22
|
+
|
23
|
+
// Base CSS
|
24
|
+
@import "../type.less";
|
25
|
+
@import "../code.less";
|
26
|
+
@import "../forms.less";
|
27
|
+
@import "../tables.less";
|
28
|
+
|
29
|
+
// Components: common
|
30
|
+
//@import "../sprites.less";
|
31
|
+
@import "icons.less";
|
32
|
+
|
33
|
+
@import "../dropdowns.less";
|
34
|
+
@import "../wells.less";
|
35
|
+
@import "../component-animations.less";
|
36
|
+
@import "../close.less";
|
37
|
+
|
38
|
+
// Components: Buttons & Alerts
|
39
|
+
//@import "../buttons.less";
|
40
|
+
@import "buttons.less";
|
41
|
+
@import "../button-groups.less";
|
42
|
+
@import "../alerts.less"; // Note: alerts share common CSS with buttons and thus have styles in buttons.less
|
43
|
+
|
44
|
+
// Components: Nav
|
45
|
+
@import "../navs.less";
|
46
|
+
@import "../navbar.less";
|
47
|
+
@import "../breadcrumbs.less";
|
48
|
+
@import "../pagination.less";
|
49
|
+
@import "../pager.less";
|
50
|
+
|
51
|
+
// Components: Popovers
|
52
|
+
@import "../modals.less";
|
53
|
+
@import "../tooltip.less";
|
54
|
+
@import "../popovers.less";
|
55
|
+
|
56
|
+
// Components: Misc
|
57
|
+
@import "../thumbnails.less";
|
58
|
+
@import "../media.less";
|
59
|
+
@import "../labels-badges.less";
|
60
|
+
@import "../progress-bars.less";
|
61
|
+
@import "../accordion.less";
|
62
|
+
@import "../carousel.less";
|
63
|
+
@import "../hero-unit.less";
|
64
|
+
|
65
|
+
// Utility classes
|
66
|
+
@import "../utilities.less"; // Has to be last to override when necessary
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
// BootPlus specs
|
71
|
+
@import "forms.less";
|
72
|
+
@import "button-groups.less";
|
73
|
+
@import "alerts.less"; // Note: alerts share common CSS with buttons and thus have styles in buttons.less
|
74
|
+
|
75
|
+
@import "wells.less";
|
76
|
+
@import "dropdowns.less";
|
77
|
+
|
78
|
+
@import "navs.less";
|
79
|
+
@import "navbar.less";
|
80
|
+
|
81
|
+
@import "modals.less";
|
82
|
+
@import "tooltip.less";
|
83
|
+
@import "popovers.less";
|
84
|
+
|
85
|
+
@import "media.less";
|
86
|
+
@import "labels-badges.less";
|
87
|
+
@import "progress-bars.less";
|
88
|
+
@import "accordion.less";
|
89
|
+
|
90
|
+
@import "cards.less";
|
91
|
+
|
92
|
+
@import "hero-unit.less";
|
@@ -0,0 +1,23 @@
|
|
1
|
+
//
|
2
|
+
// Button groups
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
.btn-group > .btn,
|
6
|
+
.btn-group > .dropdown-menu,
|
7
|
+
.btn-group > .popover {
|
8
|
+
font-weight: normal;
|
9
|
+
}
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
.btn-group > .btn + .dropdown-toggle {
|
14
|
+
min-width: 20px;
|
15
|
+
width: 20px;
|
16
|
+
padding-right: 2px;
|
17
|
+
padding-left: 2px;
|
18
|
+
}
|
19
|
+
|
20
|
+
// Reposition the caret for dropdown toggles
|
21
|
+
.btn-group > .btn.dropdown-toggle .caret {
|
22
|
+
margin-top: 0;
|
23
|
+
}
|
@@ -0,0 +1,272 @@
|
|
1
|
+
//
|
2
|
+
// Buttons
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base styles
|
7
|
+
// --------------------------------------------------
|
8
|
+
|
9
|
+
// Core
|
10
|
+
.btn {
|
11
|
+
display: inline-block;
|
12
|
+
.ie7-inline-block();
|
13
|
+
font-weight: 400;
|
14
|
+
padding: 0 8px;
|
15
|
+
margin: 0;
|
16
|
+
|
17
|
+
height: 29px;
|
18
|
+
min-height: 29px;
|
19
|
+
line-height: 1;
|
20
|
+
vertical-align: bottom;
|
21
|
+
// min-width: 46px;
|
22
|
+
text-align: center;
|
23
|
+
color: @grayDark;
|
24
|
+
// font-size: 11px;
|
25
|
+
font-weight: bold;
|
26
|
+
|
27
|
+
font-size: @baseFontSize;
|
28
|
+
text-align: center;
|
29
|
+
vertical-align: middle;
|
30
|
+
cursor: pointer;
|
31
|
+
.buttonBackground(@btnBackground, @btnBackgroundHighlight, @grayDark, none);
|
32
|
+
border: 1px solid @btnBorder;
|
33
|
+
*border: 0; // Remove the border to prevent IE7's black border on input:focus
|
34
|
+
// border-bottom-color: darken(@btnBorder, 10%);
|
35
|
+
.border-radius(@baseBorderRadius);
|
36
|
+
.ie7-restore-left-whitespace(); // Give IE7 some love
|
37
|
+
.box-shadow(none);
|
38
|
+
|
39
|
+
// Hover/focus state
|
40
|
+
&:hover,
|
41
|
+
&:focus {
|
42
|
+
text-decoration: none;
|
43
|
+
background-position: 0 -15px;
|
44
|
+
// .buttonBackground(darken(@btnBackground, 0.6%), @btnBackgroundHighlight, @grayDark, none);
|
45
|
+
.box-shadow(0 1px 1px rgba(0,0,0,.1));
|
46
|
+
color: @grayDarken;
|
47
|
+
// border-color: darken(@btnBorder, 0.6%);
|
48
|
+
|
49
|
+
// transition is only when going to hover/focus, otherwise the background
|
50
|
+
// behind the gradient (there for IE<=9 fallback) gets mismatched
|
51
|
+
.transition(background-position .1s linear);
|
52
|
+
}
|
53
|
+
|
54
|
+
// Focus state for keyboard and accessibility
|
55
|
+
&:focus {
|
56
|
+
.tab-focus();
|
57
|
+
}
|
58
|
+
|
59
|
+
// Active state
|
60
|
+
&.active,
|
61
|
+
&:active {
|
62
|
+
// background-image: none;
|
63
|
+
border-color: darken(@btnBorder, 0.6%);
|
64
|
+
// #gradient > .vertical(#fff,#f8f8f8);
|
65
|
+
outline: 0;
|
66
|
+
.box-shadow(0 1px 2px rgba(0, 0, 0, 0.1) inset);
|
67
|
+
}
|
68
|
+
|
69
|
+
// Disabled state
|
70
|
+
&.disabled,
|
71
|
+
&[disabled] {
|
72
|
+
cursor: default;
|
73
|
+
background-image: none;
|
74
|
+
.opacity(65);
|
75
|
+
.box-shadow(none);
|
76
|
+
}
|
77
|
+
|
78
|
+
}
|
79
|
+
|
80
|
+
a.btn {
|
81
|
+
line-height: 29px;
|
82
|
+
}
|
83
|
+
|
84
|
+
|
85
|
+
// Button Sizes
|
86
|
+
// --------------------------------------------------
|
87
|
+
|
88
|
+
// Large
|
89
|
+
.btn-large {
|
90
|
+
height: 54px;
|
91
|
+
min-height: 54px;
|
92
|
+
padding: @paddingLarge;
|
93
|
+
font-size: @fontSizeLarge;
|
94
|
+
.border-radius(@borderRadiusLarge);
|
95
|
+
}
|
96
|
+
a.btn-large {
|
97
|
+
height: 30px;
|
98
|
+
min-height: 30px;
|
99
|
+
line-height: 30px;
|
100
|
+
}
|
101
|
+
|
102
|
+
.btn-large [class^="icon-"],
|
103
|
+
.btn-large [class*=" icon-"] {
|
104
|
+
margin-top: 4px;
|
105
|
+
}
|
106
|
+
|
107
|
+
// Small
|
108
|
+
.btn-small {
|
109
|
+
padding: @paddingSmall;
|
110
|
+
font-size: @fontSizeSmall;
|
111
|
+
.border-radius(@borderRadiusSmall);
|
112
|
+
}
|
113
|
+
.btn-small [class^="icon-"],
|
114
|
+
.btn-small [class*=" icon-"] {
|
115
|
+
margin-top: 0;
|
116
|
+
}
|
117
|
+
.btn-mini [class^="icon-"],
|
118
|
+
.btn-mini [class*=" icon-"] {
|
119
|
+
margin-top: -1px;
|
120
|
+
}
|
121
|
+
|
122
|
+
// Mini
|
123
|
+
.btn-mini {
|
124
|
+
padding: @paddingMini;
|
125
|
+
width: auto;
|
126
|
+
min-width: 10px;
|
127
|
+
height: 20px;
|
128
|
+
min-height: 20px;
|
129
|
+
font-size: @fontSizeMini;
|
130
|
+
line-height: 20px;
|
131
|
+
.border-radius(@borderRadiusSmall);
|
132
|
+
}
|
133
|
+
|
134
|
+
|
135
|
+
// Block button
|
136
|
+
// -------------------------
|
137
|
+
|
138
|
+
.btn-block {
|
139
|
+
display: block;
|
140
|
+
width: 100%;
|
141
|
+
padding-left: 0;
|
142
|
+
padding-right: 0;
|
143
|
+
.box-sizing(border-box);
|
144
|
+
}
|
145
|
+
|
146
|
+
// Vertically space out multiple block buttons
|
147
|
+
.btn-block + .btn-block {
|
148
|
+
margin-top: 5px;
|
149
|
+
}
|
150
|
+
|
151
|
+
// Specificity overrides
|
152
|
+
input[type="submit"],
|
153
|
+
input[type="reset"],
|
154
|
+
input[type="button"] {
|
155
|
+
&.btn-block {
|
156
|
+
width: 100%;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
// Alternate buttons
|
163
|
+
// --------------------------------------------------
|
164
|
+
|
165
|
+
// Provide *some* extra contrast for those who can get it
|
166
|
+
.btn-primary.active,
|
167
|
+
.btn-warning.active,
|
168
|
+
.btn-danger.active,
|
169
|
+
.btn-success.active,
|
170
|
+
.btn-info.active,
|
171
|
+
.btn-inverse.active {
|
172
|
+
color: rgba(255,255,255,.75);
|
173
|
+
}
|
174
|
+
|
175
|
+
.btn-primary:hover,
|
176
|
+
.btn-warning:hover,
|
177
|
+
.btn-danger:hover,
|
178
|
+
.btn-success:hover,
|
179
|
+
.btn-info:hover,
|
180
|
+
.btn-inverse:hover {
|
181
|
+
color: @white;
|
182
|
+
}
|
183
|
+
|
184
|
+
// Set the backgrounds
|
185
|
+
// -------------------------
|
186
|
+
.btn-primary {
|
187
|
+
.buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
|
188
|
+
// &:hover {
|
189
|
+
// .buttonBackground(darken(@btnPrimaryBackground, 0.6%), @btnPrimaryBackgroundHighlight);
|
190
|
+
// }
|
191
|
+
}
|
192
|
+
// Warning appears are orange
|
193
|
+
.btn-warning {
|
194
|
+
.buttonBackground(@btnWarningBackground, @btnWarningBackgroundHighlight);
|
195
|
+
}
|
196
|
+
// Danger and error appear as red
|
197
|
+
.btn-danger {
|
198
|
+
.buttonBackground(@btnDangerBackground, @btnDangerBackgroundHighlight);
|
199
|
+
}
|
200
|
+
// Success appears as green
|
201
|
+
.btn-success {
|
202
|
+
.buttonBackground(@btnSuccessBackground, @btnSuccessBackgroundHighlight);
|
203
|
+
}
|
204
|
+
// Info appears as a neutral blue
|
205
|
+
.btn-info {
|
206
|
+
.buttonBackground(@btnInfoBackground, @btnInfoBackgroundHighlight);
|
207
|
+
}
|
208
|
+
// Inverse appears as dark gray
|
209
|
+
.btn-inverse {
|
210
|
+
.buttonBackground(@btnInverseBackground, @btnInverseBackgroundHighlight);
|
211
|
+
}
|
212
|
+
|
213
|
+
|
214
|
+
// Cross-browser Jank
|
215
|
+
// --------------------------------------------------
|
216
|
+
|
217
|
+
button.btn,
|
218
|
+
input[type="submit"].btn {
|
219
|
+
|
220
|
+
// Firefox 3.6 only I believe
|
221
|
+
&::-moz-focus-inner {
|
222
|
+
padding: 0;
|
223
|
+
border: 0;
|
224
|
+
}
|
225
|
+
|
226
|
+
// IE7 has some default padding on button controls
|
227
|
+
*padding-top: 3px;
|
228
|
+
*padding-bottom: 3px;
|
229
|
+
|
230
|
+
&.btn-large {
|
231
|
+
*padding-top: 7px;
|
232
|
+
*padding-bottom: 7px;
|
233
|
+
}
|
234
|
+
&.btn-small {
|
235
|
+
*padding-top: 3px;
|
236
|
+
*padding-bottom: 3px;
|
237
|
+
}
|
238
|
+
&.btn-mini {
|
239
|
+
*padding-top: 1px;
|
240
|
+
*padding-bottom: 1px;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
|
244
|
+
|
245
|
+
// Link buttons
|
246
|
+
// --------------------------------------------------
|
247
|
+
|
248
|
+
// Make a button look and behave like a link
|
249
|
+
.btn-link,
|
250
|
+
.btn-link:active,
|
251
|
+
.btn-link[disabled] {
|
252
|
+
background-color: transparent;
|
253
|
+
background-image: none;
|
254
|
+
.box-shadow(none);
|
255
|
+
}
|
256
|
+
.btn-link {
|
257
|
+
border-color: transparent;
|
258
|
+
cursor: pointer;
|
259
|
+
color: @linkColor;
|
260
|
+
.border-radius(0);
|
261
|
+
}
|
262
|
+
.btn-link:hover,
|
263
|
+
.btn-link:focus {
|
264
|
+
color: @linkColorHover;
|
265
|
+
text-decoration: underline;
|
266
|
+
background-color: transparent;
|
267
|
+
}
|
268
|
+
.btn-link[disabled]:hover,
|
269
|
+
.btn-link[disabled]:focus {
|
270
|
+
color: @grayDark;
|
271
|
+
text-decoration: none;
|
272
|
+
}
|
@@ -0,0 +1,243 @@
|
|
1
|
+
//
|
2
|
+
// Cards
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.card {
|
7
|
+
margin: 10px 0 20px 0;
|
8
|
+
padding-top: 20px;
|
9
|
+
border: 1px solid @navlistBorder;
|
10
|
+
border-bottom-width: 2px;
|
11
|
+
border-top-width: 0;
|
12
|
+
background-color: @white;
|
13
|
+
.border-radius(@borderRadiusSmall);
|
14
|
+
.box-shadow(none);
|
15
|
+
.box-sizing(border-box);
|
16
|
+
|
17
|
+
.card-heading {
|
18
|
+
padding: 0 20px;
|
19
|
+
margin: 0;
|
20
|
+
|
21
|
+
&.simple {
|
22
|
+
border-bottom: 1px solid @whiteSmoke;
|
23
|
+
color: #777;
|
24
|
+
font-size: 20px;
|
25
|
+
font-weight: 300;
|
26
|
+
}
|
27
|
+
|
28
|
+
&.image {
|
29
|
+
|
30
|
+
img {
|
31
|
+
display: inline-block;
|
32
|
+
vertical-align: top;
|
33
|
+
.border-radius(50%);
|
34
|
+
border: 0;
|
35
|
+
margin-right: 15px;
|
36
|
+
width: 46px;
|
37
|
+
height: 46px;
|
38
|
+
}
|
39
|
+
.card-heading-header {
|
40
|
+
display: inline-block;
|
41
|
+
vertical-align: top;
|
42
|
+
|
43
|
+
h3 {
|
44
|
+
font-size: 14px;
|
45
|
+
color: @navbarLinkColorHover;
|
46
|
+
line-height: 16px;
|
47
|
+
margin: 0;
|
48
|
+
}
|
49
|
+
span {
|
50
|
+
font-size: 12px;
|
51
|
+
color: @grayLight;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
|
58
|
+
.card-body {
|
59
|
+
margin-top: 20px;
|
60
|
+
padding: 0 20px;
|
61
|
+
}
|
62
|
+
|
63
|
+
|
64
|
+
.card-media {
|
65
|
+
padding: 0 20px;
|
66
|
+
margin: 0 -14px;
|
67
|
+
|
68
|
+
img {
|
69
|
+
max-height: 100%;
|
70
|
+
max-width: 100%;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
.card-actions {
|
75
|
+
// border-bottom: 1px solid @whiteSmoke;
|
76
|
+
min-height: 30px;
|
77
|
+
margin: 20px 0 0 0;
|
78
|
+
padding: 0 20px 20px 20px;
|
79
|
+
}
|
80
|
+
|
81
|
+
.card-comments {
|
82
|
+
padding: 20px;
|
83
|
+
margin: 0;
|
84
|
+
background-color: @cardFooterBackground;
|
85
|
+
|
86
|
+
.comments-collapse-toggle {
|
87
|
+
margin: 0 20px 12px 20px;
|
88
|
+
padding: 0;
|
89
|
+
|
90
|
+
a,
|
91
|
+
span {
|
92
|
+
color: #999;
|
93
|
+
overflow: hidden;
|
94
|
+
text-overflow: ellipsis;
|
95
|
+
white-space: nowrap;
|
96
|
+
font-size: 12px;
|
97
|
+
padding-right: 5px;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
|
103
|
+
}
|
104
|
+
|
105
|
+
|
106
|
+
.card-comments .media-heading {
|
107
|
+
font-size: 13px;
|
108
|
+
font-weight: bold;
|
109
|
+
}
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
.card {
|
114
|
+
&.people {
|
115
|
+
position: relative;
|
116
|
+
display: inline-block;
|
117
|
+
vertical-align: top;
|
118
|
+
width: 170px;
|
119
|
+
height: 300px;
|
120
|
+
padding-top: 0;
|
121
|
+
margin-left: 20px;
|
122
|
+
overflow: hidden;
|
123
|
+
|
124
|
+
&:first-child {
|
125
|
+
margin-left: 0;
|
126
|
+
}
|
127
|
+
|
128
|
+
.card-top {
|
129
|
+
position: absolute;
|
130
|
+
display: inline-block;
|
131
|
+
top: 0;
|
132
|
+
left: 0;
|
133
|
+
background-color: @white;
|
134
|
+
width: 170px;
|
135
|
+
height: 150px;
|
136
|
+
|
137
|
+
&.green {
|
138
|
+
background-color: #53a93f;
|
139
|
+
}
|
140
|
+
&.blue {
|
141
|
+
background-color: @navbarBorder;
|
142
|
+
}
|
143
|
+
}
|
144
|
+
|
145
|
+
.card-info {
|
146
|
+
.box-sizing(border-box);
|
147
|
+
position: absolute;
|
148
|
+
display: inline-block;
|
149
|
+
top: 150px;
|
150
|
+
width: 100%;
|
151
|
+
height: 101px;
|
152
|
+
overflow: hidden;
|
153
|
+
background: @white;
|
154
|
+
|
155
|
+
.title {
|
156
|
+
display: block;
|
157
|
+
font-size: 16px;
|
158
|
+
font-weight: bold;
|
159
|
+
line-height: 18px;
|
160
|
+
margin: 8px 14px 0 14px;
|
161
|
+
overflow: hidden;
|
162
|
+
color: #404040;
|
163
|
+
}
|
164
|
+
.desc {
|
165
|
+
display: block;
|
166
|
+
line-height: 16px;
|
167
|
+
margin: 8px 14px 0 14px;
|
168
|
+
overflow: hidden;
|
169
|
+
font-size: 12px;
|
170
|
+
color: @graySemiLight;
|
171
|
+
text-overflow: ellipsis;
|
172
|
+
}
|
173
|
+
}
|
174
|
+
|
175
|
+
.card-bottom {
|
176
|
+
.box-sizing(border-box);
|
177
|
+
position: absolute;
|
178
|
+
bottom: 0;
|
179
|
+
left: 0;
|
180
|
+
display: inline-block;
|
181
|
+
width: 100%;
|
182
|
+
padding: 10px 20px;
|
183
|
+
line-height: 29px;
|
184
|
+
text-align: center;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
|
189
|
+
|
190
|
+
.card {
|
191
|
+
&.hovercard {
|
192
|
+
overflow: hidden;
|
193
|
+
position: relative;
|
194
|
+
width: 240px;
|
195
|
+
padding-top: 0;
|
196
|
+
text-align: center;
|
197
|
+
background-color: #fff;
|
198
|
+
|
199
|
+
img {
|
200
|
+
height: 135px;
|
201
|
+
width: 240px;
|
202
|
+
}
|
203
|
+
.avatar {
|
204
|
+
margin-bottom: -40px;
|
205
|
+
position: relative;
|
206
|
+
top: -40px;
|
207
|
+
|
208
|
+
img {
|
209
|
+
width: 80px;
|
210
|
+
height: 80px;
|
211
|
+
max-width: 80px;
|
212
|
+
max-height: 80px;
|
213
|
+
.border-radius(50%);
|
214
|
+
}
|
215
|
+
}
|
216
|
+
.info {
|
217
|
+
padding: 4px 8px 10px;
|
218
|
+
.title {
|
219
|
+
color: #262626;
|
220
|
+
font-size: 24px;
|
221
|
+
line-height: 1;
|
222
|
+
vertical-align: middle;
|
223
|
+
margin-bottom: 4px;
|
224
|
+
}
|
225
|
+
.desc {
|
226
|
+
color: #737373;
|
227
|
+
font-size: 12px;
|
228
|
+
line-height: 20px;
|
229
|
+
overflow: hidden;
|
230
|
+
text-overflow: ellipsis;
|
231
|
+
}
|
232
|
+
}
|
233
|
+
.bottom {
|
234
|
+
margin-bottom: 17px;
|
235
|
+
padding: 0 20px;
|
236
|
+
// .btn {
|
237
|
+
// width: 85px;
|
238
|
+
// }
|
239
|
+
}
|
240
|
+
|
241
|
+
}
|
242
|
+
}
|
243
|
+
|