twigs-web/src/styles.css

143 lines
1.8 KiB
CSS
Raw Normal View History

2018-08-27 17:04:01 +00:00
/* You can add global styles to this file, and also import other style files */
2018-09-15 20:57:11 +00:00
html,
body {
background: #F1F1F1;
font-family: Roboto, "Helvetica Neue", sans-serif;
margin: 0;
padding: 0;
}
p {
color: #333333;
margin: 0;
}
a.mat-fab {
position: fixed;
right: 2em;
bottom: 2em;
}
.text-small {
2021-02-28 23:44:48 +00:00
font-size: 90%;
color: #333333;
}
2018-09-15 20:57:11 +00:00
mat-toolbar.mat-toolbar-row,
mat-toolbar.mat-toolbar-single-row {
2018-09-01 16:09:07 +00:00
padding: 0;
}
mat-toolbar>span {
2018-09-01 16:09:07 +00:00
display: flex;
2018-09-15 20:57:11 +00:00
width: 33%;
;
2018-08-30 01:45:34 +00:00
}
mat-toolbar>span:nth-child(1) {
2018-09-01 16:09:07 +00:00
justify-content: flex-start;
2018-08-30 01:38:24 +00:00
}
mat-toolbar>span:nth-child(2) {
2018-09-01 16:09:07 +00:00
justify-content: center;
}
mat-toolbar>span:nth-child(3) {
2018-09-01 16:09:07 +00:00
justify-content: flex-end;
}
2020-08-17 02:32:25 +00:00
/* mat-toolbar a.mat-button {
2018-09-01 16:09:07 +00:00
font-size: 1em;
2018-08-30 01:38:24 +00:00
}
2018-09-01 16:09:07 +00:00
mat-toolbar a.mat-button .mat-icon {
vertical-align: text-top;
2018-08-30 01:38:24 +00:00
}
mat-toolbar mat-icon {
vertical-align: middle;
cursor: pointer;
2020-08-17 02:32:25 +00:00
} */
mat-toolbar .action-item {
font-weight: normal;
cursor: pointer;
font-size: 0.9em;
}
mat-toolbar .action-item a {
vertical-align: middle;
}
2018-08-30 01:38:24 +00:00
2018-09-15 20:57:11 +00:00
mat-sidenav-container.mat-drawer-container {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
mat-sidenav-container .mat-drawer-backdrop.mat-drawer-shown {
background-color: rgba(0, 0, 0, 0.8);
}
2018-09-17 00:52:07 +00:00
mat-sidenav {
min-width: 300px;
}
.mat-progress-spinner {
top: 5em;
left: calc(50% - 25px);
}
2018-08-30 01:38:24 +00:00
.income {
2018-09-15 20:57:11 +00:00
color: #81C784;
2018-08-30 01:38:24 +00:00
}
.expense {
2018-09-15 20:57:11 +00:00
color: #E57373;
}
/**
* Forms
*/
.form {
padding: 1em;
color: #333333;
2018-09-15 20:57:11 +00:00
}
.form .mat-form-field,
.form .button {
display: block;
2018-08-30 01:38:24 +00:00
}
2018-09-15 20:57:11 +00:00
.form mat-radio-button {
padding-bottom: 15px;
}
.form button {
width: 100%;
margin: 1em 0;
}
@media (prefers-color-scheme: dark) {
html,
body {
background: #333333;
}
p {
color: #F1F1F1;
}
.text-small {
color: #BDBDBD;
}
.form {
color: #F1F1F1;
}
2018-09-15 20:57:11 +00:00
}