diff options
author | Volpeon <git@volpeon.ink> | 2021-12-22 08:04:52 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-12-22 08:04:52 +0100 |
commit | d3b1853573252d1464ac6ca8388960e1df3b0eea (patch) | |
tree | 07b3423a8582029663fdb11fce180f0cee62f5ce /assets/css | |
parent | More compact list templates (diff) | |
download | volpeon.ink-d3b1853573252d1464ac6ca8388960e1df3b0eea.tar.gz volpeon.ink-d3b1853573252d1464ac6ca8388960e1df3b0eea.tar.bz2 volpeon.ink-d3b1853573252d1464ac6ca8388960e1df3b0eea.zip |
Card: show hidden row if user device is touch-based
Diffstat (limited to 'assets/css')
-rw-r--r-- | assets/css/components/_card.scss | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/assets/css/components/_card.scss b/assets/css/components/_card.scss index 7fa54e5..e1f92b0 100644 --- a/assets/css/components/_card.scss +++ b/assets/css/components/_card.scss | |||
@@ -127,6 +127,12 @@ | |||
127 | transition: opacity .2s; | 127 | transition: opacity .2s; |
128 | opacity: 0; | 128 | opacity: 0; |
129 | background-color: prop(--colors --hover --bg); | 129 | background-color: prop(--colors --hover --bg); |
130 | |||
131 | @media (hover: none) { | ||
132 | position: static; | ||
133 | opacity: 1; | ||
134 | background-color: transparent; | ||
135 | } | ||
130 | } | 136 | } |
131 | } | 137 | } |
132 | 138 | ||