mirror of
https://github.com/tabler/tabler.git
synced 2026-08-01 16:04:37 +04:00
new card elements
This commit is contained in:
+14
-4
@@ -1,8 +1,18 @@
|
||||
.card {
|
||||
margin-bottom: 1.5rem;
|
||||
margin-bottom: $card-group-margin;
|
||||
box-shadow: rgba(0, 0, 0, 0.04) 0 2px 4px 0;
|
||||
}
|
||||
|
||||
.card-group {
|
||||
margin-bottom: $card-group-margin;
|
||||
}
|
||||
|
||||
.card-inactive {
|
||||
box-shadow: none;
|
||||
opacity: .8;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.card-link {
|
||||
color: inherit;
|
||||
|
||||
@@ -136,7 +146,7 @@ Card status
|
||||
*/
|
||||
.card-status-top {
|
||||
position: absolute;
|
||||
height: 3px;
|
||||
height: $card-status-size;
|
||||
border-radius: $card-border-radius $card-border-radius 0 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
@@ -148,7 +158,7 @@ Card status
|
||||
right: auto;
|
||||
bottom: 0;
|
||||
height: 100%;
|
||||
width: 3px;
|
||||
width: 2px;
|
||||
border-radius: $card-border-radius 0 0 $card-border-radius;
|
||||
}
|
||||
|
||||
@@ -157,7 +167,7 @@ Card status
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
top: initial;
|
||||
height: 3px;
|
||||
height: 2px;
|
||||
border-radius: 0 0 $card-border-radius $card-border-radius;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user