1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-01 16:04:37 +04:00

eslint fixes

This commit is contained in:
codecalm
2019-10-17 22:34:27 +02:00
parent b54ecdb4f6
commit ae55a3e2d1
32 changed files with 374 additions and 480 deletions
+29 -29
View File
@@ -24,8 +24,8 @@
}
.card-inactive {
box-shadow: none;
pointer-events: none;
box-shadow: none;
.card-body {
opacity: .64;
@@ -36,13 +36,13 @@
position: relative;
background-color: rgba($primary, .03);
&:before {
content: '';
&::before {
position: absolute;
top: -1px;
left: -1px;
right: -1px;
bottom: -1px;
left: -1px;
content: "";
border: 1px solid $primary;
border-radius: inherit;
}
@@ -73,24 +73,24 @@
.card-stacked {
position: relative;
&:after {
content: '';
&::after {
position: absolute;
top: -5px;
left: 5px;
right: 5px;
left: 5px;
z-index: -1;
height: 5px;
content: "";
background: $card-bg;
border: 1px solid $card-border-color;
border-radius: $card-border-radius $card-border-radius 0 0;
background: $card-bg;
z-index: -1;
height: 5px
}
}
.card-cover {
position: relative;
padding: $card-spacer-y $card-spacer-x;
background: #666666 no-repeat center/cover;
background: #666 no-repeat center/cover;
&::before {
position: absolute;
@@ -150,9 +150,9 @@
.card-title {
display: block;
margin: 0 0 1rem;
font-size: $h3-font-size;
font-weight: $headings-font-weight;
margin: 0 0 1rem;
color: $headings-color;
@at-root a#{&}:hover {
@@ -187,8 +187,8 @@ Card optinos
.card-options {
top: 1.5rem;
right: .75rem;
margin-left: auto;
display: flex;
margin-left: auto;
}
.card-options-link {
@@ -203,27 +203,27 @@ Card status
*/
.card-status-top {
position: absolute;
height: $card-status-size;
border-radius: $card-border-radius $card-border-radius 0 0;
top: 0;
right: 0;
left: 0;
height: $card-status-size;
border-radius: $card-border-radius $card-border-radius 0 0;
}
.card-status-left {
position: absolute;
right: auto;
bottom: 0;
height: 100%;
width: $card-status-size;
height: 100%;
border-radius: $card-border-radius 0 0 $card-border-radius;
}
.card-status-bottom {
position: absolute;
top: initial;
bottom: 0;
width: 100%;
top: initial;
height: $card-status-size;
border-radius: 0 0 $card-border-radius $card-border-radius;
}
@@ -274,7 +274,7 @@ Card code
pre {
padding: 0;
margin: 0;
color: #ffffff;
color: #fff;
text-shadow: none;
background: transparent;
}
@@ -303,9 +303,9 @@ Card profile
max-width: 6rem;
margin-top: -5rem;
margin-bottom: 1rem;
border: 3px solid #ffffff;
border: 3px solid #fff;
border-radius: 100%;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
}
/*
@@ -317,13 +317,13 @@ Card list group
}
.list-group-item {
padding-right: $card-spacer-x;
padding-left: $card-spacer-x;
border-right: 0;
border-left: 0;
border-radius: 0;
padding-left: $card-spacer-x;
padding-right: $card-spacer-x;
&:last-child {
border-bottom: 0;
}
@@ -341,14 +341,14 @@ Card tabs
margin-bottom: $card-group-margin;
.nav-tabs {
border-bottom: 0;
z-index: $zindex-dropdown;
position: relative;
z-index: $zindex-dropdown;
border-bottom: 0;
.nav-link {
background: $card-cap-bg;
border: $card-border-width solid $card-border-color;
border-bottom: 0;
background: $card-cap-bg;
&.active,
&:active,
@@ -357,8 +357,8 @@ Card tabs
}
&.active {
background: $card-bg;
color: $headings-color;
background: $card-bg;
}
}
@@ -389,8 +389,8 @@ Card tabs
margin-bottom: 0;
.nav-link {
border-bottom: $card-border-width solid $card-border-color;
border-top-width: 0;
border-bottom: $card-border-width solid $card-border-color;
border-top-left-radius: 0;
border-top-right-radius: 0;
@@ -399,7 +399,7 @@ Card tabs
}
.card {
border-top-left-radius: 0;
margin: 0;
border-top-left-radius: 0;
}
}