-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathot_sheet.css
More file actions
205 lines (176 loc) · 3.54 KB
/
Copy pathot_sheet.css
File metadata and controls
205 lines (176 loc) · 3.54 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
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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
/* Reset some basics */
body {
font-family: 'Poppins', sans-serif;
background-color: #FFF8F0; /* soft oren muda TM */
margin: 20px;
color: #004080; /* biru TM gelap */
padding-top: 70px; /* ruang untuk logo */
}
h1 {
color: #FF8C00; /* oren TM terang */
text-align: center;
margin-bottom: 30px;
}
form {
max-width: 480px;
margin: 0 auto 30px auto;
display: flex;
justify-content: center;
gap: 15px;
flex-wrap: wrap;
}
/* Logo TM kiri atas */
.tm-logo {
position: absolute;
top: 45px;
left: 50px;
max-width: 130px;
height: auto;
z-index: 1000;
cursor: pointer;
}
label {
font-weight: 600;
color: #004080; /* biru TM gelap */
align-self: center;
}
select {
padding: 8px 12px;
border-radius: 6px;
border: 1px solid #FF8C00; /* oren TM */
font-size: 1em;
min-width: 120px;
cursor: pointer;
transition: border-color 0.3s ease;
}
select:hover,
select:focus {
border-color: #cc7000; /* oren gelap TM */
outline: none;
}
button {
background-color: #FF8C00; /* oren TM */
color: white;
border: none;
padding: 10px 18px;
border-radius: 8px;
font-weight: 700;
font-size: 1em;
cursor: pointer;
transition: background-color 0.3s ease;
min-width: 100px;
align-self: center;
}
button:hover {
background-color: #cc7000; /* oren gelap TM */
}
a.btn-green {
background-color: #6DBE81; /* hijau TM */
color: white;
font-weight: 700;
padding: 10px 0;
width: 200px;
display: block;
text-align: center;
border-radius: 8px;
text-decoration: none;
margin: 0 auto;
transition: background-color 0.3s ease;
}
a.btn-green:hover {
background-color: #3B7A57; /* hijau gelap TM */
}
/* Table styling */
table {
width: 90%;
margin: 0 auto 40px auto;
border-collapse: collapse;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
background-color: white;
border-radius: 12px;
overflow: hidden;
}
th, td {
padding: 12px 15px;
text-align: center;
border-bottom: 1px solid #ddd;
}
th {
background-color: #004080; /* biru TM */
color: white;
font-weight: 700;
}
tr:nth-child(even) {
background-color: #f2f9f5;
}
tr:hover {
background-color: #e1f0d9;
transition: background-color 0.3s ease;
}
/* Link styled as button */
a {
display: block;
width: 200px;
margin: 0 auto;
text-align: center;
text-decoration: none;
background-color: #6DBE81; /* biru TM */
color: white;
padding: 10px 0;
border-radius: 8px;
font-weight: 600;
transition: background-color 0.3s ease;
}
a:hover {
background-color: #3B7A57; /* biru terang TM */
}
/* Red button style for important actions like logout */
a.btn-red {
background-color: #FF8C00; /* oren TM */
color: white;
font-weight: 700;
}
a.btn-red:hover {
background-color: #cc7000; /* oren gelap TM */
}
/* Responsive for mobile devices */
@media screen and (max-width: 480px) {
body {
margin: 10px 8px;
}
h1 {
font-size: 1.6em;
margin-bottom: 20px;
}
form {
flex-direction: column;
max-width: 100%;
gap: 12px;
}
label {
text-align: left;
width: 100%;
margin-bottom: 5px;
}
select, button {
width: 100%;
min-width: auto;
}
table {
width: 100%;
font-size: 0.9em;
}
th, td {
padding: 10px 8px;
}
a {
width: 100%;
padding: 12px 0;
font-size: 1.1em;
}
a.btn-green {
width: 100%;
padding: 12px 0;
font-size: 1.1em;
}
}