diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-03-22 18:56:47 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-03-22 18:56:47 +0900 |
| commit | 4eb05efa7c2e482db31484d26d202cf3c9ec7e8d (patch) | |
| tree | 37bc1f77364fd29240485605101f3a9ac040e545 /src/client/style.scss | |
| parent | Merge branch 'develop' (diff) | |
| parent | 12.24.0 (diff) | |
| download | misskey-4eb05efa7c2e482db31484d26d202cf3c9ec7e8d.tar.gz misskey-4eb05efa7c2e482db31484d26d202cf3c9ec7e8d.tar.bz2 misskey-4eb05efa7c2e482db31484d26d202cf3c9ec7e8d.zip | |
Merge branch 'develop'
Diffstat (limited to 'src/client/style.scss')
| -rw-r--r-- | src/client/style.scss | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/client/style.scss b/src/client/style.scss index fee64c7ca8..7b509e5b51 100644 --- a/src/client/style.scss +++ b/src/client/style.scss @@ -292,7 +292,7 @@ main ._panel { box-shadow: 0 1px 0 0 var(--divider), 0 -1px 0 0 var(--divider); } -._panel._button { +.__panelButton { display: flex; width: 100%; min-height: 48px; @@ -300,6 +300,24 @@ main ._panel { justify-content: center; } +._panel._button { + @extend .__panelButton; +} + +._panel._buttonPrimary { + @extend .__panelButton; + color: var(--accent); + background: var(--panel); + + &:not(:disabled):hover { + background: var(--panel); + } + + &:not(:disabled):active { + background: var(--panel); + } +} + ._card { @extend ._panel; |