I would like to reuse the styles for both, what do you think? If you don't like my idea, please forget my comment

```css
body[data-online = 'offline'] li > div > img[offline_ready = 'false'], body[data-online = 'offline'] li > div > span[offline_ready = 'false'] {
   filter: url('app_offline_filter.svg#grayscale');
   opacity: 0.3;
}

body[data-online = 'offline'] li > div > span[offline_ready = 'false'] {
   opacity: 0.5;
}

```