Skip to content
This repository was archived by the owner on Jun 25, 2019. It is now read-only.

Commit cee8df4

Browse files
author
Ben Centra
committed
added alerts
1 parent e610537 commit cee8df4

File tree

3 files changed

+51
-1
lines changed

3 files changed

+51
-1
lines changed

dev/members.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,29 @@ a.btn {
176176
box-shadow: 0 6px #df0051;
177177
}
178178
/*
179+
* Alerts
180+
*/
181+
.alert.alert-success {
182+
background-color: #dbf7bf;
183+
border-color: #c1f192;
184+
color: #5ba215;
185+
}
186+
.alert.alert-info {
187+
background-color: #f1f9fd;
188+
border-color: #c6e7f5;
189+
color: #2398cc;
190+
}
191+
.alert.alert-warning {
192+
background-color: #fff0d8;
193+
border-color: #ffdca5;
194+
color: #ffa00c;
195+
}
196+
.alert.alert-danger {
197+
background-color: #ffdfeb;
198+
border-color: #ffacca;
199+
color: #df0051;
200+
}
201+
/*
179202
* Panels
180203
*/
181204
.panel-default .panel-heading {

dev/members.less

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,33 @@ a {
221221
}
222222
}
223223

224+
/*
225+
* Alerts
226+
*/
227+
228+
.alert {
229+
&.alert-success {
230+
background-color: lighten(@color-success, 50%);
231+
border-color: lighten(@color-success, 40%);
232+
color: @color-success;
233+
}
234+
&.alert-info {
235+
background-color: lighten(@color-info, 40%);
236+
border-color: lighten(@color-info, 30%);
237+
color: darken(@color-info, 10%);
238+
}
239+
&.alert-warning {
240+
background-color: lighten(@color-warning, 30%);
241+
border-color: lighten(@color-warning, 20%);
242+
color: darken(@color-warning, 10%);
243+
}
244+
&.alert-danger {
245+
background-color: lighten(@members-pink, 50%);
246+
border-color: lighten(@members-pink, 40%);
247+
color: @members-pink;
248+
}
249+
}
250+
224251
/*
225252
* Panels
226253
*/

release/members.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)