영어 위키백과>Tomybrz m편집 요약 없음 |
영어 위키백과>Tomybrz m편집 요약 없음 |
||
24번째 줄: | 24번째 줄: | ||
} | } | ||
</templatedata> | </templatedata> | ||
To use green color :hover and :active, paste on [[Special:MyPage/common.css|your common.css]]: | |||
<syntaxhighlight lang="css"> | |||
.mw-ui-button.mw-ui-constructive:hover { | |||
background-color:#00d6a8 !important; | |||
border-color:#00d6a8 !important; | |||
} | |||
.mw-ui-button.mw-ui-constructive:active { | |||
background-color: #007c61 !important; | |||
border-color: #007c61 !important; | |||
box-shadow: none !important; | |||
} | |||
</syntaxhighlight> |
2019년 6월 25일 (화) 03:53 판
Example
→ {{Clickable button|color=white}}
→ {{Clickable button|color=green}}
→ {{Clickable button|color=red}}
→ {{Clickable button|color=blue}}
Templatedata
Creates a OOUI styled button.
변수 | 설명 | 형식 | 상태 | |
---|---|---|---|---|
Label | 1 | 설명 없음 | 알 수 없음 | 필수 |
Color of the button | color | Can be blue (progressive), red (destructive) or white | 알 수 없음 | 제안 |
To use green color :hover and :active, paste on your common.css:
.mw-ui-button.mw-ui-constructive:hover {
background-color:#00d6a8 !important;
border-color:#00d6a8 !important;
}
.mw-ui-button.mw-ui-constructive:active {
background-color: #007c61 !important;
border-color: #007c61 !important;
box-shadow: none !important;
}