modif css

This commit is contained in:
Marion Muszynski 2016-10-21 16:16:12 +02:00
parent 06a303fb6a
commit 23f29a55d6
3 changed files with 9 additions and 3 deletions

View File

@ -432,7 +432,7 @@ class HelperForm{
$disabled = ((isset($p['disabled']) && $p['disabled']) ? 'disabled="disabled"' : '');
$this->_html .= '<label' . (isset($p['class']) && $p['class'] ? ' class="' . $p['class'] . '"' : '') . '>'.$p['label'].'</label>
<div class="margin-form' . (isset($p['class']) && $p['class'] ? ' ' . $p['class'] : '') . '">
<div class="styled-select '.(isset($p['class-select']) && $p['class-select'] ? ' ' . $p['class-select'] : '').'">
<div class="styled-select'.(isset($p['class-select']) && $p['class-select'] ? ' ' . $p['class-select'] : '').'">
<select ' . $disabled . ' id="'.$p['name'].'" name="'.$p['name'].'">';
foreach($p['options'] as $opt) {
$selected = '';

View File

@ -3304,6 +3304,9 @@ span.anticon{
overflow: hidden;
width: 256px;
}
.styled-select.big-select{
width: 400px;
}
.styled-select select {
background: transparent;
border: none;
@ -3312,6 +3315,9 @@ span.anticon{
padding: 5px;
width: 268px;
}
.styled-select.big-select select{
width: 420px;
}
.semi-square {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;

View File

@ -349,7 +349,7 @@ class AdminPhileaMagistor extends AdminTab {
'inputs' => array(
array(
'type' => 'select-styled',
'class-select' => 'bg-purple-light',
'class-select' => 'bg-purple-light big-select',
'name' => 'id_sale',
'label' => $this->l('Select a sale'),
'options' => $id_sale_options,
@ -712,7 +712,7 @@ class AdminPhileaMagistor extends AdminTab {
'inputs' => array(
array(
'type' => 'select-styled',
'class-select' => 'bg-purple-light',
'class-select' => 'bg-purple-light big-select',
'name' => 'id_sale_unarchive',
'label' => $this->l('Désarchiver une vente'),
'options' => $archives_options,