2017-01-30 2 views

답변

3

는이 조각을 시도 할 수 있습니다 라벨 및 입력 색상을 변경하려면 :

/* This style will affect only MyRadioGroup widget on the MyPage */ 
.app-MyPage-MyRadioGroup-Item>label { 
    color: green; 
} 

.app-MyPage-MyRadioGroup-Item>input { 
    border-color: red; 
} 

.app-MyPage-MyRadioGroup-Item>input:checked { 
    border-color: red; 
} 

.app-MyPage-MyRadioGroup-Item>input:checked:after { 
    background-color: red; 
} 

/* This style will affect all RadioGroup widgets in the app */ 
.app-RadioGroup-Item>label { 
    color: green; 
} 

.app-RadioGroup-Item>input { 
    border-color: red; 
} 

.app-RadioGroup-Item>input:checked { 
    border-color: red; 
} 

.app-RadioGroup-Item>input:checked:after { 
    background-color: red; 
} 

참고 : 이러한 스타일은 비활성 상태에 대한 스타일을 우선합니다.

+0

잘 했어, 고마워! – Scott

+1

라디오 그룹 선택기를 흰색으로 만드는 것과 비슷한 것이 있습니까? .app-RadioGroup-Item> 입력을 시도했지만 행운은 없습니다. – Scott

+0

스타일 입력에 대한 답변도 업데이트했습니다. –