Clean CSS, clean code
This commit is contained in:
parent
15f3c97fff
commit
8a481b297c
@ -43,7 +43,7 @@ class ExtraFields
|
||||
public $db;
|
||||
|
||||
/**
|
||||
* @var string type of element (for what object is the extrafield)
|
||||
* @var array Array with type of element (for what object is the extrafield)
|
||||
* @deprecated
|
||||
*/
|
||||
public $attribute_elementtype;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -368,6 +368,8 @@ class Form
|
||||
|
||||
$s = picto_from_langcode($langcode, 'class="pictoforlang paddingright"');
|
||||
$resultforextrlang .= $s;
|
||||
|
||||
// TODO Use the showInputField() method of ExtraLanguages object
|
||||
if ($typeofdata == 'textarea') {
|
||||
$resultforextrlang .= '<textarea name="field-'.$object->element."-".$fieldname."-".$langcode.'" id="'.$fieldname."-".$langcode.'" class="'.$morecss.'" rows="'.ROWS_2.'" wrap="soft">';
|
||||
$resultforextrlang .= $valuetoshow;
|
||||
|
||||
@ -689,7 +689,7 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
|
||||
}
|
||||
}
|
||||
|
||||
$openedDashBoard .= '<div class="box-flex-item">'."\n";
|
||||
$openedDashBoard .= '<div class="box-flex-item"><div class="box-flex-item-with-margin">'."\n";
|
||||
$openedDashBoard .= ' <div class="info-box '.$openedDashBoardSize.'">'."\n";
|
||||
$openedDashBoard .= ' <span class="info-box-icon bg-infobox-'.$groupKeyLowerCase.'">'."\n";
|
||||
$openedDashBoard .= ' <i class="fa fa-dol-'.$groupKeyLowerCase.'"></i>'."\n";
|
||||
@ -736,6 +736,7 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
|
||||
|
||||
$openedDashBoard .= ' </div><!-- /.info-box-content -->'."\n";
|
||||
$openedDashBoard .= ' </div><!-- /.info-box -->'."\n";
|
||||
$openedDashBoard .= '</div><!-- /.box-flex-item-with-margin -->'."\n";
|
||||
$openedDashBoard .= '</div><!-- /.box-flex-item -->'."\n";
|
||||
$openedDashBoard .= "\n";
|
||||
}
|
||||
@ -754,7 +755,7 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
|
||||
}
|
||||
$text .= '. '.$langs->transnoentitiesnoconv("LateDesc");
|
||||
|
||||
$weatherDashBoard = '<div class="box-flex-item '.$appendClass.'">'."\n";
|
||||
$weatherDashBoard = '<div class="box-flex-item '.$appendClass.'"><div class="box-flex-item-with-margin">'."\n";
|
||||
$weatherDashBoard .= ' <div class="info-box '.$openedDashBoardSize.' info-box-weather info-box-weather-level'.$weather->level.'">'."\n";
|
||||
$weatherDashBoard .= ' <span class="info-box-icon">';
|
||||
$weatherDashBoard .= img_weather('', $weather->level, '', 0, 'valignmiddle width50');
|
||||
@ -778,6 +779,7 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
|
||||
|
||||
$weatherDashBoard .= ' </div><!-- /.info-box-content -->'."\n";
|
||||
$weatherDashBoard .= ' </div><!-- /.info-box -->'."\n";
|
||||
$weatherDashBoard .= '</div><!-- /.box-flex-item-with-margin -->'."\n";
|
||||
$weatherDashBoard .= '</div><!-- /.box-flex-item -->'."\n";
|
||||
$weatherDashBoard .= "\n";
|
||||
|
||||
|
||||
@ -314,8 +314,8 @@ if (GETPOSTISSET('THEME_AGRESSIVENESS_RATIO')) $conf->global->THEME_AGRESSIVENES
|
||||
display: flex; /* or inline-flex */
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
width: 100%;
|
||||
margin: 0 0 0 -8px;
|
||||
width: calc(100% + 14px);
|
||||
margin: 0 -8px 0 -8px;
|
||||
/*justify-content: space-between;*/
|
||||
}
|
||||
|
||||
@ -348,7 +348,8 @@ if (GETPOSTISSET('THEME_AGRESSIVENESS_RATIO')) $conf->global->THEME_AGRESSIVENES
|
||||
@media only screen and (max-width: 767px)
|
||||
{
|
||||
.box-flex-container {
|
||||
margin: 0 0 0 0 !important;
|
||||
margin: 0 0 0 0px !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.info-box-module {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user