summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer/components/WireguardKeysStyles.tsx
blob: e627f16437d416c94c72c35bc416fdcafae92072 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import styled from 'styled-components';
import { colors } from '../../config.json';
import { smallText } from './common-styles';
import { Container } from './Layout';
import { NavigationScrollbars } from './NavigationBar';

export const StyledNavigationScrollbars = styled(NavigationScrollbars)({
  flex: 1,
});

export const StyledContainer = styled(Container)({
  backgroundColor: colors.darkBlue,
});

export const StyledContent = styled.div({
  display: 'flex',
  flexDirection: 'column',
  flex: 1,
});

export const StyledMessages = styled.div({
  padding: '0 22px 20px',
  flex: 1,
});

export const StyledMessage = styled.span(smallText, (props: { success: boolean }) => ({
  fontWeight: props.success ? 600 : 800,
  color: props.success ? colors.green : colors.red,
}));

export const StyledRow = styled.div({
  display: 'flex',
  flexDirection: 'column',
  padding: '0 22px',
  marginBottom: '20px',
});

export const StyledButtonRow = styled(StyledRow)({
  marginBottom: '18px',
});

export const StyledLastButtonRow = styled(StyledButtonRow)({
  marginBottom: '22px',
});

export const StyledRowLabel = styled.span(smallText, {
  display: 'flex',
  color: colors.white60,
  marginBottom: '9px',
});

export const StyledRowLabelSpacer = styled.div({
  flex: 1,
});

export const StyledRowValue = styled.span({
  fontFamily: 'Open Sans',
  fontSize: '16px',
  lineHeight: '19px',
  fontWeight: 800,
  color: colors.white,
});