Header smaller for lower height screens (#1341)
* Update main.css * lower H3 bottom margin * smaller spacing for refine inputs * Update main.css * remove useless shit
Cette révision appartient à :
Parent
846e9d2b8a
révision
c2541bed3e
2 fichiers modifiés avec 13 ajouts et 2 suppressions
|
@ -758,6 +758,18 @@ html, body {
|
|||
.torrent-hr { margin-bottom: 0; }
|
||||
}
|
||||
|
||||
@media (max-height: 750px) {
|
||||
.header { height: 56px; }
|
||||
.header .container>div { line-height: 58px; padding: 0 0.6rem; }
|
||||
.header .h-logo img { height: 57px; padding: 5px 8px 5px 2px; }
|
||||
.header .h-user .nav-btn { height: 57px; }
|
||||
#content { top: 58px; }
|
||||
#content.content-admin { top: 108px; }
|
||||
|
||||
h3 { margin-bottom: 5px; }
|
||||
.form-refine { margin-bottom: 8px; }
|
||||
}
|
||||
|
||||
@media (max-width: 565px) {
|
||||
.header .h-search { margin-right: 0; }
|
||||
.header .h-search input { width: 90px !important; }
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
<option value="{{ cat.ID }}" {{if Search.Category == cat.ID }}selected{{end}}>{{ T(cat.Name) }}</option>
|
||||
{{ end }}
|
||||
</select>
|
||||
<input type="hidden" name="userID" value="{{ Search.UserID }}"/>
|
||||
{{end}}
|
||||
{{block search_button() }}
|
||||
<input class="form-input search-box" name="q" placeholder="{{ T("search")}}" type="text" value="{{Search.NameLike}}"/>
|
||||
|
@ -14,7 +13,7 @@
|
|||
<button type="submit" class="form-input refine" name="refine" value="1">{{ T("refine")}}</button>
|
||||
{{end}}
|
||||
{{block search_refine(url="") }}
|
||||
<div style="text-align:left;{{ if !Search.ShowRefine }}display:none;{{ end }}" class="box refine">
|
||||
<div style="{{ if !Search.ShowRefine }}display:none;{{ end }}" class="box refine">
|
||||
</span>
|
||||
<form style="display: grid;" method="GET" action="{{ url }}">
|
||||
<h3 style="margin-top: 2px;">{{ T("refine_search") }}</h3>
|
||||
|
|
Référencer dans un nouveau ticket