Files
Automata/packages/design-system/src/css/popover.scss
कारतोफ्फेलस्क्रिप्ट™ 13659d036f ci: Ensure that eslint runs on all frontend code (no-changelog) (#4602)
* ensure that eslint runs on all frontend code

* remove tslint from `design-system`

* enable prettier and eslint-prettier for `design-system`

* Delete tslint.json

* use a single editorconfig for the repo

* enable prettier for all code in `design-system`

* more linting fixes on design-system

* ignore coverage for git and prettier

* lintfix on editor-ui
2022-11-15 18:20:54 +01:00

43 lines
857 B
SCSS

@use 'mixins/mixins';
@use './common/var';
@use './popper';
@include mixins.b(popover) {
position: absolute;
background: var.$popover-background-color;
min-width: 150px;
border-radius: 4px;
border: 1px solid var.$popover-border-color;
padding: var.$popover-padding;
z-index: var.$index-popper;
color: var(--color-text-dark);
line-height: 1.4;
text-align: justify;
font-size: var.$popover-font-size;
box-shadow: var.$box-shadow-light;
word-break: break-all;
@include mixins.m(plain) {
padding: var.$popover-padding-large;
}
@include mixins.e(title) {
color: var.$popover-title-font-color;
font-size: var.$popover-title-font-size;
line-height: 1;
margin-bottom: 12px;
}
@include mixins.e(reference) {
&:focus:not(.focusing),
&:focus:hover {
outline-width: 0;
}
}
&:focus:active,
&:focus {
outline-width: 0;
}
}