✨ Añade tema Bootiser basado en Bootstrap
This commit is contained in:
parent
ebf1828ea3
commit
c1ba4ac7ea
115 changed files with 15682 additions and 4 deletions
26
extensions/pagetop-bootsier/static/bootstrap-5.3.3/helpers/_ratio.scss
vendored
Normal file
26
extensions/pagetop-bootsier/static/bootstrap-5.3.3/helpers/_ratio.scss
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
// Credit: Nicolas Gallagher and SUIT CSS.
|
||||
|
||||
.ratio {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
||||
&::before {
|
||||
display: block;
|
||||
padding-top: var(--#{$prefix}aspect-ratio);
|
||||
content: "";
|
||||
}
|
||||
|
||||
> * {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@each $key, $ratio in $aspect-ratios {
|
||||
.ratio-#{$key} {
|
||||
--#{$prefix}aspect-ratio: #{$ratio};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue