|
|
@ -679,26 +679,27 @@ toRem(10px 10px 0 0); |
|
|
|
Returns value without unit. |
|
|
|
</p> |
|
|
|
|
|
|
|
<!-- functions / stripUnit --> |
|
|
|
<h3 class="h4 margin-top-0x margin-bottom-0x"> |
|
|
|
zIndex(name) |
|
|
|
</h3> |
|
|
|
<h4 class="h6 margin-top-1x">Sass:</h4> |
|
|
|
<pre class="code"><code>zIndex('modal');</code></pre> |
|
|
|
<p> |
|
|
|
Returns value from $crispy__z-index. |
|
|
|
</p> |
|
|
|
<h4 class="h6 margin-top-1x">Sass:</h4> |
|
|
|
<pre class="code"><code>$crispy__z-index: ( |
|
|
|
'overlay': 90, |
|
|
|
'modal' : 100 |
|
|
|
);</code></pre> |
|
|
|
|
|
|
|
<!-- modifiers --> |
|
|
|
<hr class="margin-top-3x"> |
|
|
|
<h2 id="modifiers" class="margin-top-1x"> |
|
|
|
Modifiziers |
|
|
|
</h2> |
|
|
|
|
|
|
|
<!-- modifiers / align --> |
|
|
|
<h3 class="h4 margin-top-1x"> |
|
|
|
Float |
|
|
|
</h3> |
|
|
|
<pre class="code"><div class="text-left"></div> |
|
|
|
<div class="text-center"></div> |
|
|
|
<div class="text-right"></div> |
|
|
|
<div class="text-justify"></div> |
|
|
|
<div class="float-left"></div> |
|
|
|
<div class="float-center"></div> |
|
|
|
<div class="float-none"></div> |
|
|
|
<div class="center"></div> |
|
|
|
<div class="clearfix"></div></code></pre> |
|
|
|
|
|
|
|
<!-- modifiers / margin & padding --> |
|
|
|
<h3 class="h4 margin-top-1x"> |
|
|
|
Margin & Padding |
|
|
@ -726,6 +727,13 @@ $crispy__spacing__steps: 5; |
|
|
|
<div class="panel panel__inner margin-bottom-4">margin-bottom-4</div> |
|
|
|
<div class="panel panel__inner margin-bottom-5">margin-bottom-5</div> |
|
|
|
|
|
|
|
<p> |
|
|
|
Also set padding and margin to 0, |
|
|
|
</p> |
|
|
|
|
|
|
|
<pre class="code"><div class="marginless"</div> |
|
|
|
<div class="paddingless"</div></code></pre> |
|
|
|
|
|
|
|
<!-- modifiers / media --> |
|
|
|
<h3 class="h4 margin-top-1"> |
|
|
|
Media |
|
|
@ -749,31 +757,26 @@ $crispy__spacing__steps: 5; |
|
|
|
</figure> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="grid"> |
|
|
|
<div class="col-6"> |
|
|
|
<div class="video-responsive" style="height: 280px;"> |
|
|
|
<iframe src="https://giphy.com/embed/13XW2MJE0XCoM0" width="480" height="361" frameBorder="0" class="giphy-embed" allowFullScreen></iframe> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- modifiers / text --> |
|
|
|
<!-- modifiers / Typography --> |
|
|
|
<h3 class="h4 margin-top-1x"> |
|
|
|
Text |
|
|
|
Typography |
|
|
|
</h3> |
|
|
|
<pre class="code"><div class="text-left"></div> |
|
|
|
<div class="text-center"></div> |
|
|
|
<div class="text-right"></div> |
|
|
|
<div class="text-justify"></div> |
|
|
|
<div class="text-italic"></div> |
|
|
|
<div class="text-light"></div> |
|
|
|
<div class="text-normal"></div> |
|
|
|
<div class="text-medium"></div> |
|
|
|
<div class="text-bold"></div> |
|
|
|
<div class="text-weight-light"></div> |
|
|
|
<div class="text-weight-normal"></div> |
|
|
|
<div class="text-weight-medium"></div> |
|
|
|
<div class="text-weight-bold"></div> |
|
|
|
<div class="text-capitalize"></div> |
|
|
|
<div class="text-uppercase"></div> |
|
|
|
<div class="text-lowercase"></div> |
|
|
|
<div class="text-small"></div> |
|
|
|
<div class="text-crossed"></div></code></pre> |
|
|
|
<div class="text-smaller"></div> |
|
|
|
<div class="text-crossed"></div> |
|
|
|
<div class="text-underline"></div></code></pre> |
|
|
|
|
|
|
|
<p> |
|
|
|
Also there are classes for, |
|
|
@ -784,7 +787,34 @@ $crispy__spacing__steps: 5; |
|
|
|
<li>background-color-* with $crispy__font-sizes for "background-color"</li> |
|
|
|
</ul> |
|
|
|
|
|
|
|
<!-- visibility --> |
|
|
|
<!-- modifiers / float --> |
|
|
|
<h3 class="h4 margin-top-1x"> |
|
|
|
Float |
|
|
|
</h3> |
|
|
|
<pre class="code"><div class="float-left"></div> |
|
|
|
<div class="float-right"></div> |
|
|
|
<div class="float-none"></div> |
|
|
|
<div class="centered"></div> |
|
|
|
<div class="clearfix"></div></code></pre> |
|
|
|
|
|
|
|
<!-- modifiers / typography --> |
|
|
|
<h3 class="h4 margin-top-1x"> |
|
|
|
Position |
|
|
|
</h3> |
|
|
|
<pre class="code"><div class="relative"></div> |
|
|
|
<div class="absolute"></div> |
|
|
|
<div class="fixed"></div></code></pre> |
|
|
|
|
|
|
|
<!-- modifiers / border --> |
|
|
|
<h3 class="h4 margin-top-1x"> |
|
|
|
Border |
|
|
|
</h3> |
|
|
|
<pre class="code"><div class="bordered"></div> |
|
|
|
<div class="rounded"></div> |
|
|
|
<div class="borderless"></div> |
|
|
|
<div class="radiusless"></div></code></pre> |
|
|
|
|
|
|
|
<!-- modifiers / visibility --> |
|
|
|
<h3 class="h4 margin-top-1x"> |
|
|
|
Visibility |
|
|
|
</h3> |
|
|
@ -793,10 +823,19 @@ $crispy__spacing__steps: 5; |
|
|
|
<div class="visible visible--inline"></div> |
|
|
|
<div class="visible visible--inline-block"></div></code></pre> |
|
|
|
|
|
|
|
<!-- modifiers / media --> |
|
|
|
<!-- modifiers / width --> |
|
|
|
<h3 class="h4 margin-top-1x"> |
|
|
|
Width |
|
|
|
</h3> |
|
|
|
<h4 class="h6 margin-top-1x">Sass:</h4> |
|
|
|
<pre class="code"><code>$crispy__width: ( |
|
|
|
'25' : 25%, |
|
|
|
'50' : 50%, |
|
|
|
'75' : 75%, |
|
|
|
'100': 100% |
|
|
|
)</code></pre> |
|
|
|
|
|
|
|
<h4 class="h6 margin-top-1x">Html:</h4> |
|
|
|
<pre class="code"><code><div class="panel width-25">width-25</div> |
|
|
|
<div class="width-50">width-50</div> |
|
|
|
<div class="width-75">width-75</div> |
|
|
|