159 lines
2.5 KiB
CSS
159 lines
2.5 KiB
CSS
html, body {
|
|
font-style: normal;
|
|
font-family: monospace;
|
|
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.title {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.inner-content {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.account {
|
|
border-style: solid;
|
|
border-color: black;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.account__grid {
|
|
border-style: none;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
|
|
.account__title {
|
|
background-color: black;
|
|
color: white;
|
|
padding: 3px 6px;
|
|
margin-left: 7px;
|
|
}
|
|
|
|
.account__label {
|
|
margin: 0 .5em 0 .5em;
|
|
font-weight: bold;
|
|
border-bottom-style: solid;
|
|
}
|
|
|
|
.account__amount {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.account__accounts {
|
|
grid-column: 2 / 4;
|
|
grid-row: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.account__deposit {
|
|
grid-column: 1;
|
|
grid-row: 2;
|
|
}
|
|
|
|
.account__withdraw {
|
|
grid-column: 2;
|
|
grid-row: 2;
|
|
}
|
|
|
|
.account__transfer {
|
|
grid-column: 3;
|
|
grid-row: 2;
|
|
}
|
|
|
|
.account__button {
|
|
color: black;
|
|
border-radius: 0;
|
|
border-color: black;
|
|
border-style: solid;
|
|
border-width: .2em;
|
|
padding: 1em;
|
|
margin: .5em;
|
|
background: linear-gradient(to top, darkgray, 20%, lightgray);
|
|
box-shadow: 3px 3px 3px black;
|
|
}
|
|
|
|
.account__button:hover:enabled {
|
|
background: linear-gradient(lightgray, darkgray);
|
|
}
|
|
|
|
.account__button:active:enabled {
|
|
transform: translateY(3px);
|
|
}
|
|
|
|
.account__button:disabled {
|
|
background: lightgray;
|
|
color: darkgray;
|
|
}
|
|
|
|
.account__input {
|
|
padding: 1em;
|
|
color: black;
|
|
margin: .5em;
|
|
background-color: #eeeeee;
|
|
border-radius: 0;
|
|
border-color: black;
|
|
border-style: solid;
|
|
border-width: .2em;
|
|
box-shadow: 3px 3px 3px black;
|
|
}
|
|
|
|
.accounts {
|
|
list-style-type: none;
|
|
display: inline-block;
|
|
min-width: min-content;
|
|
margin: 0;
|
|
padding: 0.5em;
|
|
border-style: solid;
|
|
border-color: black;
|
|
}
|
|
|
|
.accounts__item {
|
|
border-style: solid;
|
|
border-bottom-color: lightgray;
|
|
border-width: 0 0 0.1em 0;
|
|
}
|
|
|
|
.accounts__item-selected {
|
|
border-bottom-color: darkgray;
|
|
background-color: #eeeeee;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.error {
|
|
background: red;
|
|
padding: 1em;
|
|
color: white;
|
|
}
|
|
|
|
.content {
|
|
padding: 1em;
|
|
min-width: 370px;
|
|
}
|
|
|
|
@media (max-width: 1005px) {
|
|
.inner-content {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 615px) {
|
|
.accounts {
|
|
display: block;
|
|
}
|
|
|
|
.account__grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
}
|