Skip to content

Commit dbe61a2

Browse files
committed
theme update and UI improvements
1 parent 756169b commit dbe61a2

File tree

2 files changed

+53
-11
lines changed

2 files changed

+53
-11
lines changed

assets/style.css

Lines changed: 52 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,36 @@
55

66
/* body tags */
77
body { margin: 0; }
8+
select {
9+
-moz-appearance: none;
10+
-webkit-appearance: none;
11+
background-color: white;
12+
border:1px solid black;
13+
color: black;
14+
cursor: pointer;
15+
font-size: 12px;
16+
padding: 5px 22px 5px 6px;
17+
width: 120px;
18+
}
19+
select option {
20+
background-color: white;
21+
color :black;
22+
}
23+
select::-ms-expand{
24+
display:none;
25+
}
826
button {
27+
-moz-appearance: none;
28+
-webkit-appearance: none;
29+
background: #fff;
30+
border:1px solid black;
931
position: absolute;
1032
right: 10px;
11-
top: 10px;
33+
top: 40px;
34+
color: black;
35+
cursor: pointer;
36+
font-size: 12px;
37+
padding: 5px 10px;
1238
}
1339
/* classes */
1440
.stats {
@@ -23,39 +49,55 @@ button {
2349
}
2450
.passphrase-separator {
2551
bottom: 5px;
26-
/*right: 40px;*/
2752
right: 5px;
2853
position: absolute;
2954
}
30-
.optional {
31-
left: 10px;
32-
position: absolute;
33-
top: 10px;
34-
}
3555
.cell {
3656
border: 1px solid black;
3757
display: table-cell;
3858
float: left;
39-
height: 150px;
59+
height: 180px;
4060
margin: 5px;
41-
padding: 0px 4px;
4261
position: relative;
4362
width: 364px;
4463
}
4564
.password {
4665
font-family: "Dejavu Sans Mono", "Courier New", "Lucidia Console", Monaco, monospace;
4766
font-size: 18px;
67+
margin: 50px 10px 0px 10px;
4868
text-align: center;
4969
}
5070
.cell-title {
51-
margin-top: 25px;
71+
background-color: #3385ff;
72+
border-bottom: 1px solid black;
73+
color: white;
74+
margin-top: 0px;
75+
padding: 5px;
5276
text-align: center;
5377
}
5478
.info-link {
5579
position: absolute;
5680
bottom: 5px;
5781
right: 5px;
5882
}
83+
.optional {
84+
left: 10px;
85+
position: absolute;
86+
top: 40px;
87+
}
88+
.optional:after {
89+
-moz-transform: rotate(90deg);
90+
-ms-transform: rotate(90deg);
91+
-webkit-transform: rotate(90deg);
92+
bottom: 3px;
93+
color: black;
94+
content: '⊳';
95+
font-size: 18px;
96+
left: 100px;
97+
pointer-events: none;
98+
position: absolute;
99+
transform: rotate(90deg);
100+
}
59101
/* ids */
60102
#container {
61103
display: table;

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<link rel="shortcut icon" href="favicon.ico">
5-
<link integrity="sha256-59U5fUnSnro6fLunzvrOYDYaMK0rztwBFmISM27NunY=" crossorigin="anonymous" rel="stylesheet" href="assets/style.css">
5+
<link integrity="sha256-DwMZFBA9D9hwt+Xd8LCz3zdinwlkpOF99hzgH1WUSIY=" crossorigin="anonymous" rel="stylesheet" href="assets/style.css">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
<title>Passphrase and Password Generator</title>

0 commit comments

Comments
 (0)