Titanium JIRA Archive
Alloy (ALOY)

[ALOY-856] Support CSS like Selectors in TSS style files

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsStyling
Labelsn/a
ReporterMauro Parra-Miranda
AssigneeUnknown
Created2013-10-22T14:09:33.000+0000
Updated2018-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.

Comments

  1. Vincent Degroote 2014-09-10

    "multiple Selector with the same styles" would be a very nice improvement.

JSON Source