Skip to content

Commit

Permalink
feat: Add disabled state to pill css
Browse files Browse the repository at this point in the history
  • Loading branch information
anshg1214 committed Sep 3, 2024
1 parent 73892cf commit 941af6b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 0 additions & 5 deletions frontend/css/fresh-releases.less
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
display: flex;
justify-content: center;
align-items: center;

#user-releases:disabled {
color: rgba(141, 141, 141, 0.5);
border-color: rgba(141, 141, 141, 0.5);
}
}

.releases-page {
Expand Down
7 changes: 7 additions & 0 deletions frontend/css/pill.less
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,11 @@
background: transparent;
border: none;
}

&.disabled,
&[disabled],
fieldset[disabled] & {
color: rgba(141, 141, 141, 0.5);
border-color: rgba(141, 141, 141, 0.5);
}
}

0 comments on commit 941af6b

Please sign in to comment.