Skip to content

Commit 3c6cf18

Browse files
authored
Merge pull request #421 from ember-learn/es-note
Adds dog eared note styling
2 parents 7dce058 + e60378c commit 3c6cf18

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

addon/styles/components/es-note.css

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
.cta {
2-
background-color: var(--color-gray-200);
3-
border: 2px solid var(--color-gray-600);
2+
background-color: var(--color-yellow-light);
43
border-radius: var(--radius-lg);
54
margin: auto;
65
max-width: 90%;
6+
position: relative;
7+
overflow: hidden;
78
}
89

910
.cta .cta-note {
@@ -13,6 +14,7 @@
1314

1415
.cta-note .cta-note-body {
1516
padding: var(--spacing-2);
17+
padding-left: var(--spacing-4);
1618
}
1719

1820
.cta-note .cta-note-heading {
@@ -27,6 +29,19 @@
2729
transform: rotate(15deg);
2830
}
2931

32+
.cta:before {
33+
content: "";
34+
position: absolute;
35+
top: 0;
36+
left: 0;
37+
width: 0px;
38+
height: 0px;
39+
border-radius: 0 0 var(--radius-lg) 0;
40+
border-width: 16px;
41+
border-color: var(--color-gray-100) var(--color-yellow) var(--color-yellow) var(--color-gray-100);
42+
border-style: solid;
43+
}
44+
3045
@media only percy {
3146
.cta-note .cta-note-heading,
3247
.cta-note img {

0 commit comments

Comments
 (0)