generated from Newton-School/movie-booking-js-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
126 lines (125 loc) · 2.2 KB
/
app.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
123
124
125
126
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
nav{
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
color: #ffffff;
background-color: blue;
}
.logo{
flex: 1;
}
nav ul{
flex: 1;
display: flex;
justify-content: space-evenly;
}
nav ul li{
list-style-type: none;
}
main{
padding: 1rem;
width: 100%;
}
.movie-holder{
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
}
.movie-holder a{
flex: 1;
}
#loader{
position: relative;
height: 60px;
width: 60px;
display: grid;
place-content: center;
border-radius: 50%;
border: 10px solid #ccc;
}
#loader::before{
box-sizing: border-box;
position: absolute;
content: "";
height: calc(100% + 22px);
width: calc(100% + 22px);
top: -11px;
left: -11px;
border-radius: 50%;
border-style: solid;
border-width: 10px;
border-color: #081563 transparent transparent transparent;
animation: rotate .6s linear infinite;
}
.movie-img-wrapper{
background-size: cover;
width: auto;
height: 250px;
}
#booker{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 1rem;
}
#booker-grid-holder{
display: grid;
grid-template-columns: repeat(2, 200px);
gap: 2rem;
}
.booking-grid{
margin: 0 auto;
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(3, 1fr);
grid-gap: .5rem;
height: 150px;
width: 200px;
color: #fff;
font-weight: 600;
}
#confirm-purchase{
display: grid;
place-items: center;
font-size: 1.2rem;
}
#booking-grid-undefined{
font-size: auto;
}
.seat{
display: grid;
place-content: center;
/* background-color: pink; */
}
.available-seat{
background-color: green;
}
.unavailable-seat{
background-color: red;
}
.select-seat{
border:4px outset rgb(0, 0, 0);
}
.d-none{
display: none;
}
.v-none{
visibility: hidden;
}
input, button[type="submit"]{
width: 200px;
height: 35px;
padding: .5rem;
}
@keyframes rotate {
from{transform: rotate(0deg);}
to{transform: rotate(360deg);}
}