-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtexpaint.css
116 lines (98 loc) · 1.81 KB
/
texpaint.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
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
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
body {
position: absolute;
margin: 0;
border: 0;
touch-action: none;
width: 100vw;
height: 100vh;
background-color: #383838;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: #222222;
}
#container {
position: relative;
height: 100%;
overflow: hidden;
}
.menu-bar {
/* TODO: on mobile, show at top in portrait mode and at side in landscape */
box-sizing: border-box;
background-color: #222222;
height: 100%;
padding: 40px 10px;
width: 60px;
display: flex;
flex-direction: column;
z-index: 10;
}
.menu-bar div.spacer {
flex-grow: 1;
}
.menu-bar button {
width: 40px;
margin-top: 10px;
padding: 10px 0;
}
.tab-panel {
box-sizing: border-box;
position: relative;
border-radius: 0 10px 10px 0;
margin-left: -10px;
margin-top: -10px;
margin-right: -10px;
padding-left: 10px;
padding: 10px;
}
.tab-panel button {
margin: 0;
}
.tab-panel .panel {
position: absolute;
display: block;
right: 60px;
top: 0;
width: 350px;
/* TODO: shared UI constants */
border-radius: 10px 0 10px 10px;
overflow: hidden;
}
.tab-panel .border-top {
height: 10px;
background-color: #7f7f7f;
width: 100%;
}
.tab-panel input[type='range'] {
display: block;
width: 100%;
}
button.brush-color {
display: block;
position: relative;
margin: 0 auto;
width: 40px;
height: 40px;
border: 2px solid #7f7f7f;
border-radius: 50%;
background-color: red;
}
#application {
position: absolute;
display: block;
left: 0;
top: 0;
z-index: -20;
width: 100%;
height: 100%;
}
.divider {
width: 4px;
background-color: #222222;
}