forked from lawlesscreation/hex-color-visualiser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
executable file
·67 lines (58 loc) · 1011 Bytes
/
styles.css
File metadata and controls
executable file
·67 lines (58 loc) · 1011 Bytes
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
/*
Bootstrap overwrites
*/
.navbar {
border-radius: 0;
}
.navbar .navbar-brand {
margin-bottom: 0;
margin-top: 0;
}
.btn-default {
margin-left: 10px;
}
/*
Tiles
*/
.tiles {
list-style: none;
margin: 1em auto;
padding: 0;
text-align: center;
max-width: calc(8 * 200px);
}
.tile-details-visible .tile .tile-details {
bottom: 0;
}
.tile {
cursor: move;
display: inline-block;
height: 200px;
overflow: hidden;
position: relative;
vertical-align: top;
width: 200px;
}
.tile:hover {
z-index: 500;
}
.tile .tile-details {
background: rgba(0,0,0,.33);
color: #fff;
bottom: 100%;
left: 0;
padding: 5px 0;
position: absolute;
text-align: center;
width: 100%;
}
.tile:hover .tile-details {
bottom: 0;
color: #fff;
}
.tile .tile-hex code,
.tile .tile-rgb code {
background-color: #444;
color: #fff;
cursor: text;
}