Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
915 Widoki

Salam ,How can i style XML view ,should i use scss or another thing ?


in this example I am trying to change colors of state selection options but no way !


CSCC code


here is the xml code 


file structure 


manifest 


nothing is getting changed


Awatar
Odrzuć
Najlepsza odpowiedź

Use single selector when targeting one class. 

 A variety of solution options are available.

 grouping selector when targeting multiple classes with the same styles.

.teacher-list ,.custom-state-field {
background-color: #e0f7fa;
font-weight: bold;
color: #1a73e8 !important;
padding: 5px;
border-radius: 4px;
} // this you won't change xml file


descendant selector when targeting a class inside another class.   

<group class="teacher-list">  // here you won't change css







Awatar
Odrzuć
Najlepsza odpowiedź

The path needed is relative to the folder where the manifest is located.

You have no "Hospital" folder in the same folder as the manifest. You have just the "static" folder.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
gru 20
67
2
sie 22
20463
4
kwi 18
4128
1
cze 15
4557
0
sty 25
1428