Browse Source

update paddings

main
ghost 1 year ago
parent
commit
4dcdd177ee
  1. 22
      public/asset/default/css/common.css
  2. 2
      templates/default/search/module.html.twig
  3. 4
      templates/default/torrent/edit/locales.html.twig

22
public/asset/default/css/common.css

@ -59,6 +59,14 @@ textarea { @@ -59,6 +59,14 @@ textarea {
opacity: .96;
}
/*
main input,
main button,
main select,
main textarea {
padding: 8px;
}
*/
textarea:focus,
input:focus {
border: #65916d 1px solid;
@ -85,23 +93,11 @@ input[type="submit"] { @@ -85,23 +93,11 @@ input[type="submit"] {
cursor: pointer;
}
/*
button,
input[type="submit"] {
cursor: pointer;
background: #65916d;
border-radius: 3px;
padding: 8px;
color: #fff
}
*/
textarea,
select[multiple="multiple"] {
min-height: 180px;
}
textarea::placeholder,
input::placeholder {
color: #9698a5;
@ -119,7 +115,7 @@ td { @@ -119,7 +115,7 @@ td {
header a.logo {
color: #ccc;
font-size: 22px;
font-size: 20px;
}
header a.logo > span {

2
templates/default/search/module.html.twig

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
<form class="margin-t-16-px" name="search" method="get" action="{{ path('search_index') }}">
<form class="margin-t-16-px margin-b-8-px" name="search" method="get" action="{{ path('search_index') }}">
<input class="min-width-200-px" type="text" name="query" value="{{ query }}" placeholder="{{ 'Keyword, file, hash...' | trans }}" />
<select name="type">
{% if type == 'torrent' %}

4
templates/default/torrent/edit/locales.html.twig

@ -27,11 +27,11 @@ @@ -27,11 +27,11 @@
<select class="width-100 padding-x-0" name="locales[]" multiple="multiple">
{% for locale in locales %}
{% if locale in form.locales.attribute.value %}
<option class="padding-x-8-px padding-y-8-px" value="{{ locale }}" selected="selected">
<option class="padding-x-8-px padding-y-6-px" value="{{ locale }}" selected="selected">
{{ locale|locale_name(locale)|u.title }}
</option>
{% else %}
<option class="padding-x-8-px padding-y-8-px" value="{{ locale }}">
<option class="padding-x-8-px padding-y-6-px" value="{{ locale }}">
{{ locale|locale_name(locale)|u.title }}
</option>
{% endif %}

Loading…
Cancel
Save