Skip to content

Commit

Permalink
Style readonly field state
Browse files Browse the repository at this point in the history
  • Loading branch information
jonom committed Sep 10, 2021
1 parent d2a5198 commit 711381e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/dist/styles/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion client/src/styles/main.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
.focuspoint-field {
$base: &;

div.field {
display: none;
}

&--debug {
display: flex;
flex-flow: row wrap;
Expand Down Expand Up @@ -68,6 +70,13 @@
width: 100%;
height: 100%;
border-radius: 3px;
box-shadow: inset 0 1px 5px rgba(0,0,0,0.3);
box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.3);
}
}

.focuspoint.readonly {
.focuspoint-picker__image {
filter: grayscale(100%);
opacity: 0.7;
}
}

0 comments on commit 711381e

Please sign in to comment.