1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-13 14:52:22 +04:00

buttons docs

This commit is contained in:
codecalm
2018-02-21 21:17:45 +01:00
parent f82763fa40
commit 9db81a8046
8 changed files with 104 additions and 49 deletions
+23 -1
View File
@@ -9549,10 +9549,29 @@ img {
margin-top: 0;
}
.text-wrap > :last-child {
margin-bottom: 0;
}
.text-wrap > h1, .text-wrap > h2, .text-wrap > h3, .text-wrap > h4, .text-wrap > h5, .text-wrap > h6 {
margin-top: 1.5em;
}
.section-nav {
background-color: #f8f9fa;
margin: 1rem 0;
padding: .5rem 1rem;
border: 1px solid rgba(0, 40, 100, 0.12);
border-radius: 3px;
list-style: none;
}
.section-nav:before {
content: 'Table of contents:';
display: block;
font-weight: 600;
}
@media print {
.container {
max-width: none;
@@ -10381,6 +10400,8 @@ a.icon:hover {
.btn-pill {
border-radius: 10rem;
padding-left: 1.5em;
padding-right: 1.5em;
}
.btn-square {
@@ -11369,7 +11390,8 @@ a.icon:hover {
font-size: 0;
}
.btn-list .btn {
.btn-list > .btn,
.btn-list > .dropdown {
margin-right: .5rem;
margin-bottom: .5rem;
}
+4 -1
View File
@@ -24,6 +24,8 @@
.btn-pill {
border-radius: 10rem;
padding-left: 1.5em;
padding-right: 1.5em;
}
.btn-square {
@@ -71,7 +73,8 @@
margin-bottom: -.5rem;
font-size: 0;
.btn {
>.btn,
>.dropdown {
margin-right: .5rem;
margin-bottom: .5rem;
}
+19
View File
@@ -76,9 +76,28 @@ img {
margin-top: 0;
}
>:last-child {
margin-bottom: 0;
}
> {
h1, h2, h3, h4, h5, h6 {
margin-top: 1.5em;
}
}
}
.section-nav {
background-color: $gray-100;
margin: 1rem 0;
padding: .5rem 1rem;
border: 1px solid $border-color;
border-radius: 3px;
list-style: none;
&:before {
content: 'Table of contents:';
display: block;
font-weight: 600;
}
}