#remove { float: right; } #neu { /*Form über list*/ width: 100%; } #list { display: inline-flex; flex-direction: column; margin-top: 1em; width: 95%; max-width: 30em; } .list_row { /* einzelne Reihen */ display: flex; flex-direction: row; min-height: 24px; margin-bottom: .1em; color: #ffffff; align-items: center; border-left: 3px solid #4CAF50; border-bottom-right-radius: 5px; border-top-right-radius: 5px; } .list_row.new { border-left: none; } .list_row_count { width: 6em; } #list_row_count_input { display: flex; flex-direction: row; } #list_row_anzahl_input { width: 2.5em; margin-right: .1em; } #list_row_einheit_input { width: 2.7em; margin-right: .1em; } #list font { padding-right: 1em; } #list .new { height: 24px; font-size: 16px; display: flex; align-items: center; justify-content: flex-start; margin: 0; } #nameField { border: 1px solid #ddd; height: 90%; width: 70%; } #add { -webkit-appearance: none; border: none; color: white; font-size: 16px; font-weight: 800; background-color: #5f5f5f; padding: .1em .8em; margin-left: .2em; width: 20%; height: 100%; } .checked { background-color: #4CAF50; } .list_row.even.checked { border-left: 3px solid #565656; } .list_row.odd.checked { border-left: 3px solid #888; }