blob: f9bd6db82b202b04cdb673ef2b25eb31706cce3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
import styled from 'styled-components';
import { colors } from '../../config.json';
import * as Cell from './Cell';
import { Container } from './Layout';
import { NavigationScrollbars } from './NavigationBar';
import Selector from './Selector';
export const StyledContainer = styled(Container)({
backgroundColor: colors.darkBlue,
});
export const StyledInputFrame = styled(Cell.InputFrame)({
flex: 0,
});
export const StyledSelectorContainer = styled.div({
flex: 0,
});
export const StyledTunnelProtocolSelector = (styled(Selector)({
marginBottom: 0,
}) as unknown) as new <T>() => Selector<T>;
export const StyledTunnelProtocolContainer = styled(StyledSelectorContainer)({
marginBottom: '20px',
});
export const StyledNavigationScrollbars = styled(NavigationScrollbars)({
flex: 1,
});
export const StyledBottomCellGroup = styled.div({
display: 'flex',
flexDirection: 'column',
flex: 1,
marginBottom: '22px',
});
export const StyledNoWireguardKeyErrorContainer = styled(Cell.Footer)({
paddingBottom: 0,
});
export const StyledNoWireguardKeyError = styled(Cell.FooterText)({
fontWeight: 800,
color: colors.red,
});
|