bootflat-rails 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/Gemfile +11 -0
- data/README.md +34 -0
- data/bootflat-rails.gemspec +21 -0
- data/lib/bootflat-rails.rb +58 -4
- data/lib/bootflat-rails/engine.rb +9 -0
- data/lib/bootflat-rails/version.rb +3 -0
- data/vendor/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/fonts/glyphicons-halflings-regular.svg +229 -0
- data/vendor/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/images/check_flat/default.png +0 -0
- data/vendor/assets/images/check_flat/default.psd +0 -0
- data/vendor/assets/javascripts/bootstrap.min.js +6 -0
- data/vendor/assets/javascripts/icheck.min.js +11 -0
- data/vendor/assets/stylesheets/bootflat.scss +42 -0
- data/vendor/assets/stylesheets/bootflat/_accordion.scss +76 -0
- data/vendor/assets/stylesheets/bootflat/_alert.scss +75 -0
- data/vendor/assets/stylesheets/bootflat/_breadcrumb.scss +121 -0
- data/vendor/assets/stylesheets/bootflat/_button.scss +205 -0
- data/vendor/assets/stylesheets/bootflat/_button_group.scss +133 -0
- data/vendor/assets/stylesheets/bootflat/_checkbox_radio.scss +62 -0
- data/vendor/assets/stylesheets/bootflat/_dropdown.scss +122 -0
- data/vendor/assets/stylesheets/bootflat/_footer.scss +82 -0
- data/vendor/assets/stylesheets/bootflat/_form.scss +212 -0
- data/vendor/assets/stylesheets/bootflat/_global.scss +239 -0
- data/vendor/assets/stylesheets/bootflat/_jumbotron.scss +80 -0
- data/vendor/assets/stylesheets/bootflat/_label_badge.scss +65 -0
- data/vendor/assets/stylesheets/bootflat/_list.scss +188 -0
- data/vendor/assets/stylesheets/bootflat/_media_list.scss +26 -0
- data/vendor/assets/stylesheets/bootflat/_modal.scss +39 -0
- data/vendor/assets/stylesheets/bootflat/_navbar.scss +213 -0
- data/vendor/assets/stylesheets/bootflat/_pager.scss +42 -0
- data/vendor/assets/stylesheets/bootflat/_pagination.scss +59 -0
- data/vendor/assets/stylesheets/bootflat/_panel.scss +169 -0
- data/vendor/assets/stylesheets/bootflat/_pill.scss +45 -0
- data/vendor/assets/stylesheets/bootflat/_popover.scss +50 -0
- data/vendor/assets/stylesheets/bootflat/_progress.scss +42 -0
- data/vendor/assets/stylesheets/bootflat/_tab.scss +179 -0
- data/vendor/assets/stylesheets/bootflat/_thumbnail.scss +39 -0
- data/vendor/assets/stylesheets/bootflat/_tooltip.scss +42 -0
- data/vendor/assets/stylesheets/bootflat/_typography.scss +127 -0
- data/vendor/assets/stylesheets/bootflat/_well.scss +43 -0
- metadata +74 -5
@@ -0,0 +1,239 @@
|
|
1
|
+
// Global Variables
|
2
|
+
//------------------------------------------------------
|
3
|
+
$modules: () !default;
|
4
|
+
|
5
|
+
$experimental: true !default;
|
6
|
+
|
7
|
+
// prefix elements
|
8
|
+
$prefix-webkit: true !global;
|
9
|
+
$prefix-moz: true !global;
|
10
|
+
$prefix-spec: true !global;
|
11
|
+
|
12
|
+
// color elements
|
13
|
+
$white: #FFF !default;
|
14
|
+
$black: #000 !default;
|
15
|
+
|
16
|
+
$bluejeans-dark: #4A89DC !default;
|
17
|
+
$bluejeans-light: #5D9CEC !default;
|
18
|
+
|
19
|
+
$aqua-dark: #3BAFDA !default;
|
20
|
+
$aqua-light: #4FC1E9 !default;
|
21
|
+
|
22
|
+
$mint-dark: #37BC9B !default;
|
23
|
+
$mint-light: #48CFAD !default;
|
24
|
+
|
25
|
+
$grass-dark: #8CC152 !default;
|
26
|
+
$grass-light: #A0D468 !default;
|
27
|
+
|
28
|
+
$sunflower-dark: #F6BB42 !default;
|
29
|
+
$sunflower-light: #FFCE54 !default;
|
30
|
+
|
31
|
+
$bittersweet-dark: #E9573F !default;
|
32
|
+
$bittersweet-light: #FC6E51 !default;
|
33
|
+
|
34
|
+
$grapefruit-dark: #DA4453 !default;
|
35
|
+
$grapefruit-light: #ED5565 !default;
|
36
|
+
|
37
|
+
$lavender-dark: #967ADC !default;
|
38
|
+
$lavender-light: #AC92EC !default;
|
39
|
+
|
40
|
+
$pinkrose-dark: #D770AD !default;
|
41
|
+
$pinkrose-light: #EC87C0 !default;
|
42
|
+
|
43
|
+
$lightgray-dark: #E6E9ED !default;
|
44
|
+
$lightgray-light: #F5F7FA !default;
|
45
|
+
|
46
|
+
$mediumgray-dark: #AAB2BD !default;
|
47
|
+
$mediumgray-light: #CCD1D9 !default;
|
48
|
+
|
49
|
+
$darkgray-dark: #434A54 !default;
|
50
|
+
$darkgray-light: #656D78 !default;
|
51
|
+
|
52
|
+
// Global Mixins
|
53
|
+
//------------------------------------------------------
|
54
|
+
|
55
|
+
// We use this to loading scss files
|
56
|
+
@mixin exports($name) {
|
57
|
+
@if index($modules, $name) {
|
58
|
+
} @else {
|
59
|
+
$modules: append($modules, $name);
|
60
|
+
@content;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
// We use this to do set opacity
|
65
|
+
@mixin opacity($opacity:50, $filter: true) {
|
66
|
+
opacity: $opacity / 100;
|
67
|
+
@if $filter {
|
68
|
+
filter: alpha(opacity=$opacity);
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
// We use this to ellipsis text
|
73
|
+
@mixin ellipsis($width: 100%) {
|
74
|
+
display: inline-block;
|
75
|
+
max-width: $width;
|
76
|
+
overflow: hidden;
|
77
|
+
text-overflow: ellipsis;
|
78
|
+
white-space: nowrap;
|
79
|
+
}
|
80
|
+
|
81
|
+
// We use this to add across browser prefixes
|
82
|
+
@mixin prefixer($property, $value, $prefixes: webkit moz spec) {
|
83
|
+
@if $experimental {
|
84
|
+
@each $prefix in $prefixes {
|
85
|
+
@if $prefix != spec {
|
86
|
+
@if $property == border-top-left-radius and $prefix == moz {
|
87
|
+
@if $prefix-moz {
|
88
|
+
-moz-border-radius-topleft: $value;
|
89
|
+
}
|
90
|
+
} @else if $property == border-top-right-radius and $prefix == moz {
|
91
|
+
@if $prefix-moz {
|
92
|
+
-moz-border-radius-topright: $value;
|
93
|
+
}
|
94
|
+
} @else if $property == border-bottom-right-radius and $prefix == moz {
|
95
|
+
@if $prefix-moz {
|
96
|
+
-moz-border-radius-bottomright: $value;
|
97
|
+
}
|
98
|
+
} @else if $property == border-bottom-left-radius and $prefix == moz {
|
99
|
+
@if $prefix-moz {
|
100
|
+
-moz-border-radius-bottomleft: $value;
|
101
|
+
}
|
102
|
+
} @else {
|
103
|
+
@if $prefix == webkit {
|
104
|
+
@if $prefix-webkit {
|
105
|
+
-webkit-#{$property}: $value;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
@if $prefix == moz {
|
109
|
+
@if $prefix-moz {
|
110
|
+
-moz-#{$property}: $value;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
} @else {
|
115
|
+
@if $prefix-spec {
|
116
|
+
#{$property}: $value;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
// We use this to add box-sizing across browser prefixes
|
124
|
+
@mixin box-sizing($value: border-box) {
|
125
|
+
@include prefixer($property: box-sizing, $value: $value, $prefixes: webkit moz spec);
|
126
|
+
}
|
127
|
+
|
128
|
+
// We use this to control border radius.
|
129
|
+
@mixin radius($type: border-radius, $value: $global-radius) {
|
130
|
+
@include prefixer($property: $type, $value: $value, $prefixes: webkit moz spec);
|
131
|
+
}
|
132
|
+
|
133
|
+
// We use this to control box shadow.
|
134
|
+
@mixin box-shadow($value) {
|
135
|
+
@include prefixer($property: box-shadow, $value: $value, $prefixes: webkit moz spec);
|
136
|
+
}
|
137
|
+
// We use this to creat animation effect.
|
138
|
+
// Examples:
|
139
|
+
// @include keyframes(move-the-object) {
|
140
|
+
// 0% { left: 100px; }
|
141
|
+
// 100% { left: 200px; }
|
142
|
+
// }
|
143
|
+
// .object-to-animate {
|
144
|
+
// @include animation(move-the-object .5s 1);
|
145
|
+
// }
|
146
|
+
@mixin animation ($value...) {
|
147
|
+
@include prefixer($property: animation, $value: $value, $prefixes: webkit moz spec);
|
148
|
+
}
|
149
|
+
// Individual Animation Properties
|
150
|
+
@mixin animation-name ($value...) {
|
151
|
+
@include prefixer($property: animation-name, $value: $value, $prefixes: webkit moz spec);
|
152
|
+
}
|
153
|
+
@mixin animation-duration ($value...) {
|
154
|
+
@include prefixer($property: animation-duration, $value: $value, $prefixes: webkit moz spec);
|
155
|
+
}
|
156
|
+
@mixin animation-timing-function ($value...) {
|
157
|
+
// ease | linear | ease-in | ease-out | ease-in-out
|
158
|
+
@include prefixer($property: animation-timing-function, $value: $value, $prefixes: webkit moz spec);
|
159
|
+
}
|
160
|
+
@mixin animation-iteration-count ($value...) {
|
161
|
+
// infinite | <number>
|
162
|
+
@include prefixer($property: animation-iteration-count, $value: $value, $prefixes: webkit moz spec);
|
163
|
+
}
|
164
|
+
@mixin animation-direction ($value...) {
|
165
|
+
@include prefixer($property: animation-direction, $value: $value, $prefixes: webkit moz spec);
|
166
|
+
}
|
167
|
+
@mixin animation-play-state ($value...) {
|
168
|
+
// running | paused
|
169
|
+
@include prefixer($property: animation-play-state, $value: $value, $prefixes: webkit moz spec);
|
170
|
+
}
|
171
|
+
@mixin animation-delay ($value...) {
|
172
|
+
@include prefixer($property: animation-delay, $value: $value, $prefixes: webkit moz spec);
|
173
|
+
}
|
174
|
+
@mixin animation-fill-mode ($value...) {
|
175
|
+
// none | forwards | backwards | both
|
176
|
+
@include prefixer($property: animation-fill-mode, $value: $value, $prefixes: webkit moz spec);
|
177
|
+
}
|
178
|
+
@mixin keyframes($name) {
|
179
|
+
$original-prefix-webkit: $prefix-webkit;
|
180
|
+
$original-prefix-moz: $prefix-moz;
|
181
|
+
$original-prefix-spec: $prefix-spec;
|
182
|
+
|
183
|
+
@if $original-prefix-webkit {
|
184
|
+
@include disable-prefix();
|
185
|
+
$prefix-webkit: true !global;
|
186
|
+
@-webkit-keyframes #{$name} {
|
187
|
+
@content;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
@if $original-prefix-moz {
|
191
|
+
@include disable-prefix();
|
192
|
+
$prefix-moz: true !global;
|
193
|
+
@-moz-keyframes #{$name} {
|
194
|
+
@content;
|
195
|
+
}
|
196
|
+
}
|
197
|
+
@if $original-prefix-spec {
|
198
|
+
@include disable-prefix();
|
199
|
+
$prefix-spec: true !global;
|
200
|
+
@keyframes #{$name} {
|
201
|
+
@content;
|
202
|
+
}
|
203
|
+
}
|
204
|
+
|
205
|
+
$prefix-webkit: $original-prefix-webkit !global;
|
206
|
+
$prefix-moz: $original-prefix-moz !global;
|
207
|
+
$prefix-spec: $original-prefix-spec !global;
|
208
|
+
}
|
209
|
+
|
210
|
+
// We use this to set transform.
|
211
|
+
@mixin transform($value: none) {
|
212
|
+
// none | <transform-function>
|
213
|
+
@include prefixer($property: transform, $value: $value, $prefixes: webkit moz spec);
|
214
|
+
}
|
215
|
+
|
216
|
+
@mixin transform-origin($value: 50%) {
|
217
|
+
// x-axis - left | center | right | length | %
|
218
|
+
// y-axis - top | center | bottom | length | %
|
219
|
+
// z-axis - length
|
220
|
+
@include prefixer($property: transform-origin, $value: $value, $prefixes: webkit moz spec);
|
221
|
+
}
|
222
|
+
|
223
|
+
@mixin transform-style ($value: flat) {
|
224
|
+
@include prefixer($property: transform-style, $value: $value, $prefixes: webkit moz spec);
|
225
|
+
}
|
226
|
+
|
227
|
+
// We use this to set transition.
|
228
|
+
// example: @include transition (all 2s ease-in-out);
|
229
|
+
// @include transition (opacity 1s ease-in 2s, width 2s ease-out);
|
230
|
+
// @include transition-property (transform, opacity);
|
231
|
+
|
232
|
+
@mixin transition ($value...) {
|
233
|
+
@if length($value) >= 1 {
|
234
|
+
@include prefixer($property: transition, $value: $value, $prefixes: webkit moz spec);
|
235
|
+
} @else {
|
236
|
+
$value: all 0.15s ease-out 0s;
|
237
|
+
@include prefixer($property: transition, $value: $value, $prefixes: webkit moz spec);
|
238
|
+
}
|
239
|
+
}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
// Variables
|
2
|
+
//------------------------------------------------------
|
3
|
+
$jumbotron-font-color: $darkgray-dark !default;
|
4
|
+
|
5
|
+
$jumbotron-background-color: $white !default;
|
6
|
+
|
7
|
+
$jumbotron-radius: 4px;
|
8
|
+
$jumbotron-shadow: 0 1px 2px rgba(0, 0, 0, .2) !default;
|
9
|
+
|
10
|
+
|
11
|
+
// Exports
|
12
|
+
//------------------------------------------------------
|
13
|
+
|
14
|
+
@include exports("jumbotron") {
|
15
|
+
|
16
|
+
/**
|
17
|
+
* jumbotron
|
18
|
+
* --------------------------------------------------
|
19
|
+
*/
|
20
|
+
.jumbotron {
|
21
|
+
margin-bottom: 20px;
|
22
|
+
padding: 0;
|
23
|
+
@include radius($type: border-radius, $value: $jumbotron-radius);
|
24
|
+
background-color: $jumbotron-background-color;
|
25
|
+
@include box-shadow($value: $jumbotron-shadow);
|
26
|
+
|
27
|
+
@at-root .container & {
|
28
|
+
@include radius($type: border-radius, $value: $jumbotron-radius);
|
29
|
+
}
|
30
|
+
|
31
|
+
& > &-photo img {
|
32
|
+
@include radius($type: border-radius, $value: $jumbotron-radius $jumbotron-radius 0 0);
|
33
|
+
width: 100%;
|
34
|
+
}
|
35
|
+
|
36
|
+
& &-contents {
|
37
|
+
padding: 20px;
|
38
|
+
color: $jumbotron-font-color;
|
39
|
+
}
|
40
|
+
& .carousel,
|
41
|
+
& .carousel-inner,
|
42
|
+
& .carousel-inner > .item.active img {
|
43
|
+
@include radius($type: border-radius, $value: $jumbotron-radius $jumbotron-radius 0 0);
|
44
|
+
}
|
45
|
+
& .carousel-control.left {
|
46
|
+
@include radius($type: border-radius, $value: $jumbotron-radius 0 0 0);
|
47
|
+
}
|
48
|
+
& .carousel-control.right {
|
49
|
+
@include radius($type: border-radius, $value: 0 $jumbotron-radius 0 0);
|
50
|
+
}
|
51
|
+
|
52
|
+
& h1, & .h1,
|
53
|
+
& h2, & .h2 {
|
54
|
+
font-weight: 400;
|
55
|
+
}
|
56
|
+
|
57
|
+
& h1, & .h1 {
|
58
|
+
font-size: 28px;
|
59
|
+
}
|
60
|
+
& h2, & .h2 {
|
61
|
+
font-size: 24px;
|
62
|
+
}
|
63
|
+
& p {
|
64
|
+
font-size: 14px;
|
65
|
+
}
|
66
|
+
|
67
|
+
@media screen and (min-width: 768px) {
|
68
|
+
&,
|
69
|
+
.container & {
|
70
|
+
padding: 0;
|
71
|
+
}
|
72
|
+
& h1,
|
73
|
+
& .h1 {
|
74
|
+
font-size: 28px;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
|
@@ -0,0 +1,65 @@
|
|
1
|
+
// Variables
|
2
|
+
//------------------------------------------------------
|
3
|
+
$label-normal: $mediumgray-dark !default;
|
4
|
+
$label-default: $white !default;
|
5
|
+
$label-primary: $aqua-dark !default;
|
6
|
+
$label-success: $grass-dark !default;
|
7
|
+
$label-danger: $grapefruit-dark !default;
|
8
|
+
$label-warning: $sunflower-dark !default;
|
9
|
+
$label-info: $mint-dark !default;
|
10
|
+
|
11
|
+
$label-default-font-color: $darkgray-dark !default;
|
12
|
+
|
13
|
+
// Exports
|
14
|
+
//------------------------------------------------------
|
15
|
+
|
16
|
+
@include exports("label-badge") {
|
17
|
+
|
18
|
+
/**
|
19
|
+
* labels and badges
|
20
|
+
* --------------------------------------------------
|
21
|
+
*/
|
22
|
+
.label,
|
23
|
+
.badge {
|
24
|
+
background-color: $label-normal;
|
25
|
+
}
|
26
|
+
|
27
|
+
.label-default,
|
28
|
+
.badge-default {
|
29
|
+
border: 1px solid $button-normal;
|
30
|
+
background-color: $label-default;
|
31
|
+
color: $label-default-font-color;
|
32
|
+
}
|
33
|
+
|
34
|
+
.label-primary,
|
35
|
+
.badge-primary {
|
36
|
+
border-color: $label-primary;
|
37
|
+
background-color: $label-primary;
|
38
|
+
}
|
39
|
+
|
40
|
+
.label-success,
|
41
|
+
.badge-success {
|
42
|
+
border-color: $label-success;
|
43
|
+
background-color: $label-success;
|
44
|
+
}
|
45
|
+
|
46
|
+
.label-danger,
|
47
|
+
.badge-danger {
|
48
|
+
border-color: $label-danger;
|
49
|
+
background-color: $label-danger;
|
50
|
+
}
|
51
|
+
|
52
|
+
.label-warning,
|
53
|
+
.badge-warning {
|
54
|
+
border-color: $label-warning;
|
55
|
+
background-color: $label-warning;
|
56
|
+
}
|
57
|
+
|
58
|
+
.label-info,
|
59
|
+
.badge-info {
|
60
|
+
border-color: $label-info;
|
61
|
+
background-color: $label-info;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
|
@@ -0,0 +1,188 @@
|
|
1
|
+
// Variables
|
2
|
+
//------------------------------------------------------
|
3
|
+
$list-primary: $aqua-light !default;
|
4
|
+
$list-info: $mint-light !default;
|
5
|
+
$list-warning: $sunflower-light !default;
|
6
|
+
$list-success: $grass-light !default;
|
7
|
+
$list-danger: $grapefruit-light !default;
|
8
|
+
|
9
|
+
$list-primary-hover: $aqua-dark !default;
|
10
|
+
$list-info-hover: $mint-dark !default;
|
11
|
+
$list-warning-hover: $sunflower-dark !default;
|
12
|
+
$list-success-hover: $grass-dark !default;
|
13
|
+
$list-danger-hover: $grapefruit-dark !default;
|
14
|
+
|
15
|
+
$list-border-color: $lightgray-dark !default;
|
16
|
+
$list-background-color: $white !default;
|
17
|
+
$list-font-color: $darkgray-dark !default;
|
18
|
+
$list-font-color-hover: $mediumgray-dark !default;
|
19
|
+
|
20
|
+
$list-item-background-color: $lightgray-dark !default;
|
21
|
+
|
22
|
+
$list-radius: 4px !default;
|
23
|
+
$list-shadow: 0 1px 2px rgba(0, 0, 0, .2) !default;
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
// Exports
|
28
|
+
//------------------------------------------------------
|
29
|
+
|
30
|
+
@include exports("list") {
|
31
|
+
|
32
|
+
/**
|
33
|
+
* list
|
34
|
+
* --------------------------------------------------
|
35
|
+
*/
|
36
|
+
.list-group {
|
37
|
+
@include radius($type: border-radius, $value: $list-radius);
|
38
|
+
@include box-shadow($value: $list-shadow);
|
39
|
+
@at-root &-item {
|
40
|
+
border-color: transparent;
|
41
|
+
border-top-color: $list-border-color;
|
42
|
+
&:first-child {
|
43
|
+
border-top: none;
|
44
|
+
}
|
45
|
+
@at-root &-heading {
|
46
|
+
color: $list-font-color;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
a.list-group-item {
|
53
|
+
color: $list-font-color;
|
54
|
+
|
55
|
+
& .list-group-item-heading {
|
56
|
+
font-size: 16px;
|
57
|
+
color: $list-font-color;
|
58
|
+
}
|
59
|
+
|
60
|
+
&:hover,
|
61
|
+
&:focus {
|
62
|
+
background-color: $list-item-background-color;
|
63
|
+
}
|
64
|
+
&.active,
|
65
|
+
&.active:hover,
|
66
|
+
&.active:focus {
|
67
|
+
background-color: $list-primary;
|
68
|
+
border-color: $list-primary;
|
69
|
+
}
|
70
|
+
&.active .list-group-item-text,
|
71
|
+
&.active:hover .list-group-item-text,
|
72
|
+
&.active:focus .list-group-item-text {
|
73
|
+
color: $list-background-color;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
.list-group-item-primary {
|
77
|
+
color: darken($list-primary, 10%);
|
78
|
+
border-color: $list-primary-hover transparent transparent transparent;
|
79
|
+
background-color: $list-primary;
|
80
|
+
&:first-child {
|
81
|
+
border-color: transparent;
|
82
|
+
}
|
83
|
+
@at-root a.list-group-item-primary {
|
84
|
+
color: darken($list-primary, 30%);
|
85
|
+
&:hover,
|
86
|
+
&:focus {
|
87
|
+
color: $list-background-color;
|
88
|
+
background-color: $list-primary-hover;
|
89
|
+
}
|
90
|
+
&.active,
|
91
|
+
&:hover,
|
92
|
+
&:focus {
|
93
|
+
background-color: $list-primary-hover;
|
94
|
+
border-color: $list-primary transparent transparent transparent;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
.list-group-item-success {
|
99
|
+
color: darken($list-success, 10%);
|
100
|
+
border-color: $list-success-hover transparent transparent transparent;
|
101
|
+
background-color: $list-success;
|
102
|
+
&:first-child {
|
103
|
+
border-color: transparent;
|
104
|
+
}
|
105
|
+
@at-root a.list-group-item-success {
|
106
|
+
color: darken($list-success, 30%);
|
107
|
+
&:hover,
|
108
|
+
&:focus {
|
109
|
+
color: $list-background-color;
|
110
|
+
background-color: $list-success-hover;
|
111
|
+
}
|
112
|
+
&.active,
|
113
|
+
&:hover,
|
114
|
+
&:focus {
|
115
|
+
background-color: $list-success-hover;
|
116
|
+
border-color: $list-success transparent transparent transparent;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
.list-group-item-warning {
|
121
|
+
color: darken($list-warning, 10%);
|
122
|
+
border-color: $list-warning-hover transparent transparent transparent;
|
123
|
+
background-color: $list-warning;
|
124
|
+
&:first-child {
|
125
|
+
border-color: transparent;
|
126
|
+
}
|
127
|
+
@at-root a.list-group-item-warning {
|
128
|
+
color: darken($list-warning, 40%);
|
129
|
+
&:hover,
|
130
|
+
&:focus {
|
131
|
+
color: $list-background-color;
|
132
|
+
background-color: $list-warning-hover;
|
133
|
+
}
|
134
|
+
&.active,
|
135
|
+
&:hover,
|
136
|
+
&:focus {
|
137
|
+
background-color: $list-warning-hover;
|
138
|
+
border-color: $list-warning transparent transparent transparent;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
.list-group-item-info {
|
143
|
+
color: darken($list-info, 10%);
|
144
|
+
border-color: $list-info-hover transparent transparent transparent;
|
145
|
+
background-color: $list-info;
|
146
|
+
&:first-child {
|
147
|
+
border-color: transparent;
|
148
|
+
}
|
149
|
+
@at-root a.list-group-item-info {
|
150
|
+
color: darken($list-info, 30%);
|
151
|
+
&:hover,
|
152
|
+
&:focus {
|
153
|
+
color: $list-background-color;
|
154
|
+
background-color: $list-info-hover;
|
155
|
+
}
|
156
|
+
&.active,
|
157
|
+
&:hover,
|
158
|
+
&:focus {
|
159
|
+
background-color: $list-info-hover;
|
160
|
+
border-color: $list-info transparent transparent transparent;
|
161
|
+
}
|
162
|
+
}
|
163
|
+
}
|
164
|
+
.list-group-item-danger {
|
165
|
+
color: darken($list-danger, 10%);
|
166
|
+
border-color: $list-danger-hover transparent transparent transparent;
|
167
|
+
background-color: $list-danger;
|
168
|
+
&:first-child {
|
169
|
+
border-color: transparent;
|
170
|
+
}
|
171
|
+
@at-root a.list-group-item-danger {
|
172
|
+
color: darken($list-danger, 30%);
|
173
|
+
&:hover,
|
174
|
+
&:focus {
|
175
|
+
color: $list-background-color;
|
176
|
+
background-color: $list-danger-hover;
|
177
|
+
}
|
178
|
+
&.active,
|
179
|
+
&:hover,
|
180
|
+
&:focus {
|
181
|
+
background-color: $list-danger-hover;
|
182
|
+
border-color: $list-danger transparent transparent transparent;
|
183
|
+
}
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
|
188
|
+
|