Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/fwf 3964 task variable fixes #356

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 42 additions & 28 deletions forms-flow-theme/scss/external/formio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,36 +45,50 @@ $primary: var(--ff-primary);
}


.formio-hilighted{
box-sizing: border-box;
border-radius: var(--radius-050);
border: 2px dashed var(--ff-base-600);
padding: 8px 10px; //TBD need to update
}
// Adjust the hover transition on the component in the TaskVariable UI to prevent size change glitches
.formio-component {
transition: border 0.05s ease, padding 0.3s ease;
}

//TBD : getting hovered all the component including panels,columns,etc.need to exclude those items.
// .form-hilighter{
// .formio-form{
// .formio-component{
// &:hover{
// border-style: dotted;
// padding: 10px;
// border-color: var(--ff-primary-200);
// cursor: pointer;
// }
// }
// }
// }

.formio-component{
.formio-hilighted {
box-sizing: border-box;
border-radius: var(--radius-050);
border: 2px dashed var(--ff-base-600) !important;
padding: 8px 10px; //TBD need to update
}

.formio-component {
transition: border 0.05s ease, padding 0.3s ease;
cursor: pointer !important;

.bg-default {
background: $base-100 !important;
.card-title{

.card-title {
color: $primary !important;
}
}
}
}

// Define a list of ignored components for reuse
$ignored-components: (
'.formio-component-button',
'.formio-component-columns',
'.formio-component-panel',
'.formio-component-well',
'.formio-component-container',
'.formio-component-htmlelement',
'.formio-component-tabs'
);

.task-variable-modal {
.formio-form {
.formio-component {
// Apply hover effect only if the component is not in the ignored list
&:not(#{$ignored-components}) {
&:hover {
border-style: dotted;
padding: 8px 10px;
border-color: var(--ff-primary-200);
border-radius: var(--radius-050);
}
}
}
}
}

Loading