fix flag padding (#1280)
* Update flags.jet.html * forgot japanese specific css * Update main.css
Cette révision appartient à :
Parent
af94485dfa
révision
3752efe25f
2 fichiers modifiés avec 5 ajouts et 7 suppressions
|
@ -1461,6 +1461,8 @@ details[open] summary:after {
|
|||
border: 3px solid #dfdeeb;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.nyaa-cat {
|
||||
background: url('/img/categories.png') no-repeat;
|
||||
background-position-x: right!important;
|
||||
|
@ -1565,3 +1567,5 @@ details[open] summary:after {
|
|||
.sukebei-cat-22 {
|
||||
background-position: 0 -624px;
|
||||
}
|
||||
|
||||
html[lang="ja-jp"] .header .nav-btn { padding: 0 8px;}
|
||||
|
|
|
@ -1,13 +1,7 @@
|
|||
{{ block flagList(languages=nil, selected="", inputname="languages", id="lang")}}
|
||||
{{ if isset(languages) }}
|
||||
{{ range _, language := languages }}
|
||||
<span class="input-group">
|
||||
<span name="{{id}}-languagename">{{LanguageName(language, T)}}</span>
|
||||
<input type="checkbox" name="{{inputname}}" class="form-language-checkbox" id="{{id}}-{{ language.Code }}" value="{{language.Code}}"
|
||||
{{ range _, v := selected}}
|
||||
{{ if contains(v, language.Code) }} checked{{end}}{{end}}>
|
||||
<label for="{{id}}-{{ language.Code }}" class="flag flag-{{ language.Flag(false) }}" title="{{LanguageName(language, T)}}"></label>
|
||||
</span>
|
||||
<span class="input-group"><span name="{{id}}-languagename">{{LanguageName(language, T)}}</span><input type="checkbox" name="{{inputname}}" class="form-language-checkbox" id="{{id}}-{{ language.Code }}" value="{{language.Code}}"{{ range _, v := selected}}{{ if contains(v, language.Code) }} checked{{end}}{{end}}><label for="{{id}}-{{ language.Code }}" class="flag flag-{{ language.Flag(false) }}" title="{{LanguageName(language, T)}}"></label></span>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Référencer dans un nouveau ticket