summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer/components/SelectLocationStyles.tsx
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2021-08-17 07:57:39 +0200
committerOskar Nyberg <oskar@mullvad.net>2021-08-17 09:41:03 +0200
commitccafdf50c837fd1de68ecb26364cb4100ada593e (patch)
tree6311696843a86f9cd619480537ebbf4a74a7c0dc /gui/src/renderer/components/SelectLocationStyles.tsx
parent8fd9f53a8c909bd757cc777d4e8d66fe6097a4a8 (diff)
downloadmullvadvpn-ccafdf50c837fd1de68ecb26364cb4100ada593e.tar.xz
mullvadvpn-ccafdf50c837fd1de68ecb26364cb4100ada593e.zip
Add filter box to select location view
Diffstat (limited to 'gui/src/renderer/components/SelectLocationStyles.tsx')
-rw-r--r--gui/src/renderer/components/SelectLocationStyles.tsx33
1 files changed, 33 insertions, 0 deletions
diff --git a/gui/src/renderer/components/SelectLocationStyles.tsx b/gui/src/renderer/components/SelectLocationStyles.tsx
index 2c317ddddc..bf0dc038e8 100644
--- a/gui/src/renderer/components/SelectLocationStyles.tsx
+++ b/gui/src/renderer/components/SelectLocationStyles.tsx
@@ -3,6 +3,7 @@ import { colors } from '../../config.json';
import { smallText } from './common-styles';
import { Container } from './Layout';
import { ScopeBar } from './ScopeBar';
+import SettingsHeader from './SettingsHeader';
export const StyledContainer = styled(Container)({
backgroundColor: colors.darkBlue,
@@ -59,3 +60,35 @@ export const StyledFilterByProviderButton = styled.button({
backgroundColor: colors.blue80,
},
});
+
+export const StyledSettingsHeader = styled(SettingsHeader)({
+ paddingLeft: '6px',
+ paddingBottom: '11px',
+});
+
+export const StyledProviderCountRow = styled.div({
+ ...smallText,
+ color: colors.white,
+ marginLeft: '6px',
+ marginBottom: '8px',
+});
+
+export const StyledProvidersCount = styled.div({
+ ...smallText,
+ display: 'inline-flex',
+ alignItems: 'center',
+ backgroundColor: colors.blue,
+ borderRadius: '4px',
+ padding: '3px 8px',
+ marginLeft: '6px',
+ color: colors.white,
+});
+
+export const StyledClearProvidersButton = styled.div({
+ display: 'inline-block',
+ borderWidth: 0,
+ padding: 0,
+ margin: '0 0 0 6px',
+ cursor: 'default',
+ backgroundColor: 'transparent',
+});