transition
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
.notice {
|
||||
background-color: $background;
|
||||
padding: 25px 14px 14px;
|
||||
margin: 2rem 0;
|
||||
filter: brightness(1.03);
|
||||
position: relative;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
border: 3px solid $border-color;
|
||||
}
|
||||
|
||||
.notice .title {
|
||||
content: "NOTE";
|
||||
position: absolute;
|
||||
background: $background;
|
||||
min-width: 90px;
|
||||
border: 3px solid $border-color;
|
||||
color: $text;
|
||||
display: block;
|
||||
text-align: center;
|
||||
left: 14px;
|
||||
top: -18px;
|
||||
padding: 2px 10px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.notice.success{
|
||||
border-color: $success;
|
||||
& .title{
|
||||
border-color: $success;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user