|
@ -4,12 +4,9 @@ |
|
|
<head> |
|
|
<head> |
|
|
<meta charset="utf-8"> |
|
|
<meta charset="utf-8"> |
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
|
|
<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="description" content=""> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="styles.css"> |
|
|
<link rel="stylesheet" href="styles.css"> |
|
|
</head> |
|
|
</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> |
|
|
<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> |
|
|
<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 --> |
|
|
<!-- components / panel --> |
|
|
<h3 class="h4 margin-top-2 margin-bottom-0"> |
|
|
<h3 class="h4 margin-top-2 margin-bottom-0"> |
|
|
Panel |
|
|
Panel |
|
@ -419,24 +442,34 @@ |
|
|
Checkbox |
|
|
Checkbox |
|
|
</h3> |
|
|
</h3> |
|
|
<div class="field"> |
|
|
<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"> |
|
|
<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> |
|
|
<use xlink:href="symbol-defs.svg#icon-minus"></use> |
|
|
</svg> |
|
|
</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> |
|
|
<use xlink:href="symbol-defs.svg#icon-checked"></use> |
|
|
</svg> |
|
|
</svg> |
|
|
checkbox 1 |
|
|
checkbox 1 |
|
|
</label> |
|
|
</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> |
|
|
<div class="field field--error"> |
|
|
<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"> |
|
|
<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> |
|
|
<use xlink:href="symbol-defs.svg#icon-minus"></use> |
|
|
</svg> |
|
|
</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> |
|
|
<use xlink:href="symbol-defs.svg#icon-checked"></use> |
|
|
</svg> |
|
|
</svg> |
|
|
checkbox 1 |
|
|
checkbox 1 |
|
@ -451,22 +484,22 @@ |
|
|
Radio |
|
|
Radio |
|
|
</h3> |
|
|
</h3> |
|
|
<div class="field"> |
|
|
<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"> |
|
|
<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> |
|
|
<use xlink:href="symbol-defs.svg#icon-minus"></use> |
|
|
</svg> |
|
|
</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" /> |
|
|
<use xlink:href="symbol-defs.svg#icon-checked" /> |
|
|
</svg> |
|
|
</svg> |
|
|
radio item 1 |
|
|
radio item 1 |
|
|
</label><br /> |
|
|
</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"> |
|
|
<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> |
|
|
<use xlink:href="symbol-defs.svg#icon-minus"></use> |
|
|
</svg> |
|
|
</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" /> |
|
|
<use xlink:href="symbol-defs.svg#icon-checked" /> |
|
|
</svg> |
|
|
</svg> |
|
|
radio item 2 |
|
|
radio item 2 |
|
|