From 609397d95a73bdae55de41c47b19932e810d0320 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 1 May 2020 14:16:56 +0530 Subject: drastically reduce permissions for Web integration The old web integration with more permissions is still available on an opt-in basis. --- webextension/static/style/wallet.css | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) (limited to 'webextension/static/style/wallet.css') diff --git a/webextension/static/style/wallet.css b/webextension/static/style/wallet.css index 16a414b3d..7c06f2386 100644 --- a/webextension/static/style/wallet.css +++ b/webextension/static/style/wallet.css @@ -1,14 +1,15 @@ body { font-size: 100%; overflow-y: scroll; + margin-top: 2em; } #main { - border: solid 1px black; + border: solid 5px black; border-radius: 10px; margin-left: auto; margin-right: auto; - margin-top: 2em; + padding-top: 2em; max-width: 50%; padding: 2em; } @@ -18,16 +19,6 @@ header { height: 100px; margin: 0; padding: 0; - border-bottom: 1px solid black; -} - -header h1 { - font-size: 200%; - margin: 0; - padding: 0 0 0 120px; - position: relative; - top: 50%; - transform: translateY(-50%); } header #logo { @@ -37,7 +28,6 @@ header #logo { padding: 0; margin: 0; text-align: center; - border-right: 1px solid black; background-image: url(/img/logo.png); background-size: 100px; } @@ -50,7 +40,6 @@ aside { section#main { margin: auto; padding: 20px; - border-left: 1px solid black; height: 100%; max-width: 50%; } @@ -61,19 +50,23 @@ section#main h1:first-child { h1 { font-size: 160%; + font-family: "monospace"; } h2 { font-size: 140%; + font-family: "monospace"; } h3 { font-size: 120%; + font-family: "monospace"; } h4, h5, h6 { + font-family: "monospace"; font-size: 100%; } @@ -281,3 +274,17 @@ a.opener { object.svg-icon.svg-baseline { transform: translate(0, 0.125em); } + +.switch { + position: relative; + display: inline-block; + width: 60px; + height: 34px; +} + +/* Hide default HTML checkbox */ +.switch input { + opacity: 0; + width: 0; + height: 0; +} \ No newline at end of file -- cgit v1.2.3