diff --git a/mamweb/static/css/mamweb.css b/mamweb/static/css/mamweb.css index a9621bc5..093da717 100644 --- a/mamweb/static/css/mamweb.css +++ b/mamweb/static/css/mamweb.css @@ -353,7 +353,52 @@ p.license-mobile { display: none; } +/*********************/ +/* přihláška a další formuláře */ + +table.form td, table.form tr { + table-layout: fixed; + word-wrap: break-word; + padding: 5px; +} + +table#reseni.form td, table#reseni.form tr { + display: inline-table; +} + +input[type="file"] { + max-width: 250px; + text-overflow: ellipsis; +} + +.field-with-comment{ + position:relative; +} + +.field-comment{ + display:none; + text-shadow: 0 1px 0 #fff; + background-color: #f0f0f0 ; + border-color: #dbdbdb; + position:absolute; + z-index:100; + border:1px; + border-style:solid; + border-width:1px; + border-radius: 5px; + padding:3px; + top:20px; + left:20px; +} + +.field-with-comment:hover span.field-comment{ + display:block; +} + +input { + margin: 5px; +} /********************** * Zmenšování displeje @@ -420,10 +465,12 @@ ul.submenu { margin-top: 8px; /* mezera mezi hlavním menu a submenu */ } + } /* stránka přes celý menší displej, větší mobil, tablet */ @media(max-width: 800px){ + ul.menu { font-size: 80%; margin-top: -2px; @@ -444,6 +491,11 @@ ul.submenu { a.ref-org-foto { pointer-events: none; } + + table#reseni.form td, table#reseni.form tr { + display: inline-grid; + max-width: 300px; + } } /* malý tablet, mobil */ @@ -594,6 +646,10 @@ ul.submenu { width: 100%; } + table.form td, table.form tr { + display: inherit; + } + } /*stránka organizátorů*/ @@ -953,39 +1009,3 @@ p.gdpr { div.gdpr { font-size: 6pt; } - -/* přihláška a další formuláře */ - -table.form td, table.form tr { - table-layout: fixed; - word-wrap: break-word; - padding: 5px; -} - -.field-with-comment{ - position:relative; -} - -.field-comment{ - display:none; - text-shadow: 0 1px 0 #fff; - background-color: #f0f0f0 ; - border-color: #dbdbdb; - position:absolute; - z-index:100; - border:1px; - border-style:solid; - border-width:1px; - border-radius: 5px; - padding:3px; - top:20px; - left:20px; -} - -.field-with-comment:hover span.field-comment{ - display:block; -} - -input { - margin: 5px; -} diff --git a/seminar/templates/seminar/nahraj_reseni.html b/seminar/templates/seminar/nahraj_reseni.html index 7fa02da7..861d7bdd 100644 --- a/seminar/templates/seminar/nahraj_reseni.html +++ b/seminar/templates/seminar/nahraj_reseni.html @@ -14,13 +14,26 @@