Skip to content

Commit 554e9bb

Browse files
committed
Added button documentation
1 parent 6ab8b6c commit 554e9bb

File tree

7 files changed

+429
-2
lines changed

7 files changed

+429
-2
lines changed

app/dist/css/docs.css

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/dist/css/docs.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/dist/css/light-design.css

+274
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/dist/css/light-design.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/scss/_buttons.scss

+16
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,18 @@ a.btn {
6060
@include button-variant($white-color ,$primary-color, darken($primary-color, 5%));
6161
}
6262

63+
.btn-success {
64+
@include button-variant($white-color ,$success-color, darken($success-color, 5%));
65+
}
66+
67+
.btn-info {
68+
@include button-variant($white-color ,$info-color, darken($info-color, 5%));
69+
}
70+
71+
.btn-warning {
72+
@include button-variant($white-color ,$warning-color, darken($warning-color, 5%));
73+
}
74+
6375
.btn-danger {
6476
@include button-variant($white-color, $danger-color, darken($danger-color, 5%));
6577
}
@@ -82,6 +94,10 @@ a.btn {
8294
.btn-block {
8395
display: block;
8496
width: 100%;
97+
98+
+ .btn-block {
99+
margin-top: 0.5rem;
100+
}
85101
}
86102
@each $item in $screen-list {
87103
$index: index($screen-list, $item);

app/scss/docs.scss

+5
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,9 @@ aside {
9292
.na {
9393
color: #4f9fcf;
9494
}
95+
96+
.btn {
97+
margin-top: 5px;
98+
margin-bottom: 5px;
99+
}
95100
}

0 commit comments

Comments
 (0)