rewrite frontend and logic in core app
This commit is contained in:
152
core/static/core/style.css
Normal file
152
core/static/core/style.css
Normal file
@@ -0,0 +1,152 @@
|
||||
html, body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: none;
|
||||
font-family: monospace;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 600px) and (max-width: 899px) {
|
||||
html, body {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 900px) {
|
||||
html, body {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
background-color: #111111;
|
||||
color: #EEEEEE;
|
||||
}
|
||||
|
||||
h1, p, a {
|
||||
margin: 0;
|
||||
border: none;
|
||||
padding: 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 1.3rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#title, #navi, #content {
|
||||
flex: 0 1 0;
|
||||
width: 95%;
|
||||
max-width: 1200px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
#title {
|
||||
font-size: 1.6rem;
|
||||
text-align: center;
|
||||
color: #6699EE;
|
||||
}
|
||||
|
||||
#navi {
|
||||
border-top: 1px solid #223366;
|
||||
border-bottom: 1px solid #223366;
|
||||
padding: 8px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #6699EE;
|
||||
transition: color 100ms;
|
||||
}
|
||||
|
||||
a:hover, a:focus {
|
||||
color: #EEEEEE;
|
||||
}
|
||||
|
||||
form label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#login-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#id_username, #id_password, #login-warning, #login-button {
|
||||
flex: 0 1 0;
|
||||
margin: 4px;
|
||||
}
|
||||
|
||||
table, thead, tbody, tfoot, tr, td {
|
||||
margin: 0;
|
||||
border: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
margin: 16px 0;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
thead {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
tr {
|
||||
border-bottom: 1px solid #444;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 3px 4px;
|
||||
vertical-align: center;
|
||||
}
|
||||
|
||||
.subject-cell {
|
||||
max-width: 100px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.date-cell {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.amount-cell {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 600px) and (max-width: 899px) {
|
||||
table {
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 3px 8px;
|
||||
}
|
||||
|
||||
.subject-cell {
|
||||
max-width: 180px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 900px) {
|
||||
table {
|
||||
max-width: 600px;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 3px 12px;
|
||||
}
|
||||
|
||||
.subject-cell {
|
||||
max-width: 240px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user