(add alert and list styles)

This commit is contained in:
Adam Wathan
2017-05-19 09:38:19 -04:00
parent 196c4f2882
commit 2782fdca89
3 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
@alert-x-padding: @spacer-5;
@alert-y-padding: @spacer-4;
@alert-border-radius: @border-radius;
.alert {
padding: @alert-y-padding @alert-x-padding;
background-color: #fff;
border-width: 1px;
border-style: solid;
border-radius: @alert-border-radius;
}
.alert-danger {
background-color: hsl(hue(@color-danger), 100%, 99%);
border-color: @color-danger;
}

View File

@@ -15,6 +15,8 @@
@import "subnav";
@import "card";
@import "icons";
@import "alerts";
@import "lists";
// Misc
@import "vue";

View File

@@ -0,0 +1,21 @@
.bullet-list {
list-style-type: disc;
padding-left: 2.5rem;
> li {
margin-bottom: @spacer-2;
&:last-child {
margin-bottom: 0;
}
}
}
.numbered-list {
list-style-type: decimal;
padding-left: 2rem;
> li {
margin-bottom: @spacer-2;
&:last-child {
margin-bottom: 0;
}
}
}