n8n/packages/design-system/src/css/backtop.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

23 lines
453 B
SCSS

@use 'mixins/mixins';
@use './common/var';
@include mixins.b(backtop) {
position: fixed;
background-color: var.$backtop-background-color;
width: 40px;
height: 40px;
border-radius: 50%;
color: var.$backtop-font-color;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
box-shadow: 0 0 6px rgba(0, 0, 0, 0.12);
cursor: pointer;
z-index: 5;
&:hover {
background-color: var.$backtop-hover-background-color;
}
}