mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-03 19:07:56 +09:00
Add solitude
This commit is contained in:
@@ -0,0 +1 @@
|
||||
@keyframes snackbar-progress{0%{width:0}to{width:100%}}.snackbar-container{transition:.5s;font-size:14px;position:fixed;align-items:center;line-height:22px;padding:18px 24px;bottom:-100px;top:-100px;opacity:0;z-index:9999;background:var(--efu-lighttext)!important;color:var(--efu-card-bg);border-radius:0;display:flex;justify-content:center;max-width:none;min-width:100%;margin:0;left:0;height:60px;transform:none}.snackbar-container p{color:var(--efu-card-bg)!important;font-weight:700!important;text-align:center;font-size:.8rem!important;display:flex;justify-content:center}.snackbar-container .action{display:inline-block;font-size:inherit;margin:0 0 0 24px;min-width:min-content;cursor:pointer;color:var(--efu-card-bg)!important;background:var(--efu-lighttext)!important;padding:4px 6px;font-weight:700;border-radius:8px;transition:.3s;border:var(--style-border)}.snackbar-container .action:hover{background:var(--efu-card-bg)!important;color:var(--efu-lighttext)!important}.snackbar-container:after{position:absolute;width:0;height:100%;left:0;top:0;background:var(--efu-white);opacity:.1;content:"";animation:snackbar-progress var(--efu-snackbar-time) linear forwards;pointer-events:none}.snackbar-pos.top-center,.snackbar-pos.top-left{bottom:auto;top:0;left:0}.snackbar-pos.top-right{bottom:auto;top:0;right:0}
|
||||
@@ -0,0 +1,77 @@
|
||||
#efuTalk
|
||||
display flex
|
||||
align-items center
|
||||
z-index 1001
|
||||
position fixed
|
||||
bottom 70px
|
||||
left 20px
|
||||
height 38px
|
||||
cursor pointer
|
||||
transition .3s
|
||||
box-shadow var(--efu-shadow-border)
|
||||
background var(--efu-card-bg)
|
||||
border-radius 20px
|
||||
overflow hidden
|
||||
padding 8px
|
||||
color var(--efu-fontcolor)
|
||||
width 42px
|
||||
border var(--style-border-always)
|
||||
|
||||
#efuTalk.on, #efuTalk:hover
|
||||
background var(--efu-lighttext)
|
||||
color var(--efu-card-bg)
|
||||
width 159px
|
||||
border-color var(--efu-lighttext)
|
||||
|
||||
#efuTalk span.efuTalkTitle
|
||||
display flex
|
||||
font-size 14px
|
||||
padding 0 12px
|
||||
line-height 1
|
||||
white-space nowrap
|
||||
opacity 0
|
||||
transition .3s
|
||||
|
||||
#post_chat_button
|
||||
display none
|
||||
|
||||
+maxWidth768()
|
||||
display block
|
||||
|
||||
#postChat_iframeContainer
|
||||
z-index 1000
|
||||
border var(--style-border-always)
|
||||
background var(--efu-card-bg)
|
||||
animation to_show_fromLeftBottom .2s ease-out
|
||||
border-radius 12px
|
||||
|
||||
+maxWidth768()
|
||||
width 100% !important
|
||||
height 100% !important
|
||||
bottom 0 !important
|
||||
left 0 !important
|
||||
max-width 100% !important
|
||||
max-height 100% !important
|
||||
border-radius 0 !important
|
||||
|
||||
#efuTalk.on span.efuTalkTitle, #efuTalk:hover span.efuTalkTitle
|
||||
color var(--efu-card-bg)
|
||||
opacity 1
|
||||
|
||||
#postChat_button
|
||||
display none !important
|
||||
|
||||
#efuTalk i.solitude.efuTalkIcon
|
||||
width 18px
|
||||
height 18px
|
||||
font-size 18px
|
||||
margin-left 3px
|
||||
line-height 1
|
||||
|
||||
@keyframes to_show_fromLeftBottom
|
||||
from
|
||||
opacity 0
|
||||
transform scale(0)
|
||||
to
|
||||
opacity 1
|
||||
transform scale(1)
|
||||
Reference in New Issue
Block a user