跳转到内容

Template:Multiple choice option/styles.css:修订间差异

添加的内容 删除的内容
Lakejason0
Lakejason0留言 | 贡献 (// Edit via Wikiplus)
Lakejason0
Lakejason0留言 | 贡献 (// Edit via Wikiplus)
第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: #eee;
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;
}
Cookie帮助我们提供我们的服务。通过使用我们的服务,您同意我们使用cookie。