Skip to content

Commit 7486cff

Browse files
committed
added proper styling of the alert message in homepage emergency
1 parent 2c9527f commit 7486cff

File tree

5 files changed

+50
-19
lines changed

5 files changed

+50
-19
lines changed

builder/parameter_hunter.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
/*
2-
* patternlab-node - v0.10.0 - 2015
3-
*
1+
/*
2+
* patternlab-node - v0.10.0 - 2015
3+
*
44
* Brian Muenzenmeyer, and the web community.
5-
* Licensed under the MIT license.
6-
*
7-
* Many thanks to Brad Frost and Dave Olsen for inspiration, encouragement, and advice.
5+
* Licensed under the MIT license.
6+
*
7+
* Many thanks to Brad Frost and Dave Olsen for inspiration, encouragement, and advice.
88
*
99
*/
1010

builder/pattern_assembler.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
/*
2-
* patternlab-node - v0.10.0 - 2015
3-
*
1+
/*
2+
* patternlab-node - v0.10.0 - 2015
3+
*
44
* Brian Muenzenmeyer, and the web community.
5-
* Licensed under the MIT license.
6-
*
7-
* Many thanks to Brad Frost and Dave Olsen for inspiration, encouragement, and advice.
5+
* Licensed under the MIT license.
6+
*
7+
* Many thanks to Brad Frost and Dave Olsen for inspiration, encouragement, and advice.
88
*
99
*/
1010

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*------------------------------------*\
2+
$MESSAGING
3+
\*------------------------------------*/
4+
5+
// Alerts
6+
.alert {
7+
text-align: center;
8+
padding: $pad;
9+
margin-bottom: $space-half;
10+
border: 1px solid $gray;
11+
background: $gray-light;
12+
}
13+
14+
.alert-error {
15+
color: $error;
16+
border-color: $error;
17+
background: #ffbebe;
18+
}

source/css/style.css

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
$TABLE OF CONTENTS
66
\*------------------------------------*/
77
/**
8-
* VARIABLES..............................Declarations of Sass variables
8+
* VARIABLES..............................Declarations of Sass variables
99
* .....Colors
1010
* .....Typography
1111
* .....Layout
1212
* .....Defaults
1313
* .....Breakpoints
14-
* MIXINS.................................Sass mixins
14+
* MIXINS.................................Sass mixins
1515
* RESET..................................Set reset defaults
1616
* GLOBAL CLASSES.........................Set reset defaults
1717
* GLOBAL ELEMENTS........................Establish global styles
@@ -35,7 +35,7 @@
3535
/* CSS Transition
3636
Usage: @include transition(width,0.3s,ease-out);
3737
*/
38-
/* Rem Unit font sizes with relative fallback http:/seesparkbox.com/foundry/scss_rem_mixin_now_with_a_better_fallback
38+
/* Rem Unit font sizes with relative fallback http:/seesparkbox.com/foundry/scss_rem_mixin_now_with_a_better_fallback
3939
Usage: @include font-size(1, large);
4040
*/
4141
/*------------------------------------*\
@@ -1406,3 +1406,17 @@ td {
14061406
.comment-text {
14071407
margin-left: 9em;
14081408
}
1409+
1410+
.alert {
1411+
text-align: center;
1412+
padding: 1rem;
1413+
margin-bottom: .5rem;
1414+
border: 1px solid #808080;
1415+
background: #f9f9f9;
1416+
}
1417+
1418+
.alert-error {
1419+
color: #F00;
1420+
border-color: #F00;
1421+
background: #ffbebe;
1422+
}

source/css/style.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
$TABLE OF CONTENTS
88
\*------------------------------------*/
99
/**
10-
* VARIABLES..............................Declarations of Sass variables
10+
* VARIABLES..............................Declarations of Sass variables
1111
* .....Colors
1212
* .....Typography
1313
* .....Layout
1414
* .....Defaults
1515
* .....Breakpoints
16-
* MIXINS.................................Sass mixins
16+
* MIXINS.................................Sass mixins
1717
* RESET..................................Set reset defaults
1818
* GLOBAL CLASSES.........................Set reset defaults
1919
* GLOBAL ELEMENTS........................Establish global styles
@@ -92,5 +92,4 @@
9292
@import "scss/objects/sections";
9393
@import "scss/objects/article";
9494
@import "scss/objects/comments";
95-
96-
95+
@import "scss/objects/messaging";

0 commit comments

Comments
 (0)