| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/tel/ |
Upload File : |
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Sarabun', Tahoma, sans-serif;
background-color: #f0f4f8;
color: #1a2d42;
}
/* ===== Page Layout ===== */
.page {
max-width: 760px;
margin: 0 auto;
padding: 28px 20px 48px;
}
/* ===== Hero ===== */
.hero {
background-color: #0e4f8c;
border-radius: 12px;
padding: 20px 24px;
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 16px;
}
.hero-icon {
width: 50px;
height: 50px;
background-color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.hero-icon svg {
width: 26px;
height: 26px;
color: #0e4f8c;
}
.hero-text h1 {
font-size: 18px;
font-weight: 600;
color: #fff;
line-height: 1.4;
}
.hero-text p {
font-size: 12px;
color: #b5d4f4;
margin-top: 3px;
}
/* ===== Search ===== */
.search-wrap {
position: relative;
margin-bottom: 20px;
}
.search-wrap .search-icon {
position: absolute;
left: 14px;
top: 50%;
transform: translateY(-50%);
width: 18px;
height: 18px;
color: #6b7e96;
pointer-events: none;
}
#searchInput {
width: 100%;
padding: 10px 16px 10px 44px;
font-size: 15px;
font-family: 'Sarabun', Tahoma, sans-serif;
border-radius: 8px;
border: 0.5px solid #c5cfd9;
background-color: #fff;
color: #1a2d42;
}
#searchInput:focus {
outline: none;
border-color: #185fa5;
box-shadow: 0 0 0 3px rgba(24, 95, 165, 0.15);
}
/* ===== Section label ===== */
.sec-label {
font-size: 12px;
font-weight: 600;
color: #4a6580;
text-transform: uppercase;
letter-spacing: 0.06em;
margin-bottom: 10px;
}
/* ===== Hotline cards ===== */
.hotline-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 10px;
margin-bottom: 24px;
}
.hcard {
background-color: #fff;
border: 0.5px solid #d0dae6;
border-radius: 10px;
padding: 12px 14px;
display: flex;
align-items: center;
gap: 10px;
}
.iwrap {
width: 36px;
height: 36px;
background-color: #e6f1fb;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.iwrap svg {
width: 18px;
height: 18px;
color: #185fa5;
}
.hnum {
font-size: 15px;
font-weight: 600;
color: #0e4f8c;
}
.hlbl {
font-size: 11px;
color: #6b7e96;
margin-top: 2px;
}
.badge-fax {
display: inline-block;
background-color: #fff8e6;
color: #854f0b;
font-size: 10px;
font-weight: 600;
padding: 1px 6px;
border-radius: 20px;
border: 0.5px solid #fac775;
margin-left: 3px;
vertical-align: middle;
}
/* ===== Accordion list ===== */
.acc-list {
display: flex;
flex-direction: column;
gap: 8px;
}
.acc-item {
background-color: #fff;
border: 0.5px solid #d0dae6;
border-radius: 12px;
overflow: hidden;
}
/* trigger button */
.acc-trigger {
width: 100%;
display: flex;
align-items: center;
gap: 10px;
padding: 13px 16px;
cursor: pointer;
border: none;
background: transparent;
text-align: left;
transition: background-color 0.15s ease;
}
.acc-trigger:hover {
background-color: #f5f8fc;
}
.acc-color-bar {
width: 4px;
height: 28px;
border-radius: 2px;
flex-shrink: 0;
}
.acc-trigger-icon {
width: 34px;
height: 34px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.acc-trigger-icon svg {
width: 17px;
height: 17px;
}
.acc-name {
flex: 1;
font-size: 15px;
font-weight: 600;
color: #1a2d42;
}
.acc-count {
font-size: 12px;
color: #6b7e96;
margin-right: 4px;
}
.acc-chevron {
width: 18px;
height: 18px;
color: #6b7e96;
transition: transform 0.25s ease;
flex-shrink: 0;
}
.acc-item.open .acc-chevron {
transform: rotate(180deg);
}
/* body */
.acc-body {
display: none;
border-top: 0.5px solid #d0dae6;
}
.acc-item.open .acc-body {
display: block;
}
/* ===== Table ===== */
table {
width: 100%;
border-collapse: collapse;
}
thead th {
padding: 8px 16px;
font-size: 11px;
font-weight: 600;
color: #4a6580;
background-color: #f5f8fc;
border-bottom: 0.5px solid #d0dae6;
text-align: left;
}
thead th:last-child {
text-align: right;
}
tbody tr {
border-bottom: 0.5px solid #edf0f4;
transition: background-color 0.1s ease;
}
tbody tr:last-child {
border-bottom: none;
}
tbody tr:not(.fr):hover {
background-color: #f8fafc;
}
tbody td {
padding: 9px 16px;
font-size: 13px;
color: #1a2d42;
}
tbody td:last-child {
text-align: right;
font-weight: 600;
}
/* ===== Floor divider row ===== */
.fr td {
padding: 7px 16px;
border-top: 2px solid;
border-bottom: 0.5px solid;
}
.floor-label {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 12px;
font-weight: 600;
}
.floor-num {
display: inline-flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
color: #fff;
border-radius: 50%;
font-size: 11px;
font-weight: 600;
flex-shrink: 0;
}
/* ===== Per-color theming ===== */
[data-color="blue"] .acc-color-bar { background-color: #185fa5; }
[data-color="blue"] .acc-trigger-icon { background-color: #e6f1fb; }
[data-color="blue"] .acc-trigger-icon svg { color: #185fa5; }
[data-color="blue"] tbody td:last-child { color: #0e4f8c; }
[data-color="blue"] .fr td { background-color: #dbeafe; border-top-color: #185fa5; border-bottom-color: #93c5fd; }
[data-color="blue"] .floor-label { color: #1e40af; }
[data-color="blue"] .floor-num { background-color: #185fa5; }
[data-color="teal"] .acc-color-bar { background-color: #0F6E56; }
[data-color="teal"] .acc-trigger-icon { background-color: #E1F5EE; }
[data-color="teal"] .acc-trigger-icon svg { color: #0F6E56; }
[data-color="teal"] tbody td:last-child { color: #0F6E56; }
[data-color="teal"] .fr td { background-color: #E1F5EE; border-top-color: #0F6E56; border-bottom-color: #9FE1CB; }
[data-color="teal"] .floor-label { color: #085041; }
[data-color="teal"] .floor-num { background-color: #0F6E56; }
[data-color="purple"] .acc-color-bar { background-color: #534AB7; }
[data-color="purple"] .acc-trigger-icon { background-color: #EEEDFE; }
[data-color="purple"] .acc-trigger-icon svg { color: #534AB7; }
[data-color="purple"] tbody td:last-child { color: #534AB7; }
[data-color="purple"] .fr td { background-color: #EEEDFE; border-top-color: #534AB7; border-bottom-color: #AFA9EC; }
[data-color="purple"] .floor-label { color: #3C3489; }
[data-color="purple"] .floor-num { background-color: #534AB7; }
[data-color="coral"] .acc-color-bar { background-color: #993C1D; }
[data-color="coral"] .acc-trigger-icon { background-color: #FAECE7; }
[data-color="coral"] .acc-trigger-icon svg { color: #993C1D; }
[data-color="coral"] tbody td:last-child { color: #993C1D; }
[data-color="coral"] .fr td { background-color: #FAECE7; border-top-color: #993C1D; border-bottom-color: #F0997B; }
[data-color="coral"] .floor-label { color: #712B13; }
[data-color="coral"] .floor-num { background-color: #993C1D; }
[data-color="amber"] .acc-color-bar { background-color: #854F0B; }
[data-color="amber"] .acc-trigger-icon { background-color: #FAEEDA; }
[data-color="amber"] .acc-trigger-icon svg { color: #854F0B; }
[data-color="amber"] tbody td:last-child { color: #854F0B; }
[data-color="amber"] .fr td { background-color: #FAEEDA; border-top-color: #854F0B; border-bottom-color: #FAC775; }
[data-color="amber"] .floor-label { color: #633806; }
[data-color="amber"] .floor-num { background-color: #854F0B; }
/* ===== Search highlight ===== */
mark.hl {
background-color: #fef08a;
border-radius: 2px;
padding: 0 1px;
color: inherit;
}
/* ===== No result ===== */
#noResult {
display: none;
text-align: center;
padding: 40px;
font-size: 14px;
color: #6b7e96;
}
#noResult svg {
width: 36px;
height: 36px;
margin: 0 auto 10px;
display: block;
color: #a0b0c0;
}
/* ===== Responsive ===== */
@media (max-width: 520px) {
.hero {
flex-direction: column;
text-align: center;
padding: 18px;
}
.hero-text h1 {
font-size: 16px;
}
.hotline-grid {
grid-template-columns: 1fr;
}
tbody td,
thead th {
padding: 8px 12px;
font-size: 13px;
}
}