2 lines
2.1 KiB
CSS
2 lines
2.1 KiB
CSS
/*! admin-branch-tabs.css (minified) */
|
|
.dekart-branch-tabs{display: flex;align-items: flex-start;gap: 20px;max-width: 1100px;margin-top: 4px;}.dekart-branch-tabs__nav{flex: 0 0 260px;position: sticky;top: 46px;background: rgba(255,255,255,0.06);border: 1px solid var(--cf-border,#c3c4c7);border-radius: 8px;padding: 8px;box-sizing: border-box;}.dekart-branch-tabs__nav ul{margin: 0;padding: 0;list-style: none;display: flex;flex-direction: column;gap: 2px;}.dekart-branch-tabs__nav button{display: block;width: 100%;text-align: left;padding: 9px 12px;font-size: 13px;line-height: 1.3;font-weight: 600;color: var(--cf-text-muted,#646970);background: transparent;border: 0;border-radius: 6px;cursor: pointer;transition: background 0.15s ease,color 0.15s ease;font-family: inherit;}.dekart-branch-tabs__nav button:hover{background: rgba(0,0,0,0.08);color: var(--cf-text,#1d2327);}body.branch-settings_page_branch-settings .dekart-branch-tabs__nav button:hover,body.toplevel_page_branch-settings .dekart-branch-tabs__nav button:hover{background: rgba(255,255,255,0.1);}.dekart-branch-tabs__nav button.is-active{background: var(--wp-admin-theme-color,#2271b1);color: #fff;box-shadow: 0 1px 3px rgba(0,0,0,0.25);}.dekart-branch-tabs__content{flex: 1 1 auto;min-width: 0;}.dekart-branch-tabs__content .branch-section{display: none;max-width: none;}.dekart-branch-tabs__content .branch-section.is-active{display: block;}.dekart-branch-tabs__content .branch-section h2{display: none;}.dekart-branch-tabs__content .branch-section:first-child .branch-section-body{display: grid;grid-template-columns: repeat(2,minmax(0,1fr));column-gap: 32px;align-items: start;}.dekart-branch-tabs__content .branch-section:first-child .branch-field:last-child{grid-column: 1 / -1;}@media (max-width: 782px){.dekart-branch-tabs{flex-direction: column;gap: 12px;}.dekart-branch-tabs__nav{flex: none;position: static;width: 100%;}.dekart-branch-tabs__nav ul{flex-direction: row;flex-wrap: wrap;}.dekart-branch-tabs__nav button{width: auto;white-space: nowrap;}.dekart-branch-tabs__content .branch-section:first-child .branch-section-body{grid-template-columns: 1fr;}} |