Skip to content

Commit

Permalink
Merge pull request #352 from ONLYOFFICE-PLUGINS/feature/style-for-radio
Browse files Browse the repository at this point in the history
Add style for radio
  • Loading branch information
K0R0L authored Aug 15, 2024
2 parents 5b0110a + 6c558b6 commit e499a8e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions sdkjs-plugins/v1/plugins.css
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,26 @@ input[type='checkbox'].form-control {
input[type='checkbox'].form-control:disabled {
opacity: .5;
}

input[type='radio'].form-control {
appearance: none;
-webkit-appearance: none;
border: 2px solid #fff;
border-radius: 100%;
box-shadow: 0 0 0 1px #cfcfcf;
height: 12px;
width: 12px;
accent-color: #444;
margin: 0 0 1px;
}

input[type='radio'].form-control:checked {
background-color: #444;
}

input[type='radio'].form-control:disabled {
opacity: .5;
}
}
/* label */

Expand Down

0 comments on commit e499a8e

Please sign in to comment.