summaryrefslogtreecommitdiff
path: root/frontend/views/page/page.css
blob: 5c29a9a1ec5a875e9785d8dcb962e6bcabe36c52 (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
.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;
}

.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: 2rem;
  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;
}