Responsive
This commit is contained in:
parent
78ee498151
commit
35c57988a0
@ -794,7 +794,8 @@ div#moreinfo, div#infowarehouse {
|
||||
.headersplit {
|
||||
height: 10%;
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
padding-top: 20px;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.headercontent {
|
||||
@ -806,6 +807,19 @@ div#moreinfo, div#infowarehouse {
|
||||
background-color: rgb(233,234,237);
|
||||
}
|
||||
|
||||
|
||||
@media only screen and (max-width: 767px)
|
||||
{
|
||||
.headercontent {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.headersplit .headercontent {
|
||||
font-size: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.row:after {
|
||||
content: "";
|
||||
display: table;
|
||||
|
||||
@ -910,7 +910,7 @@ if (empty($conf->global->TAKEPOS_HIDE_HEAD_BAR)) {
|
||||
</div>
|
||||
<div class="topnav-right">
|
||||
<div class="login_block_other">
|
||||
<input type="text" id="search" name="search" onkeyup="Search2(<?php echo $keyCodeForEnter; ?>);" placeholder="<?php echo $langs->trans("Search"); ?>" autofocus>
|
||||
<input type="text" id="search" name="search" class="input-search-takepos" onkeyup="Search2(<?php echo $keyCodeForEnter; ?>);" placeholder="<?php echo dol_escape_htmltag($langs->trans("Search")); ?>" autofocus>
|
||||
<a onclick="ClearSearch();"><span class="fa fa-backspace"></span></a>
|
||||
<a href="<?php echo DOL_URL_ROOT.'/'; ?>" target="backoffice" rel="opener"><!-- we need rel="opener" here, we are on same domain and we need to be able to reuse this tab several times -->
|
||||
<span class="fas fa-home"></span></a>
|
||||
@ -1204,7 +1204,7 @@ if (!empty($conf->global->TAKEPOS_WEIGHING_SCALE)) {
|
||||
if (!empty($conf->global->TAKEPOS_HIDE_HEAD_BAR)) {
|
||||
print '<!-- Show the search input text -->'."\n";
|
||||
print '<div class="margintoponly">';
|
||||
print '<input type="text" id="search" name="search" onkeyup="Search2('.$keyCodeForEnter.');" style="width:80%;width:calc(100% - 51px);font-size: 150%;" placeholder="'.$langs->trans("Search").'" autofocus> ';
|
||||
print '<input type="text" id="search" class="input-search-takepos" name="search" onkeyup="Search2('.$keyCodeForEnter.');" style="width: 80%; width:calc(100% - 51px); font-size: 150%;" placeholder="'.dol_escape_htmltag($langs->trans("Search")).'" autofocus> ';
|
||||
print '<a class="marginleftonly hideonsmartphone" onclick="ClearSearch();">'.img_picto('', 'searchclear').'</a>';
|
||||
print '</div>';
|
||||
}
|
||||
|
||||
@ -1607,7 +1607,7 @@ if (($action == "valid" || $action == "history") && $invoice->type != Facture::T
|
||||
|
||||
if ($action == "search") {
|
||||
print '<center>
|
||||
<input type="text" id="search" name="search" onkeyup="Search2();" name="search" style="width:80%;font-size: 150%;" placeholder=' . $langs->trans('Search').'
|
||||
<input type="text" id="search" class="input-search-takepos" name="search" onkeyup="Search2();" style="width: 80%; font-size: 150%;" placeholder="'.dol_escape_htmltag($langs->trans('Search')).'">
|
||||
</center>';
|
||||
}
|
||||
|
||||
|
||||
@ -161,7 +161,7 @@ if ($conf->global->TAKEPOS_COLOR_THEME == 1) {
|
||||
}
|
||||
?>
|
||||
</head>
|
||||
<body>
|
||||
<body class="takepossplitphp">
|
||||
|
||||
<script>
|
||||
function Split(selectedline, split) {
|
||||
@ -201,7 +201,7 @@ $( document ).ready(function() {
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
$("#headersplit1").html("<?php echo $langs->trans("Place");?> "+parent.place);
|
||||
$("#headersplit2").html("<?php echo $langs->trans("SplitSale");?>");
|
||||
|
||||
@ -279,7 +279,8 @@ section.setupsection {
|
||||
div.tabBar textarea:focus {
|
||||
border: 1px solid #aaa !important;
|
||||
}
|
||||
input:focus:not(.button):not(.select2-search__field):not(#top-bookmark-search-input):not(.search_component_input), select:focus, .select2-container--open .select2-selection--single {
|
||||
input:focus:not(.button):not(.select2-search__field):not(#top-bookmark-search-input):not(.search_component_input):not(.input-search-takepos),
|
||||
select:focus, .select2-container--open .select2-selection--single {
|
||||
/* div.tabBar input:focus, div.tabBar select:focus { */
|
||||
border-bottom: 1px solid #666 !important;
|
||||
border-bottom-left-radius: 0 !important;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user