From 2e286063dcfd6b7bba2b32ac72229e6ba6232478 Mon Sep 17 00:00:00 2001 From: Labayna Neil Brian Narido Date: Fri, 14 Feb 2020 18:57:21 +0800 Subject: [PATCH 1/2] Update User guide --- docs/userGuide/syntax/boxes.mbdf | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/docs/userGuide/syntax/boxes.mbdf b/docs/userGuide/syntax/boxes.mbdf index 6b18935742..a449edd027 100644 --- a/docs/userGuide/syntax/boxes.mbdf +++ b/docs/userGuide/syntax/boxes.mbdf @@ -219,6 +219,38 @@ As light and seamless are mutually exclusive styles, < +**You can remove the background, icon and borders of preset styles.** + + +Custom styles (background-color, border-color, border-left-color, icon) as introduced in the previous section, takes precedence over and are not affected by no-background, no-border, no-icon + + + + + + +```html + + success box without a tick icon and backgound + + + + definition type box, light style without border + +``` + + + + + success box without a tick icon and backgound + + + + definition type box, light style without border + + + + **You can also use icons and resize them accordingly.** @@ -264,6 +296,9 @@ header
heading
(de type | `String` | `'none'` | Supports: `info`, `warning`, `success`, `important`, `wrong`, `tip`, `definition`, or empty for default. light | `Boolean` | `false` | Uses a light color scheme for the box. seamless | `Boolean` | `false` | Uses a seamless style for the box. If `light` is specified, this style will not be activated. +no-border | `Boolean` | `false` | Removes border, except if styled by `border-color` or `border-left-color`. +no-backgound | `Boolean` | `false` | Removes background, except if styled by `backgound-color` option. +no-icon | `Boolean` | `false` | Removes icon, except if icon is displayed via `icon` option. ```html From 0d916d98c6855530201c87f053685681d70d71fa Mon Sep 17 00:00:00 2001 From: Labayna Neil Brian Narido Date: Sun, 16 Feb 2020 11:19:24 +0800 Subject: [PATCH 2/2] Update user guide --- docs/userGuide/syntax/boxes.mbdf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/userGuide/syntax/boxes.mbdf b/docs/userGuide/syntax/boxes.mbdf index a449edd027..ed7c8c216e 100644 --- a/docs/userGuide/syntax/boxes.mbdf +++ b/docs/userGuide/syntax/boxes.mbdf @@ -299,6 +299,9 @@ seamless | `Boolean` | `false` | Uses a seamless style for the box. If `light` i no-border | `Boolean` | `false` | Removes border, except if styled by `border-color` or `border-left-color`. no-backgound | `Boolean` | `false` | Removes background, except if styled by `backgound-color` option. no-icon | `Boolean` | `false` | Removes icon, except if icon is displayed via `icon` option. +type | `String` | `'none'` | Supports: `info`, `warning`, `success`, `important`, `wrong`, `tip`, `definition`, or empty for default. +light | `Boolean` | `false` | Uses a light color scheme for the box. +seamless | `Boolean` | `false` | Uses a seamless style for the box. If `light` is specified, this style will not be activated. ```html