partial update create page quick search

This commit is contained in:
arifal
2025-05-05 18:36:56 +07:00
parent d95676d477
commit 2618ac06d0
10 changed files with 663 additions and 0 deletions

View File

@@ -0,0 +1,78 @@
.gsp-body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh; // ensures full vertical centering
background: #f0f2f5;
}
.gsp-icon {
width: 180px; // slightly smaller for better mobile view
height: auto;
margin-bottom: 15px;
}
.gsp-title {
font-size: 36px;
font-weight: 700;
color: #333;
}
.gsp-input {
width: 100%;
height: 44px;
font-size: 16px;
padding: 0 20px;
border-radius: 24px;
border: 1px solid #dfe1e5;
background-color: #fff;
box-shadow: none;
transition: box-shadow 0.2s ease-in-out, border-color 0.2s;
&:focus {
border-color: transparent;
box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
outline: none;
}
}
.gsp-btn {
height: 44px;
padding: 0 24px;
font-size: 16px;
border: none;
border-radius: 24px;
background-color: #1a73e8;
color: white;
cursor: pointer;
transition: background-color 0.2s ease-in-out;
&:hover {
background-color: #1558d6;
}
}
@media (max-width: 576px) {
.gsp-input-wrapper {
flex-direction: column;
align-items: stretch;
}
.gsp-btn {
width: 100%;
padding: 0 20px;
}
.gsp-input {
padding: 0 20px;
font-size: 16px;
}
.gsp-title {
font-size: 28px;
}
.gsp-icon {
width: 140px;
}
}

View File

@@ -0,0 +1,90 @@
.qs-wrapper {
padding: 30px 15px;
max-width: 1200px;
margin: 0 auto;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
color: #2c3e50;
}
.qs-header {
margin-bottom: 30px;
text-align: center;
h2 {
font-size: 24px;
font-weight: 600;
color: #1a237e;
em {
font-style: normal;
color: #0d47a1;
}
}
p {
font-size: 16px;
color: #555;
}
}
.qs-table-wrapper {
background-color: #fff;
border-radius: 10px;
padding: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
overflow-x: auto; // allow horizontal scroll on small screens
}
/* Grid.js overrides */
.qs-table-wrapper .gridjs {
font-size: 14px;
color: #333;
}
.qs-table-wrapper .gridjs-table {
width: 100%;
border-collapse: collapse;
}
.qs-table-wrapper .gridjs-th,
.qs-table-wrapper .gridjs-td {
padding: 12px 16px;
border: 1px solid #e0e0e0;
text-align: left;
vertical-align: middle;
}
.qs-table-wrapper .gridjs-th {
background-color: #f5f5f5;
font-weight: 600;
color: #1b1b1b;
}
.qs-table-wrapper .gridjs-tr:hover {
background-color: #f9f9f9;
}
.qs-table-wrapper .gridjs-pagination {
margin-top: 16px;
justify-content: center;
}
@media (max-width: 768px) {
.qs-header h2 {
font-size: 20px;
}
.qs-wrapper {
padding: 20px 10px;
}
.qs-table-wrapper {
padding: 15px;
}
.qs-table-wrapper .gridjs-th,
.qs-table-wrapper .gridjs-td {
padding: 10px 12px;
font-size: 13px;
}
}