diff --git a/src/routes/Calendar/List/Item/Item.less b/src/routes/Calendar/List/Item/Item.less index b11feda2a..0cce6c582 100644 --- a/src/routes/Calendar/List/Item/Item.less +++ b/src/routes/Calendar/List/Item/Item.less @@ -82,6 +82,46 @@ } } + &.placeholder { + opacity: 0.7; + pointer-events: none; + + .text { + width: 8rem; + height: 1.2rem; + background-color: var(--overlay-color); + border-radius: 0.2rem; + } + + .video { + flex: none; + position: relative; + display: flex; + flex-direction: row; + align-items: center; + justify-content: space-between; + gap: 1rem; + height: 3rem; + padding: 0 1rem; + + .name { + flex: auto; + width: 12rem; + height: 1.2rem; + background-color: var(--overlay-color); + border-radius: 0.2rem; + } + + .info { + flex: none; + width: 4rem; + height: 1.2rem; + background-color: var(--overlay-color); + border-radius: 0.2rem; + } + } + } + &.today { .heading { background-color: var(--primary-accent-color); diff --git a/src/routes/Calendar/List/Item/ItemPlaceholder.tsx b/src/routes/Calendar/List/Item/ItemPlaceholder.tsx new file mode 100644 index 000000000..5d032e712 --- /dev/null +++ b/src/routes/Calendar/List/Item/ItemPlaceholder.tsx @@ -0,0 +1,23 @@ +// Copyright (C) 2017-2025 Smart code 203358507 + +import React from 'react'; +import classNames from 'classnames'; +import styles from './Item.less'; + +const ItemPlaceholder = () => { + return ( +