Browse Source

adding

release/0.2
Björn 3 years ago
parent
commit
1094119392
5 changed files with 20 additions and 49 deletions
  1. +11
    -23
      dist/plain-ui.css
  2. +0
    -4
      src/scss/components/_hero.scss
  3. +9
    -19
      src/scss/components/_icon.scss
  4. +0
    -2
      src/scss/helpers/_core.scss
  5. +0
    -1
      src/scss/plain-ui.scss

+ 11
- 23
dist/plain-ui.css View File

@ -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;


+ 0
- 4
src/scss/components/_hero.scss View File

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

+ 9
- 19
src/scss/components/_icon.scss View File

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

+ 0
- 2
src/scss/helpers/_core.scss View File

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


+ 0
- 1
src/scss/plain-ui.scss View File

@ -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