bigbluebutton-Github/bigbluebutton-html5/imports/ui/stylesheets/mixins/focus.scss
Oswaldo Acauan f71d32a464 Move from SCSS variables to CSS custom properties (variables) and add custom parameters for theming/skinning
WIP

wip

wip

format

wip

Move from SCSS variables to CSS custom properties (variables) and add custom parameters for theming/skinning
2018-10-23 14:21:58 -02:00

19 lines
507 B
SCSS

@import "/imports/ui/stylesheets/variables/palette";
@import "/imports/ui/stylesheets/variables/general";
@mixin elementFocus($color: var(--color-primary)) {
&:focus {
outline: none;
box-shadow: inset 0 0 0 var(--border-size-large) $color;
border-radius: var(--border-size);
}
}
@mixin inputFocus($shadow, $color: var(--color-primary)) {
&:focus {
outline: none;
border-radius: var(--border-size);
box-shadow: 0 0 0 var(--border-size) $shadow, inset 0 0 0 1px $color;
}
}