SillyTavern/public/scripts/extensions/quick-reply/style.css

115 lines
1.9 KiB
CSS
Raw Normal View History

2023-07-20 19:32:15 +02:00
#quickReplyBar {
outline: none;
/*
2023-07-20 19:32:15 +02:00
padding: 5px 0;
2023-09-16 08:42:26 +02:00
border-bottom: 1px solid var(--SmartThemeBorderColor);
*/
2023-07-20 19:32:15 +02:00
margin: 0;
transition: 0.3s;
opacity: 0.7;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
display: none;
max-width: 100%;
overflow-x: auto;
order: 1;
2023-12-06 13:53:29 +01:00
position: relative;
2023-07-20 19:32:15 +02:00
}
#quickReplies {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 5px;
width: 100%;
}
2023-11-27 01:48:05 +01:00
#quickReplyPopoutButton {
position: absolute;
right: 5px;
top: 0px;
}
2023-07-20 19:32:15 +02:00
#quickReplies div {
color: var(--SmartThemeBodyColor);
background-color: var(--black50a);
2023-09-16 08:42:26 +02:00
border: 1px solid var(--SmartThemeBorderColor);
2023-07-20 19:32:15 +02:00
border-radius: 10px;
padding: 3px 5px;
margin: 3px 0;
2023-11-27 01:48:05 +01:00
/* width: min-content; */
2023-07-20 19:32:15 +02:00
cursor: pointer;
transition: 0.3s;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
#quickReplies div:hover {
opacity: 1;
filter: brightness(1.2);
cursor: pointer;
2023-11-23 13:21:25 +01:00
}
.ctx-blocker {
2023-11-24 09:45:13 +01:00
/* backdrop-filter: blur(1px); */
/* background-color: rgba(0 0 0 / 10%); */
2023-11-23 13:21:25 +01:00
bottom: 0;
left: 0;
position: fixed;
right: 0;
top: 0;
z-index: 999;
}
2023-11-24 09:45:13 +01:00
2023-11-23 13:21:25 +01:00
.ctx-menu {
2023-11-28 12:26:36 +01:00
position: absolute;
2023-11-23 13:21:25 +01:00
overflow: visible;
}
2023-11-24 09:45:13 +01:00
2023-11-23 13:21:25 +01:00
.list-group .list-group-item.ctx-header {
font-weight: bold;
cursor: default;
}
2023-11-24 09:45:13 +01:00
.ctx-item+.ctx-header {
2023-11-23 13:21:25 +01:00
border-top: 1px solid;
}
2023-11-24 09:45:13 +01:00
2023-11-23 13:21:25 +01:00
.ctx-item {
position: relative;
}
2023-11-24 09:45:13 +01:00
2023-11-23 21:34:20 +01:00
.ctx-expander {
border-left: 1px solid;
margin-left: 1em;
text-align: center;
width: 2em;
}
2023-11-24 09:45:13 +01:00
2023-11-23 21:34:20 +01:00
.ctx-expander:hover {
font-weight: bold;
2023-11-23 13:21:25 +01:00
}
2023-11-24 09:45:13 +01:00
2023-11-23 13:21:25 +01:00
.ctx-sub-menu {
position: absolute;
top: 0;
left: 100%;
2023-11-23 21:34:20 +01:00
}
2023-11-24 09:45:13 +01:00
2023-11-23 21:34:20 +01:00
@media screen and (max-width: 1000px) {
.ctx-blocker {
position: absolute;
}
2023-11-24 09:45:13 +01:00
2023-11-23 21:34:20 +01:00
.list-group .list-group-item.ctx-item {
padding: 1em;
}
2023-11-28 12:26:36 +01:00
}