| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- /* Allure报告自定义样式 */
- .hero__title {
- color: #2c3e50;
- font-size: 2.5rem;
- font-weight: 700;
- }
- .hero__subtitle {
- color: #7f8c8d;
- font-size: 1.2rem;
- }
- .status-button--passed {
- background-color: #27ae60;
- border-color: #27ae60;
- }
- .status-button--failed {
- background-color: #e74c3c;
- border-color: #e74c3c;
- }
- .status-button--broken {
- background-color: #f39c12;
- border-color: #f39c12;
- }
- .status-button--skipped {
- background-color: #95a5a6;
- border-color: #95a5a6;
- }
- .timeline__item--selected {
- border-color: #3498db;
- }
- .widget__title {
- color: #2c3e50;
- border-bottom: 2px solid #3498db;
- padding-bottom: 10px;
- }
- .test-case__header {
- background-color: #ecf0f1;
- padding: 15px;
- border-radius: 5px;
- margin-bottom: 15px;
- }
- .step__title {
- color: #2c3e50;
- font-weight: 600;
- }
- .attachment__text {
- background-color: #f8f9fa;
- border: 1px solid #dee2e6;
- border-radius: 5px;
- padding: 15px;
- font-family: 'Courier New', monospace;
- font-size: 0.9rem;
- }
- /* 深色模式支持 */
- @media (prefers-color-scheme: dark) {
- :root {
- --color-background: #2c3e50;
- --color-text: #ecf0f1;
- --color-border: #34495e;
- }
- .test-case__header {
- background-color: #34495e;
- color: #ecf0f1;
- }
- .attachment__text {
- background-color: #2c3e50;
- border-color: #34495e;
- color: #ecf0f1;
- }
- }
|