更多操作
无编辑摘要 |
无编辑摘要 |
||
(未显示同一用户的1个中间版本) | |||
第1行: | 第1行: | ||
.collpased-container{ | .collpased-container{ | ||
margin-top: 0; | |||
margin-bottom: 10px; | |||
margin- | |||
} | } | ||
. | .collpased-title{ | ||
box-sizing: border-box; | |||
border: | background-color: #f8f9fa; | ||
display: flex; | |||
height: 40px; | |||
flex-direction: row; | |||
align-items: center; | |||
padding-left: 25px; | |||
border: 0.5px solid #b9b9b9; | |||
} | } | ||
.collpased- | .collpased-title::after{ | ||
content: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-caret-down" viewBox="0 0 16 16"> <path d="M3.204 5h9.592L8 10.481 3.204 5zm-.753.659 4.796 5.48a1 1 0 0 0 1.506 0l4.796-5.48c.566-.647.106-1.659-.753-1.659H3.204a1 1 0 0 0-.753 1.659z"/> </svg>'); | |||
background:white; | width: 30px; | ||
height: 15px; | |||
width: | transition-duration: 0.2s; | ||
/*margin: 10px 5px 0 10px;*/ | |||
} | |||
.collpased-title:hover{ | |||
background-color: white; | |||
border: 1.5px solid #bebebe; | |||
transition-duration: 0.3s; | |||
} | |||
.collpased-title:hover::after{ | |||
content: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-caret-down" viewBox="0 0 20 20"> <path d="M3.204 5h9.592L8 10.481 3.204 5zm-.753.659 4.796 5.48a1 1 0 0 0 1.506 0l4.796-5.48c.566-.647.106-1.659-.753-1.659H3.204a1 1 0 0 0-.753 1.659z"/> </svg>'); | |||
width: 32.5px; | |||
height: 15px; | |||
transition-duration: 0.3s; | |||
/*margin: 10px 5px 0 10px;*/ | |||
} | |||
.collpased-title:active{ | |||
border: 3px solid #0023e5; | |||
transition-duration: 0.1s; | |||
} | } | ||
.collpased-content{ | .collpased-content{ | ||
padding: 5px 20px 5px 20px; | |||
border-right: 0.5px solid #b9b9b9; | |||
border-left: 0.5px solid #b9b9b9; | |||
border-bottom: 0.5px solid #b9b9b9; | |||
} | } | ||
. | .title-content{ | ||
display: inline; | |||
flex-grow: 1; | |||
} | } |
2023年2月10日 (五) 18:24的最新版本
.collpased-container{
margin-top: 0;
margin-bottom: 10px;
}
.collpased-title{
box-sizing: border-box;
background-color: #f8f9fa;
display: flex;
height: 40px;
flex-direction: row;
align-items: center;
padding-left: 25px;
border: 0.5px solid #b9b9b9;
}
.collpased-title::after{
content: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-caret-down" viewBox="0 0 16 16"> <path d="M3.204 5h9.592L8 10.481 3.204 5zm-.753.659 4.796 5.48a1 1 0 0 0 1.506 0l4.796-5.48c.566-.647.106-1.659-.753-1.659H3.204a1 1 0 0 0-.753 1.659z"/> </svg>');
width: 30px;
height: 15px;
transition-duration: 0.2s;
/*margin: 10px 5px 0 10px;*/
}
.collpased-title:hover{
background-color: white;
border: 1.5px solid #bebebe;
transition-duration: 0.3s;
}
.collpased-title:hover::after{
content: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-caret-down" viewBox="0 0 20 20"> <path d="M3.204 5h9.592L8 10.481 3.204 5zm-.753.659 4.796 5.48a1 1 0 0 0 1.506 0l4.796-5.48c.566-.647.106-1.659-.753-1.659H3.204a1 1 0 0 0-.753 1.659z"/> </svg>');
width: 32.5px;
height: 15px;
transition-duration: 0.3s;
/*margin: 10px 5px 0 10px;*/
}
.collpased-title:active{
border: 3px solid #0023e5;
transition-duration: 0.1s;
}
.collpased-content{
padding: 5px 20px 5px 20px;
border-right: 0.5px solid #b9b9b9;
border-left: 0.5px solid #b9b9b9;
border-bottom: 0.5px solid #b9b9b9;
}
.title-content{
display: inline;
flex-grow: 1;
}