From 84d1dd2ccde73a76ab76b82e733522b21db1695c Mon Sep 17 00:00:00 2001 From: sebmas Date: Wed, 28 Jan 2026 00:25:52 +0100 Subject: [PATCH] pique moins les yeux --- js_native/lxplan_lib_builder.html | 107 +++++++++++++++++++++++------- 1 file changed, 83 insertions(+), 24 deletions(-) diff --git a/js_native/lxplan_lib_builder.html b/js_native/lxplan_lib_builder.html index 40f2577..69f59ee 100644 --- a/js_native/lxplan_lib_builder.html +++ b/js_native/lxplan_lib_builder.html @@ -10,6 +10,15 @@ font-family: Arial, sans-serif; margin: 20px; line-height: 1.6; + background-color: #111; + color: #ddd; + } + + .container { + border: 1px solid #777; + border-radius: 5px; + margin: 5px; + padding: 10px; } textarea { @@ -25,15 +34,78 @@ border: none; border-radius: 4px; cursor: pointer; + margin: 20px; } button:hover { background-color: #0056b3; } + /** form **/ + .form-section { + font-family: Arial, sans-serif; + max-width: 600px; + margin: 0 auto; + padding: 20px; + } + + #mandatoryFields>div, + #optionalFields>div { + display: flex; + align-items: center; + margin-bottom: 15px; + } + + label { + min-width: 150px; + font-weight: bold; + margin-right: 15px; + text-align: right; + } + + input[type="text"], + select { + flex: 1; + padding: 8px; + border: 1px solid #ccc; + border-radius: 4px; + background-color: #bbbaba; + } + + #optionalFields details { + margin-top: 20px; + padding: 10px; + border: 1px solid #eee; + border-radius: 4px; + } + + #optionalFields summary { + cursor: pointer; + font-weight: bold; + } + + #saveButton { + background-color: #4CAF50; + color: white; + padding: 10px 15px; + border: none; + border-radius: 4px; + cursor: pointer; + font-size: 16px; + margin-top: 20px; + } + + #saveButton:hover { + background-color: #45a049; + } + + + /** end form **/ + .test-result>span { font-weight: bold; padding: 5px; + border-radius: 5px; } .valid { @@ -50,13 +122,6 @@ color: black; background-color: white; } - - .container { - border: 1px solid black; - border-radius: 5px; - margin: 5px; - padding: 10px; - } @@ -92,11 +157,11 @@
La shape, commence t elle par un groupe ? :...
-