@import './theme.less'; .job-portal { min-height: 100vh; background-color: @jp-bg-page; .main-content { .jp-page-container(); margin-top: 20px; padding-bottom: 48px; .category-layout { margin-bottom: 24px; .ant-col { padding: 0 8px !important; } } .panel-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; .panel-title { margin: 0; font-size: 16px; font-weight: 600; color: @jp-text-primary; } .panel-tip { font-size: 13px; } } .industry-panel { .jp-card-base(); height: 420px; min-height: 420px; display: flex; flex-direction: column; .panel-header { padding: 16px 20px 0; margin-bottom: 8px; flex-shrink: 0; } .industry-list { flex: 1; min-height: 0; padding: 8px 0; overflow: hidden; .industry-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; cursor: pointer; transition: all 0.2s; border-left: 3px solid transparent; color: @jp-text-secondary; &:hover, &.active { background-color: @jp-primary-light; border-left-color: @jp-primary; color: @jp-primary; } .anticon { color: @jp-text-muted; font-size: 12px; } &:hover .anticon, &.active .anticon { color: @jp-primary; } } } .pagination { flex-shrink: 0; display: flex; justify-content: center; align-items: center; padding: 12px 16px; border-top: 1px solid @jp-border; .ant-btn { border: none; box-shadow: none; color: @jp-primary; } span { margin: 0 16px; color: @jp-text-muted; font-size: 13px; } } .industry-count { flex-shrink: 0; text-align: center; font-size: 12px; color: @jp-text-muted; padding: 0 16px 12px; } } .profession-panel { .jp-card-base(); min-height: 420px; height: 100%; .profession-content { max-height: 340px; overflow-y: auto; padding-right: 4px; &::-webkit-scrollbar { width: 6px; } &::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; } .profession-category { margin-bottom: 20px; &:last-child { margin-bottom: 0; } .category-title { margin-bottom: 10px; color: @jp-text-primary; font-weight: 600; font-size: 14px; } .profession-tags { display: flex; flex-wrap: wrap; gap: 8px; .profession-tag { .jp-job-tag(); padding: 4px 12px; cursor: pointer; font-size: 13px; transition: all 0.2s; &:hover { background: @jp-primary !important; color: #fff !important; border-color: @jp-primary !important; } } } } .profession-empty { display: flex; align-items: center; justify-content: center; min-height: 200px; } } } .jobs-section { .jobs-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; .jobs-section-header-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .jobs-title { .jp-section-title(); margin: 0; } .expectation-tags { display: flex; align-items: center; gap: 8px; .expectation-label { font-size: 13px; color: @jp-text-secondary; white-space: nowrap; } .expectation-tag { .jp-job-tag(); padding: 4px 12px; cursor: pointer; font-size: 13px; transition: all 0.2s; border-radius: 20px; &:hover { background: @jp-primary !important; color: #fff !important; border-color: @jp-primary !important; } &.active { background: @jp-primary !important; color: #fff !important; border-color: @jp-primary !important; } } } .view-more { color: @jp-primary; font-size: 14px; cursor: pointer; &:hover { color: @jp-primary-dark; } } } .job-card { height: 100%; .jp-card-base(); cursor: pointer; transition: all 0.2s; &:hover { border-color: @jp-primary-border; box-shadow: @jp-shadow-hover; } .job-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; gap: 8px; .job-title { margin: 0; font-size: 16px; color: @jp-text-primary; font-weight: 600; flex: 1; } .job-salary { .jp-salary-text(); font-size: 15px; white-space: nowrap; flex-shrink: 0; } } .job-company { display: block; color: @jp-text-muted; font-size: 13px; margin-bottom: 10px; } .job-info { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; .job-location, .job-experience, .job-education { color: @jp-text-muted; font-size: 12px; } } .job-tags { display: flex; flex-wrap: wrap; gap: 6px; .job-tag { .jp-job-tag(); font-size: 12px; padding: 2px 8px; } } } } } } @media (max-width: 992px) { .job-portal .main-content { .category-layout { .profession-panel { margin-top: 16px; min-height: auto; .profession-content { max-height: none; } } } } } @media (max-width: 768px) { .job-portal .main-content { padding: 0 12px 32px; margin-top: 12px; } }