forked from markus/AMPERION_Webpage
new
This commit is contained in:
commit
1d8da2b6dd
824 changed files with 76366 additions and 0 deletions
26
assets/scss/modal.scss
Normal file
26
assets/scss/modal.scss
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
@mixin modal($centerWidth, $windowWidth) {
|
||||
|
||||
@include var(background-color, dark1);
|
||||
@include var(color, light1);
|
||||
|
||||
z-index: 1001;
|
||||
box-shadow: $cm-box-shadow-dark-md;
|
||||
|
||||
width: 100%;
|
||||
max-height: 98%;
|
||||
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
|
||||
position: fixed;
|
||||
overflow: auto;
|
||||
|
||||
@media (min-width: $centerWidth) {
|
||||
@include var(border-radius, border-radius);
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
max-width: $windowWidth;
|
||||
height: auto;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue