Skip to content

Commit ee9c474

Browse files
committed
Verify page header menu improvements, main dialog vertically centered
1 parent bc89772 commit ee9c474

4 files changed

Lines changed: 4 additions & 8 deletions

File tree

images/spain.png

49 Bytes
Loading

images/uk.png

-58 Bytes
Loading

style.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77

88
body {background:#ddd; color:#222; font-family:Inter, sans-serif; min-height:100vh; margin:0; padding:0; overflow-x:hidden; max-width:100vw;display:flex;flex-direction:column;}
99
article {padding:30px 10px; }
10-
#wizard {max-width:720px; padding:0; margin:0 auto; background:#eee; color:#222; border-radius: 10px 10px 0 0; box-shadow: 0 0 30px #000; }
10+
#wizard {max-width:720px; padding:0; margin:auto 10px; align-self:center; background:#eee; color:#222; border-radius: 10px 10px 0 0; box-shadow: 0 0 30px #000; }
1111
#wizard h1 {background:linear-gradient(180deg, #dbdbdb 0%, #d6d6d6 100%); border-width:1px 0; border-style:solid; border-color:#e8e8e8 #000 #a7a7a7 #000; margin:0; padding: 14px 0; font-size: 100%; text-align:center; border-radius: 10px 10px 0 0;}
1212
#wizard menu {margin:0; padding:0 10px; list-style:none; display:flex; background:#c8c8c8; border-bottom:1px solid #9b9b9b;}
1313
@media (max-width:450px) { #wizard menu {flex-direction:column;} }
14-
#wizard menu li { border-bottom: 4px solid #0000; flex:1; text-align:center; padding: 10px; }
14+
#wizard menu li { border-bottom: 4px solid #0000; flex:1; text-align:center; padding: 10px; white-space:nowrap; }
1515
#wizard menu li.active { border-bottom-color:#15539e; }
1616
#wizard main { padding: 20px; }
1717
button,.button { border: 1px solid #9b9b9b; border-radius: 5px; border-bottom-color: #676767; background:linear-gradient(180deg, #c9c9c9 0%, #c5c5c5 1px, #c2c2c2 100%); color:#111; text-shadow:0 -1px 1px #9f9f9f; padding: 10px 18px; font-size: 100%; cursor:pointer; text-decoration:none;}
@@ -25,7 +25,7 @@ header a {margin:10px 5px; color:#fff; text-decoration:none; background:#0005; d
2525
header a:hover { background:#0003; }
2626
header a span {vertical-align:top;line-height:20px;}
2727
header menu { display:none; list-style:none; margin:0; padding:5px; border-radius:5px;}
28-
header menu.active {display:block; background:#000a; position:absolute;right:0;top:48px;z-index:2; box-shadow:0 4px 5px #0003;}
28+
header menu.active {display:block; background:#555e; border:1px solid #777; outline:1px solid #555; position:absolute;right:5px;top:48px;z-index:2; box-shadow:0 4px 5px #0003;}
2929
header menu.active:after {content:" "; position:fixed; top:0; left:0; width:100vw; height:100vh; background:#ff00;z-index:-1;}
3030
header img {width:20px; height:20px; border-radius:50%; margin-right:2px;}
3131
header menu a {margin:0;background:none;display:block;white-space:nowrap;}

verify.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<link href="style.css" rel="stylesheet">
88
</head>
99
<body class="header-bg">
10-
<div>
1110
<header>
1211
<div class="relative">
1312
<a href="#" id="chain" data-menu="chain-menu" title="Select Chain">
@@ -80,8 +79,7 @@
8079
</menu>
8180
</div>
8281
</header>
83-
<article>
84-
<div id="wizard">
82+
<article id="wizard">
8583
<h1>Coinpassport Verification</h1>
8684
<menu>
8785
<li rel="step1" class="active">1. Pay Fee</li>
@@ -108,9 +106,7 @@ <h1>Coinpassport Verification</h1>
108106
<button data-toggler="next">Redact</button>
109107
<button disabled data-step="step1" data-toggler="prev">Revoke</button>
110108
</main>
111-
</div>
112109
</article>
113-
</div>
114110
<footer>
115111
<menu>
116112
<li>&copy; 2022</li>

0 commit comments

Comments
 (0)