Wiki source code of Bouton
Version 97.1 by Achraf El Kari on 2023/07/18 16:11
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% class="wikigeneratedid" id="HBoutonA0:" %) | ||
2 | In the Button component, we find 4 tabs: | ||
3 | |||
4 | (% class="wikigeneratedid" %) | ||
5 | **Général Configuration**, **Styles**, **Actions** et **Permissions** [[image:bbh.png]] | ||
6 | |||
7 | ((( | ||
8 | ((( | ||
9 | == __1-Général Configuration__ : == | ||
10 | ))) | ||
11 | |||
12 | * There are two types of buttons | ||
13 | |||
14 | |||
15 | ))) | ||
16 | |||
17 | [[image:aa.png||style="float:left"]] | ||
18 | |||
19 | |||
20 | |||
21 | (% style="margin-left:auto; margin-right:auto; width:500px" %) | ||
22 | |(% style="height:80px; text-align:center; width:151px" %)((( | ||
23 | ====== **Buton Type** ====== | ||
24 | )))|(% style="text-align:center; width:347px" %)((( | ||
25 | ====== **Description** ====== | ||
26 | ))) | ||
27 | |(% style="height:80px; width:151px" %)** TextWithIcon Button** :|(% style="width:347px" %)This type allows us to choose an icon and write a title for the button | ||
28 | |(% style="height:80px; width:151px" %)**Icon Button :**|(% style="width:347px" %)It displays the icon that the user chooses | ||
29 | |(% style="height:80px; width:151px" %) |(% style="width:347px" %) | ||
30 | |||
31 | ((( | ||
32 | == __2-Styles __: == | ||
33 | |||
34 | We have two parts: **Container** and **Content** [[image:bb.png]] | ||
35 | ))) | ||
36 | |||
37 | |||
38 | * ((( | ||
39 | ===== **Container :** ===== | ||
40 | ))) | ||
41 | |||
42 | [[image:Sans titre.png||alt="Sans titreX.png" height="416" style="float:left" width="404"]] | ||
43 | |||
44 | (% style="margin-left:auto; margin-right:auto; width:500px" %) | ||
45 | |=(% style="text-align: center; width: 162px;" %)((( | ||
46 | ====== **Container element** ====== | ||
47 | )))|=(% style="text-align: center; width: 336px;" %)((( | ||
48 | ====== **Description** ====== | ||
49 | ))) | ||
50 | |(% style="width:162px" %)**Shadow: **|(% style="width:336px" %)To add a shadow to the button | ||
51 | |(% style="width:162px" %)**Background Color:**|(% style="width:336px" %)To change the background color of the button | ||
52 | |(% style="width:162px" %)**Border Side** :|(% style="width:336px" %)To define where you want to position the button border (all, left, right, top, bottom) | ||
53 | |(% style="width:162px" %)**Border**:|(% style="width:336px" %)To change the color and thickness of the button border | ||
54 | |(% style="width:162px" %)**Border Type**: |(% style="width:336px" %)((( | ||
55 | (% id="cke_bm_1441S" style="display:none" %) (%%)To change the type of button border (dotted, solid, ...) [[image:1689346916293-889.png]] | ||
56 | ))) | ||
57 | |(% style="width:162px" %)**Border Radius (px)**:|(% style="width:336px" %)((( | ||
58 | (% id="cke_bm_1499S" style="display:none" %) (%%)To define the radius of the button's rounded corners. [[image:1689347021554-136.png]] [[image:1689347030547-277.png]] | ||
59 | ))) | ||
60 | |(% style="width:162px" %) |(% style="width:336px" %) | ||
61 | |||
62 | * ((( | ||
63 | ====== **Content :** ====== | ||
64 | ))) | ||
65 | |||
66 | **~ ** | ||
67 | |||
68 | [[image:fg.png||style="float:left"]] | ||
69 | |||
70 | (% style="margin-left:auto; margin-right:auto; width:500px" %) | ||
71 | |=(% style="text-align: center; width: 162px;" %)((( | ||
72 | ====== **Content element** ====== | ||
73 | )))|=(% style="text-align: center; width: 336px;" %)((( | ||
74 | ====== **Description** ====== | ||
75 | ))) | ||
76 | |(% style="width:162px" %) **Spacing: **|(% style="width:336px" %)((( | ||
77 | (% id="cke_bm_6755S" style="display:none" %) (%%)To define the spacing between the icon and the text in the button [[image:1689347292615-297.png||height="44" width="95"]] | ||
78 | ))) | ||
79 | |(% style="width:162px" %)**Icon Position:**|(% style="width:336px" %)To choose the position of the icon (left, right, top, bottom) | ||
80 | |(% style="width:162px" %)** Align: **|(% style="width:336px" %)To align the icon with the text (left, center, right) | ||
81 | |(% style="width:162px" %)**Size (px):**|(% style="width:336px" %)((( | ||
82 | (% id="cke_bm_7131S" style="display:none" %) (%%)To define the size in pixels of the icon and text in the button [[image:1689347476383-409.png||height="36" width="76"]](% id="cke_bm_7131E" style="display:none" %) | ||
83 | ))) | ||
84 | |(% style="width:162px" %)**Color:** |(% style="width:336px" %)((( | ||
85 | (% id="cke_bm_7260S" style="display:none" %) (%%)To change the color of the icon and text in the button [[image:1689347644263-160.png||height="36" width="86"]] | ||
86 | ))) | ||
87 | |(% style="width:162px" %)** Bold: ** |(% style="width:336px" %)((( | ||
88 | (% id="cke_bm_1499S" style="display:none" %) (%%)To make the text bold in the button | ||
89 | ))) | ||
90 | |(% style="width:162px" %) |(% style="width:336px" %) | ||
91 | |||
92 |