Template:Multiple choice option/styles.css:修订间差异
来自存档计划,Project Archive by Lakejason0
添加的内容 删除的内容
第8行: | 第8行: | ||
margin: 0px 5px; |
margin: 0px 5px; |
||
border-radius: 3px; |
border-radius: 3px; |
||
border: 1px solid #cccccc; |
|||
} |
|||
.multiple-choice-label:hover { |
|||
background-color: #e9e9e9; |
|||
border: 1px solid #cccccc; |
border: 1px solid #cccccc; |
||
} |
} |
||
第13行: | 第18行: | ||
input[type=radio].multiple-choice-radio-button:checked + .multiple-choice-label { |
input[type=radio].multiple-choice-radio-button:checked + .multiple-choice-label { |
||
background: #36c; |
background: #36c; |
||
border-color: # |
border-color: #36c; |
||
color: white; |
color: white; |
||
} |
|||
input[type=radio].multiple-choice-radio-button:checked + .multiple-choice-label:hover { |
|||
background: #447ff5; |
|||
border-color: #447ff5; |
|||
color: white; |
|||
} |
|||
input[type=radio].multiple-choice-radio-button:checked + .multiple-choice-label:focus { |
|||
box-shadow: inset 0 0 0 1px #36c, inset 0 0 0 2px #fff; |
|||
} |
} |
2021年11月28日 (日) 06:30的版本
input[type=radio].multiple-choice-radio-button {
display: none;
}
.multiple-choice-label {
display: inline-block;
padding: 6px;
margin: 0px 5px;
border-radius: 3px;
border: 1px solid #cccccc;
}
.multiple-choice-label:hover {
background-color: #e9e9e9;
border: 1px solid #cccccc;
}
input[type=radio].multiple-choice-radio-button:checked + .multiple-choice-label {
background: #36c;
border-color: #36c;
color: white;
}
input[type=radio].multiple-choice-radio-button:checked + .multiple-choice-label:hover {
background: #447ff5;
border-color: #447ff5;
color: white;
}
input[type=radio].multiple-choice-radio-button:checked + .multiple-choice-label:focus {
box-shadow: inset 0 0 0 1px #36c, inset 0 0 0 2px #fff;
}