36 lines
1.4 KiB
CSS
36 lines
1.4 KiB
CSS
/* ════════════════════════════════════════════
|
||
* Админ: вертикальные вкладки CF (преподаватель)
|
||
* Только экран редактирования teacher. Нативный layout
|
||
* CF 'tabbed-vertical' (колонка 300px слева) + мелкие правки.
|
||
* ════════════════════════════════════════════ */
|
||
|
||
body.post-type-teacher .cf-container__tabs--tabbed-vertical .cf-container__tabs-list .cf-container__tabs-item--current {
|
||
background: #fff;
|
||
}
|
||
|
||
body.post-type-teacher .cf-container__tabs--tabbed-vertical .cf-container__tabs-list .cf-container__tabs-item--current button {
|
||
font-weight: 700;
|
||
color: #1d2327;
|
||
box-shadow: inset 3px 0 0 var(--wp-admin-theme-color, #2271b1);
|
||
}
|
||
|
||
body.post-type-teacher .cf-container__fields {
|
||
padding: 16px 18px 20px;
|
||
}
|
||
|
||
body.post-type-teacher.dekart-cf-tabs-broken .postbox {
|
||
outline: 2px dashed #d63638;
|
||
outline-offset: -6px;
|
||
}
|
||
|
||
/* На узких экранах (мобильная админка) колонка не помещается — стек. */
|
||
@media (max-width: 782px) {
|
||
body.post-type-teacher .cf-container--tabbed-vertical {
|
||
flex-direction: column;
|
||
}
|
||
body.post-type-teacher .cf-container__tabs--tabbed-vertical {
|
||
width: 100%;
|
||
border-right: 0;
|
||
border-bottom: 1px solid #e2e4e7;
|
||
}
|
||
} |