mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
parent
1663a49cee
commit
073b7b6717
244 changed files with 9494 additions and 8597 deletions
3
dev/scss/bootstrap/helpers/_clearfix.scss
Executable file
3
dev/scss/bootstrap/helpers/_clearfix.scss
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
.clearfix {
|
||||
@include clearfix();
|
||||
}
|
||||
12
dev/scss/bootstrap/helpers/_colored-links.scss
Executable file
12
dev/scss/bootstrap/helpers/_colored-links.scss
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
@each $color, $value in $theme-colors {
|
||||
.link-#{$color} {
|
||||
color: $value;
|
||||
|
||||
@if $link-shade-percentage != 0 {
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: if(color-contrast($value) == $color-contrast-light, shade-color($value, $link-shade-percentage), tint-color($value, $link-shade-percentage));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
30
dev/scss/bootstrap/helpers/_position.scss
Executable file
30
dev/scss/bootstrap/helpers/_position.scss
Executable file
|
|
@ -0,0 +1,30 @@
|
|||
// Shorthand
|
||||
|
||||
.fixed-top {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: $zindex-fixed;
|
||||
}
|
||||
|
||||
.fixed-bottom {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: $zindex-fixed;
|
||||
}
|
||||
|
||||
// Responsive sticky top
|
||||
@each $breakpoint in map-keys($grid-breakpoints) {
|
||||
@include media-breakpoint-up($breakpoint) {
|
||||
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
||||
|
||||
.sticky#{$infix}-top {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: $zindex-sticky;
|
||||
}
|
||||
}
|
||||
}
|
||||
26
dev/scss/bootstrap/helpers/_ratio.scss
Executable file
26
dev/scss/bootstrap/helpers/_ratio.scss
Executable file
|
|
@ -0,0 +1,26 @@
|
|||
// Credit: Nicolas Gallagher and SUIT CSS.
|
||||
|
||||
.ratio {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
||||
&::before {
|
||||
display: block;
|
||||
padding-top: var(--#{$variable-prefix}aspect-ratio);
|
||||
content: "";
|
||||
}
|
||||
|
||||
> * {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@each $key, $ratio in $aspect-ratios {
|
||||
.ratio-#{$key} {
|
||||
--#{$variable-prefix}aspect-ratio: #{$ratio};
|
||||
}
|
||||
}
|
||||
15
dev/scss/bootstrap/helpers/_stretched-link.scss
Executable file
15
dev/scss/bootstrap/helpers/_stretched-link.scss
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
//
|
||||
// Stretched link
|
||||
//
|
||||
|
||||
.stretched-link {
|
||||
&::#{$stretched-link-pseudo-element} {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: $stretched-link-z-index;
|
||||
content: "";
|
||||
}
|
||||
}
|
||||
7
dev/scss/bootstrap/helpers/_text-truncation.scss
Executable file
7
dev/scss/bootstrap/helpers/_text-truncation.scss
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
//
|
||||
// Text truncation
|
||||
//
|
||||
|
||||
.text-truncate {
|
||||
@include text-truncate();
|
||||
}
|
||||
8
dev/scss/bootstrap/helpers/_visually-hidden.scss
Executable file
8
dev/scss/bootstrap/helpers/_visually-hidden.scss
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
//
|
||||
// Visually hidden
|
||||
//
|
||||
|
||||
.visually-hidden,
|
||||
.visually-hidden-focusable:not(:focus):not(:focus-within) {
|
||||
@include visually-hidden();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue