| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301 |
- /* 工业科技风格CSS */
- :root {
- --primary-color: #007acc;
- --secondary-color: #2c3e50;
- --accent-color: #e74c3c;
- --success-color: #27ae60;
- --warning-color: #f39c12;
- --light-gray: #ecf0f1;
- --dark-gray: #34495e;
- --border-color: #bdc3c7;
- --card-bg: #ffffff;
- --panel-bg: #f8f9fa;
- }
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
- background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
- color: #ecf0f1;
- min-height: 100vh;
- padding: 20px;
- }
- .container {
- max-width: 1400px;
- margin: 0 auto;
- }
- .header {
- text-align: center;
- margin-bottom: 30px;
- padding: 20px;
- background: rgba(0, 0, 0, 0.3);
- border-radius: 15px;
- border: 1px solid rgba(255, 255, 255, 0.1);
- backdrop-filter: blur(10px);
- }
- .header h1 {
- font-size: 2.5rem;
- margin-bottom: 10px;
- background: linear-gradient(45deg, #00c6ff, #0072ff);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
- }
- .header p {
- font-size: 1.1rem;
- opacity: 0.8;
- }
- .main-content {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 25px;
- }
- @media (max-width: 1200px) {
- .main-content {
- grid-template-columns: 1fr;
- }
- }
- .card {
- background: rgba(255, 255, 255, 0.05);
- border: 1px solid rgba(255, 255, 255, 0.1);
- border-radius: 15px;
- padding: 25px;
- backdrop-filter: blur(10px);
- box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
- }
- .card h2 {
- font-size: 1.5rem;
- margin-bottom: 20px;
- color: #00c6ff;
- display: flex;
- align-items: center;
- gap: 10px;
- }
- .card h2 i {
- font-size: 1.2rem;
- }
- .form-group {
- margin-bottom: 20px;
- }
- .form-group label {
- display: block;
- margin-bottom: 8px;
- font-weight: 600;
- color: #ecf0f1;
- }
- .form-group input,
- .form-group select {
- width: 100%;
- padding: 12px 15px;
- border: 1px solid var(--border-color);
- border-radius: 8px;
- background: rgba(255, 255, 255, 0.1);
- color: white;
- font-size: 14px;
- transition: all 0.3s ease;
- }
- .form-group input:focus,
- .form-group select:focus {
- outline: none;
- border-color: var(--primary-color);
- box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.2);
- }
- .form-group input::placeholder {
- color: rgba(255, 255, 255, 0.5);
- }
- .transmission-type {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
- gap: 15px;
- margin-bottom: 20px;
- }
- .transmission-btn {
- padding: 15px;
- border: 2px solid rgba(255, 255, 255, 0.2);
- border-radius: 10px;
- background: rgba(255, 255, 255, 0.05);
- color: white;
- cursor: pointer;
- text-align: center;
- font-weight: 600;
- transition: all 0.3s ease;
- }
- .transmission-btn:hover {
- background: rgba(0, 198, 255, 0.2);
- border-color: #00c6ff;
- }
- .transmission-btn.active {
- background: rgba(0, 198, 255, 0.3);
- border-color: #00c6ff;
- color: #00c6ff;
- }
- .combination-section {
- margin-top: 20px;
- padding-top: 20px;
- border-top: 1px solid rgba(255, 255, 255, 0.1);
- }
- .btn-group {
- display: flex;
- gap: 15px;
- margin-top: 20px;
- }
- .btn {
- padding: 12px 25px;
- border: none;
- border-radius: 8px;
- font-weight: 600;
- cursor: pointer;
- transition: all 0.3s ease;
- flex: 1;
- }
- .btn-primary {
- background: linear-gradient(45deg, #007acc, #005fa3);
- color: white;
- }
- .btn-primary:hover {
- background: linear-gradient(45deg, #0066b3, #004d8c);
- transform: translateY(-2px);
- }
- .btn-secondary {
- background: rgba(255, 255, 255, 0.1);
- color: white;
- border: 1px solid rgba(255, 255, 255, 0.2);
- }
- .btn-secondary:hover {
- background: rgba(255, 255, 255, 0.2);
- }
- .results-grid {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
- gap: 20px;
- margin-top: 20px;
- }
- .result-card {
- background: rgba(39, 174, 96, 0.1);
- border: 1px solid rgba(39, 174, 96, 0.3);
- border-radius: 10px;
- padding: 20px;
- text-align: center;
- }
- .result-card h3 {
- font-size: 1rem;
- margin-bottom: 10px;
- color: #27ae60;
- }
- .result-card .value {
- font-size: 1.8rem;
- font-weight: 700;
- color: white;
- }
- .result-card .unit {
- font-size: 0.9rem;
- opacity: 0.7;
- }
- .warning {
- background: rgba(243, 156, 18, 0.1);
- border: 1px solid rgba(243, 156, 18, 0.3);
- color: #f39c12;
- padding: 15px;
- border-radius: 8px;
- margin-top: 20px;
- display: none;
- }
- .error {
- background: rgba(231, 76, 60, 0.1);
- border: 1px solid rgba(231, 76, 60, 0.3);
- color: #e74c3c;
- padding: 15px;
- border-radius: 8px;
- margin-top: 20px;
- display: none;
- }
- .guidance-section {
- margin-top: 20px;
- padding: 15px;
- background: rgba(0, 0, 0, 0.2);
- border-radius: 10px;
- border-left: 4px solid #00c6ff;
- }
- .guidance-section h4 {
- margin-bottom: 10px;
- color: #00c6ff;
- }
- .guidance-section ul {
- padding-left: 20px;
- }
- .guidance-section li {
- margin-bottom: 5px;
- line-height: 1.4;
- }
- .hidden {
- display: none;
- }
- /* 响应式设计 */
- @media (max-width: 768px) {
- .main-content {
- gap: 15px;
- }
-
- .card {
- padding: 15px;
- }
-
- .header h1 {
- font-size: 2rem;
- }
-
- .transmission-type {
- grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
- }
-
- .btn-group {
- flex-direction: column;
- }
-
- .btn {
- flex: none;
- }
- }
|