From 899a4bd60570ff9b77fabe89dd4902f09bbdeb47 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Fri, 13 Apr 2018 22:46:13 +0200 Subject: V2 feat nico search lien confirm background100% --- public/css/style.css | 14 ++++++++++---- public/index.php | 1 + public/rsc/js/app.js | 5 +++++ 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 public/rsc/js/app.js (limited to 'public') diff --git a/public/css/style.css b/public/css/style.css index 5cdb822..325a0ae 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -1,7 +1,11 @@ +html { +} + body { background-color: #dcdcdceb; font-family: helvetica, arial, sans-serif; margin: 0px; + } h1 { @@ -44,7 +48,7 @@ img { max-width: 1000px; } -article { +section { text-align: justify; padding: 3%; line-height: 1.2em; @@ -60,7 +64,7 @@ article { } -article input, textarea, select { +section input, textarea, select { width: 90%; padding-left: 15px; padding-right: 15px; @@ -89,9 +93,11 @@ aside { right: -300px; padding: 7px; z-index: 5; - background: #6c7d8a; + background: #bfbfbf; opacity: 0.3; - width: 350px; + width: 350px; + overflow-y: scroll; + max-height: 70%; } aside:hover { diff --git a/public/index.php b/public/index.php index 2409769..f935eed 100644 --- a/public/index.php +++ b/public/index.php @@ -1,3 +1,4 @@ w + \ No newline at end of file diff --git a/public/rsc/js/app.js b/public/rsc/js/app.js new file mode 100644 index 0000000..d1b9f55 --- /dev/null +++ b/public/rsc/js/app.js @@ -0,0 +1,5 @@ +function confirmSubmit(event, element) { + if (window.confirm('Confirmer ? ' + element) === false) { + event.preventDefault(); + } +} \ No newline at end of file -- cgit v1.2.3