... | ... | @@ -247,7 +247,7 @@ The use of inline `styles` SHOULD be avoided. The UI developers should rather us |
|
|
|
|
|
## Naming Conventions in Style Files
|
|
|
|
|
|
There are many conventions for CSS naming to reduce the footprint and improve the styles clarity. We recommend using the `[BEM](https://getbem.com/introduction/)` naming conventions in the new Stork code. However, using it is not imposed by our coding guidelines. An alternative is to use the class names including the hyphens as word separators, with the object names at the end. For example:
|
|
|
There are many conventions for CSS naming to reduce the footprint and improve the styles clarity. We recommend using the [BEM](https://getbem.com/introduction/) naming conventions in the new Stork code. However, using it is not imposed by our coding guidelines. An alternative is to use the class names including the hyphens as word separators, with the object names at the end. For example:
|
|
|
|
|
|
- `served-scopes-help-box` - ID of a help box for server scopes
|
|
|
- `stork-version-tooltip` - ID of a tooltip for stork version element
|
... | ... | |