erius
881236c725
Removed all explicit calls to clone and slightly modified matrix operations (due to the change mentioned above) Added methods remove_row, remove_column, remove_last_row and remove_last_column + tests Minor SquareMatrix refactor Added matrix style in index.scss and removed html selector Implemented "Add row" and "Add column" buttons for yew matrix component
29 lines
541 B
SCSS
29 lines
541 B
SCSS
$bg-color: #2b2927;
|
|
$text-color: #e2e19c;
|
|
$cell-color: #473b34;
|
|
|
|
body {
|
|
background-color: $bg-color;
|
|
color: $text-color;
|
|
}
|
|
|
|
.matrix {
|
|
display: grid;
|
|
gap: 50px;
|
|
grid-template-columns: auto 100px;
|
|
grid-template-rows: auto 100px;
|
|
justify-content: start;
|
|
|
|
input {
|
|
background-color: $cell-color;
|
|
color: $text-color;
|
|
border: solid 1px black;
|
|
width: 30pt;
|
|
}
|
|
|
|
button {
|
|
background-color: $cell-color;
|
|
color: $text-color;
|
|
border: solid 1px black;
|
|
}
|
|
}
|