[ALOY-856] Support CSS like Selectors in TSS style files
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Styling |
Labels | n/a |
Reporter | Mauro Parra-Miranda |
Assignee | Unknown |
Created | 2013-10-22T14:09:33.000+0000 |
Updated | 2018-03-07T22:26:14.000+0000 |
Description
Original question: http://developer.appcelerator.com/question/158649/css-like-tss-multiple-selectors-etc
Since TSS is leant on CSS, it would be great to provide the same selecting methods:
// multiple Selector with the same styles
Label, TextField, TextArea {
color: "black"
}
// all Labels in a certain class/id
.myClass Label {
color: "black"
}
// mix of everything
Label, .myClass, #andAnId {
color: "black"
}
These are only some examples, the list is not completing.
"multiple Selector with the same styles" would be a very nice improvement.