mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-02-17 07:54:12 +00:00
(add alert and list styles)
This commit is contained in:
16
resources/assets/less/alerts.less
Normal file
16
resources/assets/less/alerts.less
Normal 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;
|
||||||
|
}
|
||||||
@@ -15,6 +15,8 @@
|
|||||||
@import "subnav";
|
@import "subnav";
|
||||||
@import "card";
|
@import "card";
|
||||||
@import "icons";
|
@import "icons";
|
||||||
|
@import "alerts";
|
||||||
|
@import "lists";
|
||||||
|
|
||||||
// Misc
|
// Misc
|
||||||
@import "vue";
|
@import "vue";
|
||||||
|
|||||||
21
resources/assets/less/lists.less
Normal file
21
resources/assets/less/lists.less
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user