release/0.2
Björn 3 years ago
parent 7de1b10bb8
commit 1094119392

34
dist/plain-ui.css vendored

@ -2037,6 +2037,17 @@ h6, .h6 {
* *
* *
*/ */
.icon {
width: 1em;
height: 1em;
max-height: 100%;
max-width: 100%;
vertical-align: middle;
overflow: hidden;
font-size: 1.4rem;
fill: var(--text);
}
/** /**
* <div class="hero"> * <div class="hero">
* <img src="image.png" alt="image" /> * <img src="image.png" alt="image" />
@ -2053,10 +2064,6 @@ h6, .h6 {
-o-object-position: 50% 50%; -o-object-position: 50% 50%;
object-position: 50% 50%; object-position: 50% 50%;
} }
.hero--contain {
-o-object-fit: contain;
object-fit: contain;
}
/** /**
* *
@ -5062,25 +5069,6 @@ svg.field-choice__checked {
color: #d95959; color: #d95959;
} }
.icon {
width: 1em;
height: 1em;
max-height: 100%;
max-width: 100%;
vertical-align: middle;
overflow: hidden;
font-size: 1.4rem;
fill: #3e3e3e;
}
.icon--success {
fill: #64ac64;
}
.icon--danger {
fill: #d95959;
}
.panel { .panel {
border: 1px solid #3e3e3e; border: 1px solid #3e3e3e;
border-radius: 2px; border-radius: 2px;

@ -13,8 +13,4 @@
object-fit: cover; object-fit: cover;
object-position: 50% 50%; object-position: 50% 50%;
} }
&--contain {
object-fit: contain;
}
} }

@ -5,27 +5,17 @@
* *
*/ */
@mixin plain-ui__component__icon() { .icon {
.icon { width: 1em;
width: 1em; height: 1em;
height: 1em;
max-height: 100%; max-height: 100%;
max-width: 100%; max-width: 100%;
vertical-align: middle; vertical-align: middle;
overflow: hidden; overflow: hidden;
font-size: 1.4rem; font-size: 1.4rem;
fill: $plain-ui__primary-light; fill: var(--text);
}
.icon--success {
fill: $plain-ui__success-light;
}
.icon--danger {
fill: $plain-ui__danger-light;
}
} }

@ -43,8 +43,6 @@
} }
} }
/** /**
* *
* *

@ -38,7 +38,6 @@
@include plain-ui__component__button-colors(); @include plain-ui__component__button-colors();
@include plain-ui__component__field(); @include plain-ui__component__field();
@include plain-ui__component__icon();
@include plain-ui__component__panel(); @include plain-ui__component__panel();
@include plain-ui__component__media(); @include plain-ui__component__media();
@include plain-ui__component__table(); @include plain-ui__component__table();

Loading…
Cancel
Save