-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Support for Collection Variables --------- Co-authored-by: lohit <[email protected]> Co-authored-by: lohit <[email protected]>
- Loading branch information
1 parent
5931f0b
commit cb395e7
Showing
27 changed files
with
553 additions
and
207 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
packages/bruno-app/src/components/CollectionSettings/Vars/StyledWrapper.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import styled from 'styled-components'; | ||
|
||
const StyledWrapper = styled.div` | ||
div.title { | ||
color: var(--color-tab-inactive); | ||
} | ||
`; | ||
|
||
export default StyledWrapper; |
56 changes: 56 additions & 0 deletions
56
packages/bruno-app/src/components/CollectionSettings/Vars/VarsTable/StyledWrapper.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import styled from 'styled-components'; | ||
|
||
const Wrapper = styled.div` | ||
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; | ||
&:nth-child(1) { | ||
width: 30%; | ||
} | ||
&:nth-child(3) { | ||
width: 70px; | ||
} | ||
} | ||
} | ||
.btn-add-var { | ||
font-size: 0.8125rem; | ||
} | ||
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; |
Oops, something went wrong.