Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 72fe005

Browse files
committed
Update initial CSS to add messaging styles
1 parent 1c320c1 commit 72fe005

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ source/*
88
config.ini
99
latest-change.txt
1010
*-ck.js
11+
12+
/core/source/css/.sass-cache/
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+
}

core/source/css/style.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,3 +1086,18 @@ td {
10861086

10871087
.comment-text {
10881088
margin-left: 9em; }
1089+
1090+
/*------------------------------------*\
1091+
$MESSAGING
1092+
\*------------------------------------*/
1093+
.alert {
1094+
text-align: center;
1095+
padding: 1em;
1096+
margin-bottom: 0.5em;
1097+
border: 1px solid gray;
1098+
background: #f9f9f9; }
1099+
1100+
.alert-error {
1101+
color: red;
1102+
border-color: red;
1103+
background: #ffbebe; }

core/source/css/style.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,6 @@ So feel free to use any of these approaches. Or don't. It's totally up to you.
116116
@import "scss/objects/sections";
117117
@import "scss/objects/article";
118118
@import "scss/objects/comments";
119+
@import "scss/objects/messaging";
119120

120121

0 commit comments

Comments
 (0)