mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
* feat: Added vite.js dependencies. * chore: Removed tests folder to follow same structure as design-system * chore: Removed unused testing config. * chore: Created vite.js index.html * refactor: Updated scss structure and imports. * refactor: Updated workflow building. * fix: Cleared up all workflow dependency cycles. Added proper package.json imports config. * feat: Got a working build using Vite. Need to fix issues next. * fix: Progress! Getting process.env error. * fix: Changed process.env to import.meta.env. * fix: Fixed circular imports that used require(). Fixed monaco editor. * chore: Removed commented code. * chore: Cleaned up package.json * feat: Made necessary changes to replace base path in css files. * feat: Serve CSS files for `editor-ui` Vite migration (#4069) ⚡ Serve CSS files for Vite migration * chore: Fixed package-lock.json. * fix: Fixed build after centralized tsconfig update. * fix: Removed lodash-es replacement. * fix: Commented out vitest test command. * style: Fixed linting issues. * fix: Added lodash-es hotfix back. * chore: Updated package-lock.json * refactor: Renamed all n8n scss variables to no longer be defined as private. * feat(editor): add application-wide el-button replacement. * fix(editor): Fix import in page alert after merge. * chore(editor): update package-lock.json. * fix: Case sensitive lodash-es replacement for vue-agile. * fix: add alias for lodash-es camelcase import. * fix: add patch-package support for fixing quill * feat: add patch-package on postinstall * fix: update quill patch path. * refactor: rename quill patch * fix: update quill version. * fix: update quill patch * fix: fix linting rules after installing eslint in design-system * fix: update date picker button to have primary color * test: update callout component snapshots * fix(editor): fix linting issues in editor after enabling eslint * fix(cli): add /assets/* to auth ignore endpoints in server * chore: update package-lock.json * chore: update package-lock.json * fix(editor): fix linting issues * feat: add vite-legacy support * fix: update workflow package interface imports to type imports. * chore: update package-lock.json * fix(editor) fix importing translations other than english * fix(editor): remove test command until vitest is added * fix: increase memory allocation for vite build * fix: add patch-package patches to n8n-custom docker build * fix: add performance and load time improvements * fix: add proper typing to setNodeType * chore: update package-lock.json * style: use generic type for reduce in setNodeType Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
199 lines
3.2 KiB
SCSS
199 lines
3.2 KiB
SCSS
@use "../mixins/mixins";
|
|
@use "../common/var";
|
|
@use "../common/transition";
|
|
|
|
@include mixins.b(date-editor) {
|
|
position: relative;
|
|
display: inline-block;
|
|
text-align: left;
|
|
|
|
&.el-input,
|
|
&.el-input__inner {
|
|
width: 100%;
|
|
}
|
|
|
|
@include mixins.m((monthrange)) {
|
|
&.el-input,
|
|
&.el-input__inner {
|
|
width: 300px;
|
|
}
|
|
}
|
|
|
|
@include mixins.m((daterange, timerange)) {
|
|
&.el-input,
|
|
&.el-input__inner {
|
|
width: 350px;
|
|
}
|
|
}
|
|
|
|
@include mixins.m(datetimerange) {
|
|
&.el-input,
|
|
&.el-input__inner {
|
|
width: 400px;
|
|
}
|
|
}
|
|
|
|
@include mixins.m(dates) {
|
|
.el-input__inner {
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
.el-icon-circle-close {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.el-range__icon {
|
|
font-size: 14px;
|
|
margin-left: -5px;
|
|
color: var(--color-text-lighter);
|
|
float: left;
|
|
line-height: 32px;
|
|
}
|
|
|
|
.el-range-input {
|
|
appearance: none;
|
|
border: none;
|
|
outline: none;
|
|
display: inline-block;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 39%;
|
|
text-align: center;
|
|
font-size: var.$font-size-base;
|
|
color: var(--color-text-dark);
|
|
|
|
&::placeholder {
|
|
color: var(--color-text-lighter);
|
|
}
|
|
}
|
|
|
|
.el-range-separator {
|
|
display: inline-block;
|
|
height: 100%;
|
|
padding: 0 5px;
|
|
margin: 0;
|
|
text-align: center;
|
|
line-height: 32px;
|
|
font-size: 14px;
|
|
width: 5%;
|
|
color: var(--color-text-dark);
|
|
}
|
|
|
|
.el-range__close-icon {
|
|
font-size: 14px;
|
|
color: var(--color-text-lighter);
|
|
width: 25px;
|
|
display: inline-block;
|
|
float: right;
|
|
line-height: 32px;
|
|
}
|
|
}
|
|
|
|
@include mixins.b(range-editor) {
|
|
&.el-input__inner {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 3px 10px;
|
|
}
|
|
|
|
.el-range-input {
|
|
line-height: 1;
|
|
}
|
|
|
|
@include mixins.when(active) {
|
|
border-color: var(--color-primary);
|
|
|
|
&:hover {
|
|
border-color: var(--color-primary);
|
|
}
|
|
}
|
|
|
|
@include mixins.m(medium) {
|
|
&.el-input__inner {
|
|
height: var.$input-medium-height;
|
|
}
|
|
|
|
.el-range-separator {
|
|
line-height: 28px;
|
|
font-size: var.$input-medium-font-size;
|
|
}
|
|
|
|
.el-range-input {
|
|
font-size: var.$input-medium-font-size;
|
|
}
|
|
|
|
.el-range__icon,
|
|
.el-range__close-icon {
|
|
line-height: 28px;
|
|
}
|
|
}
|
|
|
|
@include mixins.m(small) {
|
|
&.el-input__inner {
|
|
height: var.$input-small-height;
|
|
}
|
|
|
|
.el-range-separator {
|
|
line-height: 24px;
|
|
font-size: var.$input-small-font-size;
|
|
}
|
|
|
|
.el-range-input {
|
|
font-size: var.$input-small-font-size;
|
|
}
|
|
|
|
.el-range__icon,
|
|
.el-range__close-icon {
|
|
line-height: 24px;
|
|
}
|
|
}
|
|
|
|
@include mixins.m(mini) {
|
|
&.el-input__inner {
|
|
height: var.$input-mini-height;
|
|
}
|
|
|
|
.el-range-separator {
|
|
line-height: 20px;
|
|
font-size: var.$input-mini-font-size;
|
|
}
|
|
|
|
.el-range-input {
|
|
font-size: var.$input-mini-font-size;
|
|
}
|
|
|
|
.el-range__icon,
|
|
.el-range__close-icon {
|
|
line-height: 20px;
|
|
}
|
|
}
|
|
|
|
@include mixins.when(disabled) {
|
|
background-color: var.$input-disabled-fill;
|
|
border-color: var.$input-disabled-border;
|
|
color: var.$input-disabled-color;
|
|
cursor: not-allowed;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
border-color: var.$input-disabled-border;
|
|
}
|
|
|
|
input {
|
|
background-color: var.$input-disabled-fill;
|
|
color: var.$input-disabled-color;
|
|
cursor: not-allowed;
|
|
&::placeholder {
|
|
color: var.$input-disabled-placeholder-color;
|
|
}
|
|
}
|
|
|
|
.el-range-separator {
|
|
color: var.$input-disabled-color;
|
|
}
|
|
}
|
|
}
|