fastfood 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.travis.yml +26 -0
- data/Gemfile +3 -0
- data/LICENSE +21 -0
- data/README.md +18 -0
- data/Rakefile +12 -0
- data/app/assets/stylesheets/_fastfood.scss +48 -0
- data/app/assets/stylesheets/fastfood/_alerts.scss +73 -0
- data/app/assets/stylesheets/fastfood/_badges.scss +68 -0
- data/app/assets/stylesheets/fastfood/_breadcrumbs.scss +26 -0
- data/app/assets/stylesheets/fastfood/_button-groups.scss +243 -0
- data/app/assets/stylesheets/fastfood/_buttons.scss +160 -0
- data/app/assets/stylesheets/fastfood/_carousel.scss +269 -0
- data/app/assets/stylesheets/fastfood/_close.scss +36 -0
- data/app/assets/stylesheets/fastfood/_code.scss +69 -0
- data/app/assets/stylesheets/fastfood/_component-animations.scss +37 -0
- data/app/assets/stylesheets/fastfood/_dropdowns.scss +214 -0
- data/app/assets/stylesheets/fastfood/_forms.scss +578 -0
- data/app/assets/stylesheets/fastfood/_grid.scss +85 -0
- data/app/assets/stylesheets/fastfood/_input-groups.scss +166 -0
- data/app/assets/stylesheets/fastfood/_jumbotron.scss +50 -0
- data/app/assets/stylesheets/fastfood/_labels.scss +66 -0
- data/app/assets/stylesheets/fastfood/_list-group.scss +124 -0
- data/app/assets/stylesheets/fastfood/_media.scss +61 -0
- data/app/assets/stylesheets/fastfood/_mixins.scss +39 -0
- data/app/assets/stylesheets/fastfood/_modals.scss +150 -0
- data/app/assets/stylesheets/fastfood/_navbar.scss +664 -0
- data/app/assets/stylesheets/fastfood/_navs.scss +242 -0
- data/app/assets/stylesheets/fastfood/_normalize.scss +427 -0
- data/app/assets/stylesheets/fastfood/_pager.scss +54 -0
- data/app/assets/stylesheets/fastfood/_pagination.scss +88 -0
- data/app/assets/stylesheets/fastfood/_panels.scss +265 -0
- data/app/assets/stylesheets/fastfood/_popovers.scss +135 -0
- data/app/assets/stylesheets/fastfood/_print.scss +107 -0
- data/app/assets/stylesheets/fastfood/_progress-bars.scss +87 -0
- data/app/assets/stylesheets/fastfood/_responsive-embed.scss +35 -0
- data/app/assets/stylesheets/fastfood/_responsive-utilities.scss +177 -0
- data/app/assets/stylesheets/fastfood/_scaffolding.scss +204 -0
- data/app/assets/stylesheets/fastfood/_tables.scss +234 -0
- data/app/assets/stylesheets/fastfood/_theme.scss +273 -0
- data/app/assets/stylesheets/fastfood/_thumbnails.scss +38 -0
- data/app/assets/stylesheets/fastfood/_tooltip.scss +102 -0
- data/app/assets/stylesheets/fastfood/_type.scss +306 -0
- data/app/assets/stylesheets/fastfood/_utilities.scss +73 -0
- data/app/assets/stylesheets/fastfood/_wells.scss +29 -0
- data/app/assets/stylesheets/fastfood/mixins/_alerts.scss +14 -0
- data/app/assets/stylesheets/fastfood/mixins/_background-variant.scss +11 -0
- data/app/assets/stylesheets/fastfood/mixins/_border-radius.scss +18 -0
- data/app/assets/stylesheets/fastfood/mixins/_buttons.scss +52 -0
- data/app/assets/stylesheets/fastfood/mixins/_center-block.scss +7 -0
- data/app/assets/stylesheets/fastfood/mixins/_clearfix.scss +22 -0
- data/app/assets/stylesheets/fastfood/mixins/_forms.scss +88 -0
- data/app/assets/stylesheets/fastfood/mixins/_gradients.scss +58 -0
- data/app/assets/stylesheets/fastfood/mixins/_grid-framework.scss +81 -0
- data/app/assets/stylesheets/fastfood/mixins/_grid.scss +123 -0
- data/app/assets/stylesheets/fastfood/mixins/_hide-text.scss +21 -0
- data/app/assets/stylesheets/fastfood/mixins/_image.scss +33 -0
- data/app/assets/stylesheets/fastfood/mixins/_labels.scss +12 -0
- data/app/assets/stylesheets/fastfood/mixins/_list-group.scss +31 -0
- data/app/assets/stylesheets/fastfood/mixins/_nav-divider.scss +10 -0
- data/app/assets/stylesheets/fastfood/mixins/_nav-vertical-align.scss +9 -0
- data/app/assets/stylesheets/fastfood/mixins/_opacity.scss +8 -0
- data/app/assets/stylesheets/fastfood/mixins/_pagination.scss +23 -0
- data/app/assets/stylesheets/fastfood/mixins/_panels.scss +24 -0
- data/app/assets/stylesheets/fastfood/mixins/_progress-bar.scss +10 -0
- data/app/assets/stylesheets/fastfood/mixins/_reset-filter.scss +8 -0
- data/app/assets/stylesheets/fastfood/mixins/_resize.scss +6 -0
- data/app/assets/stylesheets/fastfood/mixins/_responsive-visibility.scss +21 -0
- data/app/assets/stylesheets/fastfood/mixins/_size.scss +10 -0
- data/app/assets/stylesheets/fastfood/mixins/_tab-focus.scss +9 -0
- data/app/assets/stylesheets/fastfood/mixins/_table-row.scss +28 -0
- data/app/assets/stylesheets/fastfood/mixins/_text-emphasis.scss +11 -0
- data/app/assets/stylesheets/fastfood/mixins/_text-overflow.scss +8 -0
- data/app/assets/stylesheets/fastfood/mixins/_vendor-prefixes.scss +222 -0
- data/bin/fastfood +6 -0
- data/fastfood.gemspec +30 -0
- data/lib/.gitkeep +0 -0
- data/lib/fastfood.rb +28 -0
- data/lib/fastfood/engine.rb +5 -0
- data/lib/fastfood/generator.rb +80 -0
- data/lib/fastfood/version.rb +3 -0
- data/lib/tasks/install.rake +20 -0
- metadata +225 -0
@@ -0,0 +1,85 @@
|
|
1
|
+
//
|
2
|
+
// Grid system
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Container widths
|
7
|
+
//
|
8
|
+
// Set the container width, and override it for fixed navbars in media queries.
|
9
|
+
|
10
|
+
.container {
|
11
|
+
max-width: 800px !important;
|
12
|
+
@include container-fixed;
|
13
|
+
|
14
|
+
@media (min-width: $screen-sm-min) {
|
15
|
+
width: $container-sm;
|
16
|
+
}
|
17
|
+
@media (min-width: $screen-md-min) {
|
18
|
+
width: $container-md;
|
19
|
+
}
|
20
|
+
@media (min-width: $screen-lg-min) {
|
21
|
+
width: $container-lg;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
|
26
|
+
// Fluid container
|
27
|
+
//
|
28
|
+
// Utilizes the mixin meant for fixed width containers, but without any defined
|
29
|
+
// width for fluid, full width layouts.
|
30
|
+
|
31
|
+
.container-fluid {
|
32
|
+
@include container-fixed;
|
33
|
+
}
|
34
|
+
|
35
|
+
|
36
|
+
// Row
|
37
|
+
//
|
38
|
+
// Rows contain and clear the floats of your columns.
|
39
|
+
|
40
|
+
.row {
|
41
|
+
@include make-row;
|
42
|
+
}
|
43
|
+
|
44
|
+
|
45
|
+
// Columns
|
46
|
+
//
|
47
|
+
// Common styles for small and large grid columns
|
48
|
+
|
49
|
+
@include make-grid-columns;
|
50
|
+
|
51
|
+
|
52
|
+
// Extra small grid
|
53
|
+
//
|
54
|
+
// Columns, offsets, pushes, and pulls for extra small devices like
|
55
|
+
// smartphones.
|
56
|
+
|
57
|
+
@include make-grid(xs);
|
58
|
+
|
59
|
+
|
60
|
+
// Small grid
|
61
|
+
//
|
62
|
+
// Columns, offsets, pushes, and pulls for the small device range, from phones
|
63
|
+
// to tablets.
|
64
|
+
|
65
|
+
@media (min-width: $screen-sm-min) {
|
66
|
+
@include make-grid(sm);
|
67
|
+
}
|
68
|
+
|
69
|
+
|
70
|
+
// Medium grid
|
71
|
+
//
|
72
|
+
// Columns, offsets, pushes, and pulls for the desktop device range.
|
73
|
+
|
74
|
+
@media (min-width: $screen-md-min) {
|
75
|
+
@include make-grid(md);
|
76
|
+
}
|
77
|
+
|
78
|
+
|
79
|
+
// Large grid
|
80
|
+
//
|
81
|
+
// Columns, offsets, pushes, and pulls for the large desktop device range.
|
82
|
+
|
83
|
+
@media (min-width: $screen-lg-min) {
|
84
|
+
@include make-grid(lg);
|
85
|
+
}
|
@@ -0,0 +1,166 @@
|
|
1
|
+
//
|
2
|
+
// Input groups
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
// Base styles
|
6
|
+
// -------------------------
|
7
|
+
.input-group {
|
8
|
+
position: relative; // For dropdowns
|
9
|
+
display: table;
|
10
|
+
border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table
|
11
|
+
|
12
|
+
// Undo padding and float of grid classes
|
13
|
+
&[class*="col-"] {
|
14
|
+
float: none;
|
15
|
+
padding-left: 0;
|
16
|
+
padding-right: 0;
|
17
|
+
}
|
18
|
+
|
19
|
+
.form-control {
|
20
|
+
// Ensure that the input is always above the *appended* addon button for
|
21
|
+
// proper border colors.
|
22
|
+
position: relative;
|
23
|
+
z-index: 2;
|
24
|
+
|
25
|
+
// IE9 fubars the placeholder attribute in text inputs and the arrows on
|
26
|
+
// select elements in input groups. To fix it, we float the input. Details:
|
27
|
+
// https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855
|
28
|
+
float: left;
|
29
|
+
|
30
|
+
width: 100%;
|
31
|
+
margin-bottom: 0;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
// Sizing options
|
36
|
+
//
|
37
|
+
// Remix the default form control sizing classes into new ones for easier
|
38
|
+
// manipulation.
|
39
|
+
|
40
|
+
.input-group-lg > .form-control,
|
41
|
+
.input-group-lg > .input-group-addon,
|
42
|
+
.input-group-lg > .input-group-btn > .btn {
|
43
|
+
@extend .input-lg;
|
44
|
+
}
|
45
|
+
.input-group-sm > .form-control,
|
46
|
+
.input-group-sm > .input-group-addon,
|
47
|
+
.input-group-sm > .input-group-btn > .btn {
|
48
|
+
@extend .input-sm;
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
// Display as table-cell
|
53
|
+
// -------------------------
|
54
|
+
.input-group-addon,
|
55
|
+
.input-group-btn,
|
56
|
+
.input-group .form-control {
|
57
|
+
display: table-cell;
|
58
|
+
|
59
|
+
&:not(:first-child):not(:last-child) {
|
60
|
+
border-radius: 0;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
// Addon and addon wrapper for buttons
|
64
|
+
.input-group-addon,
|
65
|
+
.input-group-btn {
|
66
|
+
width: 1%;
|
67
|
+
white-space: nowrap;
|
68
|
+
vertical-align: middle; // Match the inputs
|
69
|
+
}
|
70
|
+
|
71
|
+
// Text input groups
|
72
|
+
// -------------------------
|
73
|
+
.input-group-addon {
|
74
|
+
padding: $padding-base-vertical $padding-base-horizontal;
|
75
|
+
font-size: $font-size-base;
|
76
|
+
font-weight: normal;
|
77
|
+
line-height: 1;
|
78
|
+
color: $input-color;
|
79
|
+
text-align: center;
|
80
|
+
background-color: $input-group-addon-bg;
|
81
|
+
border: 1px solid $input-group-addon-border-color;
|
82
|
+
border-radius: $border-radius-base;
|
83
|
+
|
84
|
+
// Sizing
|
85
|
+
&.input-sm {
|
86
|
+
padding: $padding-small-vertical $padding-small-horizontal;
|
87
|
+
font-size: $font-size-small;
|
88
|
+
border-radius: $border-radius-small;
|
89
|
+
}
|
90
|
+
&.input-lg {
|
91
|
+
padding: $padding-large-vertical $padding-large-horizontal;
|
92
|
+
font-size: $font-size-large;
|
93
|
+
border-radius: $border-radius-large;
|
94
|
+
}
|
95
|
+
|
96
|
+
// Nuke default margins from checkboxes and radios to vertically center within.
|
97
|
+
input[type="radio"],
|
98
|
+
input[type="checkbox"] {
|
99
|
+
margin-top: 0;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
// Reset rounded corners
|
104
|
+
.input-group .form-control:first-child,
|
105
|
+
.input-group-addon:first-child,
|
106
|
+
.input-group-btn:first-child > .btn,
|
107
|
+
.input-group-btn:first-child > .btn-group > .btn,
|
108
|
+
.input-group-btn:first-child > .dropdown-toggle,
|
109
|
+
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
|
110
|
+
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
|
111
|
+
@include border-right-radius(0);
|
112
|
+
}
|
113
|
+
.input-group-addon:first-child {
|
114
|
+
border-right: 0;
|
115
|
+
}
|
116
|
+
.input-group .form-control:last-child,
|
117
|
+
.input-group-addon:last-child,
|
118
|
+
.input-group-btn:last-child > .btn,
|
119
|
+
.input-group-btn:last-child > .btn-group > .btn,
|
120
|
+
.input-group-btn:last-child > .dropdown-toggle,
|
121
|
+
.input-group-btn:first-child > .btn:not(:first-child),
|
122
|
+
.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
|
123
|
+
@include border-left-radius(0);
|
124
|
+
}
|
125
|
+
.input-group-addon:last-child {
|
126
|
+
border-left: 0;
|
127
|
+
}
|
128
|
+
|
129
|
+
// Button input groups
|
130
|
+
// -------------------------
|
131
|
+
.input-group-btn {
|
132
|
+
position: relative;
|
133
|
+
// Jankily prevent input button groups from wrapping with `white-space` and
|
134
|
+
// `font-size` in combination with `inline-block` on buttons.
|
135
|
+
font-size: 0;
|
136
|
+
white-space: nowrap;
|
137
|
+
|
138
|
+
// Negative margin for spacing, position for bringing hovered/focused/actived
|
139
|
+
// element above the siblings.
|
140
|
+
> .btn {
|
141
|
+
position: relative;
|
142
|
+
+ .btn {
|
143
|
+
margin-left: -1px;
|
144
|
+
}
|
145
|
+
// Bring the "active" button to the front
|
146
|
+
&:hover,
|
147
|
+
&:focus,
|
148
|
+
&:active {
|
149
|
+
z-index: 2;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
// Negative margin to only have a 1px border between the two
|
154
|
+
&:first-child {
|
155
|
+
> .btn,
|
156
|
+
> .btn-group {
|
157
|
+
margin-right: -1px;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
&:last-child {
|
161
|
+
> .btn,
|
162
|
+
> .btn-group {
|
163
|
+
margin-left: -1px;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
//
|
2
|
+
// Jumbotron
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.jumbotron {
|
7
|
+
padding: $jumbotron-padding ($jumbotron-padding / 2);
|
8
|
+
margin-bottom: $jumbotron-padding;
|
9
|
+
color: $jumbotron-color;
|
10
|
+
background-color: $jumbotron-bg;
|
11
|
+
|
12
|
+
h1,
|
13
|
+
.h1 {
|
14
|
+
color: $jumbotron-heading-color;
|
15
|
+
}
|
16
|
+
|
17
|
+
p {
|
18
|
+
margin-bottom: ($jumbotron-padding / 2);
|
19
|
+
font-size: $jumbotron-font-size;
|
20
|
+
font-weight: 200;
|
21
|
+
}
|
22
|
+
|
23
|
+
> hr {
|
24
|
+
border-top-color: darken($jumbotron-bg, 10%);
|
25
|
+
}
|
26
|
+
|
27
|
+
.container &,
|
28
|
+
.container-fluid & {
|
29
|
+
border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container
|
30
|
+
}
|
31
|
+
|
32
|
+
.container {
|
33
|
+
max-width: 100%;
|
34
|
+
}
|
35
|
+
|
36
|
+
@media screen and (min-width: $screen-sm-min) {
|
37
|
+
padding: ($jumbotron-padding * 1.6) 0;
|
38
|
+
|
39
|
+
.container &,
|
40
|
+
.container-fluid & {
|
41
|
+
padding-left: ($jumbotron-padding * 2);
|
42
|
+
padding-right: ($jumbotron-padding * 2);
|
43
|
+
}
|
44
|
+
|
45
|
+
h1,
|
46
|
+
.h1 {
|
47
|
+
font-size: ($font-size-base * 4.5);
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
//
|
2
|
+
// Labels
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
.label {
|
6
|
+
display: inline;
|
7
|
+
padding: .2em .6em .3em;
|
8
|
+
font-size: 75%;
|
9
|
+
font-weight: bold;
|
10
|
+
line-height: 1;
|
11
|
+
color: $label-color;
|
12
|
+
text-align: center;
|
13
|
+
white-space: nowrap;
|
14
|
+
vertical-align: baseline;
|
15
|
+
border-radius: .25em;
|
16
|
+
|
17
|
+
// [converter] extracted a& to a.label
|
18
|
+
|
19
|
+
// Empty labels collapse automatically (not available in IE8)
|
20
|
+
&:empty {
|
21
|
+
display: none;
|
22
|
+
}
|
23
|
+
|
24
|
+
// Quick fix for labels in buttons
|
25
|
+
.btn & {
|
26
|
+
position: relative;
|
27
|
+
top: -1px;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
// Add hover effects, but only for links
|
32
|
+
a.label {
|
33
|
+
&:hover,
|
34
|
+
&:focus {
|
35
|
+
color: $label-link-hover-color;
|
36
|
+
text-decoration: none;
|
37
|
+
cursor: pointer;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
// Colors
|
42
|
+
// Contextual variations (linked labels get darker on :hover)
|
43
|
+
|
44
|
+
.label-default {
|
45
|
+
@include label-variant($label-default-bg);
|
46
|
+
}
|
47
|
+
|
48
|
+
.label-primary {
|
49
|
+
@include label-variant($label-primary-bg);
|
50
|
+
}
|
51
|
+
|
52
|
+
.label-success {
|
53
|
+
@include label-variant($label-success-bg);
|
54
|
+
}
|
55
|
+
|
56
|
+
.label-info {
|
57
|
+
@include label-variant($label-info-bg);
|
58
|
+
}
|
59
|
+
|
60
|
+
.label-warning {
|
61
|
+
@include label-variant($label-warning-bg);
|
62
|
+
}
|
63
|
+
|
64
|
+
.label-danger {
|
65
|
+
@include label-variant($label-danger-bg);
|
66
|
+
}
|
@@ -0,0 +1,124 @@
|
|
1
|
+
//
|
2
|
+
// List groups
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base class
|
7
|
+
//
|
8
|
+
// Easily usable on <ul>, <ol>, or <div>.
|
9
|
+
|
10
|
+
.list-group {
|
11
|
+
// No need to set list-style: none; since .list-group-item is block level
|
12
|
+
margin-bottom: 20px;
|
13
|
+
padding-left: 0; // reset padding because ul and ol
|
14
|
+
}
|
15
|
+
|
16
|
+
|
17
|
+
// Individual list items
|
18
|
+
//
|
19
|
+
// Use on `li`s or `div`s within the `.list-group` parent.
|
20
|
+
|
21
|
+
.list-group-item {
|
22
|
+
position: relative;
|
23
|
+
display: block;
|
24
|
+
padding: 10px 15px;
|
25
|
+
// Place the border on the list items and negative margin up for better styling
|
26
|
+
margin-bottom: -1px;
|
27
|
+
background-color: $list-group-bg;
|
28
|
+
border: 1px solid $list-group-border;
|
29
|
+
|
30
|
+
// Round the first and last items
|
31
|
+
&:first-child {
|
32
|
+
@include border-top-radius($list-group-border-radius);
|
33
|
+
}
|
34
|
+
&:last-child {
|
35
|
+
margin-bottom: 0;
|
36
|
+
@include border-bottom-radius($list-group-border-radius);
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
|
41
|
+
// Linked list items
|
42
|
+
//
|
43
|
+
// Use anchor elements instead of `li`s or `div`s to create linked list items.
|
44
|
+
// Includes an extra `.active` modifier class for showing selected items.
|
45
|
+
|
46
|
+
a.list-group-item {
|
47
|
+
color: $list-group-link-color;
|
48
|
+
|
49
|
+
.list-group-item-heading {
|
50
|
+
color: $list-group-link-heading-color;
|
51
|
+
}
|
52
|
+
|
53
|
+
// Hover state
|
54
|
+
&:hover,
|
55
|
+
&:focus {
|
56
|
+
text-decoration: none;
|
57
|
+
color: $list-group-link-hover-color;
|
58
|
+
background-color: $list-group-hover-bg;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
.list-group-item {
|
63
|
+
// Disabled state
|
64
|
+
&.disabled,
|
65
|
+
&.disabled:hover,
|
66
|
+
&.disabled:focus {
|
67
|
+
background-color: $list-group-disabled-bg;
|
68
|
+
color: $list-group-disabled-color;
|
69
|
+
cursor: $cursor-disabled;
|
70
|
+
|
71
|
+
// Force color to inherit for custom content
|
72
|
+
.list-group-item-heading {
|
73
|
+
color: inherit;
|
74
|
+
}
|
75
|
+
.list-group-item-text {
|
76
|
+
color: $list-group-disabled-text-color;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
// Active class on item itself, not parent
|
81
|
+
&.active,
|
82
|
+
&.active:hover,
|
83
|
+
&.active:focus {
|
84
|
+
z-index: 2; // Place active items above their siblings for proper border styling
|
85
|
+
color: $list-group-active-color;
|
86
|
+
background-color: $list-group-active-bg;
|
87
|
+
border-color: $list-group-active-border;
|
88
|
+
|
89
|
+
// Force color to inherit for custom content
|
90
|
+
.list-group-item-heading,
|
91
|
+
.list-group-item-heading > small,
|
92
|
+
.list-group-item-heading > .small {
|
93
|
+
color: inherit;
|
94
|
+
}
|
95
|
+
.list-group-item-text {
|
96
|
+
color: $list-group-active-text-color;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
// Contextual variants
|
103
|
+
//
|
104
|
+
// Add modifier classes to change text and background color on individual items.
|
105
|
+
// Organizationally, this must come after the `:hover` states.
|
106
|
+
|
107
|
+
@include list-group-item-variant(success, $state-success-bg, $state-success-text);
|
108
|
+
@include list-group-item-variant(info, $state-info-bg, $state-info-text);
|
109
|
+
@include list-group-item-variant(warning, $state-warning-bg, $state-warning-text);
|
110
|
+
@include list-group-item-variant(danger, $state-danger-bg, $state-danger-text);
|
111
|
+
|
112
|
+
|
113
|
+
// Custom content options
|
114
|
+
//
|
115
|
+
// Extra classes for creating well-formatted content within `.list-group-item`s.
|
116
|
+
|
117
|
+
.list-group-item-heading {
|
118
|
+
margin-top: 0;
|
119
|
+
margin-bottom: 5px;
|
120
|
+
}
|
121
|
+
.list-group-item-text {
|
122
|
+
margin-bottom: 0;
|
123
|
+
line-height: 1.3;
|
124
|
+
}
|