@@ -21,7 +21,7 @@ $border: #999;
2121
2222.passe-info h2 { margin : 0 ; font-size : 1.5rem ; }
2323
24- form { width : 100% ; max-width : 800px ; }
24+ form { width : 100% ; max-width : 800px ;}
2525
2626.table-wrapper { overflow-x : auto ; }
2727
@@ -57,9 +57,92 @@ form { width: 100%; max-width: 800px; }
5757 align-self : flex-end ;
5858 font-weight : 700 ;
5959 margin-top : 1rem ;
60+ min-height : 44px ;
6061 padding : .75rem 1.5rem ;
6162}
6263
64+ @media (max-width : 600px ) {
65+ .schusszettel-container {
66+ padding : 1rem ;
67+ }
68+
69+ .table-wrapper {
70+ overflow-x : visible ;
71+ }
72+
73+ .treffer-table {
74+ border-collapse : separate ;
75+ border-spacing : 0 ;
76+ width : 100% ;
77+ }
78+
79+ .treffer-table thead {
80+ display : none ;
81+ }
82+
83+ .treffer-table ,
84+ .treffer-table tbody ,
85+ .treffer-table tr ,
86+ .treffer-table td {
87+ display : block ;
88+ width : 100% ;
89+ }
90+
91+ .treffer-table tr {
92+ border : 1px solid $border ;
93+ border-radius : 0.5rem ;
94+ padding : 0.75rem ;
95+ margin-bottom : 0.75rem ;
96+ background : #fff ;
97+ }
98+
99+ .treffer-table td {
100+ border : 0 ;
101+ padding : 0.35rem 0 ;
102+ text-align : left ;
103+ }
104+
105+ .treffer-table td :first-child {
106+ font-weight : 600 ;
107+ margin-bottom : 0.25rem ;
108+ }
109+
110+ .treffer-table td :nth-child (2 )::before {
111+ content : " Rückennr.: " ;
112+ font-weight : 600 ;
113+ }
114+
115+ .treffer-table td :nth-child (3 )::before {
116+ content : " Schuss 1: " ;
117+ font-weight : 600 ;
118+ }
119+
120+ .treffer-table td :nth-child (4 )::before {
121+ content : " Schuss 2: " ;
122+ font-weight : 600 ;
123+ }
124+
125+ .treffer-table input {
126+ width : 100% ;
127+ min-height : 44px ;
128+ font-size : 16px ;
129+ box-sizing : border-box ;
130+ }
131+
132+ .confirm-button {
133+ width : 100% ;
134+ position : fixed ;
135+ bottom : 0 ;
136+ left : 50% ;
137+ transform : translateX (-50% );
138+ }
139+ .confirm-button :disabled ,
140+ .confirm-button [disabled ],
141+ .confirm-button.mat-mdc-button-disabled {
142+ opacity : 1 ;
143+ background-color : #afafaf ; // background Farbe wenn Disabled
144+ }
145+ }
63146.visually-hidden {
64147 position : absolute !important ;
65148 height : 1px ;
@@ -72,34 +155,34 @@ form { width: 100%; max-width: 800px; }
72155// Drag and drop styles
73156.draggable-row {
74157 cursor : grab ;
75-
158+
76159 & :hover {
77160 background-color : rgba (0 , 0 , 0 , 0.04 );
78161 }
79-
162+
80163 & .cdk-drag-preview {
81164 box-shadow : 0 3px 8px rgba (0 , 0 , 0 , 0.2 );
82165 }
83-
166+
84167 & .cdk-drag-placeholder {
85168 opacity : 0.4 ;
86169 }
87-
170+
88171 & .cdk-drag-animating {
89172 transition : transform 250ms cubic-bezier (0 , 0 , 0.2 , 1 );
90173 }
91174}
92175
93176.drag-handle {
94177 position : relative ;
95-
178+
96179 .drag-icon {
97180 display : inline-block ;
98181 margin-right : 8px ;
99182 color : #666 ;
100183 cursor : grab ;
101184 user-select : none ;
102-
185+
103186 & :hover {
104187 color : #333 ;
105188 }
0 commit comments