Skip to content

Commit d2de2d5

Browse files
authored
feat(app): add request level app (usebruno#8294)
1 parent 683d487 commit d2de2d5

22 files changed

Lines changed: 1181 additions & 5 deletions

File tree

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
import styled from 'styled-components';
2+
3+
const StyledWrapper = styled.div`
4+
display: flex;
5+
flex-direction: column;
6+
width: 100%;
7+
height: 100%;
8+
flex-grow: 1;
9+
padding: 0.5rem;
10+
11+
.app-view-toolbar {
12+
display: flex;
13+
align-items: center;
14+
justify-content: space-between;
15+
padding: 0 0.25rem 0.4rem;
16+
font-size: 11px;
17+
color: ${(props) => props.theme.colors.text.muted};
18+
}
19+
20+
.app-view-toolbar .app-exit-btn {
21+
cursor: pointer;
22+
padding: 2px 8px;
23+
border: 1px solid ${(props) => props.theme.border.border1};
24+
border-radius: 3px;
25+
background: transparent;
26+
color: ${(props) => props.theme.colors.text.muted};
27+
28+
&:hover {
29+
color: ${(props) => props.theme.text};
30+
border-color: ${(props) => props.theme.text};
31+
}
32+
}
33+
34+
.app-webview-container {
35+
flex: 1 1 0;
36+
min-height: 0;
37+
display: flex;
38+
border: 1px solid ${(props) => props.theme.border.border1};
39+
border-radius: 4px;
40+
overflow: hidden;
41+
background: ${(props) => props.theme.background.surface0};
42+
}
43+
44+
.app-webview {
45+
width: 100%;
46+
height: 100%;
47+
flex: 1 1 0;
48+
border: 0;
49+
}
50+
`;
51+
52+
export default StyledWrapper;

0 commit comments

Comments
 (0)