все так же если отключить js кнопки: "Запустить процесс", "Простая кнопка", "Изменение цвета", "Счётчик кликов", "Показать результат", "Сбросить", в пункте "JavaScript" работает кнопка "+1"
53b6d1a
verified
| /* Base styles */ | |
| body { | |
| font-family: 'Roboto', sans-serif; | |
| line-height: 1.6; | |
| transition: all 0.3s ease; | |
| } | |
| /* Tab styles */ | |
| .tab-btn { | |
| position: relative; | |
| transition: all 0.2s ease; | |
| cursor: pointer; | |
| border: none; | |
| background: none; | |
| outline: none; | |
| } | |
| .tab-btn::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 3px; | |
| background-color: transparent; | |
| transition: all 0.2s ease; | |
| } | |
| .tab-btn.active { | |
| color: #3b82f6; | |
| font-weight: 500; | |
| } | |
| .tab-btn.active::after { | |
| background-color: #3b82f6; | |
| } | |
| .tab-btn:focus { | |
| outline: 2px solid rgba(59, 130, 246, 0.5); | |
| outline-offset: 2px; | |
| } | |
| .tab-content { | |
| display: none; | |
| animation: fadeIn 0.5s ease; | |
| } | |
| .tab-content.active { | |
| display: flex; | |
| opacity: 1; | |
| visibility: visible; | |
| } | |
| /* Process diagram styles */ | |
| .step-circle { | |
| transition: all 0.3s ease; | |
| } | |
| .step.active .step-circle { | |
| background-color: #3b82f6 ; | |
| color: white ; | |
| transform: scale(1.1); | |
| } | |
| .step-arrow { | |
| transition: all 0.3s ease; | |
| opacity: 0.5; | |
| } | |
| .step.active + .step-arrow { | |
| opacity: 1; | |
| } | |
| .step.active + .step-arrow i { | |
| color: #3b82f6 ; | |
| } | |
| /* Editor styles */ | |
| .editor { | |
| resize: none; | |
| transition: all 0.2s ease; | |
| } | |
| .editor:focus { | |
| box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); | |
| } | |
| .example-btn { | |
| padding: 0.5rem 1rem; | |
| background-color: #e2e8f0; | |
| border-radius: 0.25rem; | |
| transition: all 0.2s ease; | |
| } | |
| .example-btn.active { | |
| background-color: #3b82f6; | |
| color: white; | |
| } | |
| /* Animations */ | |
| @keyframes fadeIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(10px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| @keyframes pulse { | |
| 0% { | |
| transform: scale(1); | |
| } | |
| 50% { | |
| transform: scale(1.05); | |
| } | |
| 100% { | |
| transform: scale(1); | |
| } | |
| } | |
| .pulse { | |
| animation: pulse 1s infinite; | |
| } | |
| .tech-toggle { | |
| transition: all 0.2s ease; | |
| cursor: pointer; | |
| border: none; | |
| outline: none; | |
| } | |
| .tech-toggle:hover { | |
| opacity: 0.8; | |
| } | |
| .tech-toggle.opacity-50 { | |
| opacity: 0.5; | |
| text-decoration: line-through; | |
| } | |
| body[data-js-disabled="true"] [onclick], | |
| body[data-js-disabled="true"] [onload], | |
| body[data-js-disabled="true"] [onchange], | |
| body[data-js-disabled="true"] [onmouseover], | |
| body[data-js-disabled="true"] [onmouseout], | |
| body[data-js-disabled="true"] button[id], | |
| body[data-js-disabled="true"] button[class*="btn"] { | |
| pointer-events: none; | |
| opacity: 0.7; | |
| cursor: not-allowed; | |
| } | |
| /* Responsive adjustments */ | |
| @media (max-width: 768px) { | |
| .step { | |
| position: relative; | |
| padding-bottom: 2rem; | |
| } | |
| .step::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: 0; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| width: 2px; | |
| height: 2rem; | |
| background-color: #e2e8f0; | |
| } | |
| .step:last-child::after { | |
| display: none; | |
| } | |
| } |