summaryrefslogtreecommitdiff
path: root/frontend/views/page/page.css
blob: 7747ddf3f6e0187eefc9e1c6f74f0dc4ce96edb4 (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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
.page.loading {
  padding: 1rem;
}


.tile {
  position: absolute;
}
.tile.image {
  display: block;
}
.tile.image.is_tiled {
  width: 100%;
  height: 100%;
}
.tile.text {
  display: block;
  white-space: break-spaces;
  padding: 0.25rem;
  user-select: none;
  cursor: arrow;
}

.tile.top_left { top: 0; left: 0; }
.tile.center_left { top: 50%; left: 0; }
.tile.bottom_left { bottom: 0; left: 0; }
.tile.top_center { top: 0; left: 50%; }
.tile.center_center { top: 50%; left: 50%; }
.tile.bottom_center { bottom: 0; left: 50%; }
.tile.top_right { top: 0; right: 0; }
.tile.center_right { top: 50%; right: 0; }
.tile.bottom_right { bottom: 0; right: 0; }

.tileList .row {
  justify-content: flex-start;
  align-items: center;
  min-height: 2.5rem;
  margin-bottom: 0.5rem;
  box-shadow: 4px 4px 6px rgba(0,0,0,0.5);
}
.tileList .row:last-child {
  margin-bottom: 0;
}
.tileList .row:nth-child(odd) {
  background: rgba(0,0,0,0.2);
}
.tileList .row:nth-child(even) {
  background: rgba(255,255,255,0.2);
}
.tileList span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  white-space: nowrap;
  padding: 0.25rem;
}
.tileList .thumb {
  width: 100%;
  height: 2.5rem;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.tileList .row.sortable-chosen {
  background-color: #000;
}
.tileList .row.sortable-ghost {
}
.tileList .row.sortable-drag {
  opacity: 0.6;
}

.row.imageUrl label {
  width: 13rem;
}
.row.imageUrl .thumb {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 1.5rem;
  width: 1.9475rem;
  margin-right: 0.5rem;
}
.row.imageUrl img {
  max-width: 100%;
  max-height: 100%;
}
.box .row.buttons {
  justify-content: space-between;
}
.box .row.pair {
  justify-content: space-between;
}
.box .pair label:last-child {
  margin-right: 0;
}

.box .font {
  justify-content: space-between;
}
.box .font input[type=number] {
  width: 3rem;
}
.box .font .select {
  width: 6rem;
  padding: 0.25rem;
  margin-right: 0;
}
.box .font label:last-child .select {
  width: 3.75rem;
}
.box .font label {
  flex-direction: row;
  width: 6.5rem;
  margin-right: 0.5rem;
  min-width: auto;
}
.box .font label span {
  display: none;
}
.box form .font label {
}

.box form label.color span {
  min-width: 4rem;
  width: 4rem;
}
.box label.color {
  display: flex;
  flex-direction: row;
}
.box label.color input[type='color'] {
  width: 2rem;
  margin-right: 0.5rem;
  padding: 0;
}
.box label.color input[type='text'] {
  width: 6rem;
  max-width: 6rem;
}