Skip to content

Instantly share code, notes, and snippets.

@mammuth
Last active July 8, 2017 16:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mammuth/98c4a20ba1e87cc0db024addb667d125 to your computer and use it in GitHub Desktop.
Save mammuth/98c4a20ba1e87cc0db024addb667d125 to your computer and use it in GitHub Desktop.
Comdirect CSS Changes
/*
* Overview
* https://kunde.comdirect.de/itx/persoenlicherbereich/anzeigen
*/
/* Remove IBAN Column */
form#j_idt67-j_idt68-0-j_idt70 table tr th:nth-of-type(3),
form#j_idt67-j_idt68-0-j_idt70 table tr td:nth-of-type(3) {
display: none !important;
}
/* Remove "Verfügbar" Column */
form#j_idt67-j_idt68-0-j_idt70 table tr th:nth-of-type(4),
form#j_idt67-j_idt68-0-j_idt70 table tr td:nth-of-type(4) {
display: none !important;
}
/* Remove Depot Buy/Sell Buttons */
form#j_idt67-j_idt68-0-j_idt70 table tr td:nth-of-type(2) .button-group__container {
display: none;
}
/* More Padding for the table rows */
form#j_idt67-j_idt68-0-j_idt70 table td {
padding: .8rem;
}
/* Remove Total sum */
form#j_idt67-j_idt68-0-j_idt70 table tfoot {
display: none;
}
form#j_idt67-j_idt68-0-j_idt70 table .table__row--separator td {
border-bottom-width: 1px;
border-bottom-color: #eee;
}
/* Margin for the upper table */
form#j_idt67-j_idt68-0-j_idt70 {
margin-bottom: 50px
}
/* Hide Buttons below the main table (CFD-Demokonto, Kundentrades, Alle Umsätze) */
form#j_idt67-j_idt68-0-j_idt255-j_idt256 {
display: none !important;
}
@mammuth
Copy link
Author

mammuth commented Jul 8, 2017

Note: The id of the form changes from time to time, so this snippet might not work out of the box. Go ahead and replace the ID with the current id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment