-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
86 lines (70 loc) · 1.09 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
* {
box-sizing: border-box;
}
html, body {
padding: 0;
margin: 0;
}
.board {
padding: 1rem;
background-color: #f0f0f0;
border: 1px solid #ccc;
margin: 10px;
height: fit-content;
}
@keyframes highlight {
0% {background: yellow;}
100% {background: #fff;}
}
.card {
cursor: grab;
user-select: none;
}
.slot {
border: 1px dotted #ddd;
padding: 10px;
}
.view-mode, .edit-mode {
margin: 10px 0;
padding: 1rem;
border: 1px solid silver;
background-color: #fff;
border-radius: 1rem;
animation: highlight 1s ease-in 1;
}
#container {
display: flex;
}
button {
font-size: 2rem;
cursor: pointer;
}
.hide {
display: none;
}
.translucent {
opacity: .2;
display: none;
}
.dragging {
position: absolute;
width: 250px;
height: 53px;
margin: 0;
cursor: grabbing;
transform: rotate(5deg);
top: 0;
left: 0;
}
.dragging .view-mode {
box-shadow: 2px 2px 5px rgba(0,0,0,.3);
}
.droppable {
background-color: lightyellow;
}
.card.shadow {
border: 1px dashed #ccc;
background-color: rgb(255, 255, 158);
height: 53px;
border-radius: 1rem;
}