편집 요약 없음 |
편집 요약 없음 |
||
| 6번째 줄: | 6번째 줄: | ||
display: flex; | display: flex; | ||
contain: content; | |||
background: color-mix(in srgb,var(--site-background),#ffffffcc 95%); | background: color-mix(in srgb,var(--site-background),#ffffffcc 95%); | ||
backdrop-filter: var(--blur); | backdrop-filter: var(--blur); | ||
box-shadow: #00000030 0px 0px 15px 0px; | |||
border-radius: var(--radius); | border-radius: var(--radius); | ||
} | } | ||
| 24번째 줄: | 26번째 줄: | ||
cursor: pointer; | cursor: pointer; | ||
transition: | transition: filter 250ms ease, box-shadow 250ms ease-out; | ||
user-select: none; | user-select: none; | ||
-webkit-user-select: none; | -webkit-user-select: none; | ||
-ms-user-select: none; | -ms-user-select: none; | ||
} | |||
#buttons > button:first-child { | |||
border-radius: var(--radius) 0 0 var(--radius); | |||
} | |||
#buttons > button:last-child { | |||
border-radius: 0 var(--radius) var(--radius) 0; | |||
} | |||
#buttons > button:active { | |||
filter: blur(1px); | |||
box-shadow: #00000000 0 0, inset #00000030 0px 0px 8px 0px; | |||
} | |||
#buttons > button:hover:not(:active) { | |||
box-shadow: #00000030 0px 0px 15px 0px, inset #00000000 0 0; | |||
} | } | ||