-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
82 lines (77 loc) · 1.43 KB
/
style.css
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
html, body {
height: 100%;
margin: 0;
display: flex;
flex-grow: 1;
justify-content: center;
align-items: center;
font: 1em "Fira Sans", sans-serif;
}
input, #result {
width: 420px;
max-width: 90vw;
font-size: 1em;
padding: 8px 10px 8px 10px;
border: 1px solid #cecece;
background: #fcfcfc;
border-radius: 4px;
box-sizing: border-box;
margin: 12px;
}
input:focus {
outline: none;
border: 2px solid #cecece;
margin: 11px;
}
.column {
flex-grow: 1;
display: flex;
justify-content: center;
align-items: center;
max-width: 1280px;
position: relative;
height: 100%;
}
#readme a {
padding: 0.5em;
position: absolute;
bottom: 0;
right: 0;
text-decoration: none;
color: #1c1c1c;
}
#readme a:visited {
color: #4a4a4a;
}
#result {
overflow: auto;
}
#result::-webkit-scrollbar {
display: none;
}
:root {
--green: green;
--yellow: yellowgreen;
--orange: orange;
--red: red;
}
#result.strict-match {
border-color: var(--green);
box-shadow: 0 0 4px var(--green);;
}
#result.partial-match {
border-color: var(--yellow);
box-shadow: 0 0 4px var(--yellow);
}
#result.other-pattern-match {
border-color: var(--orange);
box-shadow: 0 0 4px var(--orange);
}
#result.no-match {
border-color: var(--red);
box-shadow: 0 0 2px var(--red);
}
#result.empty {
opacity: 35%;
user-select: none;
}