Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial/style system start #449

Open
wants to merge 2 commits into
base: tutorial/style-system-start
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 31 additions & 1 deletion ui.frontend/src/main/webpack/components/_text.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,32 @@
.cmp-text {}
.cmp-text__paragraph {}
.cmp-text__paragraph {}

/* WKND Text Quote style */
.cmp-text--quote {
.cmp-text {
background-color: $brand-third;
margin: 1em 0em;
padding: 1em;

blockquote {
border: none;
font-size: $font-size-large;
font-family: $font-family-serif;
padding: 14px 14px;
margin: 0;
margin-bottom: 0.5em;

&:after {
border-bottom: 2px solid $brand-primary; /*yellow border */
content: '';
display: block;
position: relative;
top: 0.25em;
width: 80px;
}
}
p {
font-family: $font-family-serif;
}
}
}
15 changes: 14 additions & 1 deletion ui.frontend/src/main/webpack/components/_title.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
.cmp-title {}
.cmp-title__text {}
.cmp-title__link {}
.cmp-title__link {}

/* Add Title Underline Style */
.cmp-title--underline {
.cmp-title__text {
&:after {
display: block;
width: 84px;
padding-top: 8px;
content: '';
border-bottom: 2px solid $brand-primary;
}
}
}