Commit d50a7e11 authored by Hugues's avatar Hugues

72-form le module form-plaintext n'est pas repris

parent 0cb24d17
// Readonly controls as plain text
//
// Apply class to a readonly input to make it appear like regular plain
// text (without any border, background color, focus indicator)
.form-control-plaintext {
display: block;
width: 100%;
padding-top: $input-padding-y;
padding-bottom: $input-padding-y;
margin-bottom: 0; // match inputs if this class comes on inputs with default margins
line-height: $input-line-height;
color: $input-plaintext-color;
background-color: transparent;
border: solid transparent;
border-width: $input-border-width 0;
&.form-control-sm,
&.form-control-lg {
padding-right: 0;
padding-left: 0;
}
}
# Forms-plaintext
Présentation
---------------------------------------------------------------------
Le sous-module `forms-plaintext` gere les inputs affichés comme du texte.
Utilisation
---------------------------------------------------------------------
...
Exemple
---------------------------------------------------------------------
```html
<form>
<div class="form-group">
<label for="staticEmail">Email</label>
<input type="text" readonly class="form-control-plaintext" id="staticEmail" value="email@example.com">
</div>
</form>
```
......@@ -9,6 +9,7 @@ Le module forms de Scampi reprend l’essentiel du code de Bootstrap 4 et l'enri
Ce qui n’est pas repris :
- form-grid (pas de grille dans scampi)
- form-plaintext
- custom-form
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment