Skip to content

Commit

Permalink
add badge component
Browse files Browse the repository at this point in the history
  • Loading branch information
jordianguela committed Oct 22, 2024
1 parent 70f56e3 commit 7affe18
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/sass/404.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import 'core/variables', 'core/container', 'block', 'title', 'layout/footer',
'core/utilities', 'course/hero', 'core/normalize', 'layout/header',
'layout/hero', 'layout/main', 'buttons', 'core/dropdown';
'layout/hero', 'layout/main', 'buttons', 'core/dropdown', 'badge';

html {
height: 100%;
Expand Down
11 changes: 11 additions & 0 deletions src/sass/_badge.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.badge {
display: inline-block;
padding: .35em .65em !important;
font-size: .75em;
font-weight: 700;
line-height: 1;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: .25rem;
}
2 changes: 1 addition & 1 deletion src/sass/bootcamp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
'core/carousel', 'layout/footer', 'core/inputs', 'core/utilities',
'course/hero', 'core/normalize', 'layout/header', 'layout/hero', 'layout/main',
'buttons', 'core/dropdown', 'core/inputs', 'course/circle', 'course/hero',
'course/question', 'course/team';
'course/question', 'course/team', 'badge';

.bootcamp {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/sass/course.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
'core/dropdown', 'block', 'layout/header', 'layout/hero', 'layout/main',
'course/circle', 'course/team', 'course/calendar', 'course/tdd-value',
'core/carousel', 'layout/footer', 'core/inputs', 'core/utilities',
'course/hero', 'course/question';
'course/hero', 'course/question', 'badge';

.sumary-numbers {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/sass/development.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'core/variables', 'core/container', 'block', 'title', 'course/tdd-value',
'core/carousel', 'layout/footer', 'core/inputs', 'core/utilities',
'course/hero', 'core/normalize', 'layout/header', 'layout/hero', 'layout/main',
'buttons', 'core/dropdown', 'core/inputs';
'buttons', 'core/dropdown', 'core/inputs', 'badge';
2 changes: 1 addition & 1 deletion src/sass/resources.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import 'core/container', 'core/variables', 'core/normalize', 'layout/header',
'layout/footer', 'block', 'core/utilities', 'core/dropdown', 'core/inputs';
'layout/footer', 'block', 'core/utilities', 'core/dropdown', 'core/inputs', 'badge';

.main {
padding-top: 3.5rem;
Expand Down
13 changes: 1 addition & 12 deletions src/sass/site.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import 'core/container', 'core/variables', 'core/normalize', 'layout/header',
'layout/footer', 'layout/hero', 'layout/main', 'buttons', 'block',
'core/utilities', 'core/dropdown', 'core/inputs', 'title';
'core/utilities', 'core/dropdown', 'core/inputs', 'title', 'badge';

.fade-in-right-to-left {
display: block;
Expand Down Expand Up @@ -152,14 +152,3 @@
padding-top: 80px;
}

.badge {
display: inline-block;
padding: .35em .65em !important;
font-size: .75em;
font-weight: 700;
line-height: 1;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: .25rem;
}
2 changes: 1 addition & 1 deletion src/sass/style-guide.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import 'core/variables', 'core/container', 'block', 'title', 'course/tdd-value',
'core/carousel', 'layout/footer', 'core/inputs', 'core/utilities',
'course/hero', 'core/normalize', 'layout/header', 'layout/hero', 'layout/main',
'buttons', 'core/dropdown', 'core/inputs', 'course/circle';
'buttons', 'core/dropdown', 'core/inputs', 'course/circle', 'badge';

.main {
padding-top: 3.5rem;
Expand Down

0 comments on commit 7affe18

Please sign in to comment.