:root { --paddingSite: 40px; --card-radius: 20px; --card-bg: #ffffff; --bg: #FDFDFD; --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); --accent: #2d73ac; --accent-soft: #f0f5ff; --border-subtle: #d4d7e1; --text-main: #191919; --text-muted: #5e5e5e; --disabled-bg: #f3f4f6; --disabled-border: #cbd5f5; } /* Base */ *, *::after, *::before { box-sizing: border-box; -webkit-tap-highlight-color: transparent; font-family: "Google Sans Flex", sans-serif; font-optical-sizing: auto; font-style: normal; font-variation-settings: "slnt" 0, "wdth" 100, "GRAD" 0, "ROND" 0; } html, body, section { margin: 0; overscroll-behavior: none; } body { margin: 0; width: 100vw; background: var(--bg); } ::selection { background: #0000003d; color: #ffffffff; } ::-moz-selection { background: #a4bf4a99; color: #000; } input { border: none; } /* General numeric inputs in scoring area */ .bgSection input[type="number"] { font-size: 16px; } .nopadding { height: 40px; } /* Layout */ .bgSection { position: relative; margin-left: auto; /*margin: var(--paddingSite); width: calc(100vw - 2 * var(--paddingSite));*/ width: 100vw; box-sizing: border-box !important; background: none; } @media (min-width: 1000px) { .bgSection.open { width: calc(100vw - 380px); /* - 2 * var(--paddingSite) */ } } /* Cards */ .headerDivKampfrichter { padding: var(--paddingSite); background-color: var(--bg-top); margin-bottom: var(--paddingSite); position: relative; z-index: 3; } /* headings */ .heading_fv_selturnerin, .heading_fv_selturnerin>* { margin-top: 0; font-weight: 400; margin-bottom: 20px; } .divLiveSyncronisation { padding: var(--paddingSite); } .heading_fv_alleturnerinnen { margin-top: 0; font-weight: 400; } .headingPanelDiv { display: flex; flex-direction: column; } .headingPanelDiv>* { color: var(--bg); } .headingPanel { margin-top: 0; margin-bottom: 10px; font-weight: 200; } .headingPanelGeraet { margin: 0; font-weight: 700; } #wsInfo { margin: 0; font-weight: 300; opacity: 0; transition: all 2s ease; } /* Kampfrichter header layout */ .headerDivKampfrichter { display: flex; justify-content: space-between; align-items: center; } /* Turnerinnen table */ table { border-collapse: collapse; margin: 0; padding: 0; width: 100%; } .wkvsTabelle th { color: #424242; border-bottom: solid 1px #0000007d; font-weight: 600; padding: 14px 15px; font-size: 16px; } .wkvsTabelle td { background-color: #ffffff; color: #191919; font-weight: 400; padding: 14px 15px; background: none; text-align: center; border-bottom: solid 1px #6262624d; } .allTurnerinenDiv .widefat input { min-width: 60px; display: flex; margin: auto; background: none; text-align: center; } .allTurnerinenDiv .editTurnerin, .allTurnerinenDiv .editTurnerinAdmin { background: none; border: none; cursor: pointer; } .allTurnerinenDiv .editTurnerin svg, .allTurnerinenDiv .editTurnerinAdmin svg { transition: transform 0.3s ease; } .allTurnerinenDiv .editTurnerin svg:hover, .allTurnerinenDiv .editTurnerinAdmin svg:hover { transform: scale(1.2); animation-name: stiftWackler; animation-duration: 0.5s; } @keyframes stiftWackler { 25% { transform: rotate(-10deg) scale(1.05); } 75% { transform: rotate(10deg) scale(1.15); } 100% { transform: rotate(0deg) scale(1.2); } } .allTurnerinenDiv tr:hover { background-color: #f4f4f4; } /*.allTurnerinenDiv tr.notHeaderRow:hover td{ -webkit-text-stroke: 0.75px currentColor; color: currentColor; }*/ /* Panel with inputs (new style, light) */ .div_edit_values_user { margin: 2rem auto; padding: 1.6rem 1.8rem; background: var(--card-bg); color: var(--text-main); flex-direction: column; align-items: center; } /* Titles inside edit card */ .heading_fv_selturnerin { display: flex; flex-wrap: wrap; gap: .35rem; align-items: baseline; font-size: 1.15rem; letter-spacing: 0.01em; } .current-turnerin-name { font-weight: 600; color: var(--accent); } .heading_fv_nextturnerin { margin: 1.5rem 0 0.75rem; font-size: 0.9rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.08em; } .fv_nextturnerin:hover { font-size: 1.1rem; } /* Tables container inside edit card */ .all_vaules_div, .all_edit_vaules_div { display: inline-flex; /* makes the box shrink to fit */ flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; align-items: center; } .all_vaules_div { flex-direction: column; } /* Individual small tables */ .editkampfrichter_user { border-collapse: collapse; background: #f9fafb; border-radius: 12px; overflow: hidden; min-width: 180px; box-shadow: 0 0 0 1px rgba(209, 213, 219, 0.9); } .editkampfrichter_user th, .editkampfrichter_user td { padding: 0.6rem 0.75rem; text-align: center; white-space: nowrap; } .editkampfrichter_user th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-muted); background: #f3f4f6; } .table_endnote_edit { margin-top: 1rem; width: 100%; } /* Tight cell for pure input */ .nopadding { padding: 0.25rem 0.5rem !important; } /* Inputs inside edit card */ .fullinput { width: 100%; box-sizing: border-box; /*padding: 0.45rem 0.6rem;*/ border-radius: 8px; border: 1px solid var(--border-subtle); background: #ffffff; color: var(--text-main); font-size: 0.9rem; line-height: 1.3; outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease; text-align: center; } .fullinput:focus { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(45, 115, 172, 0.25); background: #ffffff; } /* Strong & clear disabled style */ .fullinput:disabled, .fullinput[readonly] { background: none; border: none; color: #6b7280; opacity: 1; cursor: auto; } .fullinput:disabled:hover, .fullinput:disabled:focus, .fullinput[readonly]:hover, .fullinput[readonly]:focus { box-shadow: none; border-color: var(--disabled-border); } /* Computed result fields even clearer */ /*[id^="e-note-"]:disabled { background: #fff7d6; background: repeating-linear-gradient( 135deg, #ffefb0, #ffefb0 6px, #fff7d6 6px, #fff7d6 12px ); border-color: #f59e0b; box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.7); color: #92400e; font-weight: 800; text-align: center; }*/ [id^="note-user-"]:disabled { background: none; border: none; color: var(--bg-top); font-weight: 600; text-align: center; } /* Remove number arrows where supported */ input[type="number"] { -moz-appearance: textfield; } input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } /* Explanation text */ .editkampfrichter_user_text { margin-top: 0.9rem; font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; } /* Next gymnast link */ .fv_nextturnerin { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 1.75rem; font-weight: 500; color: var(--accent); text-decoration: none; border-bottom: 1px dashed rgba(45, 115, 172, 0.45); padding-bottom: 0.05rem; transition: all 0.3s; } /* Buttons near inputs */ .submit-display-turnerin, .submit-display-start, .submit-musik-start, .submit-musik-stopp, .submit-display-result { appearance: none; border: none; border-radius: 999px; padding: 0.5rem 1.1rem; font-size: 0.9rem; font-weight: 600; cursor: pointer; margin: 0.35rem 0.4rem 0 0; transition: transform 0.08s ease, box-shadow 0.12s ease, background-color 0.12s ease, color 0.12s ease; display: inline-flex; align-items: center; justify-content: center; align-self: baseline; } /* Variants */ .submit-display-turnerin { background-color: #378cd243; border: solid 1px #3382c3; color: #256396; } .submit-display-result { background-color: #c538d83d; border: solid 1px #be3bcf; color: #781467; } .submit-display-start.start, .submit-musik-start { background: #ecfdf3; color: #15803d; border: 1px solid #4ade80; } .submit-display-start.stopp, .submit-musik-stopp { background: #fef2f2; color: #b91c1c; border: 1px solid #fca5a5; } /* Button interaction */ .submit-display-turnerin:hover, .submit-display-start:hover, .submit-musik-start:hover, .submit-musik-stopp:hover, .submit-display-result:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12); } .submit-display-turnerin:active, .submit-display-start:active, .submit-musik-start:active, .submit-musik-stopp:active, .submit-display-result:active { transform: translateY(0); box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1); } /* Burger + menu (unchanged from your style) */ .kampfrichterBurgerMenuDiv { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; cursor: pointer; z-index: 99; color: var(--bg); } .kampfrichterBurgerMenuDiv svg { width: 100%; height: 100%; stroke: currentColor; transition: transform 0.3s ease; } .kampfrichterBurgerMenuDiv.open svg { transform: rotate(45deg); } .internMenuDiv { background-color: #fff; box-shadow: none; position: fixed; left: 0; top: 0; height: 100svh; width: 100%; max-width: 400px; transform: translateX(-100%); z-index: 100; padding: 20px; transition: transform 0.45s cubic-bezier(.4, 0, .2, 1); opacity: 1; } .internMenuDiv.open { transform: translateX(0); box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15); } .innerInternMenuDiv { display: flex; flex-direction: column; gap: 14px; min-height: 100vh; overflow-y: auto; padding-bottom: 80px; } .innerInternMenuDiv h3 { font-size: 1.1rem; font-weight: 500; margin: 10px 0; color: #1a1a1a; letter-spacing: 0.5px; } .text_akt_abt { font-size: 1rem; color: #555; text-align: center; line-height: 1.6; } .innerInternMenuDiv form { margin: 0; } .innerInternMenuDiv input[type="submit"], .innerInternMenuDiv select { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #ccc; font-size: 0.95rem; transition: all 0.3s ease; } .innerInternMenuDiv input[type="submit"]:focus, .innerInternMenuDiv select:focus { outline: none; border-color: #2d73ac; box-shadow: 0 0 6px rgba(45, 115, 172, 0.3); } .innerInternMenuDiv .button-secondary { background: linear-gradient(135deg, #2d73ac, #1f4f75); color: #fff; border: none; border-radius: 12px; font-weight: 600; cursor: pointer; padding: 12px 18px; transition: transform 0.2s ease, background 0.3s ease; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); } .innerInternMenuDiv .button-secondary:hover { background: linear-gradient(135deg, #245d8a, #163b5a); transform: translateY(-2px); } .gruppennav { display: flex; align-items: center; justify-content: center; gap: 8px; background: #f9fafc; padding: 10px 16px; border-radius: 12px; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05); } .gruppennav p { margin: 0 6px; font-weight: 600; color: #333; } .button_gruppe { border: none; background: #2d73ac; color: white; width: 36px; height: 36px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); } .button_gruppe:hover { background: #245d8a; transform: scale(1.05); } .labelnamekr { font-size: 1rem; font-weight: 500; margin-top: 14px; display: block; color: #222; } .inputnamekr { margin-bottom: 12px; } .footerInternMenu { display: flex; flex-direction: row; justify-content: space-between; position: absolute; bottom: 12px; gap: 40px; width: calc(100% - 40px); } .footerInternMenu>* { display: flex; } .abmeldenbutton { width: 100%; padding: 14px; background: linear-gradient(135deg, #e53935, #b71c1c); border: none; border-radius: 12px; font-weight: 600; color: #fff; cursor: pointer; transition: transform 0.2s ease, background 0.3s ease; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); } .abmeldenbutton:hover { background: linear-gradient(135deg, #c62828, #8e1919); transform: translateY(-2px); } .menuBg { position: fixed; inset: 0; z-index: 98; user-select: none; pointer-events: none; opacity: 0; /*background: rgba(0, 0, 0, 0.15);*/ } .menuBg.menuTransition { transition: opacity 0.6s ease-out; } /*.menuBg.open { opacity: 1; pointer-events: auto; user-select: all; }*/ .menuTransition { transition: all 0.6s ease-out; } .menuTransition>.kampfrichterBurgerMenuLine { transition: all 0.3s ease-out; } .closeInternMenuMobileDiv { display: none; width: 5vw; height: 100px; position: absolute; top: 30px; right: -5vw; background-color: #09090966; border-radius: 0 10px 10px 0; } /* Mobile tweaks */ @media (max-width: 480px) { .internMenuDiv { max-width: 95vw; } .internMenuDiv.open .closeInternMenuMobileDiv { display: block; } } @media (max-width: 600px) { .div_edit_values_user, .allTurnerinenDiv { padding: var(--paddingSite) calc(var(--paddingSite) * 0.75); margin-bottom: var(--paddingSite); } .notMobile { display: none; } .allTurnerinenDiv th { padding: 12px 6px; } .allTurnerinenDiv td { padding: 10px 6px; } .ranglisteExportBMDesktop { display: none; } .ranglisteExportBMMobile { display: block; } } @media (min-width: 601px) { .div_edit_values_user, .allTurnerinenDiv { padding: var(--paddingSite) calc(var(--paddingSite) * 1.5); margin-bottom: var(--paddingSite); } .ranglisteExportBMDesktop { display: block; } .ranglisteExportBMMobile { display: none; } } .buttonNextAbt, .buttonPrevAbt, .button_gruppe { line-height: 0; } .all_e_vaules_div { display: grid; gap: 1rem; } .titleWidthNormalInput { width: 309.398px; } .flexRow { display: flex; flex-direction: row; align-items: center; gap: 5px; } .fullHeightRectangle { display: flex; } .msgDiv { position: fixed; bottom: 50px; right: 20px; display: flex; align-items: end; flex-direction: column-reverse; gap: 10px; } .msgBox { transform: translateX(calc(100% + 40px)); padding: 10px 15px; color: #fff; background-color: #5b5b5b98; border-left: 4px solid; border-radius: 2px; transition: all 0.5s ease; } .msgBox.show { transform: translateX(0); } .playcontrolDiv { display: flex; justify-content: center; margin: 20px 0; } .noKampfrichterDiv { display: none; justify-content: center; align-items: center; position: absolute; top: 0; left: 0; width: 100%; min-height: 100vh; height: 100%; background-color: #e9eef6a0; backdrop-filter: blur(3px); z-index: 2; } .noKampfrichterDiv>h1 { color: var(--bg-top); } .adminButtonDiv input, .buttonNewAdminStyle { background-color: var(--bg-top); color: #fff; border: none; border-radius: 5px; font-weight: 200; cursor: pointer; padding: 12px 18px; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); } .adminButtonDiv input { margin: 10px 0 0 10px; } .adminButtonDiv input:hover { filter: brightness(1.2); } .titleSingleAbt { font-weight: 400; color: var(--bg-top); } .adminButtonDiv { display: block; } table.widefat { table-layout: auto; } .singleAbtDiv:not(:last-child) { margin-bottom: 60px; } .singleEXNoteAdminTable { display: flex; flex-direction: row; } .singleEXNoteAdminTableLable { width: 40px; margin: 3px 0 3px 10px; text-align: end; } .tableWraperOverflowY { overflow-x: auto; overflow-y: hidden; /* Prevent scroll chaining to body */ overscroll-behavior-x: contain; /* Smooth scrolling on touch devices */ -webkit-overflow-scrolling: touch; } .div_edit_values_all_gereate { display: flex; flex-direction: row; flex-wrap: wrap; gap: 3rem; width: 100%; justify-content: space-around; } .editUserButtons { display: flex; } .div-submit-display-result, .div-submit-display-start { display: flex; flex-direction: column; } .allNotentable { display: flex; flex-direction: row; gap: 3rem; } .singleNotentable { display: flex; flex-direction: column; gap: 1rem; } select { appearance: none; /* Standard */ -webkit-appearance: none; /* WebKit */ -moz-appearance: none; /* Firefox */ width: 100%; padding: 12px 35px 12px 14px !important; font-size: 16px; border: 1px solid #ccc; border-radius: 4px; background-color: #fff; background-image: url("data:image/svg+xml;utf8,\ \ \ "); background-repeat: no-repeat; background-position: right 10px center; background-size: 20px; cursor: pointer; } select:open { background-image: url("data:image/svg+xml;utf8,\ \ \ "); }