mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-23 12:45:38 +00:00
refactor: integrate BulkEditCodeEditor for bulk editing of query parameters and request headers refactor: refactor BulkEditCodeEditor component folder structure nad fix Bulk Edit button styles refactor: now the queryparams are updated in both the ways style: fix indentation reverting the style changes which fixes the alignment of the bulkedit button refactor: add onSave prop to BulkEditCodeEditor and update value handling feat: add onSave prop to BulkEditCodeEditor for improved header management added onRun prop to BulkEditCodeEditor, QueryParams, and RequestHeaders refactor: renamed BulkEditCodeEditor to BulkEditor and update the references, and updated names for bulkEdit states
61 lines
1016 B
JavaScript
61 lines
1016 B
JavaScript
import styled from 'styled-components';
|
|
|
|
const Wrapper = styled.div`
|
|
div.title {
|
|
color: var(--color-tab-inactive);
|
|
}
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-weight: 600;
|
|
table-layout: fixed;
|
|
|
|
thead,
|
|
td {
|
|
border: 1px solid ${(props) => props.theme.table.border};
|
|
}
|
|
|
|
thead {
|
|
color: ${(props) => props.theme.table.thead.color};
|
|
font-size: 0.8125rem;
|
|
user-select: none;
|
|
}
|
|
td {
|
|
padding: 6px 10px;
|
|
}
|
|
}
|
|
|
|
td {
|
|
&:nth-child(1) {
|
|
padding: 0 0 0 8px;
|
|
}
|
|
}
|
|
|
|
.btn-action {
|
|
font-size: 0.8125rem;
|
|
&:hover span {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
input[type='text'] {
|
|
width: 100%;
|
|
border: solid 1px transparent;
|
|
outline: none !important;
|
|
background-color: inherit;
|
|
|
|
&:focus {
|
|
outline: none !important;
|
|
border: solid 1px transparent;
|
|
}
|
|
}
|
|
|
|
input[type='checkbox'] {
|
|
cursor: pointer;
|
|
position: relative;
|
|
top: 1px;
|
|
}
|
|
`;
|
|
|
|
export default Wrapper;
|