|
|
@ -17,11 +17,25 @@ |
|
|
|
|
|
|
|
<header class="header"> |
|
|
|
<div class="bar"> |
|
|
|
<div class="bar__main"> |
|
|
|
<div class="bar__start"> |
|
|
|
<h1 class="m-top-4 m-bottom-4 h4"> |
|
|
|
Plain UI 0.2 |
|
|
|
Plain UI 0.3 |
|
|
|
</h1> |
|
|
|
</div> |
|
|
|
<div class="bar__main justify-end"> |
|
|
|
<a class="button button--small m-bottom-0" href="#"> |
|
|
|
Github |
|
|
|
<svg class="m-left-3 icon fill-text" aria-hidden="true"> |
|
|
|
<use xlink:href="symbol-defs.svg#icon-github"></use> |
|
|
|
</svg> |
|
|
|
</a> |
|
|
|
<a class="button button--small m-left-sm-3 m-bottom-0" href="https://gitea.tentakelfabrik.de/" rel="noopener" target="_blank"> |
|
|
|
Gitea |
|
|
|
<svg class="m-left-3 icon fill-text" aria-hidden="true"> |
|
|
|
<use xlink:href="symbol-defs.svg#icon-gitea"></use> |
|
|
|
</svg> |
|
|
|
</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</header> |
|
|
|
|
|
|
@ -152,6 +166,24 @@ |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div> |
|
|
|
<button class="button button--full"> |
|
|
|
full |
|
|
|
</button> |
|
|
|
<button class="button button--full button--danger"> |
|
|
|
danger |
|
|
|
</button> |
|
|
|
<button class="button button--full button--success"> |
|
|
|
success |
|
|
|
</button> |
|
|
|
<button class="button button--full button--warning"> |
|
|
|
warning |
|
|
|
</button> |
|
|
|
<button class="button button--full button--info"> |
|
|
|
info |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div> |
|
|
|
<button class="button button--outline"> |
|
|
|
outline |
|
|
@ -178,6 +210,12 @@ |
|
|
|
<input class="field-text" /> |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
<div class="field-group"> |
|
|
|
<label class="field-label"> |
|
|
|
Message |
|
|
|
<textarea class="field-text"></textarea> |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="content"> |
|
|
|
<code><div class="field-group field-group--valid"> |
|
|
@ -498,7 +536,7 @@ |
|
|
|
</svg> |
|
|
|
Delete |
|
|
|
</div> |
|
|
|
<div class="modal__body"> |
|
|
|
<div class="modal__body center"> |
|
|
|
Do you really wan't to delete all files? |
|
|
|
</div> |
|
|
|
<div class="modal__footer"> |
|
|
@ -845,6 +883,72 @@ |
|
|
|
</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- toast --> |
|
|
|
<h2 class="m-top-5"> |
|
|
|
Toast |
|
|
|
</h2> |
|
|
|
<div class="content"> |
|
|
|
<code><div class="toast-wrapper"> |
|
|
|
<div class="toast"> |
|
|
|
<div class="toast__icon"> |
|
|
|
<svg class="icon fill-text-contrast" aria-hidden="true"> |
|
|
|
<use xlink:href="/symbol-defs.svg#icon-warning"></use> |
|
|
|
</svg> |
|
|
|
</div> |
|
|
|
<div class="toast__body"> |
|
|
|
|
|
|
|
</div> |
|
|
|
<div class="toast__button"> |
|
|
|
<svg class="icon fill-text-contrast" aria-hidden="true"> |
|
|
|
<use xlink:href="/symbol-defs.svg#icon-close"></use> |
|
|
|
</svg> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</code> |
|
|
|
</div> |
|
|
|
|
|
|
|
<script type="text/javascript"> |
|
|
|
function addToast() { |
|
|
|
document.querySelector('#toast').style.display = 'block' |
|
|
|
|
|
|
|
setTimeout(function() { |
|
|
|
document.querySelector('#toast .toast').classList.add('toast--animation') |
|
|
|
}, 100) |
|
|
|
} |
|
|
|
|
|
|
|
function closeToast() { |
|
|
|
setTimeout(function() { |
|
|
|
document.querySelector('#toast').style.display = 'none' |
|
|
|
}, 1000) |
|
|
|
|
|
|
|
document.querySelector('#toast .toast').classList.remove('toast--animation') |
|
|
|
} |
|
|
|
</script> |
|
|
|
|
|
|
|
<button class="button" onclick="addToast()"> |
|
|
|
Click me! |
|
|
|
</button> |
|
|
|
|
|
|
|
<div id="toast" class="toast-wrapper" style="display: none;"> |
|
|
|
<div class="toast toast--danger"> |
|
|
|
<div class="toast__icon"> |
|
|
|
<svg class="icon fill-text-contrast" aria-hidden="true"> |
|
|
|
<use xlink:href="/symbol-defs.svg#icon-warning"></use> |
|
|
|
</svg> |
|
|
|
</div> |
|
|
|
<div class="toast__body"> |
|
|
|
Warning! Action not Working! |
|
|
|
</div> |
|
|
|
<button class="toast__button" onclick="closeToast()"> |
|
|
|
<svg class="icon fill-text-contrast" aria-hidden="true"> |
|
|
|
<use xlink:href="/symbol-defs.svg#icon-close"></use> |
|
|
|
</svg> |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|