~cytrogen/masto-fe

ref: 7cfcd23dadc97a0ef287a2a542e3eb21c88eb70f masto-fe/app/javascript/flavours/glitch/styles/components/sensitive.scss -rw-r--r-- 500 bytes
7cfcd23d — Cytrogen Convert 17 SCSS files to CSS custom properties (Phase 3-4) 14 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
.sensitive-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: absolute;
  top: 4px;
  inset-inline-start: 4px;
  z-index: 100;
}

.sensitive-marker {
  margin: 0 3px;
  border-radius: 2px;
  padding: 2px 6px;
  color: rgba($primary-text-color, 0.8);
  background: rgba($base-overlay-background, 0.5);
  font-size: 12px;
  line-height: 18px;
  text-transform: uppercase;
  opacity: 0.9;
  transition: opacity 0.1s ease;

  .media-gallery:hover & {
    opacity: 1;
  }
}