2015-11-30 18:32:01 +08:00
|
|
|
details {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
details > *,
|
|
|
|
details .lightbox-wrapper {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-03-12 00:51:16 +08:00
|
|
|
details,
|
|
|
|
summary {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2015-11-30 18:32:01 +08:00
|
|
|
summary:first-of-type {
|
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
summary:before {
|
|
|
|
content: '\25BA';
|
|
|
|
margin-right: .25em;
|
|
|
|
}
|
|
|
|
|
2016-04-07 03:44:29 +08:00
|
|
|
details[open] > * {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2015-11-30 18:32:01 +08:00
|
|
|
details[open] > summary:before,
|
|
|
|
details.open > summary:before {
|
|
|
|
content: '\25BC';
|
|
|
|
}
|
|
|
|
|
|
|
|
details[open] > summary:first-of-type ~ *,
|
|
|
|
details.open > summary:first-of-type ~ * {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* hide native indicator */
|
|
|
|
summary::-webkit-details-marker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* FF: hide div generated by lazyYT plugin */
|
|
|
|
details .lazyYT-container {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-03-12 00:51:16 +08:00
|
|
|
|
|
|
|
|
|
|
|
.elided {
|
|
|
|
|
|
|
|
summary:before {
|
|
|
|
content: '' !important;
|
2018-02-09 11:59:11 +08:00
|
|
|
display: none;
|
2016-03-12 00:51:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
summary {
|
|
|
|
@include unselectable;
|
2018-02-09 11:59:11 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
text-align: center;
|
2016-03-12 00:51:16 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
color: #aaa;
|
|
|
|
background: #f1f1f1;
|
|
|
|
border: 1px solid #ddd;
|
2018-02-09 11:59:11 +08:00
|
|
|
width: 21px;
|
2016-03-12 00:51:16 +08:00
|
|
|
line-height: 12px;
|
2018-02-09 11:59:11 +08:00
|
|
|
|
2016-03-12 00:51:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
summary:hover {
|
|
|
|
color: #222;
|
|
|
|
background: #d8d8d8;
|
|
|
|
border-color: #cdcdcd;
|
|
|
|
}
|
|
|
|
}
|