release/0.2
Björn 3 years ago
parent bdcd8c18dc
commit f70bce077f

25
dist/index.html vendored

@ -56,6 +56,12 @@
<button class="button button--selected"> <button class="button button--selected">
Hover Hover
</button> </button>
<button class="button button--outline">
Outline
</button>
<button class="button button--danger button--outline">
Danger Outline
</button>
</div> </div>
</div> </div>
@ -122,6 +128,21 @@
</div> </div>
</div> </div>
<div class="grid">
<div class="col-12">
<h2>Content</h2>
<div class="content">
<p>
</p>
<ul>
<li></li>
<li></li>
<li></li>
</ul>
</div>
</div>
</div>
<div class="grid"> <div class="grid">
<div class="col-12"> <div class="col-12">
<h2>Badge</h2> <h2>Badge</h2>
@ -214,10 +235,10 @@
Do you really wan't to delete all files? Do you really wan't to delete all files?
</div> </div>
<div class="modal__footer"> <div class="modal__footer">
<button class="button button--danger" onclick="closeModal()"> <button class="button button--outline button--danger" onclick="closeModal()">
Confirm Confirm
</button> </button>
<button class="button float-right" onclick="closeModal()"> <button class="button button--outline float-right" onclick="closeModal()">
Reject Reject
</button> </button>
</div> </div>

20
dist/plain-ui.css vendored

@ -4808,7 +4808,10 @@ body {
} }
} }
.button--small { .button--small {
font-size: 0.8em; font-size: 0.8rem;
}
.button--outline {
background-color: transparent;
} }
.button--no-style { .button--no-style {
margin: 0; margin: 0;
@ -4844,6 +4847,14 @@ body {
.button--danger:focus, .button--danger:active { .button--danger:focus, .button--danger:active {
outline: 2px solid #e79797; outline: 2px solid #e79797;
} }
.button--outline:hover {
color: #3e3e3e;
border-color: #8b8b8b;
background-color: transparent;
}
.button--danger.button--outline:hover {
border-color: #e38383;
}
.field-group { .field-group {
margin-bottom: 1.2em; margin-bottom: 1.2em;
@ -5205,10 +5216,6 @@ img.media {
transform: scale(0); transform: scale(0);
max-width: 500px; max-width: 500px;
} }
.modal__inner .button {
color: white;
background-color: transparent;
}
.modal__title { .modal__title {
font-size: 2rem; font-size: 2rem;
text-align: center; text-align: center;
@ -5224,6 +5231,9 @@ img.media {
.modal__body { .modal__body {
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
} }
.modal .button {
color: white;
}
.modal:before { .modal:before {
position: fixed; position: fixed;
top: 0; top: 0;

@ -23,7 +23,7 @@
color: $plain-ui__link-light; color: $plain-ui__link-light;
&:hover { &:hover {
//color: $plain-ui__link-hover; color: $plain-ui__link-hover;
} }
&:focus { &:focus {

@ -37,11 +37,11 @@
} }
&--small { &--small {
font-size: 0.8em; font-size: 0.8rem;
} }
&--outline { &--outline {
background-color: transparent;
} }
&--no-style { &--no-style {
@ -89,5 +89,19 @@
outline: 2px solid lighten($plain-ui__danger-light, 15%); outline: 2px solid lighten($plain-ui__danger-light, 15%);
} }
} }
&--outline {
&:hover {
color: $plain-ui__primary-light;
border-color: lighten($plain-ui__primary-light, 30%);
background-color: transparent;
}
}
&--danger.button--outline {
&:hover {
border-color: lighten($plain-ui__danger-light, 10%);
}
}
} }
} }

@ -35,11 +35,6 @@
transform: scale(0); transform: scale(0);
max-width: 500px; max-width: 500px;
.button {
color: white;
background-color: transparent;
}
} }
&__title { &__title {
@ -62,6 +57,10 @@
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
} }
.button {
color: white;
}
&:before { &:before {
position: fixed; position: fixed;
top: 0; top: 0;

Loading…
Cancel
Save