Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
<style> .wsc-theme-custom .wsc-badge__label-button { background-color: blue !important; } </style> |
Examples of current styles for main UI elements
Below are examples of current CSS styles for UI elements that you might want to overwrite with your custom styles.
Spinner inside badge
Code Block | ||||
---|---|---|---|---|
| ||||
.wsc-badge--checking .wsc-badge__label-button {
...
background-image: url(svg/spinner.svg) !important;
...
} |
Underlines for spelling and grammar type suggestions
Code Block | ||||
---|---|---|---|---|
| ||||
.wsc-spelling-problem {
...
border-bottom: 2px solid rgba(234,28,35,.65)!important;
...
}
.wsc-grammar-problem {
...
border-bottom: 2px solid rgba(0,98,231,.65)!important;
...
} |
Hovered state of spelling and grammar type suggestions
Code Block | ||||
---|---|---|---|---|
| ||||
.wsc-spelling-problem.wsc-problem-text--active {
background-color: rgba(234,28,35,.15);
}
.wsc-grammar-problem.wsc-problem-text--active {
background-color: rgba(0,98,231,.15);
} |
Badge pulsation animation
Code Block | ||||
---|---|---|---|---|
| ||||
.wsc-theme-customerThemeName.wsc-badge--pulsing:not(.wsc-badge--small):after {
-webkit-box-shadow: inset 0px 0px 8px 0 green;
-moz-box-shadow: inset 0px 0px 8px 0 green;
box-shadow: inset 0px 0px 8px 0 green;
} |