|
|
@ -4,12 +4,9 @@ |
|
|
|
<head> |
|
|
|
<meta charset="utf-8"> |
|
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
|
|
|
<title>Crispy</title> |
|
|
|
<title>Crispy - a minimal CSS-Framework</title> |
|
|
|
<meta name="description" content=""> |
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="styles.css"> |
|
|
|
</head> |
|
|
|
|
|
|
@ -307,6 +304,32 @@ |
|
|
|
<pre class="code"><code><div class="hero hero--bottom" style="height: 300px; background-image: url('https://picsum.photos/1024')"></div></code></pre> |
|
|
|
<div class="hero hero--bottom" style="height: 300px; background-image: url('https://picsum.photos/1024')"></div> |
|
|
|
|
|
|
|
<!-- icons --> |
|
|
|
<h3 class="h4 margin-top-2 margin-bottom-0"> |
|
|
|
Icon |
|
|
|
</h3> |
|
|
|
<h4 class="h6">Html:</h4> |
|
|
|
<pre class="code"><code></code></pre> |
|
|
|
<div class="panel"> |
|
|
|
<div class="panel__inner"> |
|
|
|
<svg class="icon text-size-small" aria-hidden="true"> |
|
|
|
<use xlink:href="symbol-defs.svg#icon-minus"></use> |
|
|
|
</svg> |
|
|
|
<svg class="icon" aria-hidden="true"> |
|
|
|
<use xlink:href="symbol-defs.svg#icon-minus"></use> |
|
|
|
</svg> |
|
|
|
<svg class="icon text-size-large" aria-hidden="true"> |
|
|
|
<use xlink:href="symbol-defs.svg#icon-minus"></use> |
|
|
|
</svg> |
|
|
|
<svg class="icon text-size-big" aria-hidden="true"> |
|
|
|
<use xlink:href="symbol-defs.svg#icon-minus"></use> |
|
|
|
</svg> |
|
|
|
<svg class="icon text-size-mega" aria-hidden="true"> |
|
|
|
<use xlink:href="symbol-defs.svg#icon-minus"></use> |
|
|
|
</svg> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- components / panel --> |
|
|
|
<h3 class="h4 margin-top-2 margin-bottom-0"> |
|
|
|
Panel |
|
|
@ -419,24 +442,34 @@ |
|
|
|
Checkbox |
|
|
|
</h3> |
|
|
|
<div class="field"> |
|
|
|
<input id="field__checkbox__1" class="field__checkbox" type="checkbox" name="field__checkbox__1" value="true" /> |
|
|
|
<input id="field__checkbox__1" class="field__choice" type="checkbox" name="field__checkbox__1" value="true" /> |
|
|
|
<label for="field__checkbox__1" class="field__label"> |
|
|
|
<svg class="icon field__checkbox__unchecked" aria-hidden="true"> |
|
|
|
<svg class="icon field__choice__unchecked" aria-hidden="true"> |
|
|
|
<use xlink:href="symbol-defs.svg#icon-minus"></use> |
|
|
|
</svg> |
|
|
|
<svg class="icon field__checkbox__checked" aria-hidden="true"> |
|
|
|
<svg class="icon field__choice__checked" aria-hidden="true"> |
|
|
|
<use xlink:href="symbol-defs.svg#icon-checked"></use> |
|
|
|
</svg> |
|
|
|
checkbox 1 |
|
|
|
</label> |
|
|
|
<input id="field__checkbox__2" class="field__choice" type="checkbox" name="field__checkbox__2" value="true" /> |
|
|
|
<label for="field__checkbox__2" class="field__label"> |
|
|
|
<svg class="icon field__choice__unchecked" aria-hidden="true"> |
|
|
|
<use xlink:href="symbol-defs.svg#icon-minus"></use> |
|
|
|
</svg> |
|
|
|
<svg class="icon field__choice__checked" aria-hidden="true"> |
|
|
|
<use xlink:href="symbol-defs.svg#icon-checked"></use> |
|
|
|
</svg> |
|
|
|
checkbox 2 |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
<div class="field field--error"> |
|
|
|
<input id="field__checkbox__2" class="field__checkbox" type="checkbox" name="field__checkbox__2" value="true" /> |
|
|
|
<input id="field__checkbox__2" class="field__choice" type="checkbox" name="field__checkbox__2" value="true" /> |
|
|
|
<label for="field__checkbox__2" class="field__label"> |
|
|
|
<svg class="icon field__checkbox__unchecked" aria-hidden="true"> |
|
|
|
<svg class="icon field__choice__unchecked" aria-hidden="true"> |
|
|
|
<use xlink:href="symbol-defs.svg#icon-minus"></use> |
|
|
|
</svg> |
|
|
|
<svg class="icon field__checkbox__checked" aria-hidden="true"> |
|
|
|
<svg class="icon field__choice__checked" aria-hidden="true"> |
|
|
|
<use xlink:href="symbol-defs.svg#icon-checked"></use> |
|
|
|
</svg> |
|
|
|
checkbox 1 |
|
|
@ -451,22 +484,22 @@ |
|
|
|
Radio |
|
|
|
</h3> |
|
|
|
<div class="field"> |
|
|
|
<input id="field__radio__1" class="field__radio" type="radio" name="field__radio__1[]" value="true" /> |
|
|
|
<input id="field__radio__1" class="field__choice" type="radio" name="field__radio__1[]" value="true" /> |
|
|
|
<label for="field__radio__1" class="field__label"> |
|
|
|
<svg class="icon field__radio__unchecked" aria-hidden="true"> |
|
|
|
<svg class="icon field__choice__unchecked" aria-hidden="true"> |
|
|
|
<use xlink:href="symbol-defs.svg#icon-minus"></use> |
|
|
|
</svg> |
|
|
|
<svg class="icon field__radio__checked" aria-hidden="true"> |
|
|
|
<svg class="icon field__choice__checked" aria-hidden="true"> |
|
|
|
<use xlink:href="symbol-defs.svg#icon-checked" /> |
|
|
|
</svg> |
|
|
|
radio item 1 |
|
|
|
</label><br /> |
|
|
|
<input id="field__radio__2" class="field__radio" type="radio" name="field__radio__1[]" value="true" /> |
|
|
|
<input id="field__radio__2" class="field__choice" type="radio" name="field__radio__1[]" value="true" /> |
|
|
|
<label for="field__radio__2" class="field__label"> |
|
|
|
<svg class="icon field__radio__unchecked" aria-hidden="true"> |
|
|
|
<svg class="icon field__choice__unchecked" aria-hidden="true"> |
|
|
|
<use xlink:href="symbol-defs.svg#icon-minus"></use> |
|
|
|
</svg> |
|
|
|
<svg class="icon field__radio__checked" aria-hidden="true"> |
|
|
|
<svg class="icon field__choice__checked" aria-hidden="true"> |
|
|
|
<use xlink:href="symbol-defs.svg#icon-checked" /> |
|
|
|
</svg> |
|
|
|
radio item 2 |
|
|
|