From 5c4d067eecc58ee6672ae706f7402ea48e97eaa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn?= Date: Tue, 2 Jun 2020 13:34:42 +0200 Subject: [PATCH] adding --- dist/example/components.html | 15 +++++++-------- src/html/partials/components.html | 18 ++++++++++-------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/dist/example/components.html b/dist/example/components.html index ed44dab..b4e2dd9 100644 --- a/dist/example/components.html +++ b/dist/example/components.html @@ -159,9 +159,8 @@ $crispy__field__select__border: $crispy__border;

Group

SCSS:

$crispy__group__margin: 0.3em !default;
-$crispy__group__character: '/' !default;
-$crispy__group__character-margin: 0 $crispy__group__margin 0 !default;

Html:

<nav>
+</div>

Group

SCSS:

$crispy__group__margin: 0 0.5em 0 !default;
+$crispy__group__character: '/' !default;

Html:

<nav>
     <ul class="group group--hr">
         <li class="group__item">first item</li>
         <li class="group__item">second item</li>
@@ -218,14 +217,14 @@ $crispy__modal__z-index: zIndex('modal');

Html:

< Lorem Ipsum </div> </div> -</div>

Table

SCSS:

$crispy__table__padding: $crispy__padding !default;
-$crispy__table__padding-breakpoints: $crispy__padding-breakpoints !default;
+</div>

Table

SCSS:

$crispy__table__padding: $crispy__padding;
+$crispy__table__padding-breakpoints: $crispy__padding-breakpoints;
 
-$crispy__table__td__border: 1px solid $crispy__color-border !default;
+$crispy__table__td__border: 1px solid $crispy__color-border;
 $crispy__table__th__border-width: 2px !default;
 
-$crispy__table__color: $crispy__color-text !default;
-$crispy__table__striped__background-color: $crispy__color-grey-light !default;

Html:

<table class="table table--striped margin-bottom-2">
+$crispy__table__color: $crispy__color-text;
+$crispy__table__striped__background-color: $crispy__color-grey-light;

Html:

<table class="table table--striped margin-bottom-2">
     <thead>
         <tr>
             <th>name</th>
diff --git a/src/html/partials/components.html b/src/html/partials/components.html
index d009bfa..5c672e7 100644
--- a/src/html/partials/components.html
+++ b/src/html/partials/components.html
@@ -152,6 +152,7 @@ $crispy__field__select__border: $crispy__border;
+

Checkbox @@ -217,6 +218,7 @@ $crispy__field__select__border: $crispy__border; +

Radio @@ -316,6 +318,7 @@ $crispy__field__select__border: $crispy__border; +

Select @@ -374,9 +377,8 @@ $crispy__field__select__border: $crispy__border;

SCSS:

-
$crispy__group__margin: 0.3em !default;
-$crispy__group__character: '/' !default;
-$crispy__group__character-margin: 0 $crispy__group__margin 0 !default;
+
$crispy__group__margin: 0 0.5em 0 !default;
+$crispy__group__character: '/' !default;

Html:

<nav>
@@ -618,14 +620,14 @@ $crispy__modal__z-index: zIndex('modal');

SCSS:

-
$crispy__table__padding: $crispy__padding !default;
-$crispy__table__padding-breakpoints: $crispy__padding-breakpoints !default;
+
$crispy__table__padding: $crispy__padding;
+$crispy__table__padding-breakpoints: $crispy__padding-breakpoints;
 
-$crispy__table__td__border: 1px solid $crispy__color-border !default;
+$crispy__table__td__border: 1px solid $crispy__color-border;
 $crispy__table__th__border-width: 2px !default;
 
-$crispy__table__color: $crispy__color-text !default;
-$crispy__table__striped__background-color: $crispy__color-grey-light !default;
+$crispy__table__color: $crispy__color-text; +$crispy__table__striped__background-color: $crispy__color-grey-light;

Html:

<table class="table table--striped margin-bottom-2">