
| Current Path : /var/www/html/atstandard/styles/uikit/components/partials/theme/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/atstandard/styles/uikit/components/partials/theme/_shortcodes.rounded-corners.scss |
/**
* Shortcodes (Rounded corners)
============================================================================ */
@mixin rounded-corners($radius) {
border-radius: $radius;
[class*="__title"],
.node .field-type-image__figure.caption {
border-radius: $radius $radius 0 0;
}
.node .field-type-image__figcaption {
border-radius: 0 0 $radius $radius;
}
.block, // this allows the class to be set on a region.
.node--view-mode-teaser, // node teaser have a border.
.node .field-type-image__figure, // border on image fields in nodes.
input,
.button,
textarea,
select {
border-radius: $radius;
}
}
.rc-2 {
@include rounded-corners(2px);
}
.rc-3 {
@include rounded-corners(3px);
}
.rc-4 {
@include rounded-corners(4px);
}
.rc-5 {
@include rounded-corners(5px);
}
.rc-6 {
@include rounded-corners(6px);
}
.rc-7 {
@include rounded-corners(7px);
}
.rc-8 {
@include rounded-corners(8px);
}
.rc-9 {
@include rounded-corners(9px);
}
.rc-10 {
@include rounded-corners(10px);
}
.rc-12 {
@include rounded-corners(12px);
}
.rc-15 {
@include rounded-corners(15px);
}
.rc-20 {
@include rounded-corners(20px);
}