padrino-admin 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/padrino-admin/bootstrap-less/alerts.less +8 -8
- data/lib/padrino-admin/bootstrap-less/badges.less +1 -1
- data/lib/padrino-admin/bootstrap-less/bootstrap.less +2 -0
- data/lib/padrino-admin/bootstrap-less/breadcrumbs.less +3 -0
- data/lib/padrino-admin/bootstrap-less/button-groups.less +1 -1
- data/lib/padrino-admin/bootstrap-less/buttons.less +7 -7
- data/lib/padrino-admin/bootstrap-less/carousel.less +3 -0
- data/lib/padrino-admin/bootstrap-less/dropdowns.less +7 -8
- data/lib/padrino-admin/bootstrap-less/forms.less +13 -8
- data/lib/padrino-admin/bootstrap-less/grid.less +3 -3
- data/lib/padrino-admin/bootstrap-less/jumbotron.less +1 -1
- data/lib/padrino-admin/bootstrap-less/labels.less +8 -8
- data/lib/padrino-admin/bootstrap-less/list-group.less +96 -0
- data/lib/padrino-admin/bootstrap-less/mixins.less +35 -32
- data/lib/padrino-admin/bootstrap-less/navbar.less +39 -29
- data/lib/padrino-admin/bootstrap-less/navs.less +18 -29
- data/lib/padrino-admin/bootstrap-less/pager.less +4 -4
- data/lib/padrino-admin/bootstrap-less/pagination.less +3 -3
- data/lib/padrino-admin/bootstrap-less/panels.less +86 -0
- data/lib/padrino-admin/bootstrap-less/popovers.less +5 -5
- data/lib/padrino-admin/bootstrap-less/scaffolding.less +8 -6
- data/lib/padrino-admin/bootstrap-less/tables.less +25 -19
- data/lib/padrino-admin/bootstrap-less/tooltip.less +1 -1
- data/lib/padrino-admin/bootstrap-less/type.less +25 -24
- data/lib/padrino-admin/bootstrap-less/utilities.less +1 -1
- data/lib/padrino-admin/bootstrap-less/variables.less +114 -78
- data/lib/padrino-admin/bootstrap-less/wells.less +2 -2
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-scrollspy.js +2 -2
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap.min.js +1 -1
- data/lib/padrino-admin/generators/templates/assets/stylesheets/bootstrap.css +105 -61
- data/lib/padrino-admin/generators/templates/erb/app/layouts/application.erb.tt +1 -1
- data/lib/padrino-admin/generators/templates/erb/app/sessions/new.erb.tt +1 -1
- data/lib/padrino-admin/generators/templates/haml/app/layouts/application.haml.tt +1 -1
- data/lib/padrino-admin/generators/templates/haml/app/sessions/new.haml.tt +1 -1
- data/lib/padrino-admin/generators/templates/haml/page/_form.haml.tt +1 -1
- data/lib/padrino-admin/generators/templates/slim/app/layouts/application.slim.tt +2 -2
- data/lib/padrino-admin/generators/templates/slim/app/sessions/new.slim.tt +1 -1
- data/lib/padrino-admin/locale/admin/zh_cn.yml +34 -34
- data/lib/padrino-admin/locale/orm/zh_cn.yml +20 -20
- metadata +26 -11
- checksums.yaml +0 -7
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
table {
|
7
7
|
max-width: 100%;
|
8
|
-
background-color: @table-
|
8
|
+
background-color: @table-bg;
|
9
9
|
border-collapse: collapse;
|
10
10
|
border-spacing: 0;
|
11
11
|
}
|
@@ -48,7 +48,7 @@ th {
|
|
48
48
|
|
49
49
|
// Nesting
|
50
50
|
.table {
|
51
|
-
background-color: @body-
|
51
|
+
background-color: @body-bg;
|
52
52
|
}
|
53
53
|
}
|
54
54
|
|
@@ -153,7 +153,7 @@ th {
|
|
153
153
|
> tbody {
|
154
154
|
> tr:nth-child(odd) > td,
|
155
155
|
> tr:nth-child(odd) > th {
|
156
|
-
background-color: @table-
|
156
|
+
background-color: @table-bg-accent;
|
157
157
|
}
|
158
158
|
}
|
159
159
|
}
|
@@ -168,7 +168,7 @@ th {
|
|
168
168
|
> tbody {
|
169
169
|
> tr:hover > td,
|
170
170
|
> tr:hover > th {
|
171
|
-
background-color: @table-
|
171
|
+
background-color: @table-bg-hover;
|
172
172
|
}
|
173
173
|
}
|
174
174
|
}
|
@@ -179,12 +179,12 @@ th {
|
|
179
179
|
// -----------------
|
180
180
|
|
181
181
|
// Reset default table behavior
|
182
|
-
table col[class
|
182
|
+
table col[class*="col-span-"] {
|
183
183
|
float: none;
|
184
184
|
display: table-column;
|
185
185
|
}
|
186
|
-
table td[class
|
187
|
-
table th[class
|
186
|
+
table td[class*="col-span-"],
|
187
|
+
table th[class*="col-span-"] {
|
188
188
|
float: none;
|
189
189
|
display: table-cell;
|
190
190
|
}
|
@@ -197,17 +197,20 @@ table th[class^="span"] {
|
|
197
197
|
> td.success,
|
198
198
|
> th.success,
|
199
199
|
&.success > td {
|
200
|
-
background-color: @state-success-
|
200
|
+
background-color: @state-success-bg;
|
201
|
+
border-color: @state-success-border;
|
201
202
|
}
|
202
|
-
> td.
|
203
|
-
> th.
|
204
|
-
&.
|
205
|
-
background-color: @state-
|
203
|
+
> td.danger,
|
204
|
+
> th.danger,
|
205
|
+
&.danger > td {
|
206
|
+
background-color: @state-danger-bg;
|
207
|
+
border-color: @state-danger-border;
|
206
208
|
}
|
207
209
|
> td.warning,
|
208
210
|
> th.warning,
|
209
211
|
&.warning > td {
|
210
|
-
background-color: @state-warning-
|
212
|
+
background-color: @state-warning-bg;
|
213
|
+
border-color: @state-warning-border;
|
211
214
|
}
|
212
215
|
}
|
213
216
|
|
@@ -216,16 +219,19 @@ table th[class^="span"] {
|
|
216
219
|
> td.success:hover,
|
217
220
|
> th.success:hover,
|
218
221
|
&.success:hover > td {
|
219
|
-
background-color: darken(@state-success-
|
222
|
+
background-color: darken(@state-success-bg, 5%);
|
223
|
+
border-color: darken(@state-success-border, 5%);
|
220
224
|
}
|
221
|
-
> td.
|
222
|
-
> th.
|
223
|
-
&.
|
224
|
-
background-color: darken(@state-
|
225
|
+
> td.danger:hover,
|
226
|
+
> th.danger:hover,
|
227
|
+
&.danger:hover > td {
|
228
|
+
background-color: darken(@state-danger-bg, 5%);
|
229
|
+
border-color: darken(@state-danger-border, 5%);
|
225
230
|
}
|
226
231
|
> td.warning:hover,
|
227
232
|
> th.warning:hover,
|
228
233
|
&.warning:hover > td {
|
229
|
-
background-color: darken(@state-warning-
|
234
|
+
background-color: darken(@state-warning-bg, 5%);
|
235
|
+
border-color: darken(@state-warning-border, 5%);
|
230
236
|
}
|
231
237
|
}
|
@@ -11,9 +11,9 @@ p {
|
|
11
11
|
}
|
12
12
|
.lead {
|
13
13
|
margin-bottom: @line-height-base;
|
14
|
-
|
14
|
+
font-size: (@font-size-base * 1.5);
|
15
15
|
font-weight: 200;
|
16
|
-
line-height: 1.
|
16
|
+
line-height: 1.4;
|
17
17
|
}
|
18
18
|
|
19
19
|
|
@@ -28,17 +28,17 @@ em { font-style: italic; }
|
|
28
28
|
cite { font-style: normal; }
|
29
29
|
|
30
30
|
// Utility classes
|
31
|
-
.muted
|
32
|
-
a.muted:hover,
|
33
|
-
a.muted:focus
|
31
|
+
.text-muted { color: @grayLight; }
|
32
|
+
a.text-muted:hover,
|
33
|
+
a.text-muted:focus { color: darken(@grayLight, 10%); }
|
34
34
|
|
35
35
|
.text-warning { color: @state-warning-text; }
|
36
36
|
a.text-warning:hover,
|
37
37
|
a.text-warning:focus { color: darken(@state-warning-text, 10%); }
|
38
38
|
|
39
|
-
.text-
|
40
|
-
a.text-
|
41
|
-
a.text-
|
39
|
+
.text-danger { color: @state-danger-text; }
|
40
|
+
a.text-danger:hover,
|
41
|
+
a.text-danger:focus { color: darken(@state-danger-text, 10%); }
|
42
42
|
|
43
43
|
.text-success { color: @state-success-text; }
|
44
44
|
a.text-success:hover,
|
@@ -57,7 +57,6 @@ h1, h2, h3, h4, h5, h6,
|
|
57
57
|
font-family: @headings-font-family;
|
58
58
|
font-weight: @headings-font-weight;
|
59
59
|
line-height: @line-height-base;
|
60
|
-
text-rendering: optimizelegibility; // Fix the character spacing for headings
|
61
60
|
small {
|
62
61
|
font-weight: normal;
|
63
62
|
line-height: 1;
|
@@ -82,12 +81,12 @@ h6 {
|
|
82
81
|
margin-bottom: (@line-height-base / 2);
|
83
82
|
}
|
84
83
|
|
85
|
-
h1, .h1 { font-size: (@font-size-base * 2.75);
|
86
|
-
h2, .h2 { font-size: (@font-size-base * 2.25);
|
87
|
-
h3, .h3 { font-size: (@font-size-base * 1.75);
|
88
|
-
h4, .h4 { font-size: (@font-size-base * 1.25);
|
89
|
-
h5, .h5 { font-size: @font-size-base;
|
90
|
-
h6, .h6 { font-size: (@font-size-base * 0.85);
|
84
|
+
h1, .h1 { font-size: (@font-size-base * 2.75); } // ~38px
|
85
|
+
h2, .h2 { font-size: (@font-size-base * 2.25); } // ~32px
|
86
|
+
h3, .h3 { font-size: (@font-size-base * 1.75); } // ~24px
|
87
|
+
h4, .h4 { font-size: (@font-size-base * 1.25); } // ~18px
|
88
|
+
h5, .h5 { font-size: @font-size-base; }
|
89
|
+
h6, .h6 { font-size: (@font-size-base * 0.85); } // ~12px
|
91
90
|
|
92
91
|
h1 small, .h1 small { font-size: (@font-size-base * 1.75); } // ~24px
|
93
92
|
h2 small, .h2 small { font-size: (@font-size-base * 1.25); } // ~18px
|
@@ -126,18 +125,20 @@ li {
|
|
126
125
|
}
|
127
126
|
|
128
127
|
// List options
|
128
|
+
|
129
129
|
// Unstyled keeps list items block level, just removes list-style
|
130
|
-
.list-unstyled
|
131
|
-
// Inline turns list items into inline-block
|
132
|
-
.list-inline {
|
130
|
+
.list-unstyled {
|
133
131
|
margin-left: 0;
|
134
132
|
list-style: none;
|
135
133
|
}
|
136
|
-
//
|
137
|
-
.list-inline
|
138
|
-
|
139
|
-
|
140
|
-
|
134
|
+
// Inline turns list items into inline-block
|
135
|
+
.list-inline {
|
136
|
+
.list-unstyled();
|
137
|
+
> li {
|
138
|
+
display: inline-block;
|
139
|
+
padding-left: 5px;
|
140
|
+
padding-right: 5px;
|
141
|
+
}
|
141
142
|
}
|
142
143
|
|
143
144
|
// Description Lists
|
@@ -156,7 +157,7 @@ dd {
|
|
156
157
|
}
|
157
158
|
// Horizontal layout (like forms)
|
158
159
|
.dl-horizontal {
|
159
|
-
.
|
160
|
+
.clearfix(); // Ensure dl clears floats if empty dd elements present
|
160
161
|
dt {
|
161
162
|
float: left;
|
162
163
|
width: (@component-offset-horizontal - 20);
|
@@ -28,14 +28,14 @@
|
|
28
28
|
// Scaffolding
|
29
29
|
// -------------------------
|
30
30
|
|
31
|
-
@body-
|
31
|
+
@body-bg: #fff;
|
32
32
|
@text-color: @grayDark;
|
33
33
|
|
34
34
|
// Links
|
35
35
|
// -------------------------
|
36
36
|
|
37
|
-
@link-color:
|
38
|
-
@link-color
|
37
|
+
@link-color: @brand-primary;
|
38
|
+
@link-hover-color: darken(@link-color, 15%);
|
39
39
|
|
40
40
|
// Typography
|
41
41
|
// -------------------------
|
@@ -45,7 +45,7 @@
|
|
45
45
|
@font-family-monospace: Monaco, Menlo, Consolas, "Courier New", monospace;
|
46
46
|
@font-family-base: @font-family-sans-serif;
|
47
47
|
|
48
|
-
@font-size-base:
|
48
|
+
@font-size-base: 14px;
|
49
49
|
@font-size-large: (@font-size-base * 1.25); // ~18px
|
50
50
|
@font-size-small: (@font-size-base * 0.85); // ~12px
|
51
51
|
@font-size-mini: (@font-size-base * 0.75); // ~11px
|
@@ -56,7 +56,7 @@
|
|
56
56
|
@headings-font-weight: 500;
|
57
57
|
|
58
58
|
|
59
|
-
//
|
59
|
+
// Components
|
60
60
|
// -------------------------
|
61
61
|
// Based on 14px font-size and 1.5 line-height
|
62
62
|
|
@@ -68,13 +68,15 @@
|
|
68
68
|
@border-radius-large: 6px;
|
69
69
|
@border-radius-small: 3px;
|
70
70
|
|
71
|
+
@component-active-bg: @brand-primary;
|
72
|
+
|
71
73
|
|
72
74
|
// Tables
|
73
75
|
// -------------------------
|
74
76
|
|
75
|
-
@table-
|
76
|
-
@table-
|
77
|
-
@table-
|
77
|
+
@table-bg: transparent; // overall background-color
|
78
|
+
@table-bg-accent: #f9f9f9; // for striping
|
79
|
+
@table-bg-hover: #f5f5f5; // for hover
|
78
80
|
|
79
81
|
@table-border: #ddd; // table and cell border
|
80
82
|
|
@@ -82,36 +84,35 @@
|
|
82
84
|
// Buttons
|
83
85
|
// -------------------------
|
84
86
|
|
85
|
-
@btn-color:
|
86
|
-
@btn-
|
87
|
-
@btn-border:
|
87
|
+
@btn-color: #fff;
|
88
|
+
@btn-bg: #a7a9aa;
|
89
|
+
@btn-border: @btn-bg;
|
88
90
|
|
89
|
-
@btn-
|
90
|
-
@btn-border
|
91
|
+
@btn-primary-bg: @brand-primary;
|
92
|
+
@btn-primary-border: @btn-primary-bg;
|
91
93
|
|
92
|
-
@btn-
|
93
|
-
@btn-border
|
94
|
+
@btn-bg-success: @brand-success;
|
95
|
+
@btn-success-border: @btn-bg-success;
|
94
96
|
|
95
|
-
@btn-
|
96
|
-
@btn-border
|
97
|
+
@btn-bg-warning: @brand-warning;
|
98
|
+
@btn-warning-border: @btn-bg-warning;
|
97
99
|
|
98
|
-
@btn-
|
99
|
-
@btn-border
|
100
|
+
@btn-bg-danger: @brand-danger;
|
101
|
+
@btn-danger-border: @btn-bg-danger;
|
100
102
|
|
101
|
-
@btn-
|
102
|
-
@btn-border
|
103
|
+
@btn-bg-info: @brand-info;
|
104
|
+
@btn-info-border: @btn-bg-info;
|
103
105
|
|
104
106
|
|
105
107
|
|
106
108
|
// Forms
|
107
109
|
// -------------------------
|
108
110
|
|
109
|
-
@input-
|
110
|
-
@input-
|
111
|
+
@input-bg: #fff;
|
112
|
+
@input-bg-disabled: @grayLighter;
|
111
113
|
|
112
114
|
@input-border: #ccc;
|
113
115
|
@input-border-radius: @border-radius-base;
|
114
|
-
@input-border-radius-search: 20px;
|
115
116
|
|
116
117
|
@input-color-placeholder: @grayLight;
|
117
118
|
|
@@ -119,26 +120,23 @@
|
|
119
120
|
@input-height-large: (@line-height-base + 24px); // base line-height + 22px vertical padding + 2px top/bottom border
|
120
121
|
@input-height-small: (@line-height-base + 6px); // base line-height + 4px vertical padding + 2px top/bottom border
|
121
122
|
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
@form-actions-background: #f5f5f5;
|
123
|
+
@form-actions-bg: #f5f5f5;
|
126
124
|
|
127
125
|
|
128
126
|
// Dropdowns
|
129
127
|
// -------------------------
|
130
128
|
|
131
|
-
@dropdown-
|
129
|
+
@dropdown-bg: #fff;
|
132
130
|
@dropdown-border: rgba(0,0,0,.15);
|
133
131
|
@dropdown-divider-top: #e5e5e5;
|
134
132
|
@dropdown-divider-bottom: #fff;
|
135
133
|
|
136
134
|
@dropdown-link-color: @grayDark;
|
137
|
-
@dropdown-link-color
|
138
|
-
@dropdown-link-
|
135
|
+
@dropdown-link-hover-color: #fff;
|
136
|
+
@dropdown-link-hover-bg: @dropdown-link-active-bg;
|
139
137
|
|
140
|
-
@dropdown-link-
|
141
|
-
@dropdown-link-
|
138
|
+
@dropdown-link-active-color: #fff;
|
139
|
+
@dropdown-link-active-bg: @component-active-bg;
|
142
140
|
|
143
141
|
|
144
142
|
|
@@ -167,10 +165,6 @@
|
|
167
165
|
// Navbar
|
168
166
|
// -------------------------
|
169
167
|
|
170
|
-
// Responsive collapsing
|
171
|
-
// @navbar-collapse-width: 979px;
|
172
|
-
// @navbar-collapse-width-desktop: @navbar-collapse-width + 1;
|
173
|
-
|
174
168
|
// Basics of a navbar
|
175
169
|
@navbar-height: 50px;
|
176
170
|
@navbar-text: #777;
|
@@ -178,17 +172,17 @@
|
|
178
172
|
|
179
173
|
// Navbar brand label
|
180
174
|
@navbar-brand-color: @navbar-link-color;
|
181
|
-
@navbar-brand-color
|
182
|
-
@navbar-brand-bg
|
175
|
+
@navbar-brand-hover-color: darken(@navbar-link-color, 10%);
|
176
|
+
@navbar-brand-hover-bg: transparent;
|
183
177
|
|
184
178
|
// Navbar links
|
185
179
|
@navbar-link-color: #777;
|
186
|
-
@navbar-link-color
|
187
|
-
@navbar-link-bg
|
188
|
-
@navbar-link-color
|
189
|
-
@navbar-link-bg
|
190
|
-
@navbar-link-color
|
191
|
-
@navbar-link-bg
|
180
|
+
@navbar-link-hover-color: #333;
|
181
|
+
@navbar-link-hover-bg: transparent;
|
182
|
+
@navbar-link-active-color: #555;
|
183
|
+
@navbar-link-active-bg: darken(@navbar-bg, 10%);
|
184
|
+
@navbar-link-disabled-color: #ccc;
|
185
|
+
@navbar-link-disabled-bg: transparent;
|
192
186
|
|
193
187
|
// Inverted navbar
|
194
188
|
@navbar-inverse-text: @grayLight;
|
@@ -201,34 +195,33 @@
|
|
201
195
|
|
202
196
|
// Inverted navbar links
|
203
197
|
@navbar-inverse-link-color: @grayLight;
|
204
|
-
@navbar-inverse-link-color
|
205
|
-
@navbar-inverse-link-bg
|
206
|
-
@navbar-inverse-link-color
|
207
|
-
@navbar-inverse-link-bg
|
208
|
-
@navbar-inverse-link-color
|
209
|
-
@navbar-inverse-link-bg
|
198
|
+
@navbar-inverse-link-hover-color: #fff;
|
199
|
+
@navbar-inverse-link-hover-bg: transparent;
|
200
|
+
@navbar-inverse-link-active-color: @navbar-inverse-link-hover-color;
|
201
|
+
@navbar-inverse-link-active-bg: darken(@navbar-inverse-bg, 10%);
|
202
|
+
@navbar-inverse-link-disabled-color: #444;
|
203
|
+
@navbar-inverse-link-disabled-bg: transparent;
|
210
204
|
|
211
205
|
// Inverted navbar search
|
212
206
|
// Normal navbar needs no special styles or vars
|
213
|
-
@navbar-inverse-search-
|
214
|
-
@navbar-inverse-search-
|
207
|
+
@navbar-inverse-search-bg: lighten(@navbar-inverse-bg, 25%);
|
208
|
+
@navbar-inverse-search-bg-focus: #fff;
|
215
209
|
@navbar-inverse-search-border: @navbar-inverse-bg;
|
216
210
|
@navbar-inverse-search-placeholder-color: #ccc;
|
217
211
|
|
218
212
|
|
219
|
-
|
220
213
|
// Pagination
|
221
214
|
// -------------------------
|
222
215
|
|
223
|
-
@pagination-
|
224
|
-
@pagination-background-active: #f5f5f5;
|
216
|
+
@pagination-bg: #fff;
|
225
217
|
@pagination-border: #ddd;
|
218
|
+
@pagination-active-bg: #f5f5f5;
|
226
219
|
|
227
220
|
|
228
221
|
// Jumbotron
|
229
222
|
// -------------------------
|
230
223
|
|
231
|
-
@jumbotron-
|
224
|
+
@jumbotron-bg: @grayLighter;
|
232
225
|
@jumbotron-heading-color: inherit;
|
233
226
|
@jumbotron-lead-color: inherit;
|
234
227
|
|
@@ -237,33 +230,33 @@
|
|
237
230
|
// -------------------------
|
238
231
|
|
239
232
|
@state-warning-text: #c09853;
|
240
|
-
@state-warning-
|
241
|
-
@state-warning-border: darken(spin(@state-warning-
|
233
|
+
@state-warning-bg: #fcf8e3;
|
234
|
+
@state-warning-border: darken(spin(@state-warning-bg, -10), 3%);
|
242
235
|
|
243
|
-
@state-
|
244
|
-
@state-
|
245
|
-
@state-
|
236
|
+
@state-danger-text: #b94a48;
|
237
|
+
@state-danger-bg: #f2dede;
|
238
|
+
@state-danger-border: darken(spin(@state-danger-bg, -10), 3%);
|
246
239
|
|
247
240
|
@state-success-text: #468847;
|
248
|
-
@state-success-
|
249
|
-
@state-success-border: darken(spin(@state-success-
|
241
|
+
@state-success-bg: #dff0d8;
|
242
|
+
@state-success-border: darken(spin(@state-success-bg, -10), 5%);
|
250
243
|
|
251
244
|
@state-info-text: #3a87ad;
|
252
|
-
@state-info-
|
253
|
-
@state-info-border: darken(spin(@state-info-
|
245
|
+
@state-info-bg: #d9edf7;
|
246
|
+
@state-info-border: darken(spin(@state-info-bg, -10), 7%);
|
254
247
|
|
255
248
|
|
256
249
|
// Tooltips and popovers
|
257
250
|
// -------------------------
|
258
251
|
@tooltip-color: #fff;
|
259
|
-
@tooltip-
|
252
|
+
@tooltip-bg: rgba(0,0,0,.9);
|
260
253
|
@tooltip-arrow-width: 5px;
|
261
|
-
@tooltip-arrow-color: @tooltip-
|
254
|
+
@tooltip-arrow-color: @tooltip-bg;
|
262
255
|
|
263
|
-
@popover-
|
256
|
+
@popover-bg: #fff;
|
264
257
|
@popover-arrow-width: 10px;
|
265
258
|
@popover-arrow-color: #fff;
|
266
|
-
@popover-title-
|
259
|
+
@popover-title-bg: darken(@popover-bg, 3%);
|
267
260
|
|
268
261
|
// Special enhancement for popovers
|
269
262
|
@popover-arrow-outer-width: (@popover-arrow-width + 1);
|
@@ -272,15 +265,14 @@
|
|
272
265
|
|
273
266
|
// Labels
|
274
267
|
// -------------------------
|
275
|
-
@label-success-
|
276
|
-
@label-info-
|
277
|
-
@label-warning-
|
278
|
-
@label-danger-
|
268
|
+
@label-success-bg: @brand-success;
|
269
|
+
@label-info-bg: @brand-info;
|
270
|
+
@label-warning-bg: @brand-warning;
|
271
|
+
@label-danger-bg: @brand-danger;
|
279
272
|
|
280
273
|
|
281
274
|
// Modals
|
282
275
|
// -------------------------
|
283
|
-
|
284
276
|
@modal-inner-padding: 20px;
|
285
277
|
|
286
278
|
|
@@ -294,6 +286,50 @@
|
|
294
286
|
@progress-bar-info-bg: @brand-info;
|
295
287
|
|
296
288
|
|
289
|
+
// List group
|
290
|
+
// -------------------------
|
291
|
+
@list-group-bg: #fff;
|
292
|
+
@list-group-border: #ddd;
|
293
|
+
@list-group-border-radius: @border-radius-base;
|
294
|
+
|
295
|
+
@list-group-hover-bg: #f5f5f5;
|
296
|
+
@list-group-active-text: #fff;
|
297
|
+
@list-group-active-bg: @component-active-bg;
|
298
|
+
@list-group-active-border: @list-group-active-bg;
|
299
|
+
|
300
|
+
// Panels
|
301
|
+
// -------------------------
|
302
|
+
@panel-bg: #fff;
|
303
|
+
@panel-border: #ddd;
|
304
|
+
@panel-border-radius: @border-radius-base;
|
305
|
+
@panel-heading-bg: #f5f5f5;
|
306
|
+
|
307
|
+
@panel-primary-text: #fff;
|
308
|
+
@panel-primary-border: @brand-primary;
|
309
|
+
@panel-primary-heading-bg: @brand-primary;
|
310
|
+
|
311
|
+
@panel-success-text: @state-success-text;
|
312
|
+
@panel-success-border: @state-success-border;
|
313
|
+
@panel-success-heading-bg: @state-success-bg;
|
314
|
+
|
315
|
+
@panel-warning-text: @state-warning-text;
|
316
|
+
@panel-warning-border: @state-warning-border;
|
317
|
+
@panel-warning-heading-bg: @state-warning-bg;
|
318
|
+
|
319
|
+
@panel-danger-text: @state-danger-text;
|
320
|
+
@panel-danger-border: @state-danger-border;
|
321
|
+
@panel-danger-heading-bg: @state-danger-bg;
|
322
|
+
|
323
|
+
@panel-info-text: @state-info-text;
|
324
|
+
@panel-info-border: @state-info-border;
|
325
|
+
@panel-info-heading-bg: @state-info-bg;
|
326
|
+
|
327
|
+
|
328
|
+
// Wells
|
329
|
+
// -------------------------
|
330
|
+
@well-bg: #f5f5f5;
|
331
|
+
|
332
|
+
|
297
333
|
// Miscellaneous
|
298
334
|
// -------------------------
|
299
335
|
|
@@ -303,14 +339,14 @@
|
|
303
339
|
// Horizontal forms & lists
|
304
340
|
@component-offset-horizontal: 180px;
|
305
341
|
|
306
|
-
// Wells
|
307
|
-
@well-background: #f5f5f5;
|
308
|
-
|
309
342
|
|
310
343
|
|
311
344
|
// Grid system
|
312
345
|
// --------------------------------------------------
|
313
346
|
|
347
|
+
// Number of columns in the grid system
|
314
348
|
@grid-columns: 12;
|
349
|
+
// Padding, to be divided by two and applied to the left and right of all columns
|
315
350
|
@grid-gutter-width: 30px;
|
351
|
+
// Point at which the navbar stops collapsing
|
316
352
|
@grid-float-breakpoint: 768px;
|