-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcolorSeparation_header.html
65 lines (62 loc) · 2.06 KB
/
colorSeparation_header.html
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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Check color separation</title>
<style type="text/css" media="screen">
div#interface {
position: fixed;
z-index: 1000;
bottom: 10px;
right: 10px;
}
div#interface div {
font-family:sans-serif;
text-transform: uppercase;
font-size: 12px !important;
letter-spacing: 1px;
padding: 5px 7px;
margin-bottom: 1em;
cursor: pointer;
border: 1px solid black;
}
img {
position: absolute;
border-width: 2px;
border-style: solid;
}
.page {
margin: 4em;
float: left;
}
#cyan:hover, .cyan { border-color: cyan; color: cyan;}
#magenta:hover, .magenta { border-color: magenta; color: magenta;}
#yellow:hover, .yellow { border-color: yellow; color: yellow;}
#black:hover, .black { outline: 1px solid black; color: black;}
#all:hover, .all {
border-top-color: cyan;
border-left-color: magenta;
border-bottom-color: yellow;
border-right-color: black;
}
#cyan.active { background-color: cyan; color: black; }
#magenta.active { background-color: magenta; color: black; }
#yellow.active { background-color: yellow; color: black; }
#black.active { background-color: black; color: white; }
#all.active {
border-top: 1px solid cyan;
border-left: 1px solid magenta;
border-bottom: 1px solid yellow;
border-right: 1px solid black;
background-color: white; color: black;
}
</style>
</head>
<body>
<div id="interface">
<div id="all" class="active">All</div>
<div id="cyan">Cyan</div>
<div id="magenta">Magenta</div>
<div id="yellow">Yellow</div>
<div id="black">Black</div>
</div>