Browse Source

Amélioration mise en page pour la dimension du iframe

Bastien Sevajol 11 years ago
parent
commit
a30e534928

+ 1 - 0
app/Resources/translations/navigationui.fr.yml View File

@@ -28,6 +28,7 @@ home:
28 28
   add_element_box:
29 29
     close:              Fermer l'ajout d'élément
30 30
     title:              Ajouter un partage
31
+    title_external:     Ajouter un partage sur Muzi.ch
31 32
   check_url:            Ajouter
32 33
   
33 34
 group:

+ 27 - 3
src/Muzich/CoreBundle/Resources/public/css/main.css View File

@@ -2463,7 +2463,7 @@ div#tags_prompt_search p.help_notags span
2463 2463
 {
2464 2464
   min-height: available;
2465 2465
   position: static;
2466
-  width: 600px;
2466
+  width: 560px;
2467 2467
 }
2468 2468
 
2469 2469
 .iframe #content
@@ -2472,17 +2472,41 @@ div#tags_prompt_search p.help_notags span
2472 2472
   margin-left: auto;
2473 2473
   margin-right: auto;
2474 2474
   width: 100%;
2475
+  padding-bottom: 0px;
2475 2476
 }
2476 2477
 
2477
-.iframe #main
2478
+.iframe #main.content
2478 2479
 {
2479 2480
   float: none;
2480 2481
   width: 100%;
2482
+  margin-right: 0px;
2483
+}
2484
+
2485
+.iframe #mainbox.nicebox
2486
+{
2487
+  border: none;
2488
+  box-shadow: none;
2489
+  padding: 25px;
2481 2490
 }
2482 2491
 
2483 2492
 .iframe input#element_add_name, .iframe div#tags_prompt_add input.tag_prompt
2484 2493
 {
2485
-  width: 440px;
2494
+  width: 400px;
2495
+}
2496
+
2497
+.iframe div#add_url_title, div.element_title 
2498
+{
2499
+  width: 75%;
2500
+}
2501
+
2502
+.iframe div#form_add_second_part input[type="submit"]
2503
+{
2504
+  margin-right: 20px;
2505
+}
2506
+
2507
+.iframe #tags_prompt_add
2508
+{
2509
+  width: 100%;
2486 2510
 }
2487 2511
 
2488 2512
 /*

+ 1 - 1
src/Muzich/CoreBundle/Resources/views/Element/share_from.html.twig View File

@@ -5,7 +5,7 @@
5 5
 {% block main_content %}
6 6
 
7 7
   {% include 'MuzichCoreBundle:Component:element_add_box.html.twig' with {
8
-    'box_title'     : 'home.add_element_box.title'|trans({}, 'navigationui'),
8
+    'box_title'     : 'home.add_element_box.title_external'|trans({}, 'navigationui'),
9 9
     'add_form_name' : 'add',
10 10
   } %}
11 11