-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrating-component.css
113 lines (97 loc) · 2 KB
/
rating-component.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
* {
box-sizing: border-box;
}
body {
display: flex;
flex-direction: column;
align-items: center;
font-family: "Overpass", sans-serif;
margin: 0;
background-color: hsl(216, 12%, 8%);
}
.container-one {
display: flex; /* display none when submit button clicked */
flex-direction: column;
border-radius: 15px;
background-color: hsl(213, 19%, 18%);
padding: 25px;
margin: 5%;
width: 370px;
}
.container-one img {
width: 40px;
background-color: hsl(215, 12%, 27%);
border-radius: 50%;
padding: 12px;
}
h1 {
color: white;
margin-top: 20px;
margin-bottom: 0px;
}
p {
color: hsl(217, 12%, 63%);
line-height: 25px;
}
.butt-nums {
justify-content: space-between;
display: flex;
}
.butt-nums button {
border-radius: 50%;
background-color: hsl(215, 12%, 27%);
padding: 18px 21px;
border: none;
color: hsl(217, 12%, 63%);
cursor: pointer;
transition: background-color 400ms ease-in-out;
}
.butt-nums button:hover {
background-color: hsl(217, 12%, 63%);
color: white;
}
/* when rating is selected apply these styles; LEAVE THIS ALONE */
.orange {
background-color: hsl(25, 97%, 53%);
color: white;
}
.submit-button {
background-color: hsl(25, 97%, 53%);
border-radius: 30px;
border: none;
color: white;
letter-spacing: 3px;
padding: 18px 50px;
margin: 15px 0;
cursor: pointer;
transition: background-color 400ms ease-in-out;
}
.submit-button:hover {
background-color: white;
color: hsl(25, 97%, 53%);
}
.container-two {
display: none;
/* display: flex when submit rating in JS */
flex-direction: column;
border-radius: 15px;
background-color: hsl(213, 19%, 18%);
padding: 25px;
margin: 5%; /* or 10px??? */
text-align: center;
align-items: center;
width: 370px;
}
.container-two img {
padding: inherit; /* not sure, might need to change */
}
.rating-selection {
background-color: hsl(215, 12%, 27%);
border-radius: 20px;
color: hsl(25, 97%, 53%);
padding: 9px 15px;
}
.thank-you {
}
@media screen and (min-width: 1440px) {
}