/
PavelMask
/
MyCourseWork
Обзор
Документация
Войти
/
PavelMask
/
MyCourseWork
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
main.css
905 строк
11 KB
PavelMask
Файлы курсовой работы (версия 1)
07 июн 2026, 21:26
07 июн 2026, 21:26
491ad5e
Код
Авторство
О чём код?
#header, body { display: flex; height: 100% } #convert, #regex { display: block; margin: 10px auto } .examplebutton, .helpbutton2 { border-bottom: 1px solid #000 } #convert, #header button { background: 0 0; outline: 0 } #FA, #FA svg { overflow: hidden } #options1, #options2, #options3, #stepl, #stepr { margin: 5px auto } #FA, body { min-width: 1100px } #line, body { width: 100%; margin: 0 } #FA svg, #header, body, html { height: 100% } #help, #line, #next_step, #options, #previous_step, #startpopup, #t1, #t2, #t3, .info_text { opacity: 0 } #convert, #help button, #regex { margin: 10px auto } body { flex-flow: column; font-family: Inter; background: #e3f2fd !important } #header { width: 100%; min-height: 110px; justify-content: space-between; align-items: center } #help, #inp, #next_step, #options, #previous_step { width: 20%; min-width: 220px; height: 100px; align-items: center; text-align: center } #next_step, #previous_step, #stepmatch { min-width: 280px } #convert { width: 200px; font-size: 20px; cursor: pointer } #convert:hover, #header button:hover { border: 2px solid #0f6966 } #convert:disabled, #header button:disabled { cursor: default; border: 2px solid rgba(15, 105, 102, .5) } #header button, #startrect:hover, .examplebutton, .helpbutton2, .helpexit:hover, .stepbutton:hover { cursor: pointer } #regex { border-radius: 0; width: 192px; font-size: 30px; padding: 2px 4px } #invalidBorder, #validBorder { pointer-events: none; position: absolute; transform: translate(-50%); margin: 10px 0 0 } .greenPath, .redPath { stroke-dashoffset: 240px; stroke-dasharray: 240px; transition: stroke-dashoffset 1s } .selected_big, .selected_small { transition: rx .6s .3s, ry .6s .3s } .enabled { stroke-dashoffset: 0px } #help { display: flex; flex-flow: column } .githubbutton img { vertical-align: middle; padding: 5px 0 } #line { display: none; background-color: #000; min-height: 1px; bottom: 0 } .beginbuttons { width: 200px; margin: -5px auto; display: flex; flex-flow: row; font-size: 14px } #FA, #info-rectangle.hide, .step { display: none } .helpbutton2 { width: 30px; margin-right: 47px; text-align: left } #header button { border: 2px solid rgba(15, 105, 102, .75); font-family: Inter; padding-top: 0; padding-bottom: 0 } #header button:active { background: rgba(255, 255, 255, .3) } #FA { min-height: 300px; width: 100%; flex: 1 1 auto; position: relative } #FA svg { top: 0; left: 0; width: 100% } svg.disappear { -webkit-animation: .9s disap; animation: .9s forwards disap } @keyframes disap { 0% { transform: scale(1) } 65% { transform: scale(1.15) } 100% { transform: scale(0) } } @-webkit-keyframes disap { 0% { transform: scale(1) } 65% { transform: scale(1.15) } 100% { transform: scale(0) } } #stepl, #stepr { opacity: 0; flex-direction: row; justify-content: center; border: 1px solid #0f6966; background-color: #fff; width: 290px; height: 90px } .step:hover .buttonPath { -webkit-animation: 4s infinite glow; animation: 4s infinite glow } @keyframes glow { 0% { stroke-dashoffset: 56.85 } 100%, 65% { stroke-dashoffset: -56.85 } } @-webkit-keyframes glow { 0% { stroke-dashoffset: 56.85 } 100%, 65% { stroke-dashoffset: -56.85 } } .buttonPath { stroke-dasharray: 56.85; stroke-dashoffset: 56.85 } #stepmatch input { border-radius: 0 } #error_message, #step_message { width: 100%; min-width: 1100px; margin: 0; height: 24px; min-height: 24px; text-align: center; background-color: rgba(255, 255, 255, .3) } ellipse { transition: rx .6s .9s, ry .6s .9s } .selected_small { rx: 20px; ry: 20px } .selected_big { rx: 23px; ry: 23px } .info_path { transition: stroke-dashoffset 1.1s, fill-opacity .2s; fill-opacity: 0 } .info_path_selected { transition: stroke-dashoffset 1.1s .7s, fill-opacity .2s 1.4s; fill-opacity: 1; stroke-dashoffset: 0 !important } .info_text { transition: opacity .2s } .info_text_selected { transition: opacity .2s 1.4s; opacity: 1 } .info_text_big { font-size: 10.5px; font-weight: 500 } .info_text_small { font-size: 7.5px } #popupanim, .info_box, .info_rect { pointer-events: none } .info_rect_selected { pointer-events: all } #table_container { width: 20%; min-width: 390px; height: 100%; display: flex; flex-flow: column; border-left: 1px solid #000; border-right: 1px solid #000; overflow: auto } .table_row { display: flex; flex-flow: row; justify-content: space-between } #table_head div { font-size: 20px; font-weight: 700; color: #0d47a1 } #stepmatch button, #stepmatch input { font-size: .9rem !important; line-height: normal } .helpmenu { display: none; z-index: 1; padding: 5px 10px 20px 5px } .helpmenu_selected { display: block } .bigbox { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50%; height: 50%; min-width: 780px; min-height: 560px; border-radius: 10px } @media (max-width:1100px) { .bigbox { left: 150px; transform: translate(0, -50%) } } @media (max-height:800px) { .bigbox { top: 100px; bottom: 100px; transform: translate(-50%, 0) } } @media (max-width:1100px) and (max-height:800px) { .bigbox { left: 150px; top: 100px; bottom: 100px; transform: none } } .helpheader { height: 30px; width: 100%; position: relative } .helpexit { position: absolute; right: 0 } .helpbody { height: 530px; width: 100%; display: flex; flex-flow: row } .helptabs { width: 15%; height: 100%; display: flex; flex-flow: column; align-items: center } .helpcontent { width: 100%; height: 100%; position: relative; overflow-y: scroll; padding-right: 15px; padding-left: 5px; border-radius: 2px } .helpsectionbutton { width: 80%; text-align: center; margin: 10px } .regextext { font-weight: 600; display: inline-block } #options1, #stepmatch div:last-child, .steptext { display: flex; display: flex } h2 { margin-top: 0; margin-bottom: 5px } .helpcontent div { margin-bottom: 30px } ::-webkit-scrollbar { width: 10px; height: 10px } #startpopup { text-align: center } .pop1 { font-size: 35px; font-weight: 700 } .pop2 { font-size: 22px } .pop3, .pop4 { font-size: 18px } #pa1 { stroke-dasharray: 235; stroke-dashoffset: 235 } #pa2 { stroke-dasharray: 540.68; stroke-dashoffset: 540.68 } #pa3 { stroke-dasharray: 470.68; stroke-dashoffset: 470.68 } #cp11, #cp12, #cp21, #cp22 { stroke-dasharray: 94.26; stroke-dashoffset: 94.26 } #cp31, #cp32 { stroke-dasharray: 234.26; stroke-dashoffset: 234.26 } #info-rectangle { background: rgba(255, 255, 255, .85); box-shadow: 0 4px 12px rgba(0, 0, 0, .1); text-align: left; backdrop-filter: blur(2px); transition: .3s } #info-rectangle p { margin: 0 0 6px } #info-rectangle ul { padding-left: 0; margin: 8px 0 0 26px } #stepl svg { width: 60px; height: 90px } #stepr svg { width: 50px; height: 90px } .steptext { line-height: 1.3; text-align: center; word-break: break-word; white-space: normal; padding: 0 8px } .table_text_left, .table_text_right { padding: 5px 8px; vertical-align: middle; text-align: center; white-space: normal; word-break: break-word } #help button { width: auto; padding: 6px 24px } .table_text_left { min-width: 35%; width: 35% } .table_text_right { width: 65% } .beginbuttons, .examplebutton { text-align: left } .helptitle { width: auto; white-space: nowrap; font-size: 22px; margin: 10px; padding-left: 1%; padding-right: 30px } .steptext { font-size: 24px; font-weight: 800; justify-content: center; flex-direction: column } #convert, #matchbutton, #options_button, #skip_button, .helpbutton { background-color: #fff !important; border: 2px solid #000 !important; color: #0f6966 !important; transition: .2s; font-weight: 600 } #regex, #stepmatch input { background-color: #fff; border: 1px solid #1976d2; color: #0d47a1 } #help button.helpbutton { font-size: 1.3rem; padding: .6rem 1.8rem; min-width: 120px } #options_button, #skip_button { font-size: 1.3rem; padding: .5rem 1.5rem; min-width: 160px } #options1 { font-size: 1.3rem; align-items: center; gap: 8px } #options1 input { transform: scale(1.3); margin-right: 5px; accent-color: #1976d2 } #stepmatch div:last-child { flex-direction: row; align-items: center; gap: 8px; flex-wrap: nowrap } #stepmatch input { flex-shrink: 1; height: 24px !important; width: 150px !important; max-width: 150px !important; padding: 2px 4px !important } #stepmatch button { flex-shrink: 0; white-space: nowrap; padding: 4px 12px !important; height: 28px !important } #matchbutton { font-weight: 600 } #header { background-color: #bbdef5 !important; backdrop-filter: none } #regex:focus, #stepmatch input:focus { border-color: #0d47a1; outline: 0; box-shadow: 0 0 0 2px rgba(25, 118, 210, .2) } .greenPath { stroke: #2e7d32 !important } .redPath { stroke: #c62828 !important } #convert, #matchbutton, #options_button, #skip_button, .examplebutton, .helpbutton { font-family: Inter; background-color: #1976d2 !important; border: 2px solid #0d47a1 !important; color: #fff !important; transition: .15s; box-shadow: none } .bigbox, .helpheader { background: #fff } #info-rectangle, .bigbox, .step { border: 1px solid #1976d2 } #convert:hover, #matchbutton:hover, #options_button:hover, #skip_button:hover, .examplebutton:hover, .helpbutton:hover { background-color: #0d47a1 !important; border-color: #0d47a1 !important; color: #fff !important } .step { background-color: #fff } .buttonPath { stroke: #1976d2 !important } .regextext, .steptext { color: #1976d2 } #info-rectangle strong, #options1, #step_message, .helptitle { color: #0d47a1 } #info-rectangle { background-color: #ffffffdd; color: #0d3b6f; backdrop-filter: none } #error_message { height: auto; min-height: 0; background-color: #ffebee; color: #c62828 } #step_message { background-color: #e3f2fd } .table_text_left, .table_text_right { border-bottom: 1px solid #1976d2; border-right: 1px solid #1976d2; color: #0d3b6f; background-color: #fff } .bigbox { color: #0d3b6f } .helpcontent { border: 1px solid #bbdef5 } ::-webkit-scrollbar-track { background: #e3f2fd } ::-webkit-scrollbar-thumb { background: #90caf9; border-radius: 6px } ::-webkit-scrollbar-thumb:hover { background: #64b5f6 } #next_step { height: auto !important; min-height: 100px } #stepmatch { font-size: 1rem !important; margin-top: 5px; position: relative; z-index: 1 } #stepmatch div { margin: 4px 5px !important } #stepmatch div:first-child { font-size: 1rem !important; font-weight: 400 } #stepmatch div:last-child { display: flex; flex-direction: row; align-items: center; gap: 6px; flex-wrap: nowrap } #info-rectangle { position: relative; z-index: 2; width: 780px; max-width: 95%; margin: 20px auto 15px; padding: 18px 28px; font-size: 17px; line-height: 1.5; border-radius: 16px } .examplebutton { width: auto; margin-left: 0; margin-right: auto; background-color: #64b5f6 !important; border-color: #42a5f5 !important; color: #0d47a1 !important } #convert { background-color: #0d47a1 !important; border-color: #0a3578 !important; color: #fff !important } #convert:hover { background-color: #0a3578 !important; border-color: #062050 !important; color: #fff !important } #convert:disabled { background-color: #90caf9 !important; border-color: #64b5f6 !important; color: #e3f2fd !important } .examplebutton:hover { background-color: #42a5f5 !important; border-color: #1e88e5 !important; color: #0d47a1 !important } #info-rectangle li { margin: 6px 0 }