1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-12 22:32:21 +04:00

new card action demos (#1003)

This commit is contained in:
Paweł Kuna
2022-01-24 01:33:27 +01:00
committed by GitHub
parent 61e4809d1f
commit 95ac87e0fd
10 changed files with 236 additions and 58 deletions
+46
View File
@@ -195,4 +195,50 @@
.btn-ghost-#{$name} {
@extend %btn-ghost;
}
}
//
// Action button
//
.btn-action {
padding: 0;
border: 0;
color: $text-muted;
display: inline-flex;
width: 2rem;
height: 2rem;
align-items: center;
justify-content: center;
border-radius: $border-radius;
&:after {
content: none;
}
&:focus {
outline: none;
box-shadow: none;
}
&:hover,
&.show {
color: $body-color;
background: $body-bg;
}
&.show {
color: $primary;
}
.icon {
margin: 0;
width: 1.25rem;
height: 1.25rem;
font-size: 1.25rem;
stroke-width: 1;
}
}
.btn-actions {
display: flex;
}