-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
90 lines (79 loc) · 1.59 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
83
84
85
86
87
88
89
90
* { box-sizing: border-box; }
body, html {
background: #FFF;
height: 100vh;
padding: 0;
margin: 0;
}
button {
border-radius: 50%;
font-size: 15px;
padding: 10px;
font-weight: 700;
line-height: .5;
border: 1px solid;
cursor: pointer;
background-color: deepskyblue;
color: white;
}
#cards {
position: absolute;
width: calc(100% - 100px);
left: 50px;
height: 100%;
}
button:active {
opacity: .6;
}
.sidebar {
width: 50px;
position: fixed;
display: inline-block;
text-align: center;
padding: 46px 0;
top: -20px;
height: 1000px;
z-index: 10;
}
.sidebar.downstream {
right: 0;
box-shadow: -20px 0 25px white inset;
}
.sidebar.upstream {
left: 0;
box-shadow: 20px 0 25px white inset;
}
.container {
padding-top: 20px;
width: 100%;
}
.card {
display: inline-block;
opacity: 0;
box-shadow: 0 5px 5px rgba(0,0,0,.15);
background: repeating-linear-gradient(
180deg,
#eee,
#eee 25px,
#fff 25px,
#fff 50px
);
position: absolute;
z-index: 0;
width: 50%;
height: 800px;
}
.card::before {
width: 100%;
position: absolute;
left: 0;
right: 0;
background: #999;
color: #999;
height: 33px;
content: 's';
}
.card.source::before {
background: #0F75FF;
color: #0F75FF;
}