Skip to content

Commit

Permalink
to fixup to readonly on textinput
Browse files Browse the repository at this point in the history
  • Loading branch information
jparez committed Jan 13, 2025
1 parent 8d31551 commit c3e956e
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions src/scss/components/_textInput.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,26 @@
display: flex;
align-items: center;

&:has(.text-input:read-only) {
border-bottom: 2px solid transparent;
}

.text-input{
text-align: right;
padding-left: 0;
padding-right: 0;
&:focus {
outline: none;
}
border: none;
background-color: transparent;
color: var(--gm-input-text-color);

&:focus {
outline: none;
}

&:read-only {
background: color-mix(in srgb, var(--gm-btn-bg-color-disabled), transparent 80%); //TODO
border: none;
color: var(--gm-btn-bg-color-disabled) //TODO
}
}
}

0 comments on commit c3e956e

Please sign in to comment.