bootflat-rails 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- 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,26 @@
|
|
1
|
+
// Variables
|
2
|
+
//------------------------------------------------------
|
3
|
+
$media-list-font-color-head: $darkgray-dark !default;
|
4
|
+
$media-list-font-color-body: $mediumgray-dark !default;
|
5
|
+
|
6
|
+
|
7
|
+
// Exports
|
8
|
+
//------------------------------------------------------
|
9
|
+
|
10
|
+
@include exports("media-list") {
|
11
|
+
|
12
|
+
/**
|
13
|
+
* media list
|
14
|
+
* --------------------------------------------------
|
15
|
+
*/
|
16
|
+
.media-list {
|
17
|
+
color: $media-list-font-color-body;
|
18
|
+
@at-root .media-heading {
|
19
|
+
font-size: 14px;
|
20
|
+
color: $media-list-font-color-head;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
}
|
25
|
+
|
26
|
+
|
@@ -0,0 +1,39 @@
|
|
1
|
+
// Variables
|
2
|
+
//------------------------------------------------------
|
3
|
+
$modal-font-color: $darkgray-dark !default;
|
4
|
+
|
5
|
+
$modal-radius: 4px;
|
6
|
+
$modal-shadow: 0 1px 2px rgba(0, 0, 0, .2) !default;
|
7
|
+
|
8
|
+
|
9
|
+
// Exports
|
10
|
+
//------------------------------------------------------
|
11
|
+
|
12
|
+
@include exports("modal") {
|
13
|
+
|
14
|
+
/**
|
15
|
+
* modal
|
16
|
+
* --------------------------------------------------
|
17
|
+
*/
|
18
|
+
|
19
|
+
.modal {
|
20
|
+
&-content {
|
21
|
+
border: none;
|
22
|
+
@include radius($type: border-radius, $value: $modal-radius);
|
23
|
+
color: $modal-font-color;
|
24
|
+
@include box-shadow($value: $modal-shadow);
|
25
|
+
}
|
26
|
+
&-header {
|
27
|
+
border-bottom: none;
|
28
|
+
}
|
29
|
+
&-body {
|
30
|
+
padding: 0 15px;
|
31
|
+
}
|
32
|
+
&-footer {
|
33
|
+
border-top: none;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
}
|
38
|
+
|
39
|
+
|
@@ -0,0 +1,213 @@
|
|
1
|
+
// Variables
|
2
|
+
//------------------------------------------------------
|
3
|
+
$navbar-background-color: $mint-dark !default;
|
4
|
+
$navbar-background-color-active: $mint-light !default;
|
5
|
+
|
6
|
+
$navbar-font-color: $white !default;
|
7
|
+
$navbar-item-background-color-hover: $navbar-background-color-active !default;
|
8
|
+
|
9
|
+
$navbar-inverse-background-color: $black !default;
|
10
|
+
|
11
|
+
// Exports
|
12
|
+
//------------------------------------------------------
|
13
|
+
|
14
|
+
@include exports("navbar") {
|
15
|
+
|
16
|
+
/**
|
17
|
+
* navbar
|
18
|
+
* --------------------------------------------------
|
19
|
+
*/
|
20
|
+
|
21
|
+
.navbar-default {
|
22
|
+
& {
|
23
|
+
background-color: $navbar-background-color;
|
24
|
+
border-color: $navbar-background-color;
|
25
|
+
}
|
26
|
+
& .navbar-brand,
|
27
|
+
& .navbar-link,
|
28
|
+
& .btn-link {
|
29
|
+
color: darken($navbar-background-color, 15%);
|
30
|
+
}
|
31
|
+
& .navbar-brand:hover,
|
32
|
+
& .navbar-brand:focus,
|
33
|
+
& .navbar-link:hover,
|
34
|
+
& .btn-link:hover,
|
35
|
+
& .btn-link:focus {
|
36
|
+
color: $navbar-font-color;
|
37
|
+
background-color: transparent;
|
38
|
+
}
|
39
|
+
& .navbar-text,
|
40
|
+
& .navbar-nav > li > a {
|
41
|
+
color: darken($navbar-background-color, 15%);
|
42
|
+
}
|
43
|
+
& .navbar-nav > li > a:hover,
|
44
|
+
& .navbar-nav > li > a:focus {
|
45
|
+
color: $navbar-font-color;
|
46
|
+
}
|
47
|
+
& .navbar-nav > .active > a,
|
48
|
+
& .navbar-nav > .active > a:hover,
|
49
|
+
& .navbar-nav > .active > a:focus {
|
50
|
+
color: $navbar-font-color;
|
51
|
+
background-color: $navbar-background-color-active;
|
52
|
+
}
|
53
|
+
& .btn-link[disabled]:hover,
|
54
|
+
fieldset[disabled] & .btn-link:hover,
|
55
|
+
& .btn-link[disabled]:focus,
|
56
|
+
fieldset[disabled] & .btn-link:focus,
|
57
|
+
& .navbar-nav > .disabled > a,
|
58
|
+
& .navbar-nav > .disabled > a:hover,
|
59
|
+
& .navbar-nav > .disabled > a:focus {
|
60
|
+
color: darken($navbar-background-color, 8%);
|
61
|
+
background-color: transparent;
|
62
|
+
}
|
63
|
+
& .navbar-toggle {
|
64
|
+
border-color: darken($navbar-background-color, 15%);
|
65
|
+
background-color: darken($navbar-background-color, 15%);
|
66
|
+
}
|
67
|
+
& .navbar-toggle:hover,
|
68
|
+
& .navbar-toggle:focus {
|
69
|
+
border-color: darken($navbar-background-color, 10%);
|
70
|
+
background-color: darken($navbar-background-color, 10%);
|
71
|
+
}
|
72
|
+
& .navbar-toggle .icon-bar {
|
73
|
+
background-color: $navbar-background-color;
|
74
|
+
}
|
75
|
+
& .navbar-collapse,
|
76
|
+
& .navbar-form {
|
77
|
+
border-color: $navbar-item-background-color-hover;
|
78
|
+
}
|
79
|
+
& .navbar-nav > .open > a,
|
80
|
+
& .navbar-nav > .open > a:hover,
|
81
|
+
& .navbar-nav > .open > a:focus {
|
82
|
+
color: $navbar-font-color;
|
83
|
+
background-color: $navbar-background-color;
|
84
|
+
}
|
85
|
+
|
86
|
+
@media (max-width: 767px) {
|
87
|
+
& .navbar-nav > li > a:hover,
|
88
|
+
& .navbar-nav > li > a:focus {
|
89
|
+
background-color: $navbar-background-color-active;
|
90
|
+
}
|
91
|
+
& .navbar-nav .open .dropdown-menu > .divider {
|
92
|
+
background-color: $navbar-item-background-color-hover;
|
93
|
+
}
|
94
|
+
& .navbar-nav .open .dropdown-menu > li > a {
|
95
|
+
color: darken($navbar-background-color, 15%);;
|
96
|
+
}
|
97
|
+
& .navbar-nav .open .dropdown-menu > li > a:hover,
|
98
|
+
& .navbar-nav .open .dropdown-menu > li > a:focus,
|
99
|
+
& .navbar-nav .open .dropdown-menu > .active > a,
|
100
|
+
& .navbar-nav .open .dropdown-menu > .active > a:hover,
|
101
|
+
& .navbar-nav .open .dropdown-menu > .active > a:focus {
|
102
|
+
color: $navbar-font-color;
|
103
|
+
background-color: $navbar-item-background-color-hover;
|
104
|
+
}
|
105
|
+
& .navbar-nav .open .dropdown-menu > .dropdown-header {
|
106
|
+
color: darken($navbar-background-color, 15%);
|
107
|
+
}
|
108
|
+
& .navbar-nav .open .dropdown-menu > .disabled > a,
|
109
|
+
& .navbar-nav .open .dropdown-menu > .disabled > a:hover,
|
110
|
+
& .navbar-nav .open .dropdown-menu > .disabled > a:focus {
|
111
|
+
color: darken($navbar-background-color, 10%);
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
.navbar-inverse {
|
117
|
+
& {
|
118
|
+
background-color: lighten($navbar-inverse-background-color, 20%);
|
119
|
+
border-color: lighten($navbar-inverse-background-color, 20%);
|
120
|
+
}
|
121
|
+
& .navbar-brand,
|
122
|
+
& .navbar-link,
|
123
|
+
& .btn-link {
|
124
|
+
color: lighten($navbar-inverse-background-color, 55%);
|
125
|
+
}
|
126
|
+
& .navbar-brand:hover,
|
127
|
+
& .navbar-brand:focus,
|
128
|
+
& .navbar-link:hover,
|
129
|
+
& .btn-link:hover,
|
130
|
+
& .btn-link:focus {
|
131
|
+
color: $navbar-font-color;
|
132
|
+
background-color: transparent;
|
133
|
+
}
|
134
|
+
& .navbar-text,
|
135
|
+
& .navbar-nav > li > a {
|
136
|
+
color: lighten($navbar-inverse-background-color, 55%);
|
137
|
+
}
|
138
|
+
& .navbar-nav > li > a:hover,
|
139
|
+
& .navbar-nav > li > a:focus {
|
140
|
+
color: $navbar-font-color;
|
141
|
+
}
|
142
|
+
& .navbar-nav > .active > a,
|
143
|
+
& .navbar-nav > .active > a:hover,
|
144
|
+
& .navbar-nav > .active > a:focus {
|
145
|
+
color: $navbar-font-color;
|
146
|
+
background-color: $navbar-inverse-background-color;
|
147
|
+
}
|
148
|
+
& .btn-link[disabled]:hover,
|
149
|
+
fieldset[disabled] & .btn-link:hover,
|
150
|
+
& .btn-link[disabled]:focus,
|
151
|
+
fieldset[disabled] & .btn-link:focus,
|
152
|
+
& .navbar-nav > .disabled > a,
|
153
|
+
& .navbar-nav > .disabled > a:hover,
|
154
|
+
& .navbar-nav > .disabled > a:focus {
|
155
|
+
color: lighten($navbar-inverse-background-color, 40%);
|
156
|
+
background-color: transparent;
|
157
|
+
}
|
158
|
+
& .navbar-toggle {
|
159
|
+
border-color: $navbar-inverse-background-color;
|
160
|
+
background-color: $navbar-inverse-background-color;
|
161
|
+
}
|
162
|
+
& .navbar-toggle:hover,
|
163
|
+
& .navbar-toggle:focus {
|
164
|
+
border-color: lighten($navbar-inverse-background-color, 10%);
|
165
|
+
background-color: lighten($navbar-inverse-background-color, 10%);
|
166
|
+
}
|
167
|
+
& .navbar-toggle .icon-bar {
|
168
|
+
background-color: lighten($navbar-inverse-background-color, 55%);
|
169
|
+
}
|
170
|
+
& .navbar-collapse,
|
171
|
+
& .navbar-form {
|
172
|
+
border-color: $navbar-inverse-background-color;
|
173
|
+
}
|
174
|
+
& .navbar-nav > .open > a,
|
175
|
+
& .navbar-nav > .open > a:hover,
|
176
|
+
& .navbar-nav > .open > a:focus {
|
177
|
+
color: $navbar-font-color;
|
178
|
+
background-color: $navbar-inverse-background-color;
|
179
|
+
}
|
180
|
+
|
181
|
+
@media (max-width: 767px) {
|
182
|
+
& .navbar-nav > li > a:hover,
|
183
|
+
& .navbar-nav > li > a:focus {
|
184
|
+
background-color: $navbar-inverse-background-color;
|
185
|
+
}
|
186
|
+
& .navbar-nav .open .dropdown-menu > .divider {
|
187
|
+
background-color: $navbar-inverse-background-color;
|
188
|
+
}
|
189
|
+
& .navbar-nav .open .dropdown-menu > li > a {
|
190
|
+
color: lighten($navbar-inverse-background-color, 55%);
|
191
|
+
}
|
192
|
+
& .navbar-nav .open .dropdown-menu > li > a:hover,
|
193
|
+
& .navbar-nav .open .dropdown-menu > li > a:focus,
|
194
|
+
& .navbar-nav .open .dropdown-menu > .active > a,
|
195
|
+
& .navbar-nav .open .dropdown-menu > .active > a:hover,
|
196
|
+
& .navbar-nav .open .dropdown-menu > .active > a:focus {
|
197
|
+
color: $navbar-font-color;
|
198
|
+
background-color: $navbar-inverse-background-color;
|
199
|
+
}
|
200
|
+
& .navbar-nav .open .dropdown-menu > .dropdown-header {
|
201
|
+
color: lighten($navbar-inverse-background-color, 75%);
|
202
|
+
}
|
203
|
+
& .navbar-nav .open .dropdown-menu > .disabled > a,
|
204
|
+
& .navbar-nav .open .dropdown-menu > .disabled > a:hover,
|
205
|
+
& .navbar-nav .open .dropdown-menu > .disabled > a:focus {
|
206
|
+
color: lighten($navbar-inverse-background-color, 40%);
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
210
|
+
|
211
|
+
}
|
212
|
+
|
213
|
+
|
@@ -0,0 +1,42 @@
|
|
1
|
+
// Variables
|
2
|
+
//------------------------------------------------------
|
3
|
+
$paper-background-color: $grass-dark !default;
|
4
|
+
$paper-background-color-hover: $grass-light !default;
|
5
|
+
|
6
|
+
$paper-font-color: $white !default;
|
7
|
+
$paper-font-color-disabled: $lightgray-dark !default;
|
8
|
+
|
9
|
+
// Exports
|
10
|
+
//------------------------------------------------------
|
11
|
+
|
12
|
+
@include exports("pager") {
|
13
|
+
|
14
|
+
/**
|
15
|
+
* pager
|
16
|
+
* --------------------------------------------------
|
17
|
+
*/
|
18
|
+
.pager {
|
19
|
+
|
20
|
+
& li > a,
|
21
|
+
& li > span {
|
22
|
+
color: $paper-font-color;
|
23
|
+
background-color: $paper-background-color;
|
24
|
+
border-color: $paper-background-color;
|
25
|
+
}
|
26
|
+
& li > a:hover,
|
27
|
+
& li > a:focus {
|
28
|
+
background-color: $paper-background-color-hover;
|
29
|
+
border-color: $paper-background-color-hover;
|
30
|
+
}
|
31
|
+
& .disabled > a,
|
32
|
+
& .disabled > a:hover,
|
33
|
+
& .disabled > a:focus,
|
34
|
+
& .disabled > span {
|
35
|
+
color: $paper-font-color-disabled;
|
36
|
+
background-color: $paper-font-color;
|
37
|
+
border-color: $paper-font-color-disabled;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
|
@@ -0,0 +1,59 @@
|
|
1
|
+
// Variables
|
2
|
+
//------------------------------------------------------
|
3
|
+
$pagination-background-color: $white !default;
|
4
|
+
$pagination-background-color-hover: $mediumgray-light !default;
|
5
|
+
$pagination-background-color-active: $grass-dark !default;
|
6
|
+
|
7
|
+
$pagination-font-color: $darkgray-dark !default;
|
8
|
+
$pagination-font-color-hover: $white !default;
|
9
|
+
$pagination-font-color-disabled: $lightgray-dark !default;
|
10
|
+
|
11
|
+
// Exports
|
12
|
+
//------------------------------------------------------
|
13
|
+
|
14
|
+
@include exports("pagination") {
|
15
|
+
|
16
|
+
/**
|
17
|
+
* pagination
|
18
|
+
* --------------------------------------------------
|
19
|
+
*/
|
20
|
+
.pagination {
|
21
|
+
|
22
|
+
& > li > a,
|
23
|
+
& > li > span {
|
24
|
+
color: $pagination-font-color;
|
25
|
+
background-color: $pagination-background-color;
|
26
|
+
border-color: $pagination-background-color-hover;
|
27
|
+
}
|
28
|
+
& > li > a:hover,
|
29
|
+
& > li > span:hover,
|
30
|
+
& > li > a:focus,
|
31
|
+
& > li > span:focus {
|
32
|
+
color: $pagination-font-color-hover;
|
33
|
+
background-color: $pagination-background-color-hover;
|
34
|
+
border-color: $pagination-background-color-hover;
|
35
|
+
}
|
36
|
+
& > .active > a,
|
37
|
+
& > .active > span,
|
38
|
+
& > .active > a:hover,
|
39
|
+
& > .active > span:hover,
|
40
|
+
& > .active > a:focus,
|
41
|
+
& > .active > span:focus {
|
42
|
+
color: $pagination-font-color-hover;
|
43
|
+
background-color: $pagination-background-color-active;
|
44
|
+
border-color: $pagination-background-color-active;
|
45
|
+
}
|
46
|
+
& > .disabled > span,
|
47
|
+
& > .disabled > span:hover,
|
48
|
+
& > .disabled > span:focus,
|
49
|
+
& > .disabled > a,
|
50
|
+
& > .disabled > a:hover,
|
51
|
+
& > .disabled > a:focus {
|
52
|
+
color: $pagination-font-color-disabled;
|
53
|
+
background-color: $pagination-background-color;
|
54
|
+
border-color: $pagination-background-color-hover;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
|
@@ -0,0 +1,169 @@
|
|
1
|
+
// Variables
|
2
|
+
//------------------------------------------------------
|
3
|
+
$panel-normal: $lightgray-dark !default;
|
4
|
+
$panel-default: $white !default;
|
5
|
+
$panel-primary: $aqua-dark !default;
|
6
|
+
$panel-success: $grass-dark !default;
|
7
|
+
$panel-danger: $grapefruit-dark !default;
|
8
|
+
$panel-warning: $sunflower-dark !default;
|
9
|
+
$panel-info: $mint-dark !default;
|
10
|
+
|
11
|
+
$panel-font-color: $darkgray-dark !default;
|
12
|
+
|
13
|
+
$panel-background-color: $white !default;
|
14
|
+
$panel-shadow: 0 1px 2px rgba(0, 0, 0, .2) !default;
|
15
|
+
$panel-radius: 4px !default;
|
16
|
+
|
17
|
+
|
18
|
+
// Exports
|
19
|
+
//------------------------------------------------------
|
20
|
+
|
21
|
+
@include exports("panel") {
|
22
|
+
|
23
|
+
/**
|
24
|
+
* panel
|
25
|
+
* --------------------------------------------------
|
26
|
+
*/
|
27
|
+
.panel {
|
28
|
+
background-color: $panel-background-color;
|
29
|
+
border: none;
|
30
|
+
@include radius($type: border-radius, $value: $panel-radius);
|
31
|
+
@include box-shadow($value: $panel-shadow);
|
32
|
+
|
33
|
+
& .list-group {
|
34
|
+
@include box-shadow($value: none);
|
35
|
+
}
|
36
|
+
& .list-group-item:first-child {
|
37
|
+
border-top: 1px solid $panel-normal;
|
38
|
+
}
|
39
|
+
|
40
|
+
&-heading {
|
41
|
+
@include radius($type: border-radius, $value: $panel-radius $panel-radius 0 0);
|
42
|
+
}
|
43
|
+
&-title {
|
44
|
+
font-size: 14px;
|
45
|
+
color: $panel-font-color;
|
46
|
+
font-weight: normal;
|
47
|
+
}
|
48
|
+
&-footer {
|
49
|
+
background-color: $panel-normal;
|
50
|
+
border-top-color: $panel-normal;
|
51
|
+
@include radius($type: border-radius, $value: 0 0 $panel-radius $panel-radius);
|
52
|
+
}
|
53
|
+
|
54
|
+
@at-root &-default {
|
55
|
+
border-color: $panel-normal;
|
56
|
+
& > .panel-heading {
|
57
|
+
color: $panel-font-color;
|
58
|
+
background-color: $panel-normal;
|
59
|
+
border-color: $panel-normal;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
@at-root &-primary {
|
63
|
+
border-color: $panel-primary;
|
64
|
+
& > .panel-heading {
|
65
|
+
color: $panel-default;
|
66
|
+
background-color: $panel-primary;
|
67
|
+
border-color: $panel-primary;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
@at-root &-success {
|
71
|
+
border-color: $panel-success;
|
72
|
+
& > .panel-heading {
|
73
|
+
color: $panel-default;
|
74
|
+
background-color: $panel-success;
|
75
|
+
border-color: $panel-success;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
@at-root &-info {
|
79
|
+
border-color: $panel-info;
|
80
|
+
& > .panel-heading {
|
81
|
+
color: $panel-default;
|
82
|
+
background-color: $panel-info;
|
83
|
+
border-color: $panel-info;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
@at-root &-warning {
|
87
|
+
border-color: $panel-warning;
|
88
|
+
& > .panel-heading {
|
89
|
+
color: $panel-default;
|
90
|
+
background-color: $panel-warning;
|
91
|
+
border-color: $panel-warning;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
@at-root &-danger {
|
95
|
+
border-color: $panel-danger;
|
96
|
+
& > .panel-heading {
|
97
|
+
color: $panel-default;
|
98
|
+
background-color: $panel-danger;
|
99
|
+
border-color: $panel-danger;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
@at-root &-primary > &-heading > &-title,
|
104
|
+
&-success > &-heading > &-title,
|
105
|
+
&-info > &-heading > &-title,
|
106
|
+
&-warning > &-heading > &-title,
|
107
|
+
&-danger > &-heading > &-title {
|
108
|
+
color: $panel-default;
|
109
|
+
}
|
110
|
+
|
111
|
+
& > .list-group:first-child .list-group-item:first-child,
|
112
|
+
& > .table:first-child,
|
113
|
+
& > .table-responsive:first-child > .table:first-child {
|
114
|
+
@include radius($type: border-radius, $value: $panel-radius $panel-radius 0 0);
|
115
|
+
}
|
116
|
+
& > .list-group:last-child .list-group-item:last-child {
|
117
|
+
@include radius($type: border-radius, $value: 0 0 $panel-radius $panel-radius);
|
118
|
+
}
|
119
|
+
& > .table:first-child > thead:first-child > tr:first-child td:first-child,
|
120
|
+
& > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
|
121
|
+
& > .table:first-child > tbody:first-child > tr:first-child td:first-child,
|
122
|
+
& > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
|
123
|
+
& > .table:first-child > thead:first-child > tr:first-child th:first-child,
|
124
|
+
& > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
|
125
|
+
& > .table:first-child > tbody:first-child > tr:first-child th:first-child,
|
126
|
+
& > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
|
127
|
+
@include radius($type: border-radius, $value: $panel-radius 0 0 0);
|
128
|
+
}
|
129
|
+
& > .table:first-child > thead:first-child > tr:first-child td:last-child,
|
130
|
+
& > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
|
131
|
+
& > .table:first-child > tbody:first-child > tr:first-child td:last-child,
|
132
|
+
& > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
|
133
|
+
& > .table:first-child > thead:first-child > tr:first-child th:last-child,
|
134
|
+
& > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
|
135
|
+
& > .table:first-child > tbody:first-child > tr:first-child th:last-child,
|
136
|
+
& > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
|
137
|
+
@include radius($type: border-radius, $value: 0 $panel-radius 0 0);
|
138
|
+
}
|
139
|
+
& > .table:last-child,
|
140
|
+
& > .table-responsive:last-child > .table:last-child {
|
141
|
+
@include radius($type: border-radius, $value: 0 0 $panel-radius $panel-radius);
|
142
|
+
}
|
143
|
+
& > .table:last-child > tbody:last-child > tr:last-child td:first-child,
|
144
|
+
& > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
|
145
|
+
& > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
|
146
|
+
& > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
|
147
|
+
& > .table:last-child > tbody:last-child > tr:last-child th:first-child,
|
148
|
+
& > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
|
149
|
+
& > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
|
150
|
+
& > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
|
151
|
+
@include radius($type: border-radius, $value: 0 0 0 $panel-radius);
|
152
|
+
}
|
153
|
+
& > .table:last-child > tbody:last-child > tr:last-child td:last-child,
|
154
|
+
& > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
|
155
|
+
& > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
|
156
|
+
& > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
|
157
|
+
& > .table:last-child > tbody:last-child > tr:last-child th:last-child,
|
158
|
+
& > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
|
159
|
+
& > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
|
160
|
+
& > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
|
161
|
+
@include radius($type: border-radius, $value: 0 0 $panel-radius 0);
|
162
|
+
}
|
163
|
+
& > &-body + .table,
|
164
|
+
& > &-body + .table-responsive {
|
165
|
+
border-top-color: $panel-normal;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
}
|