From 386ba3fac06a5af21e1d26ecb3590aad259017b2 Mon Sep 17 00:00:00 2001 From: Malibu Date: Fri, 27 Feb 2015 15:28:42 +0100 Subject: [PATCH] modified: SRC/public/css/referent.css modified: SRC/public/js/ListeOeuvre.js modified: SRC/resources/views/referent.blade.php --- SRC/public/css/referent.css | 24 +++++++++++++++++++++++- SRC/public/js/ListeOeuvre.js | 1 + SRC/resources/views/referent.blade.php | 9 ++++++--- 3 files changed, 30 insertions(+), 4 deletions(-) diff --git a/SRC/public/css/referent.css b/SRC/public/css/referent.css index 6438a7c..0d5f5d4 100644 --- a/SRC/public/css/referent.css +++ b/SRC/public/css/referent.css @@ -227,4 +227,26 @@ background: linear-gradient(to bottom, #a7cfdf 0%,#23538a 100%); /* W3C */ .ios7-switch:hover input:focus:checked + span { box-shadow: inset 0 0 0 0.73em #4cd964; -} \ No newline at end of file +} + + + +/*Chosen width fix*/ +/* Fix width bug */ +.chosen-container, .chosen-drop, .chosen-drop .chosen-search, .chosen-drop { + width: 220px !important; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +/* Input Box has to be slightly smaller, don't know why and I don't care. */ +.chosen-search input { + width: 210px !important; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +/* Override width of the whole thing */ +.chosen-container { width:220px !important; } \ No newline at end of file diff --git a/SRC/public/js/ListeOeuvre.js b/SRC/public/js/ListeOeuvre.js index 6f8006b..8616ce6 100644 --- a/SRC/public/js/ListeOeuvre.js +++ b/SRC/public/js/ListeOeuvre.js @@ -173,6 +173,7 @@ $('#liAddImages').click(function() { $('#addpicture').show("slow"); $('#liSelection').removeClass("active"); $('#liAddImages').addClass("active"); + $(".chosen-select").chosen({width: "100px"}); }); diff --git a/SRC/resources/views/referent.blade.php b/SRC/resources/views/referent.blade.php index 7dab21c..cc2630a 100755 --- a/SRC/resources/views/referent.blade.php +++ b/SRC/resources/views/referent.blade.php @@ -64,18 +64,20 @@
- -
+ + + -