n8n/packages/design-system/theme/src/collapse.scss
Ahsan Virani 421dd72224
Introduce telemetry (#2099)
* introduce analytics

* add user survey backend

* add user survey backend

* set answers on survey submit

Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>

* change name to personalization

* lint

Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>

* N8n 2495 add personalization modal (#2280)

* update modals

* add onboarding modal

* implement questions

* introduce analytics

* simplify impl

* implement survey handling

* add personalized cateogry

* update modal behavior

* add thank you view

* handle empty cases

* rename modal

* standarize modal names

* update image, add tags to headings

* remove unused file

* remove unused interfaces

* clean up footer spacing

* introduce analytics

* refactor to fix bug

* update endpoint

* set min height

* update stories

* update naming from questions to survey

* remove spacing after core categories

* fix bug in logic

* sort nodes

* rename types

* merge with be

* rename userSurvey

* clean up rest api

* use constants for keys

* use survey keys

* clean up types

* move personalization to its own file

Co-authored-by: ahsan-virani <ahsan.virani@gmail.com>

* Survey new options (#2300)

* split up options

* fix quotes

* remove unused import

* add user created workflow event (#2301)

* simplify env vars

* fix versionCli on FE

* update personalization env

* fix event User opened Credentials panel

* fix select modal spacing

* fix nodes panel event

* fix workflow id in workflow execute event

* improve telemetry error logging

* fix config and stop process events

* add flush call on n8n stop

* ready for release

* improve telemetry process exit

* fix merge

* improve n8n stop events

Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-10-19 05:57:49 +02:00

64 lines
1.6 KiB
SCSS

@use "mixins/mixins";
@use "./common/var";
@use "common/transition";
@include mixins.b(collapse) {
border-top: 1px solid var.$collapse-border-color;
border-bottom: 1px solid var.$collapse-border-color;
}
@include mixins.b(collapse-item) {
@include mixins.when(disabled) {
.el-collapse-item__header {
color: var.$font-color-disabled-base;
cursor: not-allowed;
}
}
@include mixins.e(header) {
display: flex;
align-items: center;
height: var.$collapse-header-height;
line-height: var.$collapse-header-height;
background-color: var.$collapse-header-background-color;
color: var.$collapse-header-font-color;
cursor: pointer;
border-bottom: 1px solid var.$collapse-border-color;
font-size: var.$collapse-header-font-size;
font-weight: 500;
transition: border-bottom-color 0.3s;
outline: none;
@include mixins.e(arrow) {
margin: 0 8px 0 auto;
transition: transform 0.3s;
font-weight: 400;
@include mixins.when(active) {
transform: rotate(90deg);
}
}
&.focusing:focus:not(:hover) {
color: var(--color-primary);
}
@include mixins.when(active) {
border-bottom-color: transparent;
}
}
@include mixins.e(wrap) {
will-change: height;
background-color: var.$collapse-content-background-color;
overflow: hidden;
box-sizing: border-box;
border-bottom: 1px solid var.$collapse-border-color;
}
@include mixins.e(content) {
padding-bottom: 25px;
font-size: var.$collapse-content-font-size;
color: var.$collapse-content-font-color;
line-height: 1.769230769230769;
}
&:last-child {
margin-bottom: -1px;
}
}