-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
155 lines (133 loc) · 2.71 KB
/
styles.css
File metadata and controls
155 lines (133 loc) · 2.71 KB
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
/* Global Styles */
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
color: #333;
}
/* Sidebar Styles */
.sidebar {
width: 260px;
height: 100vh;
background-color: #333;
position: fixed;
left: 0;
top: 0;
overflow-y: auto;
z-index: 1000;
transition: all 0.3s ease;
}
.sidebar.close {
width: 60px;
}
.sidebar .nav-links {
padding: 20px 0;
}
.sidebar .nav-links button {
width: 100%;
padding: 15px;
margin: 10px 0;
border: none;
background-color: transparent;
color: #fff;
font-size: 16px;
text-align: left;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
}
.sidebar .nav-links button:hover {
background-color: #555;
transform: scale(1.05);
}
.sidebar.close .nav-links button span {
display: none;
}
.sidebar.close .nav-links button i {
margin: 0;
}
/* Main Content Styles */
#main-content {
margin-left: 260px;
padding: 20px;
transition: margin-left 0.3s ease;
}
/* Form Styles */
form {
margin-bottom: 20px;
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 15px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
}
form:hover {
transform: translateY(-5px);
}
form label {
display: block;
margin-bottom: 8px;
font-weight: bold;
}
form input,
form select,
form textarea {
width: 100%;
padding: 12px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
transition: border-color 0.3s ease;
}
form input:focus,
form select:focus,
form textarea:focus {
outline: none;
border-color: #555;
}
form button {
padding: 12px 18px;
background-color: #333;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
}
form button:hover {
background-color: #555;
transform: scale(1.05);
}
/* Table Styles */
table {
width: 100%;
border-collapse: collapse;
background-color: #fff;
box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
th, td {
border: 1px solid #ccc;
padding: 12px 15px;
text-align: left;
transition: background-color 0.3s ease;
}
th {
background-color: #f2f2f2;
}
tr:hover {
background-color: #f5f5f5;
}
/* Responsive Design
@media screen and (max-width: 768px) {
.sidebar {
width: 100%;
height: auto;
position: relative;
}
.sidebar.close {
width: 0;
}
#main-content {
margin-left: 0;
}
} */