Skip to content

Commit

Permalink
work for #6427 Remove sass variables usage
Browse files Browse the repository at this point in the history
  • Loading branch information
OlgaLarina committed Jan 29, 2025
1 parent eb5ec9f commit 9796fd9
Show file tree
Hide file tree
Showing 61 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/survey-creator-core/src/components/matrix-cell.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
&.svc-visible {
display: block;
border: var(--ctr-survey-matrix-cell-border-width, var(--lbr-stroke-x2)) solid
var(--ctr-survey-matrix-cell-border-color-edit, var(--sjs-primary-background-500, #19b394ff));
var(--ctr-survey-matrix-cell-border-color-selected, var(--sjs-secondary-background-500, #19b394ff));
}
}

Expand All @@ -62,7 +62,7 @@

.svc-matrix-cell__question-controls-button {
border: var(--ctr-survey-contextual-button-border-width, var(--lbr-stroke-x1)) solid
var(--ctr-survey-contextual-button-border-color, var(--sjs-border-25));
var(--ctr-survey-contextual-button-border-color, var(--sjs-border-25, #d4d4d4ff));
}

.svc-matrix-cell:hover .svc-matrix-cell__question-controls {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,9 @@
.sd-table__cell--column-title {
.svc-matrix-cell:not(:focus):focus-within {
.svc-matrix-cell--selected {
border: calcSize(0.25) solid $primary;
border-radius: calcSize(0.5);
border-radius: var(--ctr-survey-matrix-cell-corner-radius, var(--lbr-corner-radius-x075));
border: var(--ctr-survey-matrix-cell-border-width, var(--lbr-stroke-x2)) solid
var(--ctr-survey-matrix-cell-border-color-edit, var(--sjs-primary-background-500, #19b394ff));
display: block;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,14 @@ svc-tab-json-editor-textarea {
*/

.svc-json-errors {
--thm-json-error-row: calc(
var(--ctr-code-viewer-code-error-row-border-width-top, var(--sjs-stroke-x1)) +
var(--ctr-code-viewer-code-error-row-padding-top, var(--sjs-spacing-x1)) +
var(--ctr-code-viewer-code-error-row-padding-bottom, var(--sjs-spacing-x1)) +
var(--ctr-code-viewer-code-error-row-fix-button-icon-height, var(--sjs-font-size-x3))
);
display: flex;
max-height: calc(5 * var(--thm-json-error-row));
overflow-y: auto;
flex-direction: column;
padding: 0;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion visualRegressionTests/tests/designer/surface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ test("Panel empty", async (t) => {
};
await setJSON(json);
await takeElementScreenshot("surface-empty-panel.png", Selector(".svc-question__content"), t, comparer);
await t.hover(Selector(".svc-question__content div").withText("Add Question"));
await t.hover(Selector(".svc-panel__add-new-question"));
await takeElementScreenshot("surface-empty-panel-hover.png", Selector(".svc-question__content"), t, comparer);
});
});
Expand Down

0 comments on commit 9796fd9

Please sign in to comment.