From 0398657ece274388fcac820be92016eb75b80c5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn?=
zIndex('modal');
+ + Returns value from $crispy__z-index. +
+$crispy__z-index: (
+ 'overlay': 90,
+ 'modal' : 100
+);
+
<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>-
+ Also set padding and margin to 0, +
+ +<div class="marginless"</div> +<div class="paddingless"</div>+
<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>+<div class="text-smaller"></div> +<div class="text-crossed"></div> +<div class="text-underline"></div>
Also there are classes for, @@ -784,7 +787,34 @@ $crispy__spacing__steps: 5;
<div class="float-left"></div> +<div class="float-right"></div> +<div class="float-none"></div> +<div class="centered"></div> +<div class="clearfix"></div>+ + +
<div class="relative"></div> +<div class="absolute"></div> +<div class="fixed"></div>+ + +
<div class="bordered"></div> +<div class="rounded"></div> +<div class="borderless"></div> +<div class="radiusless"></div>+ +
$crispy__width: (
+ '25' : 25%,
+ '50' : 50%,
+ '75' : 75%,
+ '100': 100%
+)
+
+ <div class="panel width-25">width-25</div>
<div class="width-50">width-50</div>
<div class="width-75">width-75</div>
diff --git a/src/_modifiers.scss b/src/_modifiers.scss
index 8a8f53c..794330f 100644
--- a/src/_modifiers.scss
+++ b/src/_modifiers.scss
@@ -46,7 +46,7 @@
text-decoration: underline !important;
}
- .text-capitalized {
+ .text-capitalize {
text-transform: capitalize !important;
}
@@ -70,6 +70,10 @@
font-weight: bolder !important;
}
+ .text-smaller {
+ font-size: 80% !important
+ }
+
@each $name, $font-size in $crispy__font-sizes {
.text-size-#{$name} {
font-size: $font-size !important;