| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- /* 全局样式 */
- body {
- font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
- background-color: #f5f7f9;
- color: #333;
- margin: 0;
- padding: 0;
- height: auto;
- min-height: 100%;
- width: 100%;
- max-width: 100%;
- overflow-x: hidden;
- }
- html {
- height: 100%;
- overflow: auto;
- }
- /* Iframe内容样式 */
- html.iframe-content {
- overflow: auto;
- height: 100%;
- }
- html.iframe-content body {
- min-height: 100%;
- height: auto;
- overflow: visible;
- }
- .page-container {
- padding: 20px;
- position: relative;
- min-height: 100vh;
- width: 100%;
- box-sizing: border-box;
- overflow-x: hidden;
- }
- /* 响应式容器 */
- .responsive-container {
- width: 100%;
- overflow-x: auto;
- }
- /* 滚动条美化 */
- ::-webkit-scrollbar {
- width: 8px;
- height: 8px;
- }
- ::-webkit-scrollbar-track {
- background-color: #f1f1f1;
- border-radius: 4px;
- }
- ::-webkit-scrollbar-thumb {
- background-color: #c1c1c1;
- border-radius: 4px;
- }
- ::-webkit-scrollbar-thumb:hover {
- background-color: #a8a8a8;
- }
- /* 卡片样式 */
- .card {
- background-color: white;
- border-radius: 8px;
- box-shadow: 0 2px 8px rgba(0,0,0,0.05);
- }
- /* 表格样式 */
- .table-container {
- overflow-x: auto;
- }
- table {
- width: 100%;
- border-collapse: collapse;
- }
- th {
- background-color: #f9fafb;
- padding: 12px 16px;
- text-align: left;
- font-weight: 500;
- color: #6b7280;
- border-bottom: 1px solid #e5e7eb;
- }
- td {
- padding: 12px 16px;
- border-bottom: 1px solid #e5e7eb;
- }
- tr:hover {
- background-color: #f9fafb;
- }
- /* 按钮样式 */
- .btn {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- padding: 8px 16px;
- border-radius: 4px;
- font-weight: 500;
- cursor: pointer;
- transition: all 0.2s;
- }
- .btn-primary {
- background-color: #4CAF50;
- color: white;
- }
- .btn-primary:hover {
- background-color: #388E3C;
- }
- .btn-default {
- background-color: white;
- border: 1px solid #d1d5db;
- color: #374151;
- }
- .btn-default:hover {
- background-color: #f9fafb;
- }
- .btn-danger {
- background-color: #ef4444;
- color: white;
- }
- .btn-danger:hover {
- background-color: #dc2626;
- }
- .btn-sm {
- padding: 4px 8px;
- font-size: 12px;
- }
- .btn-icon {
- margin-right: 4px;
- }
- /* 响应式布局支持 */
- @media (max-width: 768px) {
- .page-container {
- padding: 10px;
- }
- }
|