-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
117 lines (103 loc) · 1.79 KB
/
index.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
* {
margin: auto;
padding: 0;
font-family: 'Inter', sans-serif;
font-size: 16px;
}
body {
display: flex;
width: 20rem;
margin-bottom: 2.875rem;
}
header {
display: flex;
align-items: center;
position: fixed;
background-color: #fff;
width: 20rem;
height: 5.625rem;
}
.input-wrapper {
display: flex;
flex-direction: column;
/* align-items: flex-start; */
/* justify-content: left; */
}
.color-wrapper {
display: flex;
}
.color-input {
margin: 0 1.125rem;
height: 2.625rem;
border: none;
cursor: pointer;
}
.dropdown,
.hex-input {
width: 10rem;
height: 2rem;
border: 1px solid #D1D5DB;
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
border-radius: 6px;
cursor: pointer;
}
.hex-input {
/* margin-left: 5.5rem; */
padding-left: 0.25rem;
width: 9.75rem;
margin: 0 auto 0 0;
align-self: flex-start;
}
.get-color-btn {
width: 7.6875rem;
height: 2.625rem;
margin: 1.75rem 1.125rem;
border: 1px solid #D1D5DB;
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
border-radius: 4px;
font-weight: 500;
font-size: 12px;
line-height: 16px;
cursor: pointer;
}
select {
font-weight: 400;
}
select option {
padding: 0.5rem 0;
}
option:checked {
font-weight: 600;
}
.color-display {
display: flex;
}
.color-display div {
width: 4rem;
height: 34.375rem;
}
footer {
display: flex;
align-items: center;
justify-content: space-around;
position: fixed;
width: 20rem;
height: 2.875rem;
left: auto;
top: 31.5rem;
flex-shrink: 0;
background-color: #fff;
opacity: 0.8;
}
footer button {
border: none;
background-color: #fff;
font-family: inherit;
font-weight: 500;
font-size: 12px;
line-height: 24px;
color: #2B283A;
cursor: pointer;
writing-mode: vertical-rl;
/* transform: rotate(-180deg); */
}