parent
6e08743bf5
commit
39208b6568
4 changed files with 175 additions and 20 deletions
@ -1,17 +1,26 @@ |
|||||||
|
/* ? common styles */ |
||||||
|
.Toastify__close-button > svg { |
||||||
|
color: var(--black) !important; |
||||||
|
} |
||||||
|
/* TODO toast error */ |
||||||
|
/* error1 with icon */ |
||||||
.Toastify__toast-theme--colored.Toastify__toast--error { |
.Toastify__toast-theme--colored.Toastify__toast--error { |
||||||
background: #ffeaea; |
background: var(--toast-bg-error) !important; |
||||||
color: #c70000; |
color: var(--error-color7) !important; |
||||||
|
font-family: iransans; |
||||||
} |
} |
||||||
|
/* error progress bar */ |
||||||
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error { |
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error { |
||||||
background: #c70000; |
background: var(--error-color7) !important; |
||||||
} |
|
||||||
.Toastify__close-button > svg { |
|
||||||
color: #000 !important; |
|
||||||
} |
} |
||||||
|
/* TODO toast success */ |
||||||
|
/* success with icon */ |
||||||
.Toastify__toast-theme--colored.Toastify__toast--success { |
.Toastify__toast-theme--colored.Toastify__toast--success { |
||||||
color: #21ae0b !important; |
color: var(--toast-success-color) !important; |
||||||
background: #c3ffb9 !important; |
background: var(--toast-bg-success) !important; |
||||||
|
font-family: iransans; |
||||||
} |
} |
||||||
|
/* success progress bar */ |
||||||
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success { |
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success { |
||||||
background: #21ae0b !important; |
background: var(--toast-success-color) !important; |
||||||
} |
} |
||||||
|
@ -0,0 +1,38 @@ |
|||||||
|
:root { |
||||||
|
--error-color1: #06bace; |
||||||
|
--error-color2: #3ee924; |
||||||
|
--error-color7: #c70000; |
||||||
|
--error-color7-button: #e92424; |
||||||
|
--white: #fff; |
||||||
|
--black: #000; |
||||||
|
--content-color: #646464; |
||||||
|
--toast-bg-error: #ffeaea; |
||||||
|
--toast-bg-success: #c3ffb9; |
||||||
|
--toast-success-color: #21ae0b; |
||||||
|
} |
||||||
|
body { |
||||||
|
background-color: #f5f5f5 !important; |
||||||
|
direction: rtl; |
||||||
|
font-family: iransans; |
||||||
|
} |
||||||
|
|
||||||
|
@font-face { |
||||||
|
font-family: "iransans"; |
||||||
|
src: local("iransans"), |
||||||
|
url(./iransans/woff/IRANSansWeb_Medium.woff) format("woff"), |
||||||
|
url(./iransans/woff2/IRANSansWeb_Medium.woff2) format("woff2"), |
||||||
|
url(./iransans/eot/IRANSansWeb_Medium.eot) format("eot"), |
||||||
|
url(./iransans/ttf/IRANSansWeb_Medium.ttf) format("ttf"); |
||||||
|
} |
||||||
|
|
||||||
|
p, |
||||||
|
h1, |
||||||
|
h2, |
||||||
|
h3, |
||||||
|
h4, |
||||||
|
h5, |
||||||
|
h6, |
||||||
|
a, |
||||||
|
button { |
||||||
|
font-family: iransans; |
||||||
|
} |
Loading…
Reference in new issue