css refact
This commit is contained in:
1 parent
d56857bf43
commit
6d29dbc9bd
2 files changed
+7
-28
No files matched your search
+3
-4
@@ -32,8 +32,6 @@ a {
|
||||
}
|
||||
}
|
||||
|
||||
$modal-duration: 1s;
|
||||
|
||||
.modal-container {
|
||||
@apply top-0 bottom-0 left-0 right-0 fixed bg-black opacity-50 z-10;
|
||||
}
|
||||
@@ -45,7 +43,7 @@ $modal-duration: 1s;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 400px;
|
||||
animation-name: modalopen;
|
||||
animation-duration: $modal-duration;
|
||||
animation-duration: 0.5s;
|
||||
}
|
||||
|
||||
.box-toggle {
|
||||
@@ -64,12 +62,13 @@ $modal-duration: 1s;
|
||||
transition: transform 0.3s;
|
||||
|
||||
&.open {
|
||||
//@apply rotate-90;
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
}
|
||||
|
||||
&-content {
|
||||
padding: 0.5rem 1rem;
|
||||
@apply px-4 py-2;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user