+++ fix кнопок в админке (создание рубрики, добавление пуекта меню кнопка выбрать изображение)
This commit is contained in:
@@ -428,8 +428,12 @@ a.button, span.button { padding: 4px 10px; }
|
||||
}
|
||||
|
||||
/* Фикс верстки админки для Chrome: только текстовые поля */
|
||||
|
||||
/* лечим текстовые инпуты во всех проблемных контейнерах */
|
||||
input[type="text"].mousetrap,
|
||||
input[type="password"].mousetrap {
|
||||
input[type="password"].mousetrap,
|
||||
.formRight input[type="text"],
|
||||
.pr12 input[type="text"] {
|
||||
padding: 2px 4px !important;
|
||||
box-sizing: border-box !important;
|
||||
display: inline-block !important;
|
||||
@@ -437,12 +441,28 @@ input[type="password"].mousetrap {
|
||||
height: 22px !important;
|
||||
}
|
||||
|
||||
/* Принудительная стыковка кнопок, идущих сразу за инпутом */
|
||||
input.mousetrap + .button,
|
||||
/* выравнивание соседей без изменения их размеров */
|
||||
input.mousetrap + + .button,
|
||||
input.mousetrap + .button,
|
||||
input.mousetrap + span.button,
|
||||
input.mousetrap + + span.button {
|
||||
input.mousetrap + a.button,
|
||||
.pr12 input + + input[type="button"], /* Сцепка внутри pr12 */
|
||||
.pr12 input + input[type="button"] {
|
||||
vertical-align: middle !important;
|
||||
display: inline-block !important;
|
||||
float: none !important;
|
||||
}
|
||||
|
||||
/* фикс высоты для кнопок-инпутов, чтобы не раздувались */
|
||||
.pr12 input[type="button"],
|
||||
.formRight input[type="button"] {
|
||||
height: 22px !important;
|
||||
padding: 0 6px !important;
|
||||
vertical-align: middle !important;
|
||||
}
|
||||
|
||||
/* запрет на разрыв строки для всех контейнеров форм */
|
||||
td[nowrap], .formRight, .pr12 {
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
|
||||
/* ========== Pagination ========== */
|
||||
|
||||
Reference in New Issue
Block a user