Skip to content

Commit

Permalink
IBX-3973: Nontranslatable and disabled fields are not greyed out in c…
Browse files Browse the repository at this point in the history
…ontent editing UI (#57)
  • Loading branch information
GrabowskiM authored Nov 18, 2022
1 parent b1e805a commit 812020f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/bundle/Resources/public/scss/_general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,20 @@
}
}

.ibexa-field-edit--ezrichtext.ibexa-field-edit--nontranslatable .ibexa-data-source {
.ibexa-data-source__richtext {
color: $ibexa-color-dark-300;
background-color: $ibexa-color-light-300;
pointer-events: none;
}

.ibexa-richtext-tools {
color: $ibexa-color-dark-400;
background-color: $ibexa-color-light-400;
pointer-events: none;
}
}

.ck {
&.ck-editor__editable_inline {
border: none;
Expand Down
2 changes: 2 additions & 0 deletions src/bundle/Resources/public/scss/variables/colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ $ibexa-color-primary: #ae1164 !default;
$ibexa-color-primary-200: #eecfe0 !default;

$ibexa-color-light: #e0e0e8 !default;
$ibexa-color-light-400: #ececf1 !default;
$ibexa-color-light-300: #f3f3f6 !default;
$ibexa-color-light-100: #fbfbfc !default;

$ibexa-color-dark: #131c26 !default;
$ibexa-color-dark-400: #71767c !default;
$ibexa-color-dark-300: #a0a4a8 !default;
$ibexa-color-dark-200: #cfd1d3 !default;

$ibexa-color-danger: #db0032 !default;
Expand Down

0 comments on commit 812020f

Please sign in to comment.