Browse Source

update paddings

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

24
public/asset/default/css/common.css

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

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

@ -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 }}" /> <input class="min-width-200-px" type="text" name="query" value="{{ query }}" placeholder="{{ 'Keyword, file, hash...' | trans }}" />
<select name="type"> <select name="type">
{% if type == 'torrent' %} {% if type == 'torrent' %}

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

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

Loading…
Cancel
Save