up edit
This commit is contained in:
parent
f991aee8ed
commit
bdb3728494
13 changed files with 283 additions and 20 deletions
|
@ -5,6 +5,9 @@ $color-bg: #f7fafb;
|
|||
$color-surface: #ffffff;
|
||||
$color-text: #22303a;
|
||||
$color-muted: #6b7b86;
|
||||
$color-success: #b4e5c6;
|
||||
$color-error: #f6c9c9;
|
||||
$color-info: #cfe8ff;
|
||||
$border-radius: 10px;
|
||||
$shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
|
||||
$shadow-md: 0 6px 18px rgba(0, 0, 0, 0.08);
|
||||
|
@ -16,8 +19,35 @@ html, body {
|
|||
padding: 0;
|
||||
background: $color-bg;
|
||||
color: $color-text;
|
||||
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
|
||||
// font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
|
||||
}
|
||||
html, body{
|
||||
font-family: "Calibri", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
button, .button{
|
||||
border-radius: 5px;
|
||||
background-color: #79a2d1;
|
||||
padding: 1rem 0.5rem;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
&:hover{
|
||||
background-color: #6992c1;
|
||||
}
|
||||
&:active{
|
||||
background-color: #5982b1;
|
||||
}
|
||||
}
|
||||
input{
|
||||
width: 100%;
|
||||
padding: 10px 12px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid rgba(0, 0, 0, 0.12);
|
||||
background: #ffffff;
|
||||
color: #22303a;
|
||||
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02);
|
||||
}
|
||||
|
||||
|
||||
app-root, app-home {
|
||||
display: block;
|
||||
|
@ -56,3 +86,27 @@ app-root, app-home {
|
|||
}
|
||||
|
||||
label { font-size: 0.85rem; color: $color-muted; }
|
||||
|
||||
/* Toasts */
|
||||
.toast-container {
|
||||
position: fixed;
|
||||
right: 16px;
|
||||
bottom: 16px;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.toast {
|
||||
min-width: 240px;
|
||||
max-width: 360px;
|
||||
padding: 10px 12px;
|
||||
border-radius: $border-radius;
|
||||
box-shadow: $shadow-md;
|
||||
border: 1px solid rgba(0,0,0,0.06);
|
||||
background: $color-surface;
|
||||
}
|
||||
|
||||
.toast.is-success { background: $color-success; }
|
||||
.toast.is-error { background: $color-error; }
|
||||
.toast.is-info { background: $color-info; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue