diff --git a/css/popup.scss b/css/popup.scss index 869e26c..764f83b 100644 --- a/css/popup.scss +++ b/css/popup.scss @@ -51,6 +51,7 @@ $buttonHeight: 36px; padding: 4px; cursor: pointer; box-sizing: border-box; + transition: opacity .12s ease; &:hover { opacity: .8; @@ -75,10 +76,13 @@ $buttonHeight: 36px; margin-left: 8px; border: none; height: $buttonHeight; + line-height: $buttonHeight; padding: 0 8px; min-width: 60px; + text-align: center; cursor: pointer; background-color: var(--title-bg-color); + transition: opacity .12s ease; &:hover { opacity: .8; diff --git a/css/ui.scss b/css/ui.scss index 847a1ab..585b78a 100644 --- a/css/ui.scss +++ b/css/ui.scss @@ -1,4 +1,5 @@ @import './checkbox.scss'; @import './dropdown.scss'; @import './tooltip.scss'; -@import './grid.scss'; \ No newline at end of file +@import './grid.scss'; +@import './popup.scss'; \ No newline at end of file diff --git a/index.html b/index.html index a820516..9559e81 100644 --- a/index.html +++ b/index.html @@ -22,6 +22,7 @@
+ 创建弹出窗口。 +
+