/
githubmirror
/
wp-calypso
Обзор
Документация
Войти
/
githubmirror
/
wp-calypso
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
client/dashboard/plugins/plugin/style.scss
47 строк
999 B
arthur791004
Plugins: refactor the sites card layout and clean up custom styles (#112329)
07 июл 2026, 12:00
Не верифицирован
07 июл 2026, 12:00
6d071a6
Код
Авторство
О чём код?
@import '../../app/pulse'; .plugin-tabs-list[aria-orientation='horizontal'] { flex-shrink: 0; &::before { transform: translateX(calc((var(--selected-start) * var(--direction-factor) * 1px) + 24px)) scaleX(calc(calc(var(--selected-width, 0) - 2 * 24) / var(--antialiasing-factor))); } button { padding-inline: 24px; .dashboard-section-header__heading { font-weight: normal; } } } .plugin-tabs-panel { border-top: 1px solid rgba(0, 0, 0, 0.1); // :not([hidden]) is required because display: flex overrides the hidden attribute's display: none. &:not([hidden]) { display: flex; flex-direction: column; flex: 1; min-height: 0; } } .plugin-tabs-list, .plugin-tabs-panel { .is-level-3 { .dashboard-section-header__heading { font-size: 13px; } } } // Fill the tab panel so DataViews can scroll its table while keeping the // filter bar and pagination footer pinned. .sites-with-this-plugin { display: flex; flex-direction: column; flex: 1; min-height: 0; }