/* ===== Notanote 全局按钮点击反馈 =====
   Nano 与 Main 共用这一份，由 static.notanote.cn 下发；
   必须在各站自己的样式之后加载（各页都紧跟在 alert.css 后面）。

   效果：按下缩小、松手回弹。

   ⚠ transition 是简写，这里写一份会整条替换掉各站按钮原有的过渡，所以各站用到的
   可过渡属性必须一并列出（.refreshBtn / .passkeyAddBtn / .fab-button 只声明了
   背景与边框），否则它们原本平滑的 hover 会退化成硬切。 */

button:not(:disabled) {
	transition:
		transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1),
		background-color 0.15s ease,
		border-color 0.15s ease,
		color 0.15s ease,
		box-shadow 0.15s ease,
		opacity 0.15s ease;
}

/* 按下要跟手：收紧时长并去掉回弹，回弹只留给松手那一下 */
button:not(:disabled):active {
	transform: scale(0.94);
	transition:
		transform 0.08s ease-out,
		background-color 0.15s ease,
		border-color 0.15s ease,
		color 0.15s ease,
		box-shadow 0.15s ease,
		opacity 0.15s ease;
}
