.affiliate-field-tabs { margin-left: -16px; margin-right: -16px; background: #f7f8fc; &:last-child { margin-bottom: -16px !important; } &.affiliate-has-label { border-top: 1px solid #e9e9e9; .affiliate-field-tab-header { padding-top: 10px; label { margin: 0 15px; } } .affiliate-field-tab-menus { margin-top: 10px; } } &.panel-group { margin-top: 20px; .affiliate-field-tab-menus { cursor: pointer; display: flex; justify-content: space-evenly; .tab-menu-wrapper { display: flex; align-items: center; flex-direction: column; .affiliate-tab-menu { flex-grow: 1; } } } } &:not(.panel-group) { .affiliate-field-tab-menus { display: flex; button { flex-grow: 1; justify-content: center; padding: 7px 15px; box-shadow: none; border: none; transition: 400ms; border: 1px solid #e9e9e9; cursor: pointer; &:not(:last-child) { border-right: none; } &.active { background: #2184f9; color: #fff; } } } .affiliate-field-tab-items { padding: 15px; } } } .affiliate-field .affiliate-field-boxshadow, .affiliate-field.affiliate-field-typography { border: 1px solid #e9e9e9; padding: 12px; border-radius: 5px; background-color: #ffffff; }