Skip to content

Commit

Permalink
fix(styling): tweak Composite Editor form disabled buttons style
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Mar 2, 2024
1 parent db48377 commit 5052ba1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/common/src/styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,8 @@ $slick-editor-modal-container-top: 30px !default;
$slick-editor-modal-container-left: 50% !default;
$slick-editor-modal-container-transform: translate(-50%) !default;
$slick-editor-modal-container-z-index: 1050 !default;
$slick-editor-modal-default-btn-disabled-bg-color: #eeeeee !default;
$slick-editor-modal-default-btn-disabled-color: #bababa !default;
$slick-editor-modal-header-bg-color: #ffffff !default;
$slick-editor-modal-header-padding-left-right: 8px !default;
$slick-editor-modal-header-padding-top-bottom: 12px !default;
Expand Down Expand Up @@ -1060,6 +1062,8 @@ $slick-empty-data-warning-z-index: 10 !default;
--slick-editing-field-border: 1px solid #7c7c7c;
--slick-editor-input-disabled-color: #404040;
--slick-editor-placeholder-color: #999;
--slick-editor-modal-default-btn-disabled-bg-color: #3f3f3f;
--slick-editor-modal-default-btn-disabled-color: #5b5b5b;
--slick-editor-modal-detail-container-border-modified: #333333;
--slick-editor-modal-close-btn-border-left: var(--slick-base-dark-menu-border);
--slick-editor-modal-container-bg-color: #333333;
Expand Down
5 changes: 5 additions & 0 deletions packages/common/src/styles/slick-editors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,11 @@
margin: var(--slick-editor-modal-editor-btn-reset-margin, $slick-editor-modal-editor-btn-reset-margin);
}

.input-group-btn .btn-default:disabled {
background-color: var(--slick-editor-modal-default-btn-disabled-bg-color, $slick-editor-modal-default-btn-disabled-bg-color);
color: var(--slick-editor-modal-default-btn-disabled-color, $slick-editor-modal-default-btn-disabled-color);
}

.close {
cursor: pointer;
position: absolute;
Expand Down

0 comments on commit 5052ba1

Please sign in to comment.