123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- @mixin border-management($parent-cls, $border-width: null, $border-color: null, $border-radius: null, $border-radius-big) {
- .#{$prefix}#{$parent-cls}-outer-border-l {
- border-left-color: left($border-color) !important;
- border-left-width: left($border-width) !important;
- }
- .#{$prefix}#{$parent-cls}-outer-border-b {
- border-bottom-color: bottom($border-color) !important;
- border-bottom-width: bottom($border-width) !important;
- }
- .#{$prefix}#{$parent-cls}-outer-border-bl {
- border-bottom-color: bottom($border-color) !important;
- border-bottom-width: bottom($border-width) !important;
- border-left-color: left($border-color) !important;
- border-left-width: left($border-width) !important;
- border-radius: 0 0 0 left($border-radius);
- @if $enable-big {
- .#{$prefix}big & {
- border-radius: 0 0 0 left($border-radius-big);
- }
- }
- }
- .#{$prefix}#{$parent-cls}-outer-border-r {
- border-right-color: right($border-color) !important;
- border-right-width: right($border-width) !important;
- }
- .#{$prefix}#{$parent-cls}-outer-border-rl {
- border-right-color: right($border-color) !important;
- border-right-width: right($border-width) !important;
- border-left-color: left($border-color) !important;
- border-left-width: left($border-width) !important;
- }
- .#{$prefix}#{$parent-cls}-outer-border-rb {
- border-right-color: right($border-color) !important;
- border-right-width: right($border-width) !important;
- border-bottom-color: bottom($border-color) !important;
- border-bottom-width: bottom($border-width) !important;
- border-radius: 0 0 bottom($border-radius);
- @if $enable-big {
- .#{$prefix}big & {
- border-radius: 0 0 bottom($border-radius-big);
- }
- }
- }
- .#{$prefix}#{$parent-cls}-outer-border-rbl {
- border-right-color: right($border-color) !important;
- border-right-width: right($border-width) !important;
- border-bottom-color: bottom($border-color) !important;
- border-bottom-width: bottom($border-width) !important;
- border-left-color: left($border-color) !important;
- border-left-width: left($border-width) !important;
- border-radius: 0 0 bottom($border-radius) left($border-radius);
- @if $enable-big {
- .#{$prefix}big & {
- border-radius: 0 0 bottom($border-radius-big) left($border-radius-big);
- }
- }
- }
- .#{$prefix}#{$parent-cls}-outer-border-t {
- border-top-color: top($border-color) !important;
- border-top-width: top($border-width) !important;
- }
- .#{$prefix}#{$parent-cls}-outer-border-tl {
- border-top-color: top($border-color) !important;
- border-top-width: top($border-width) !important;
- border-left-color: left($border-color) !important;
- border-left-width: left($border-width) !important;
- border-radius: top($border-radius) 0 0;
- @if $enable-big {
- .#{$prefix}big & {
- border-radius: top($border-radius-big) 0 0;
- }
- }
- }
- .#{$prefix}#{$parent-cls}-outer-border-tb {
- border-top-color: top($border-color) !important;
- border-top-width: top($border-width) !important;
- border-bottom-color: bottom($border-color) !important;
- border-bottom-width: bottom($border-width) !important;
- }
- .#{$prefix}#{$parent-cls}-outer-border-tbl {
- border-top-color: top($border-color) !important;
- border-top-width: top($border-width) !important;
- border-bottom-color: bottom($border-color) !important;
- border-bottom-width: bottom($border-width) !important;
- border-left-color: left($border-color) !important;
- border-left-width: left($border-width) !important;
- border-radius: top($border-radius) 0 0 left($border-radius);
- @if $enable-big {
- .#{$prefix}big & {
- border-radius: top($border-radius-big) 0 0 left($border-radius-big);
- }
- }
- }
- .#{$prefix}#{$parent-cls}-outer-border-tr {
- border-top-color: top($border-color) !important;
- border-top-width: top($border-width) !important;
- border-right-color: right($border-color) !important;
- border-right-width: right($border-width) !important;
- border-radius: 0 right($border-radius) 0 0;
- @if $enable-big {
- .#{$prefix}big & {
- border-radius: 0 right($border-radius-big) 0 0;
- }
- }
- }
- .#{$prefix}#{$parent-cls}-outer-border-trl {
- border-top-color: top($border-color) !important;
- border-top-width: top($border-width) !important;
- border-right-color: right($border-color) !important;
- border-right-width: right($border-width) !important;
- border-left-color: left($border-color) !important;
- border-left-width: left($border-width) !important;
- border-radius: top($border-radius) right($border-radius) 0 0;
- @if $enable-big {
- .#{$prefix}big & {
- border-radius: top($border-radius-big) right($border-radius-big) 0 0;
- }
- }
- }
- .#{$prefix}#{$parent-cls}-outer-border-trb {
- border-top-color: top($border-color) !important;
- border-top-width: top($border-width) !important;
- border-right-color: right($border-color) !important;
- border-right-width: right($border-width) !important;
- border-bottom-color: bottom($border-color) !important;
- border-bottom-width: bottom($border-width) !important;
- border-radius: 0 right($border-radius) bottom($border-radius) 0;
- @if $enable-big {
- .#{$prefix}big & {
- border-radius: 0 right($border-radius-big) bottom($border-radius-big) 0;
- }
- }
- }
- .#{$prefix}#{$parent-cls}-outer-border-trbl {
- border-color: $border-color !important;
- border-width: $border-width !important;
- border-radius: $border-radius;
- @if $enable-big {
- .#{$prefix}big & {
- border-radius: $border-radius-big;
- }
- }
- }
- }
|