-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
122 lines (104 loc) · 2.35 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
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
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap");
/* remove any unnecessary width */
* {
box-sizing: border-box;
}
body {
background-color: #242333;
color: #fff;
display: flex; /* this helps prep to display everything equally horizontally and vertically */
flex-direction: column; /* otherwise it automatically displays as a row */
align-items: center; /* this is horizontal */
justify-content: center; /* this is vertical */
height: 100vh; /* final move to truly center content */
font-family: "Lato", sans-serif;
margin: 0;
}
/* movie container to make it look the same on all devices and browsers */
.movie-container {
margin: 20px 0;
}
.movie-container select {
background-color: #fff;
border: 0;
border-radius: 5px;
font-size: 14px;
margin-left: 10px; /* create space between text and drop down */
padding: 5px 15px 5px 15px; /* top right bottom left */
/* following three affect how text lies in drop down box */
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
}
/* add a 3D effect */
.container {
perspective: 1000px;
margin-bottom: 30px;
}
.seat {
background-color: #444451;
height: 12px;
width: 15px;
margin: 3px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
.seat.selected {
background-color: #6feaf6;
}
.seat.occupied {
background-color: #fff;
}
/* to create "rows" between seat chart */
.seat:nth-of-type(2) {
margin-right: 18px;
}
.seat:nth-last-of-type(2) {
margin-left: 18px;
}
.seat:not(.occupied):hover {
cursor: pointer;
transform: scale(1.4);
}
.showcase .seat:not(.occupied):hover {
cursor: default;
transform: scale(1);
}
.showcase {
background: rgba(0, 0, 0, 0.4);
padding: 5px 10px;
border-radius: 5px;
color: #777;
list-style-type: none;
display: flex;
justify-content: space-between;
}
/* includes seat and the caption */
.showcase li {
display: flex;
align-items: center;
justify-content: center;
margin: 0 10px;
}
.showcase li small {
margin-left: 2px;
}
/* to display seats on display horizontally */
.row {
display: flex;
}
.screen {
background-color: #fff;
height: 70px;
width: 100%;
margin: 15px 0;
transform: rotateX(-45deg);
box-shadow: 0 3px 10px rgba(255, 255, 255, 0.7);
}
p.text {
margin: 5px 0;
}
/* color of quantity and cost text */
p.text span {
color: #6feaf6;
}