-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtable.css
180 lines (152 loc) · 3.04 KB
/
table.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;1,600;1,700&display=swap');
* {
padding: 0;
margin: 0;
border: none;
box-sizing: border-box;
font-size: 100%;
font-weight: normal;
outline: none;
list-style: none;
font-family: 'Open Sans', sans-serif;
}
:root {
--font_size_1: 2.45vh;
--font_size_2: 2.16vh;
--color_1: #202842;
--color_2: #5D698D;
}
.contanier {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 120vh;
background-color: #EFF3FC;
}
.contanier .content {
width: 1086px;
height: 714px;
background-color: ;
}
.content .table_top {
position: relative;
display: flex;
justify-content: space-between;
top: 0%;
}
.select_number p {
font-weight: 400;
font-size: var(--font_size_2);
color: var(--color_1);
display: inline-block;
margin-left: 0.625rem;
}
.select_number p:first-child {
margin-left: 1.625rem;
}
.select_number select {
display: inline-block;
width: 62px;
height: 32px;
border-radius: 5px;
border: 1px solid #DCDFF1;
margin-left: 0.625rem;
text-indent: 1rem;
background-image: url('./assets/down_arrow.svg');
background-position: right;
background-repeat: no-repeat;
-webkit-appearance: none;
-moz-appearance: none;
}
.table_top .search input {
position: relative;
width: 262px;
height: 44px;
border-radius: 5px;
border: 1px solid #DCDFF1;
text-indent: 3.313rem;
z-index: 1;
background-color: #ffff;
}
.search input::placeholder {
font-weight: 400;
font-size: var(--font_size_1);
color: var(--color_1);
opacity: 0.5;
}
.search:before {
position: absolute;
content: url('./assets/magnifying.svg');
z-index: 2;
padding: 8px 13px;
}
.search input[type="search"]::-webkit-search-cancel-button {
display: none;
}
.content table {
width: 100%;
height: auto;
margin-top: 2.125rem;
border: none;
border-collapse:separate;
border-spacing: 0 5px;
}
table thead tr {
width: 200px;
height: 20px;
background-color: transparent;
text-align: left;
}
table thead tr th {
border-bottom: 5px solid transparent;
}
table thead tr th h3 {
position: relative;
font-weight: 600;
font-size: var(--font_size_2);
color: var(--color_2);
}
table thead tr th button {
cursor: pointer;
}
table thead tr th button h3:after {
position: absolute;
content: url('./assets/down_arrow.svg');
top: 0%;
padding: 0 0 7px 2px;
}
table thead tr th button .active:after {
position: absolute;
content: url('./assets/down_arrow.svg');
transform: rotate(-180deg);
bottom: -10%;
}
table thead tr th:first-child {
padding-left: 1.563rem;
}
table thead tr th:last-child {
padding-right: 3.563rem;
}
table tbody tr td:first-child {
padding-left: 1.563rem;
}
table tbody tr td:last-child {
padding-right: 25px;
}
table tbody tr {
width: 100%;
height: 65px;
border-radius: 5px;
transition: 0.2s box-shadow;
background-color: #fff;
cursor: pointer;
}
table tbody tr:hover {
box-shadow: 0 10px 30px -10px rgba(117, 132, 188, 0.558);
}
table tbody tr td p {
font-weight: 400;
font-size: var(--font_size_1);
color: var(--color_1);
}