1+ import styled from "styled-components" ;
2+
3+ export const Wrapper = styled . div `
4+ display: flex;
5+ flex-direction: column;
6+ justify-content: flex-start;
7+ width: 100vw;
8+ height: 95vh;
9+ margin-top: 5vh;
10+ background-color: ${ ( { theme} ) => theme . colors . white } ;
11+ ` ;
12+
13+ export const Title = styled . span `
14+ font-size: 30px;
15+ font-weight: 500;
16+ margin-bottom: 3%;
17+ ` ;
18+
19+ export const Container = styled . div `
20+ display: flex;
21+ flex-direction: column;
22+ gap: 16px;
23+ width: 80%;
24+ padding: 2%;
25+ border: 3px solid gray;
26+ border-radius: 10px;
27+ ` ;
28+
29+ export const Header = styled . div `
30+ display: flex;
31+ justify-content: space-between;
32+ align-items: center;
33+ ` ;
34+
35+ export const FilterArea = styled . div `
36+ display: flex;
37+ gap: 12px;
38+ align-items: center;
39+ ` ;
40+
41+ export const SearchInput = styled . input `
42+ width: 200px;
43+ padding: 10px 12px;
44+ border: 1px solid #e5e7eb;
45+ border-radius: 6px;
46+ font-size: 14px;
47+
48+ &:focus {
49+ outline: none;
50+ border-color: #111827;
51+ }
52+ ` ;
53+
54+ export const Select = styled . select `
55+ width: 100px;
56+ padding: 10px;
57+ border: 1px solid #e5e7eb;
58+ border-radius: 6px;
59+ font-size: 14px;
60+ background-color: white;
61+ cursor: pointer;
62+
63+ &:focus {
64+ outline: none;
65+ border-color: #111827;
66+ }
67+ ` ;
68+
69+ export const AddBtn = styled . button `
70+ display: flex;
71+ align-items: center;
72+ gap: 6px;
73+
74+ padding: 10px 20px;
75+ font-size: 20px;
76+ font-weight: 500;
77+ color: #fff;
78+
79+ background-color: ${ ( { theme } ) => theme . colors . black } ;
80+ border-radius: 6px;
81+ border: none;
82+ cursor: pointer;
83+ ` ;
84+
85+ export const Table = styled . div `
86+ width: 100%;
87+ border: 1px solid #e5e7eb;
88+ border-radius: 8px;
89+ overflow: hidden;
90+ ` ;
91+
92+ export const TableHeader = styled . div `
93+ display: grid;
94+ align-items: center;
95+ justify-items: center;
96+ grid-template-columns: 10% 25% 25% 15% 15% 10%;
97+ padding: 12px;
98+ font-weight: 600;
99+ background-color: #f9fafb;
100+ border-bottom: 1px solid #e5e7eb;
101+ ` ;
102+
103+ export const TableRow = styled . div `
104+ display: grid;
105+ align-items: center;
106+ justify-items: center;
107+ grid-template-columns: 10% 25% 25% 15% 15% 10%;
108+
109+ padding: 12px;
110+ align-items: center;
111+ border-bottom: 1px solid #e5e7eb;
112+
113+ &:last-child {
114+ border-bottom: none;
115+ }
116+ ` ;
117+
118+ export const Toggle = styled . div `
119+ width: 36px;
120+ height: 20px;
121+ border-radius: 10px;
122+ background-color: #111827;
123+ position: relative;
124+ cursor: pointer;
125+
126+ &::after {
127+ content: "";
128+ position: absolute;
129+ top: 2px;
130+ left: 18px;
131+ width: 16px;
132+ height: 16px;
133+ background-color: white;
134+ border-radius: 50%;
135+ }
136+ ` ;
137+
138+ export const EditBtn = styled . button `
139+ display: flex;
140+ justify-content: left;
141+ background: none;
142+ border: none;
143+ cursor: pointer;
144+ font-size: 20px;
145+ ` ;
0 commit comments