mirror of
https://github.com/tuxdotrs/tpanel.git
synced 2025-10-10 12:51:54 +05:30
refactor: move styles to seperate folder
This commit is contained in:
31
style/_notification.scss
Normal file
31
style/_notification.scss
Normal file
@@ -0,0 +1,31 @@
|
||||
@use "./_variable.scss" as *;
|
||||
@use "sass:math";
|
||||
@use "sass:list";
|
||||
|
||||
window.notifications {
|
||||
margin: 10px;
|
||||
|
||||
.notification {
|
||||
background: $bg-color;
|
||||
padding: 20px;
|
||||
border-radius: $rounded;
|
||||
min-width: 20rem;
|
||||
border: 1px solid transparent;
|
||||
|
||||
&.critical {
|
||||
border: 1px solid rgba(red, 0.5);
|
||||
}
|
||||
|
||||
&.normal {
|
||||
border: 1px solid rgba(yellow, 0.5);
|
||||
}
|
||||
|
||||
.text {
|
||||
color: rgba($fg-color, 0.8);
|
||||
|
||||
.title {
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user