-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4fca29b
commit d8825fa
Showing
7 changed files
with
144 additions
and
12 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
/** | ||
* Iași Digital | ||
* A data-driven perspective of the city. | ||
* | ||
* @author Innovator Dev <[email protected]> | ||
* @link https://iasi.digital | ||
* @link https://oras.digital | ||
* | ||
* @copyright (c) Iasi Digital [https://iasi.digital] | ||
*/ | ||
|
||
.notification { | ||
display: table; | ||
border-radius: .35em; | ||
padding: .5em .75em; | ||
margin: .5em auto 1em; | ||
color: var(--text-color); | ||
|
||
&.notification-sm { | ||
font-size: .9em; | ||
padding: .25em .5em; | ||
} | ||
|
||
&.notification-inline { | ||
display: inline-block; | ||
} | ||
|
||
&.error { | ||
background: var(--danger); | ||
color: var(--text-color-white); | ||
} | ||
|
||
&.info { | ||
background: var(--notification-info-background-color); | ||
color: var(--notification-info-text-color); | ||
} | ||
|
||
&.success { | ||
background: var(--green); | ||
color: var(--text-color-white); | ||
} | ||
|
||
&.warning { | ||
background: var(--orange); | ||
color: var(--text-color-white); | ||
} | ||
|
||
// Floating notification | ||
&.notification-floating { | ||
position: fixed; | ||
z-index: 2; | ||
|
||
font-size: .9em; | ||
width: 90%; | ||
|
||
// Positioning | ||
bottom: 20px; | ||
left: 5%; | ||
|
||
@media (min-width: @mediaQueryMedium) { | ||
width: auto; | ||
left: 2em; | ||
} | ||
} | ||
|
||
// Fade in animation | ||
&.notification-animation { | ||
animation: fadeIn 1s; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
/* | ||
/** | ||
* Iași Digital | ||
* A data-driven perspective of the city. | ||
* | ||
* @author Innovator Dev <[email protected]> | ||
* @link https://oras.digital | ||
* @link https://iasi.digital | ||
* @link https://oras.digital | ||
* | ||
* @copyright (c) 2023. Iasi Digital [https://iasi.digital] | ||
* @copyright (c) Iasi Digital [https://iasi.digital] | ||
*/ | ||
|
||
// Assets path | ||
@ASSETS: 'https://iasi.digital/assets/'; | ||
@ASSETS: 'https://iasidigital.idealweb.ro/assets/'; | ||
|
||
// Devices | ||
// Small devices (landscape phones, 576px and up) | ||
|
@@ -85,4 +86,30 @@ | |
--google-map-control-text-color: #666; | ||
--google-map-control-text-color-hover: #222; | ||
--google-map-control-text-color-selected: #0182dd; | ||
|
||
--notification-info-background-color: #abcbed; | ||
--notification-info-text-color: #222; | ||
|
||
--blue: #007bff; | ||
--indigo: #6610f2; | ||
--purple: #6f42c1; | ||
--pink: #e83e8c; | ||
--red: #dc3545; | ||
--orange: #fd7e14; | ||
--yellow: #ffc107; | ||
--green: #28a745; | ||
--teal: #20c997; | ||
--cyan: #17a2b8; | ||
--white: #ffffff; | ||
--gray: #6c757d; | ||
--gray-dark: #343a40; | ||
--black: #000; | ||
--primary: #007bff; | ||
--secondary: #6c757d; | ||
--success: #28a745; | ||
--info: #17a2b8; | ||
--warning: #ffc107; | ||
--danger: #dc3545; | ||
--light: #f8f9fa; | ||
--dark: #343a40; | ||
} |