mirror of
https://github.com/conventional-commits/conventionalcommits.org.git
synced 2024-11-15 10:55:16 +01:00
37 lines
685 B
SCSS
37 lines
685 B
SCSS
@import "variables";
|
|
|
|
@mixin up-to-mobile {
|
|
@media (max-width: #{$mobile-width - 1px}) {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
|
|
@mixin tablet {
|
|
@media (min-width: #{$tablet-width}) and (max-width: #{$desktop-width - 1px}) {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@mixin desktop {
|
|
@media (min-width: #{$desktop-width}) {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@mixin gradient-primary($deg: 45deg) {
|
|
background: linear-gradient($deg, $color-primary 0%, $color-primary-light 100%);
|
|
}
|
|
|
|
@mixin dropdown-animation-visible {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
transform: translate(-50%, $dropdown-options-space-from-label);
|
|
}
|
|
|
|
@mixin dropdown-animation-hidden {
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
transform: translate(-50%, 0);
|
|
}
|