proje-react-panel 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.idea/vcs.xml +3 -1
- package/dist/bundle.css +128 -0
- package/package.json +1 -1
- package/src/styles/index.scss +4 -4
- package/dist/assets/output-ML2TfIjs.css +0 -1
package/.idea/vcs.xml
CHANGED
package/dist/bundle.css
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
.sidebar {
|
|
2
|
+
position: relative;
|
|
3
|
+
background-color: #f5f5f5;
|
|
4
|
+
height: 100vh;
|
|
5
|
+
transition: width 0.3s ease;
|
|
6
|
+
border-right: 1px solid #e0e0e0; }
|
|
7
|
+
.sidebar.open {
|
|
8
|
+
width: 250px; }
|
|
9
|
+
.sidebar.closed {
|
|
10
|
+
width: 60px; }
|
|
11
|
+
.sidebar.closed .nav-links a span {
|
|
12
|
+
display: none; }
|
|
13
|
+
.sidebar .toggle-button {
|
|
14
|
+
position: absolute;
|
|
15
|
+
top: 10px;
|
|
16
|
+
right: -12px;
|
|
17
|
+
width: 24px;
|
|
18
|
+
height: 24px;
|
|
19
|
+
border-radius: 50%;
|
|
20
|
+
background-color: #ffffff;
|
|
21
|
+
border: 1px solid #e0e0e0;
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
z-index: 10; }
|
|
27
|
+
.sidebar .toggle-button:hover {
|
|
28
|
+
background-color: #f0f0f0; }
|
|
29
|
+
.sidebar .nav-links {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
padding: 2rem 1rem;
|
|
33
|
+
height: 100%; }
|
|
34
|
+
.sidebar .nav-links a {
|
|
35
|
+
padding: 0.75rem 1rem;
|
|
36
|
+
margin-bottom: 0.5rem;
|
|
37
|
+
color: #333;
|
|
38
|
+
text-decoration: none;
|
|
39
|
+
border-radius: 4px;
|
|
40
|
+
font-weight: 500; }
|
|
41
|
+
.sidebar .nav-links a:hover {
|
|
42
|
+
background-color: rgba(0, 0, 0, 0.05); }
|
|
43
|
+
.sidebar .nav-links a.active {
|
|
44
|
+
background-color: rgba(0, 0, 0, 0.1); }
|
|
45
|
+
.sidebar .nav-links .bottom-link {
|
|
46
|
+
margin-top: auto; }
|
|
47
|
+
.sidebar .nav-links .bottom-link a {
|
|
48
|
+
color: #666;
|
|
49
|
+
font-weight: 400; }
|
|
50
|
+
|
|
51
|
+
.form-wrapper {
|
|
52
|
+
max-width: 400px;
|
|
53
|
+
padding: 20px;
|
|
54
|
+
background-color: #f9f9f9;
|
|
55
|
+
border-radius: 10px;
|
|
56
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); }
|
|
57
|
+
.form-wrapper form {
|
|
58
|
+
display: flex;
|
|
59
|
+
flex-direction: column; }
|
|
60
|
+
.form-wrapper .form-field {
|
|
61
|
+
margin-bottom: 16px; }
|
|
62
|
+
.form-wrapper .form-field label {
|
|
63
|
+
font-weight: bold;
|
|
64
|
+
margin-bottom: 6px;
|
|
65
|
+
display: block;
|
|
66
|
+
color: #333; }
|
|
67
|
+
.form-wrapper .form-field input[type='text'] {
|
|
68
|
+
padding: 10px;
|
|
69
|
+
font-size: 16px;
|
|
70
|
+
border: 1px solid #ccc;
|
|
71
|
+
border-radius: 5px;
|
|
72
|
+
width: 100%;
|
|
73
|
+
transition: border-color 0.2s; }
|
|
74
|
+
.form-wrapper .form-field input[type='text']:focus {
|
|
75
|
+
border-color: #007bff;
|
|
76
|
+
outline: none; }
|
|
77
|
+
.form-wrapper .form-field .error-message {
|
|
78
|
+
margin-top: 4px;
|
|
79
|
+
font-size: 14px;
|
|
80
|
+
color: #ff4d4f; }
|
|
81
|
+
.form-wrapper .submit-button {
|
|
82
|
+
padding: 12px;
|
|
83
|
+
font-size: 18px;
|
|
84
|
+
background-color: #007bff;
|
|
85
|
+
color: white;
|
|
86
|
+
border: none;
|
|
87
|
+
border-radius: 5px;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
transition: background-color 0.2s; }
|
|
90
|
+
.form-wrapper .submit-button:hover {
|
|
91
|
+
background-color: #0056b3; }
|
|
92
|
+
|
|
93
|
+
.layout {
|
|
94
|
+
display: flex;
|
|
95
|
+
min-height: 100vh;
|
|
96
|
+
width: 100%; }
|
|
97
|
+
.layout .content {
|
|
98
|
+
flex: 1;
|
|
99
|
+
padding: 1rem;
|
|
100
|
+
overflow-y: auto;
|
|
101
|
+
transition: margin-left 0.3s ease; }
|
|
102
|
+
|
|
103
|
+
.list-wrapper {
|
|
104
|
+
width: 100%;
|
|
105
|
+
padding: 16px;
|
|
106
|
+
background-color: #ffffff;
|
|
107
|
+
border-radius: 8px;
|
|
108
|
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
|
|
109
|
+
.list-wrapper .header {
|
|
110
|
+
font-size: 24px;
|
|
111
|
+
font-weight: bold;
|
|
112
|
+
text-align: center;
|
|
113
|
+
margin-bottom: 20px; }
|
|
114
|
+
.list-wrapper .list-table {
|
|
115
|
+
width: 100%;
|
|
116
|
+
border-collapse: collapse; }
|
|
117
|
+
.list-wrapper .list-table th,
|
|
118
|
+
.list-wrapper .list-table td {
|
|
119
|
+
padding: 12px 16px;
|
|
120
|
+
text-align: left;
|
|
121
|
+
border-bottom: 1px solid #ddd; }
|
|
122
|
+
.list-wrapper .list-table th {
|
|
123
|
+
background-color: #007bff;
|
|
124
|
+
color: white; }
|
|
125
|
+
.list-wrapper .list-table tr:nth-child(even) {
|
|
126
|
+
background-color: #f9f9f9; }
|
|
127
|
+
.list-wrapper .list-table tr:hover {
|
|
128
|
+
background-color: #e8f4ff; }
|
package/package.json
CHANGED
package/src/styles/index.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import '
|
|
2
|
-
@import '
|
|
3
|
-
@import '
|
|
4
|
-
@import '
|
|
1
|
+
@import 'sidebar';
|
|
2
|
+
@import 'form';
|
|
3
|
+
@import 'layout';
|
|
4
|
+
@import 'list';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.sidebar{position:relative;background-color:#f5f5f5;height:100vh;transition:width 0.3s ease;border-right:1px solid #e0e0e0}.sidebar.open{width:250px}.sidebar.closed{width:60px}.sidebar.closed .nav-links a span{display:none}.sidebar .toggle-button{position:absolute;top:10px;right:-12px;width:24px;height:24px;border-radius:50%;background-color:#ffffff;border:1px solid #e0e0e0;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:10}.sidebar .toggle-button:hover{background-color:#f0f0f0}.sidebar .nav-links{display:flex;flex-direction:column;padding:2rem 1rem;height:100%}.sidebar .nav-links a{padding:0.75rem 1rem;margin-bottom:0.5rem;color:#333;text-decoration:none;border-radius:4px;font-weight:500}.sidebar .nav-links a:hover{background-color:rgba(0,0,0,0.05)}.sidebar .nav-links a.active{background-color:rgba(0,0,0,0.1)}.sidebar .nav-links .bottom-link{margin-top:auto}.sidebar .nav-links .bottom-link a{color:#666;font-weight:400}.form-wrapper{max-width:400px;padding:20px;background-color:#f9f9f9;border-radius:10px;box-shadow:0 2px 4px rgba(0,0,0,0.1)}.form-wrapper form{display:flex;flex-direction:column}.form-wrapper .form-field{margin-bottom:16px}.form-wrapper .form-field label{font-weight:bold;margin-bottom:6px;display:block;color:#333}.form-wrapper .form-field input[type='text']{padding:10px;font-size:16px;border:1px solid #ccc;border-radius:5px;width:100%;transition:border-color 0.2s}.form-wrapper .form-field input[type='text']:focus{border-color:#007bff;outline:none}.form-wrapper .form-field .error-message{margin-top:4px;font-size:14px;color:#ff4d4f}.form-wrapper .submit-button{padding:12px;font-size:18px;background-color:#007bff;color:white;border:none;border-radius:5px;cursor:pointer;transition:background-color 0.2s}.form-wrapper .submit-button:hover{background-color:#0056b3}.layout{display:flex;min-height:100vh;width:100%}.layout .content{flex:1;padding:1rem;overflow-y:auto;transition:margin-left 0.3s ease}.list-wrapper{width:100%;padding:16px;background-color:#ffffff;border-radius:8px;box-shadow:0 4px 8px rgba(0,0,0,0.1)}.list-wrapper .header{font-size:24px;font-weight:bold;text-align:center;margin-bottom:20px}.list-wrapper .list-table{width:100%;border-collapse:collapse}.list-wrapper .list-table th,.list-wrapper .list-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #ddd}.list-wrapper .list-table th{background-color:#007bff;color:white}.list-wrapper .list-table tr:nth-child(even){background-color:#f9f9f9}.list-wrapper .list-table tr:hover{background-color:#e8f4ff}
|