aboutsummaryrefslogtreecommitdiff
path: root/src/App.css
blob: d895c6d96ab39b4e42034ae6645442792ae19bfe (plain)
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
body {
    background: black;
    color: aliceblue;
    padding: 10px;
}

.container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.header {
    width: 100%;
    text-align: center;
}

.liveFeed {
    margin-left: 10px;
}

.framePaintContainer {
    flex-direction: column;
}

.paintContainer {
    display: grid;
    grid-template-columns: 10fr 32fr 5fr;
    grid-template-rows: 32fr 8fr;
}

.paint {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;

    display: grid;
    grid-template: repeat(16, 1fr) / repeat(16, 1fr);
}

.paintAreaCell {
    border: 1px solid grey;
}


.tools {
    grid-column-start: 3;   
    grid-row-start: 1;
    grid-row-end: 3;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.paintCol {
    grid-row-start: 2;
    grid-column-start: 1;
}

.palette {
    background: fuchsia;
    grid-row-start: 2;
    grid-column-start: 2;

    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: 1fr 1fr;
}

.paletteItem {
    border: 1px solid black;
}

.paletteItem.selected {
    border: 1px solid red;
}

.frameControl {
    grid-row-start: 3;
    grid-column-start: 1;
    grid-column-end: 4;

    display: flex;
    flex-flow: row wrap;
    max-width: 400px;
}

.framePreviewWrapper {
    padding: 5px;
}

.animationPreviewWrapper {
    padding: 5px;
}

.framePreviewWrapper.selected { 
    border: 2px solid red;
}

.framePreview { 
    display: grid;
    grid-template: repeat(16, 1fr) / repeat(16, 1fr);
}
.framePreviewCell {
    width: 4px;
    height: 4px;
}

.animationPreview {
    width: 64px;
    height: 64px;
    background-size: 64px 64px;
    transform: rotate(180deg) scaleX(-1);
}